-
Notifications
You must be signed in to change notification settings - Fork 8
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
gff3_to_gtf_converter.pl #1
Comments
Hi Laurent, |
no problem to acces this new repository, GFFtools-GX/gff_to_gtf.py Strongylocentrotus_purpuratus.gff3 > out.gtf |
I have looked at your case, it looks like the original GFF3 file have some issues with the defining its parent and child features. For example, here the In your case, to fix the error message, you can replace
Essentially add the missing source to rest of the annotated features in the file. |
Le 27/06/2014 17:45, Vipin a écrit :
okay good your script works fine now, first i have run sed command. ftp://ftp.ensemblgenomes.org/pub/metazoa/release-22/gtf/strongylocentrotus_purpuratus/Strongylocentrotus_purpuratus.GCA_000002235.2.22.gtf.gz wc -l Strongylocentrotus_purpuratus.GCA_000002235.2.22.gtf /GFFtools-GX/gff_to_gtf.py Strongylocentrotus_purpuratus.gff3 | wc -l best,
|
--Hi,
recently i have used gff3_to_gtf_converter.pl script (https://github.com/vipints/converters/blob/master/gfftools/codebase/gff3_to_gtf_converter.pl)
to convert gff3 file to gtf as: ./gff3_to_gtf_converter.pl Strongylocentrotus_purpuratus.gff3 Strongylocentrotus_purpuratus.gtf
and it returns errors:
------------- EXCEPTION: Bio::Root::Exception -------------
MSG: Object Bio::Annotation::SimpleValue=HASH(0x237fa30) was not valid with key type. If you were adding new keys in, perhaps you want to make use
of the archetype method to allow registration to a more basic type
STACK: Error::throw
STACK: Bio::Root::Root::throw /tools/perl5/modules/lib/perl5/Bio/Root/Root.pm:472
STACK: Bio::Annotation::Collection::add_Annotation /tools/perl5/modules/lib/perl5/Bio/Annotation/Collection.pm:360
STACK: Bio::SeqFeature::Annotated::add_Annotation /tools/perl5/modules/lib/perl5/Bio/SeqFeature/Annotated.pm:608
STACK: Bio::FeatureIO::gff::_handle_non_reserved_tag /tools/perl5/modules/lib/perl5/Bio/FeatureIO/gff.pm:830
STACK: Bio::FeatureIO::gff::_handle_feature /tools/perl5/modules/lib/perl5/Bio/FeatureIO/gff.pm:785
STACK: Bio::FeatureIO::gff::next_feature /tools/perl5/modules/lib/perl5/Bio/FeatureIO/gff.pm:174
STACK: ./gff3_to_gtf_converter.pl:35
i don't know what's wrong.
my gff3 input file is available here:
ftp://ftp.ensemblgenomes.org/pub/metazoa/release-22/gff3/strongylocentrotus_purpuratus/Strongylocentrotus_purpuratus.GCA_000002235.2.22.gff3.gz
Laurent --
The text was updated successfully, but these errors were encountered: