From: Jay H. <jhu...@gm...> - 2011-02-24 17:44:28
|
The code is in scripts/run_annotation_genbank.pl http://cg-pipeline.svn.sourceforge.net/viewvc/cg-pipeline/cg_pipeline/trunk/scripts/run_annotation_genbank.pl?revision=137&view=markup Line 183, try adding before "my $note=remove_tags($newftr)" the following: $newftr->remove_tag('uniprot_id'); $newftr->add_tag_value('uniprot_id',$gene); my $note=remove_tags($newftr); #keep old line 183 here But then your uniprot_id is gone! Why not just add gene name, instead of replacing uniprot_id? $newftr->add_tag_value('gene',$gene); my $note=remove_tags($newftr); #keep old line 183 here On Thu, Feb 24, 2011 at 5:16 PM, Todd Yilk <ty...@la...> wrote: > Hello all, > > There's a change I'd like to make to the output .gb file from the > annotation stage: I'd like to replace the uniprot_id in the /note section > with the name of the gene. Could you point me to where in the code this file > is created? > > Thanks, > > Todd Yilk > Biosciences Division > Los Alamos National Laboratory > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Cg-pipeline-users mailing list > Cg-...@li... > https://lists.sourceforge.net/lists/listinfo/cg-pipeline-users > |