[Bioperl-l] Fwd: Re: BioPerl query

ong at embl.de ong at embl.de
Wed Jul 19 07:51:48 UTC 2006


HI, Anybody have an answer to the below query? Thanks.

Regards,
Ong

----- Forwarded message from birney at ebi.ac.uk -----
    Date: Wed, 19 Jul 2006 08:16:06 +0100
    From: Ewan Birney <birney at ebi.ac.uk>
Reply-To: Ewan Birney <birney at ebi.ac.uk>
 Subject: Re: BioPerl query
      To: ong at embl.de


On 18 Jul 2006, at 10:26, ong at embl.de wrote:

> Dear Birney,
>
>    Good day i wish to get your advise on how do i print out the PSM
> matrix from
> the code below. Thanks
>


I would ask this message on the bioperl list, not to me directly.


> Regards,
> Ong
>
> use Bio::Matrix::PSM::IO;
>
> my $psmIO=new Bio::Matrix::PSM::IO(-file=>'matrix.dat',-
> format=>'transfac');
> while (my $psm=$psmIO->next_psm) {
>    my $id=$psm->id;
>    my $an=$psm->accession_number;
>    my $re = $psm->regexp;
>    #my $l=$psm->width;
>    my $cons=$psm->IUPAC;
>    print"$id\t$an\t$re\t$l\t$cons\t$psm\n";
> }



----- End forwarded message -----



More information about the Bioperl-l mailing list