[Bioperl-l] Extracting sequences from Genbank files

eyla4ever assayagy at gmail.com
Sat Nov 10 18:27:03 UTC 2012


hello Brian

i wuold like you to send me your script, i think it can help me to solve a
big problem
and help me to finish my final project.
i hope it will be posible

regards Eyla


BForde wrote:
> 
> Hello,
> 
> I have been modifying a script which extracts all the protein sequences
> from a genbank file and saves them in a multi-fasta file.
> 
> I wish the fasta header to have both the locus_tag of the protein and the
> product. However I cannot get the  product tag to write to the fasta
> header
> 
> this is the relevant section of the script
> 
>  $s->display_id($f->has_tag('locus_tag') ? join(',',sort
> $f->each_tag_value('locus_tag')) :
>                            $f->has_tag('product') ?
> join(',',$f->each_tag_value('product')):
>                            $s->display_id);
> 
> is "product" not an actual tag
> 
> regards
> 
> Brian
> 
> 
> 
> -- 
> Brian Forde
> Microbiology Dept.
> Bioscience Institute. Room 4.11
> University College Cork
> Cork
> Ireland
> tel:+353 21 4901306
> email: b.m.forde at umail.ucc.ie
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
> 
> 

-- 
View this message in context: http://old.nabble.com/Extracting-sequences-from-Genbank-files-tp33901023p34664632.html
Sent from the Perl - Bioperl-L mailing list archive at Nabble.com.




More information about the Bioperl-l mailing list