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

« back to all changes in this revision

Viewing changes to Bio/Matrix/IO/scoring.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: scoring.pm,v 1.4.4.1 2006/10/02 23:10:21 sendu Exp $
 
1
# $Id: scoring.pm 11480 2007-06-14 14:16:21Z sendu $
2
2
#
3
3
# BioPerl module for Bio::Matrix::IO::scoring
4
4
#
17
17
=head1 SYNOPSIS
18
18
 
19
19
  use Bio::Matrix::IO;
20
 
  my $parser = new Bio::Matrix::IO(-format => 'scoring',
 
20
  my $parser = Bio::Matrix::IO->new(-format => 'scoring',
21
21
                                   -file   => 'BLOSUM50');
22
22
  my $matrix = $parser->next_matrix;
23
23
 
68
68
=head2 new
69
69
 
70
70
 Title   : new
71
 
 Usage   : my $obj = new Bio::Matrix::IO::scoring();
 
71
 Usage   : my $obj = Bio::Matrix::IO::scoring->new();
72
72
 Function: Builds a new Bio::Matrix::IO::scoring object 
73
73
 Returns : an instance of Bio::Matrix::IO::scoring
74
74
 Args    :
140
140
           print;
141
141
       }
142
142
   }
143
 
   my $matrix = new Bio::Matrix::Scoring(-values     => \@matrix,
 
143
   my $matrix = Bio::Matrix::Scoring->new(-values     => \@matrix,
144
144
                                         -rownames   => \@rows,
145
145
                                         -colnames   => \@cols,
146
146
                                         %extras);