~ubuntu-branches/ubuntu/trusty/bioperl/trusty-proposed

« back to all changes in this revision

Viewing changes to Bio/TreeIO/tabtree.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: tabtree.pm,v 1.10.4.1 2006/10/02 23:10:37 sendu Exp $
 
1
# $Id: tabtree.pm 11480 2007-06-14 14:16:21Z sendu $
2
2
#
3
3
# BioPerl module for Bio::TreeIO::tabtree
4
4
#
17
17
=head1 SYNOPSIS
18
18
 
19
19
  use Bio::TreeIO;
20
 
  my $in = new Bio::TreeIO(-file => 'input', -format => 'newick');
21
 
  my $out = new Bio::TreeIO(-file => '>output', -format => 'tabtree');
 
20
  my $in = Bio::TreeIO->new(-file => 'input', -format => 'newick');
 
21
  my $out = Bio::TreeIO->new(-file => '>output', -format => 'tabtree');
22
22
 
23
23
  while( my $tree = $in->next_tree ) {
24
24
      $out->write_tree($tree);
74
74
=head2 new
75
75
 
76
76
 Title   : new
77
 
 Usage   : my $obj = new Bio::TreeIO::tabtree();
 
77
 Usage   : my $obj = Bio::TreeIO::tabtree->new();
78
78
 Function: Builds a new Bio::TreeIO::tabtree object 
79
79
 Returns : Bio::TreeIO::tabtree
80
80
 Args    :