~ubuntu-branches/ubuntu/saucy/bioperl/saucy-proposed

« back to all changes in this revision

Viewing changes to Bio/Matrix/PSM/PsmI.pm

  • Committer: Bazaar Package Importer
  • Author(s): Charles Plessy
  • Date: 2009-03-10 07:19:11 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090310071911-fukqzw54pyb1f0bd
Tags: 1.6.0-2
* Removed patch system (not used):
  - removed instuctions in debian/rules;
  - removed quilt from Build-Depends in debian/control.
* Re-enabled tests:
  - uncommented test command in debian/rules;
  - uncommented previously missing build-dependencies in debian/control.
  - Re-enabled tests and uncommented build-dependencies accordingly.
* Removed libmodule-build-perl and libtest-harness-perl from
  Build-Depends-Indep (provided by perl-modules).
* Better cleaning of empty directories using find -type d -empty -delete
  instead of rmdir in debian/rules (LP: #324001).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: PsmI.pm,v 1.8.4.1 2006/10/02 23:10:22 sendu Exp $
 
1
# $Id: PsmI.pm 11480 2007-06-14 14:16:21Z sendu $
2
2
#---------------------------------------------------------
3
3
#ISA SiteMatrix, HAS InstanceSite
4
4
 
11
11
  use Bio::Matrix::PSM::IO;
12
12
 
13
13
  # To get a Psm object from a file use the Psm parser:
14
 
  my $psmIO =  new Bio::Matrix::PSM::IO(-format=>'meme', -file=>$file);
 
14
  my $psmIO =  Bio::Matrix::PSM::IO->new(-format=>'meme', -file=>$file);
15
15
 
16
16
  # Now go through all entities in the file with next_psm, which
17
17
  # returns a Psm object see Bio::Matrix::PSM::IO for detailed
33
33
   }
34
34
 
35
35
  # or create from memmory:
36
 
  my $psm= new Bio::Matrix::PSM::Psm( -pA=>\@pA,-pC=>\@pC,-pG=>\@pG,-pT=>\@pT,
 
36
  my $psm= Bio::Matrix::PSM::Psm->new( -pA=>\@pA,-pC=>\@pC,-pG=>\@pG,-pT=>\@pT,
37
37
                                      -id=>$id,
38
38
                                      -instances=>$instances, -e_val=>$e_val,
39
39
                                      -IC=>$ic, -width=>$width, -sites=>$sites)
123
123
=head2 new
124
124
 
125
125
 Title   : new
126
 
 Usage   : my $psm= new Bio::Matrix::PSM::Psm( -pA=>\@pA,-pC=>\@pC,-pG=>\@pG,
 
126
 Usage   : my $psm= Bio::Matrix::PSM::Psm->new( -pA=>\@pA,-pC=>\@pC,-pG=>\@pG,
127
127
                                               -pT=>\@pT,-id=>$id,
128
128
                                               -instances=>$instances, 
129
129
                                               -e_val=>$e_val,