gmbecker / genbankr

http://bioconductor.org/packages/devel/bioc/html/genbankr.html
14 stars 9 forks source link

"subscript contains out-of-bounds indices" error when reading specific files #14

Open zhouanbo opened 3 years ago

zhouanbo commented 3 years ago

When parsing genbank file for ayw HBV genome by running:

gba = GBAccession("NC_003977")
rec2 = readGenBank(text = content(gb_file))

The function failed with error:

genes not available for all CDS ranges, using internal grouping ids
No exons read from genbank file. Assuming sections of CDS are full exons
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'x' in selecting a method for function 'start': error in evaluating the argument 'x' in selecting a method for function 'elementNROWS': subscript contains out-of-bounds indices

However, parseGenBank function works normally.