Subject: Re: Extracting sequences from Genbank files
Date: Saturday 10th November 2012 18:27:03 UTC (over 4 years ago)
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: [email protected] > _______________________________________________ > Bioperl-l mailing list > [email protected] > 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.