[Bioperl-l] help with parsing meme output
James Wasmuth
james.wasmuth at ed.ac.uk
Thu Jun 23 15:33:04 EDT 2005
Hi Nandita
does "my $id=$instance->primary_id;" do what you want?
Is it the length from the input sequence that you want?
my %length= $header->length();
Function: Returns the length of the input sequence or motifs as a hash, indexed
by a sequence ID (motif id or accession number)
james
Nandita Mullapudi wrote:
>Hi,
>I am trying to use Bio::Matrix::PSM::IO to parse meme output.
>I need to extract the values corresponding to length of the
>sequence, seq id, and motif id, start and significance/score.
>I can get the last three using
>
>foreach my $instance (@{ $instances }) {
> my $start = $instance -> start;
> my $score = $instance -> score;
>
>But i cannot find out how to get the seq id and seq length.
>any ideas?
>thanks
>-nandita
>
>***************************************************
>Graduate Student, Kissinger Lab.
>Dept. of Genetics
>UGA, Athens GA 30602 USA
>lab phone: 706-542-6563
>cell phone: 706-254-2444
>Lab add: C318 Life Sciences
>****************************************************
>_______________________________________________
>Bioperl-l mailing list
>Bioperl-l at portal.open-bio.org
>http://portal.open-bio.org/mailman/listinfo/bioperl-l
>
>
--
http://www.nematodes.org/~james
"Until man duplicates a blade of grass, nature can laugh at his so-called scientific knowledge...."
--Thomas Edison
Blaxter Nematode Genomics Group |
Institute of Evolutionary Biology |
Ashworth Laboratories, KB | tel: +44 131 650 7403
University of Edinburgh | web: www.nematodes.org
Edinburgh |
EH9 3JT |
UK |
More information about the Bioperl-l
mailing list