Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
flatfile-to-json.pl problem with the chromosome name numbered "0" #610
When I formated a gff3 file with flatfile-to-json.pl, an error information was reported "Died at ....../src/perl5/Bio/JBrowse/FeatureStream.pm line 110".
However, there was no error information reported when the chromosome name was numbered "1" or others.
So, how to deal with the problem that some chromosome name was numbered "0" in some genome assemblies?
It looks like there is some weird thing that says this
If you remove the part that says "|| die" that would probably fix it!
I am not sure what the reason for that code is but hope that helps
Also, make sure to run generate-names.pl on your data folder when you have chromosome names that are just numbers like this. Otherwise there can be some confusion if you pass in links like ?loc=1 because it will not understand that you want to go to chromosome 1