Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Genbank location parser breaks on parsing this location. #384

Closed
TimothyStiles opened this issue Oct 7, 2023 · 1 comment
Closed

Genbank location parser breaks on parsing this location. #384

TimothyStiles opened this issue Oct 7, 2023 · 1 comment
Labels
bug Something isn't working hard A major or complex undertaking help wanted Extra attention is needed high priority High priority - something is broken or missing that is critical for users or developers.

Comments

@TimothyStiles
Copy link
Collaborator

Describe the bug

Genbank.Read panics when trying to read this specific location line

     misc_RNA        join(complement(5306942..5307394),
                     complement(5304401..5305029),complement(5303328..5303393),
                     complement(5301928..5302004))

Severity of the bug

Keeps us from parsing refseq human genome

Steps to reproduce

Steps to reproduce the behavior:
Will update with better steps but you should be able to create a new genbank file with this location and run it through genbank.Read to reproduce.

Expected behavior

Will not panic and be able to parse location string effectively.

Screenshots

Screen Shot 2023-10-06 at 7 14 50 PM

Client information

  • OS: Mac OSX 0.15.7
  • Golang version: 1.21
  • poly version v0.27.1
@TimothyStiles TimothyStiles added bug Something isn't working needs-triage An issue that needs to be triaged help wanted Extra attention is needed high priority High priority - something is broken or missing that is critical for users or developers. hard A major or complex undertaking and removed needs-triage An issue that needs to be triaged labels Oct 7, 2023
@TimothyStiles
Copy link
Collaborator Author

fixed as of #385

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hard A major or complex undertaking help wanted Extra attention is needed high priority High priority - something is broken or missing that is critical for users or developers.
Projects
None yet
Development

No branches or pull requests

1 participant