Skip to content

Opaque failure while reading GenBank #623

Open

Description

@jakebeal

Importing this genbank file produces an opaque error:
Other_GenBank_imports.txt
The GenBank file parses correctly with BioPython

Converting GenBank to SBOL Version 2 Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 
1 at org.sbolstandard.core2.GenBank.read(GenBank.java:1334) at 
org.sbolstandard.core2.SBOLReader.read(SBOLReader.java:700) at 
org.sbolstandard.core2.SBOLReader.read(SBOLReader.java:625) at 
org.sbolstandard.core2.SBOLReader.read(SBOLReader.java:512) at 
org.sbolstandard.core2.SBOLReader.read(SBOLReader.java:437) at 
org.sbolstandard.core2.SBOLReader.read(SBOLReader.java:422) at 
org.sbolstandard.core2.SBOLValidate.validate(SBOLValidate.java:2726) at 
org.sbolstandard.core2.SBOLValidate.main(SBOLValidate.java:3028)

Activity

  1. jakebeal commented on Sep 18, 2021

    @jakebeal
    ContributorAuthor

    The triggering issue, BTW, is apparently that line 9602 in the file had an extra newline.
    I think you're not really supposed to to this, but other GenBank parsers are tolerant of this and libSBOLj is not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions