« Return to Thread: Error with "parse_entrez_gene_example.pl Sus_scrofa.ags"

Re: Error with "parse_entrez_gene_example.pl Sus_scrofa.ags"

by Stefan Kirov-2 :: Rate this Message:

Reply to Author | View in Thread

AGS is a binary ASN.1 format and WILL NOT be parsed! You have to use
gene2xml( weird, but this is NCBI) with these flags: -c -x -b -i. This
will spit out text ASN which can be parsed.
Stefan

On Wed, 9 Apr 2008, zoujing wrote:

>
>   I am a geen hand in Bioperl. When I run perl with
> "parse_entrez_gene_example.pl Sus_scrofa.ags", it turned out the error
> information:
>     Data Error: none conforming data found on line 1 in Sus_scrofa.ags.
>
>   But the Sus_scrofa.ags is download from NCBI, with the format of ASN1,
> should be the same as Homo_sapiens in the example. So it should be no error
> as the code is the example from Mingyi.
>   I wonder why this happen, and should I change something about the file?
>
> --
> View this message in context: http://www.nabble.com/Error-with-%22parse_entrez_gene_example.pl-Sus_scrofa.ags%22-tp16602770p16602770.html
> Sent from the Perl - Bioperl-L mailing list archive at Nabble.com.
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@...
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>
_______________________________________________
Bioperl-l mailing list
Bioperl-l@...
http://lists.open-bio.org/mailman/listinfo/bioperl-l

 « Return to Thread: Error with "parse_entrez_gene_example.pl Sus_scrofa.ags"