[Bioperl-l] re: blast database()
Steve Chervitz
sac@bioperl.org
Sat, 23 Feb 2002 00:38:38 -0800 (PST)
The Bio::Tools::Blast::Sbjct::database() method no longer provides any useful
information. It's been unofficially deprecated for some time. The reason is that
extracting database info from the sequence identifier in a BLAST hit was highly
error-prone, so this is no longer done. The Bio::Tools::Blast::database() probably
gets you what you need. Or, better, switch over to the new Bio::SearchIO facility as
Jason mentioned. The Result object has a database_name() method. (Again, note that
there is no hit-specific database method in the new SearchIO system).
Steve
--
Steve Chervitz
sac@bioperl.org
--- Seth Redmond <seth.redmond@ic.ac.uk> wrote:
> I'm having some trouble getting the blast::hits... database() method to
> work. (i.e. to find the exact fasta sequence I'm matching against in my
> database.
>
> $database = @hits[$j]->database();
>
> returns a dash instead of the database name. I've tried a number of
> different databases with this. Are there any relevant examples which I
> might have a look at? Anyone have any advice?
>
> thanks
>
> -s
>
> --
> ______________________________________________
> Seth Redmond
>
> DNA resource and Database Curator
> Wellcome Trust Laboratories for Molecular Parasitology
> Department of Biological Sciences
> Imperial College
> London
> SW7 2AY
> ______________________________________________
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com