[Bioperl-l] Parsing BLAST out file to HTML. How to change thedescription's name of each hit?

Mark A. Jensen maj at fortinbras.us
Fri Nov 6 19:40:17 EST 2009


Xiaoyu-
That method should work to change the description; are you doing

$hit->description('This is my new description');

This method returns the old description when you change the value:

$hit->description('old');
$str = $hit->description('new'); # $str eq 'old'
$str = $hit->description;            # $str eq 'new'

MAJ

----- Original Message ----- 
From: "Xiaoyu Liang" <veronica.xiaoyu at gmail.com>
To: <Bioperl-l at lists.open-bio.org>
Sent: Friday, November 06, 2009 5:25 PM
Subject: [Bioperl-l] Parsing BLAST out file to HTML. How to change 
thedescription's name of each hit?


> Hi,
>
> I'm using Bio::SearchIO::Writer HTMLResultWriter help me parse BLAST out
> file into HTML.
>
> Anybody knows how to parse and change the description name of each hit?
>
> By using hit->description can call hits' description, but it is not allowed
> to be modified.
>
> Thank you very much,
> Xiaoyu
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>
> 



More information about the Bioperl-l mailing list