[Bioperl-l] setting BLAST query name

Jason Stajich jason at cgt.duhs.duke.edu
Mon May 3 11:59:28 EDT 2004


Make sure that your sequence has a display_id before you pass it into the
blastall command.

$seq->display_id('myid');

-jason
On Fri, 30 Apr 2004, Rachel Richard wrote:

> Hi,
> I have a simple problem but i can't figure out the solution. Perhaps
> because it is Friday afternoon. :-)
> I'm doing a standalone BLAST query, and I want to set the query name.
> On the results page there is a line where it says Query=, and I want it
> to say Query=MyQueryName. I can't seem to figure where to pass the
> query name value in.
>
>      my $factory = Bio::Tools::Run::StandAloneBlast->new(@params);
>    my $blast_report = $factory->blastall($seq);
>    $blast_report->to_html(-OUT => \@array);
>
> (Here's what the results page looks like)
> Program: BLASTN 2.2.3 [May-13-2002]
> Query=
>        (2280 letters)
> ...blast results blah blah blah...
>
> Thanks,
> Rachel
>
> Rachel Richard
> rachel at nmcfarl.org
> (505) 570-0670
>

--
Jason Stajich
Duke University
jason at cgt.mc.duke.edu



More information about the Bioperl-l mailing list