[Bioperl-l] error while remote blast against swissprot db

Spiros Denaxas spiros at lokku.com
Sun Apr 15 16:12:05 UTC 2007


Yep, it must be in the input file. The

$result->database_name()

function gets called on $result the result object.

The error you get,

Can't call method "database_name" on an undefined value at
test1_remote_swissblast.pl line 41, <GEN4> line 31.

means the result object is not defined thus the function fails since
there are no data to operate on.

Spiros

On 4/15/07, David Messina <dmessina at wustl.edu> wrote:
> Hi DeeGee,
>
> Your script worked fine for me. Perhaps the problem is in your input
> fasta file?
>
> Dave
>
> % perl test.pl AAC12660.fa
> waiting... 5 units of time
> waiting... 10 units of time
> waiting... 15 units of time
> database: Non-redundant SwissProt sequences
> hit name is: sp|Q15750|TAB1_HUMAN
> score is: 2413
> hit name is: sp|Q8CF89|TAB1_MOUSE
> score is: 2352
> hit name is: sp|P49444|PP2C_PARTE
> score is: 159
> hit name is: sp|Q6ING9|PP2CK_XENLA
> [...etc...]
> _______________________________________________
> 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