Skip to content

Not all chromosomes present in reference annotations.  #264

Description

@DrOllyGomez

console looks like:

summarisedexpt <- bambu(reads = bamfiles, rcOutDir = "/home/mike.harbour/Desktop/bambuWorkingDirectory/bambuOut", annotations = bambuAnnotations, genome = fa.file)
Start generating read class files
iteration: 1not all chromosomes present in reference annotations,
annotations might be incomplete. Please compare objects
on the same reference

Error: BiocParallel errors
1 remote errors, element index: 1
11 unevaluated and other errors
first remote error: attempt to set too many names (1) on IRanges object of length 0

Resources:

  1. I downloaded "gencode.v40.annotation.gtf.gz" from site:
    http://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_40/
  2. I downloaded "GRCh38.p13.genome.fa.gz" from SAME site. Expecting these to be compatible.

I mapped my fastq's against the genome file above to create bams.
Then in R I issued:

gtf.file <- "/home/mike.harbour/Resources/release40/gencode.v40.annotation.gtf"
bambuAnnotations <- prepareAnnotations(gtf.file)
fa.file <- "/home/mike.harbour/Resources/release40/GRCh38.p13.genome.fa"
library(Rsamtools)
bamfiles <- Rsamtools::BamFileList(c("Desktop/bambuWorkingDirectory/barcode01/aligned_reads_bam_BC01.bam", etc etc etc a further 11 bam files
summarisedexpt <- bambu(reads = bamfiles, rcOutDir = "Desktop/bambuWorkingDirectory/bambuOut", annotations = bambuAnnotations, genome = fa.file)

and got the errors reported above.

Version

packageVersion("bambu")
[1] ‘2.0.3’

Any advice, comments, fixes most welcome. Thanks in advance!
Mike

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions