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

Error in flatfile-to-json.pl #109

Closed
vpoten opened this issue Apr 24, 2012 · 9 comments
Closed

Error in flatfile-to-json.pl #109

vpoten opened this issue Apr 24, 2012 · 9 comments
Milestone

Comments

@vpoten
Copy link

vpoten commented Apr 24, 2012

Running flatfile-to-json with options:
--out
--gff
--trackLabel genes
--key genes
--getSubs
--type gene
--cssclass feature5
--compress
--autocomplete all
--urlTemplate "http://localhost/gene?id={id}&name={name}&strand={strand}&start={start}&end={end}&seq_id={seq_id}"

I get the following error:
Not an ARRAY reference at /home/victor/work_bio/scripts/jbrowse/bin/../lib/../extlib/lib/perl5/Bio/GFF3/LowLevel/Parser/1_0_backcompat.pm line 53.

I will send the gff3 file that causes the error. ¿How?

@vpoten
Copy link
Author

vpoten commented Aug 16, 2012

I have tested again and maybe the error could be the file size. It fails with 20000 lines but not with a piece of 1000 lines

@rbuels
Copy link
Collaborator

rbuels commented Aug 25, 2012

Have you tried it again with recent releases of flatfile-to-json.pl? There was a significant memory-usage but that was fixed in 1.3.1.

@rbuels rbuels closed this as completed Aug 25, 2012
@vpoten
Copy link
Author

vpoten commented Aug 26, 2012

Hi,

Yes, I have tried with 1.5.0. The error occurs with a GFF3 file with
500,000 lines (the refGene annotation for homo sapiens)

2012/8/25 Robert Buels notifications@github.com

Have you tried it again with recent releases of flatfile-to-json.pl?
There was a significant memory-usage but that was fixed in 1.3.1.


Reply to this email directly or view it on GitHubhttps://github.com//issues/109#issuecomment-8027469.

@rbuels rbuels reopened this Aug 27, 2012
@rbuels
Copy link
Collaborator

rbuels commented Aug 28, 2012

What version of Bio::GFF3::LowLevel::Parser do you have? To check, you can write this at the command line:

perl -MBio::GFF3::LowLevel::Parser -e 'print $Bio::GFF3::LowLevel::Parser::VERSION,"\n"'

@rbuels
Copy link
Collaborator

rbuels commented Aug 28, 2012

If it's older than 1.3, you could try upgrading Bio::GFF3::LowLevel::Parser and running it again. An easy way to do this would be to run

bin/cpanm -l extlib Bio::GFF3::LowLevel::Parser

in your jbrowse directory.

@rbuels
Copy link
Collaborator

rbuels commented Aug 28, 2012

And if an old version of Bio::GFF3::LowLevel isn't the problem, could you provide a link where I can download the file that is giving you this error?

@vpoten
Copy link
Author

vpoten commented Aug 28, 2012

The Bio::GFF3::LowLevel::Parser version is 1.3

Trying to upgrading it with command bin/cpanm -l extlib
Bio::GFF3::LowLevel::Parser says:
Bio::GFF3::LowLevel::Parser is up to date. (1.3)

The link to the file is:
https://s3.amazonaws.com/gmsAnnot/9606/refGene.gff3.gz

2012/8/28 Robert Buels notifications@github.com

If it's older than 1.3, you could try upgrading
Bio::GFF3::LowLevel::Parser and running it again. An easy way to do this
would be to run

bin/cpanm -l extlib Bio::GFF3::LowLevel::Parser

in your jbrowse directory.


Reply to this email directly or view it on GitHubhttps://github.com//issues/109#issuecomment-8098445.

@rbuels
Copy link
Collaborator

rbuels commented Aug 28, 2012

this was a bug in Bio::GFF3::LowLevel::Parser. Fixed in solgenomics/bio-gff3@b1fefd8 and pushed version 1.4 to CPAN.

Please upgrade to Bio::GFF3::LowLevel::Parser version 1.4 once it becomes available on the CPAN mirrors, which might take a few hours.

@vpoten
Copy link
Author

vpoten commented Aug 30, 2012

After upgrading to 1.4 version of Bio::GFF3::LowLevel::Parser I have
tried flatfile-to-json.pl and it works again.

Thanks,
Best regards
Victor

2012/8/28 Robert Buels notifications@github.com

this was a bug in Bio::GFF3::LowLevel::Parser. Fixed in
solgenomics/bio-gff3@b1fefd8e7c3f27e944a43e78756117b49f284574and pushed version 1.4 to CPAN.

Please upgrade to Bio::GFF3::LowLevel::Parser version 1.4 once it becomes
available on the CPAN mirrors, which might take a few hours.


Reply to this email directly or view it on GitHubhttps://github.com//issues/109#issuecomment-8104694.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants