mtisza1 / Cenote-Taker3

Discover and annotate the virome
MIT License
29 stars 1 forks source link

Some .gbf files don't import well into the genome browser #13

Open nactopus opened 3 months ago

nactopus commented 3 months ago

This is because, on the first line of the gbf file, sometimes there is no space between the "chunk" number and the length of the sequence, altering the real sequence length:

E.g:

LOCUS my_meta_ct3_21@Chunk_1410396 bp DNA linear 01-JAN-2019

(The real length of the sequence is 410,396 bp, and it belongs to "Chunk 1").

Loving this program so far, btw!!

mtisza1 commented 3 months ago

I appreciate the kind words.

I'm now seeing this problem with the .gbf files with long locus names. Thanks for pointing it out.

The quickest fix on your end is to use a short run name (the -r flag). 10 characters or less should work.

I will fix this issue and make a new release in the next 2 weeks.

In the mean time, can you please tell me which genome browser you're using that is having issue with this bug? I can open these "run-on" locus name .gbf files in SnapGene Viewer without apparent issue.

nactopus commented 3 months ago

Thank you! I'm using Geneious Prime 2024.0.5. Apparently, it needs the stated length of the sequence to match the actual sequence length. I'll let you know if I run into any other issue.