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

« back to all changes in this revision

Viewing changes to Bio/Tools/Analysis/Protein/NetPhos.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: NetPhos.pm,v 1.13.4.1 2006/10/02 23:10:32 sendu Exp $
 
1
# $Id: NetPhos.pm 11480 2007-06-14 14:16:21Z sendu $
2
2
#
3
3
# BioPerl module for Bio::Tools::Analysis::Protein::NetPhos
4
4
#
255
255
    # format the sequence into fasta
256
256
    my $seq_fasta;
257
257
    my $stringfh = new IO::String($seq_fasta);
258
 
    my $seqout = new Bio::SeqIO(-fh => $stringfh,
 
258
    my $seqout = Bio::SeqIO->new(-fh => $stringfh,
259
259
                                -format => 'fasta');
260
260
    $seqout->write_seq($self->seq);
261
261
    $self->debug($seq_fasta);