[Bioperl-l] Accessing SearchIO BLAST parseravailable_parameters/statistics

Brian Osborne brian_osborne at cognia.com
Fri May 21 22:24:25 EDT 2004


Bjorn,

You can use the perl debugger to do this. Enter the perl debugger by:

>perl -d <script> <arguments>

Step through the script line by line using the "n" command:

<DB>n

Or go to the line of interest using "c":

<DB>c 23

Once the variable in question is defined use the "x" command:

<DB>x $result


Brian O.


-----Original Message-----
From: bioperl-l-bounces at portal.open-bio.org
[mailto:bioperl-l-bounces at portal.open-bio.org]On Behalf Of Bjorn F.C.
Kafsack
Sent: Friday, May 21, 2004 2:17 PM
To: bioperl-l at portal.open-bio.org
Subject: [Bioperl-l] Accessing SearchIO BLAST
parseravailable_parameters/statistics

I'm trying to get at the values stored in

$result->available_parameters or $result->available_statistics

which must be some form of hash but i can't figure out how.

in scalar context i get the number of keys
in list context i get the keys
i tried

%stats = %{$result->available_statistics};
%stats{kappa};

but the assignment doesn't work.

$result->available_statistics->kappa;

that doesn't work either.

_______________________________________________
Bioperl-l mailing list
Bioperl-l at portal.open-bio.org
http://portal.open-bio.org/mailman/listinfo/bioperl-l




More information about the Bioperl-l mailing list