bio phylo io 0.17 rc6
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 425
Bio::Phylo::IO 0.17 RC6
Bio::Phylo::IO Perl module contains input and output of phylogenetic data. more>>
Bio::Phylo::IO Perl module contains input and output of phylogenetic data.
SYNOPSIS
use Bio::Phylo::IO;
# parsing a tree from a newick string
my $tree_string = (((A,B),C),D);;
my $tree = Bio::Phylo::IO->parse(
-string => $tree_string,
# old parser, always adds node labels
-format => newick,
)->first;
# note: newick parsers return
# Bio::Phylo::Forest! Call
# ->first to retrieve the first
# tree of the forest.
# prints Bio::Phylo::Forest::Tree
print ref $tree, "n";
# parsing a table
my $table_string = qq(A,1,2|B,1,2|C,2,2|D,2,1);
my $matrix = Bio::Phylo::IO->parse(
-string => $table_string,
-format => table,
# Data type, see Bio::Phylo::Parsers::Table
-type => STANDARD,
# field separator
-fieldsep => ,,
# line separator
-linesep => |
);
# prints Bio::Phylo::Matrices::Matrix
print ref $matrix, "n";
# parsing a list of taxa
my $taxa_string = A:B:C:D;
my $taxa = Bio::Phylo::IO->parse(
-string => $taxa_string,
-format => taxlist,
-fieldsep => :
);
# prints Bio::Phylo::Taxa
print ref $taxa, "n";
# matches taxon names in tree to $taxa object
$tree->cross_reference($taxa);
# likewise for matrix
$matrix->cross_reference($taxa);
print Bio::Phylo::IO->unparse(
# pass the tree object,
# crossreferenced to taxa, which
# are crossreferenced to the matrix
-phylo => $tree,
-format => pagel
);
# prints a pagel data file:
#4 2
#A,n1,0.000000,1,2
#B,n1,0.000000,1,2
#n1,n2,0.000000
#C,n2,0.000000,2,2
#n2,n3,0.000000
#D,n3,0.000000,2,1
<<lessSYNOPSIS
use Bio::Phylo::IO;
# parsing a tree from a newick string
my $tree_string = (((A,B),C),D);;
my $tree = Bio::Phylo::IO->parse(
-string => $tree_string,
# old parser, always adds node labels
-format => newick,
)->first;
# note: newick parsers return
# Bio::Phylo::Forest! Call
# ->first to retrieve the first
# tree of the forest.
# prints Bio::Phylo::Forest::Tree
print ref $tree, "n";
# parsing a table
my $table_string = qq(A,1,2|B,1,2|C,2,2|D,2,1);
my $matrix = Bio::Phylo::IO->parse(
-string => $table_string,
-format => table,
# Data type, see Bio::Phylo::Parsers::Table
-type => STANDARD,
# field separator
-fieldsep => ,,
# line separator
-linesep => |
);
# prints Bio::Phylo::Matrices::Matrix
print ref $matrix, "n";
# parsing a list of taxa
my $taxa_string = A:B:C:D;
my $taxa = Bio::Phylo::IO->parse(
-string => $taxa_string,
-format => taxlist,
-fieldsep => :
);
# prints Bio::Phylo::Taxa
print ref $taxa, "n";
# matches taxon names in tree to $taxa object
$tree->cross_reference($taxa);
# likewise for matrix
$matrix->cross_reference($taxa);
print Bio::Phylo::IO->unparse(
# pass the tree object,
# crossreferenced to taxa, which
# are crossreferenced to the matrix
-phylo => $tree,
-format => pagel
);
# prints a pagel data file:
#4 2
#A,n1,0.000000,1,2
#B,n1,0.000000,1,2
#n1,n2,0.000000
#C,n2,0.000000,2,2
#n2,n3,0.000000
#D,n3,0.000000,2,1
Download (0.14MB)
Added: 2007-08-08 License: Perl Artistic License Price:
807 downloads
Bio::Phylo::Manual 0.15
Bio::Phylo::Manual is a Perl module that contains a Bio::Phylo v.0.14 user guide. more>>
Bio::Phylo::Manual is a Perl module that contains a Bio::Phylo v.0.14 user guide.
This is the manual for Bio::Phylo. Bio::Phylo is a perl5 package for phylogenetic analysis. For installation instructions, read the README file in the root directory of the distribution. The stable URL for the most recent distribution is http://search.cpan.org/~rvosa/Bio-Phylo/
<<lessThis is the manual for Bio::Phylo. Bio::Phylo is a perl5 package for phylogenetic analysis. For installation instructions, read the README file in the root directory of the distribution. The stable URL for the most recent distribution is http://search.cpan.org/~rvosa/Bio-Phylo/
Download (0.10MB)
Added: 2006-09-29 License: Perl Artistic License Price:
1121 downloads
Bio::Phylo::Treedrawer::Svg 0.12
Bio::Phylo::Treedrawer::Svg is a Perl module that creates svg tree drawings. more>>
Bio::Phylo::Treedrawer::Svg is a Perl module that creates svg tree drawings. No serviceable parts inside.
This module creates a scalable vector graphic from a Bio::Phylo::Trees::Tree object. It is called by the Bio::Phylo::Treedrawer object, so look there to learn how to create tree drawings. (For extra per-node formatting, attach a hash reference to the node, like so: $node->set_generic( svg => { stroke => red } ), which outlines the node, and branch leading up to it, in red.)
<<lessThis module creates a scalable vector graphic from a Bio::Phylo::Trees::Tree object. It is called by the Bio::Phylo::Treedrawer object, so look there to learn how to create tree drawings. (For extra per-node formatting, attach a hash reference to the node, like so: $node->set_generic( svg => { stroke => red } ), which outlines the node, and branch leading up to it, in red.)
Download (0.10MB)
Added: 2006-08-25 License: Perl Artistic License Price:
1155 downloads
Sixlegs PNG Library 2.0 RC6
Sixlegs PNG Library is a Java 1.1-compatible PNG decoder which features full compliance with the latest PNG specification. more>>
Sixlegs PNG Library is a Java 1.1-compatible PNG decoder which features full compliance with the latest PNG specification.
Sixlegs PNG Library supports all valid bit depths (grayscale/color), interlacing, palette-indexed images, alpha/transparency, gamma correction, access to all standard chunk data, private chunk handling, progressive display, and more.
Main features:
- Java 1.1 and 1.2-compatible PNG decoders.
- Licensed under the GPL with library exception.
- Full conformance with the latest PNG specification
- Support for all chunk types.
- Simple private chunk handling.
Enhancements:
- Mostly minor bugfixes related to code coverage improvements.
<<lessSixlegs PNG Library supports all valid bit depths (grayscale/color), interlacing, palette-indexed images, alpha/transparency, gamma correction, access to all standard chunk data, private chunk handling, progressive display, and more.
Main features:
- Java 1.1 and 1.2-compatible PNG decoders.
- Licensed under the GPL with library exception.
- Full conformance with the latest PNG specification
- Support for all chunk types.
- Simple private chunk handling.
Enhancements:
- Mostly minor bugfixes related to code coverage improvements.
Download (0.035MB)
Added: 2006-12-04 License: LGPL (GNU Lesser General Public License) Price:
1059 downloads
Bio::PopGen::IO 1.4
Bio::PopGen::IO contains input individual,marker,allele information. more>>
Bio::PopGen::IO contains input individual,marker,allele information.
SYNOPSIS
use Bio::PopGen::IO;
my $io = new Bio::PopGen::IO(-format => csv,
-file => data.csv);
# Some IO might support reading in a population at a time
my @population;
while( my $ind = $io->next_individual ) {
push @population, $ind;
}
This is a generic interface to reading in population genetic data (of which there really isnt too many standard formats). This implementation makes it easy to provide your own parser for the data. You need to only implement one function next_individual. You can also implement next_population if your data has explicit information about population memberhsip for the indidviduals.
<<lessSYNOPSIS
use Bio::PopGen::IO;
my $io = new Bio::PopGen::IO(-format => csv,
-file => data.csv);
# Some IO might support reading in a population at a time
my @population;
while( my $ind = $io->next_individual ) {
push @population, $ind;
}
This is a generic interface to reading in population genetic data (of which there really isnt too many standard formats). This implementation makes it easy to provide your own parser for the data. You need to only implement one function next_individual. You can also implement next_population if your data has explicit information about population memberhsip for the indidviduals.
Download (4.7MB)
Added: 2007-08-09 License: Perl Artistic License Price:
810 downloads
Bio::Biblio 1.4
Bio::Biblio is a Bibliographic Query Service module. more>>
Bio::Biblio is a Bibliographic Query Service module.
SYNOPSIS
use Bio::Biblio;
my $biblio = new Bio::Biblio;
print $biblio->find (perl)->get_count . "n";
my $collection = $biblio->find (brazma, authors);
while ( $collection->has_next ) {
print $collection->get_next;
}
#The new() method can get parameters, for example:
$biblio = Bio::Biblio
(-access => soap,
-location => http://industry.ebi.ac.uk/soap/openBQS,
-destroy_on_exit => 0);
# See below for some one-liners
This is a class whose instances can access bibliographic repositories. It allows to query a bibliographic database (such as MEDLINE) and then to retrieve resulting citations from it. The citations are returned in an XML format which is native to the repository but there are also supporting modules for converting them into Perl objects.
The detailed descriptions of all query and retrieval methods are in Bio::DB::BiblioI (an interface). All those methods should be called on instances of this (Bio::Biblio) module.
The module complies (with some simplifications) with the specification described in the OpenBQS project. Its home page is at http://industry.ebi.ac.uk/openBQS. There are also links to available servers providing access to the bibliographic repositories (namely to MEDLINE).
The module also gives an access to a set of controlled vocabularies and their values. It allows to introspect bibliographic repositories and to find what citation resource types (such as journal and book articles, patents or technical reports) are provided, and what attributes they have, eventually what attribute values are allowed.
Here are some one-liners:
perl -MBio::Biblio -e print new Bio::Biblio->get_by_id ("94033980")
perl -MBio::Biblio
-e print join ("n", @{ new Bio::Biblio->find ("brazma")->get_all_ids })
perl -MBio::Biblio
-e print new Bio::Biblio->find ("Java")->find ("perl")->get_count
<<lessSYNOPSIS
use Bio::Biblio;
my $biblio = new Bio::Biblio;
print $biblio->find (perl)->get_count . "n";
my $collection = $biblio->find (brazma, authors);
while ( $collection->has_next ) {
print $collection->get_next;
}
#The new() method can get parameters, for example:
$biblio = Bio::Biblio
(-access => soap,
-location => http://industry.ebi.ac.uk/soap/openBQS,
-destroy_on_exit => 0);
# See below for some one-liners
This is a class whose instances can access bibliographic repositories. It allows to query a bibliographic database (such as MEDLINE) and then to retrieve resulting citations from it. The citations are returned in an XML format which is native to the repository but there are also supporting modules for converting them into Perl objects.
The detailed descriptions of all query and retrieval methods are in Bio::DB::BiblioI (an interface). All those methods should be called on instances of this (Bio::Biblio) module.
The module complies (with some simplifications) with the specification described in the OpenBQS project. Its home page is at http://industry.ebi.ac.uk/openBQS. There are also links to available servers providing access to the bibliographic repositories (namely to MEDLINE).
The module also gives an access to a set of controlled vocabularies and their values. It allows to introspect bibliographic repositories and to find what citation resource types (such as journal and book articles, patents or technical reports) are provided, and what attributes they have, eventually what attribute values are allowed.
Here are some one-liners:
perl -MBio::Biblio -e print new Bio::Biblio->get_by_id ("94033980")
perl -MBio::Biblio
-e print join ("n", @{ new Bio::Biblio->find ("brazma")->get_all_ids })
perl -MBio::Biblio
-e print new Bio::Biblio->find ("Java")->find ("perl")->get_count
Download (4.7MB)
Added: 2007-06-11 License: Perl Artistic License Price:
866 downloads
Bio::NEXUS::HistoryBlock 0.67
Bio::NEXUS::HistoryBlock is a Perl module that represents a HISTORY block of a NEXUS file. more>>
Bio::NEXUS::HistoryBlock is a Perl module that represents a HISTORY block of a NEXUS file.
SYNOPSIS
$block_object = new Bio::NEXUS::HistoryBlock(history, $block, $verbose);
This is a class representing a history block in NEXUS file
METHODS
new
Title : new
Usage : block_object = new Bio::NEXUS::HistoryBlock($block_type, $commands, $verbose);
Function: Creates a new Bio::NEXUS::HistoryBlock object
Returns : Bio::NEXUS::HistoryBlock object
Args : type (string), the commands/comments to parse (array ref), and a verbose flag (0 or 1; optional)
Comments:
equals
Name : equals
Usage : $block->equals($another);
Function: compare if two Block objects are equal
Returns : boolean
Args : a Block object
rename_otus
Name : rename_otus
Usage : $nexus->rename_otus(%translation);
Function: rename all OTUs
Returns : a new nexus object with new OTU names
Args : a ref to hash based on OTU name pairs
<<lessSYNOPSIS
$block_object = new Bio::NEXUS::HistoryBlock(history, $block, $verbose);
This is a class representing a history block in NEXUS file
METHODS
new
Title : new
Usage : block_object = new Bio::NEXUS::HistoryBlock($block_type, $commands, $verbose);
Function: Creates a new Bio::NEXUS::HistoryBlock object
Returns : Bio::NEXUS::HistoryBlock object
Args : type (string), the commands/comments to parse (array ref), and a verbose flag (0 or 1; optional)
Comments:
equals
Name : equals
Usage : $block->equals($another);
Function: compare if two Block objects are equal
Returns : boolean
Args : a Block object
rename_otus
Name : rename_otus
Usage : $nexus->rename_otus(%translation);
Function: rename all OTUs
Returns : a new nexus object with new OTU names
Args : a ref to hash based on OTU name pairs
Download (0.15MB)
Added: 2006-12-19 License: Perl Artistic License Price:
1039 downloads
IO::Pty 1.07
IO::Pty is a pseudo TTY object class. more>>
IO::Pty is a pseudo TTY object class.
SYNOPSIS
use IO::Pty;
$pty = new IO::Pty;
$slave = $pty->slave;
foreach $val (1..10) {
print $pty "$valn";
$_ = ;
print "$_";
}
close($slave);
IO::Pty provides an interface to allow the creation of a pseudo tty.
IO::Pty inherits from IO::Handle and so provide all the methods defined by the IO::Handle package.
Please note that pty creation is very system-dependend. If you have problems, see IO::Tty for help.
<<lessSYNOPSIS
use IO::Pty;
$pty = new IO::Pty;
$slave = $pty->slave;
foreach $val (1..10) {
print $pty "$valn";
$_ = ;
print "$_";
}
close($slave);
IO::Pty provides an interface to allow the creation of a pseudo tty.
IO::Pty inherits from IO::Handle and so provide all the methods defined by the IO::Handle package.
Please note that pty creation is very system-dependend. If you have problems, see IO::Tty for help.
Download (0.021MB)
Added: 2007-03-16 License: Perl Artistic License Price:
972 downloads
Bio::Graphics::Panel 1.5.2_005 RCb
Bio::Graphics::Panel is a Perl module to generate GD images of Bio::Seq objects. more>>
Bio::Graphics::Panel is a Perl module to generate GD images of Bio::Seq objects.
SYNOPSIS
# This script parses a GenBank or EMBL file named on the command
# line and produces a PNG rendering of it. Call it like this:
# render.pl my_file.embl | display -
use strict;
use Bio::Graphics;
use Bio::SeqIO;
my $file = shift or die "provide a sequence file as the argument";
my $io = Bio::SeqIO->new(-file=>$file) or die "could not create Bio::SeqIO";
my $seq = $io->next_seq or die "could not find a sequence in the file";
my @features = $seq->all_SeqFeatures;
# sort features by their primary tags
my %sorted_features;
for my $f (@features) {
my $tag = $f->primary_tag;
push @{$sorted_features{$tag}},$f;
}
my $panel = Bio::Graphics::Panel->new(
-length => $seq->length,
-key_style => between,
-width => 800,
-pad_left => 10,
-pad_right => 10,
);
$panel->add_track( arrow => Bio::SeqFeature::Generic->new(-start=>1,
-end=>$seq->length),
-bump => 0,
-double=>1,
-tick => 2);
$panel->add_track(generic => Bio::SeqFeature::Generic->new(-start=>1,
-end=>$seq->length),
-glyph => generic,
-bgcolor => blue,
-label => 1,
);
# general case
my @colors = qw(cyan orange blue purple green chartreuse magenta yellow aqua);
my $idx = 0;
for my $tag (sort keys %sorted_features) {
my $features = $sorted_features{$tag};
$panel->add_track($features,
-glyph => generic,
-bgcolor => $colors[$idx++ % @colors],
-fgcolor => black,
-font2color => red,
-key => "${tag}s",
-bump => +1,
-height => 8,
-label => 1,
-description => 1,
);
}
print $panel->png;
$panel->finished;
exit 0;
The Bio::Graphics::Panel class provides drawing and formatting services for any object that implements the Bio::SeqFeatureI interface, including Ace::Sequence::Feature and Das::Segment::Feature objects. It can be used to draw sequence annotations, physical (contig) maps, or any other type of map in which a set of discrete ranges need to be laid out on the number line.
The module supports a drawing style in which each type of feature occupies a discrete "track" that spans the width of the display. Each track will have its own distinctive "glyph", a configurable graphical representation of the feature.
The module also supports a more flexible style in which several different feature types and their associated glyphs can occupy the same track. The choice of glyph is under run-time control.
Semantic zooming (for instance, changing the type of glyph depending on the density of features) is supported by a callback system for configuration variables. The module has built-in support for Bio::Das stylesheets, and stylesheet-driven configuration can be intermixed with semantic zooming, if desired.
You can add a key to the generated image using either of two key styles. One style places the key captions at the top of each track. The other style generates a graphical key at the bottom of the image.
Note that this module depends on GD. The optional SVG output depends on GD::SVG and SVG.
<<lessSYNOPSIS
# This script parses a GenBank or EMBL file named on the command
# line and produces a PNG rendering of it. Call it like this:
# render.pl my_file.embl | display -
use strict;
use Bio::Graphics;
use Bio::SeqIO;
my $file = shift or die "provide a sequence file as the argument";
my $io = Bio::SeqIO->new(-file=>$file) or die "could not create Bio::SeqIO";
my $seq = $io->next_seq or die "could not find a sequence in the file";
my @features = $seq->all_SeqFeatures;
# sort features by their primary tags
my %sorted_features;
for my $f (@features) {
my $tag = $f->primary_tag;
push @{$sorted_features{$tag}},$f;
}
my $panel = Bio::Graphics::Panel->new(
-length => $seq->length,
-key_style => between,
-width => 800,
-pad_left => 10,
-pad_right => 10,
);
$panel->add_track( arrow => Bio::SeqFeature::Generic->new(-start=>1,
-end=>$seq->length),
-bump => 0,
-double=>1,
-tick => 2);
$panel->add_track(generic => Bio::SeqFeature::Generic->new(-start=>1,
-end=>$seq->length),
-glyph => generic,
-bgcolor => blue,
-label => 1,
);
# general case
my @colors = qw(cyan orange blue purple green chartreuse magenta yellow aqua);
my $idx = 0;
for my $tag (sort keys %sorted_features) {
my $features = $sorted_features{$tag};
$panel->add_track($features,
-glyph => generic,
-bgcolor => $colors[$idx++ % @colors],
-fgcolor => black,
-font2color => red,
-key => "${tag}s",
-bump => +1,
-height => 8,
-label => 1,
-description => 1,
);
}
print $panel->png;
$panel->finished;
exit 0;
The Bio::Graphics::Panel class provides drawing and formatting services for any object that implements the Bio::SeqFeatureI interface, including Ace::Sequence::Feature and Das::Segment::Feature objects. It can be used to draw sequence annotations, physical (contig) maps, or any other type of map in which a set of discrete ranges need to be laid out on the number line.
The module supports a drawing style in which each type of feature occupies a discrete "track" that spans the width of the display. Each track will have its own distinctive "glyph", a configurable graphical representation of the feature.
The module also supports a more flexible style in which several different feature types and their associated glyphs can occupy the same track. The choice of glyph is under run-time control.
Semantic zooming (for instance, changing the type of glyph depending on the density of features) is supported by a callback system for configuration variables. The module has built-in support for Bio::Das stylesheets, and stylesheet-driven configuration can be intermixed with semantic zooming, if desired.
You can add a key to the generated image using either of two key styles. One style places the key captions at the top of each track. The other style generates a graphical key at the bottom of the image.
Note that this module depends on GD. The optional SVG output depends on GD::SVG and SVG.
Download (5.7MB)
Added: 2006-12-06 License: Perl Artistic License Price:
1053 downloads
Bio::GMOD 0.28
Bio::GMOD is a unified API for Model Organism Databases. more>>
Bio::GMOD is a unified API for Model Organism Databases.
SYNOPSIS
Check the installed version of a MOD
use Bio::GMOD::Util::CheckVersions.pm
my $mod = Bio::GMOD::Util::CheckVersions->new(-mod=>WormBase);
my $version = $mod->live_version;
Update a MOD installation
use Bio::GMOD::Update;
my $mod = Bio::GMOD::Update->new(-mod=>WormBase);
$gmod->update();
Fetch a list of genes from a MOD
use Bio::GMOD::Query;
my $mod = Bio::GMOD::Query->new(-mod=>WormBase);
my @genes = $mod->fetch(-class=>Gene,-name=>unc-26);
Bio::GMOD is a unified API for accessing various Model Organism Databases. It is a part of the Generic Model Organism Database project, as well as distributed on CPAN.
MODs are highly curated resources of biological data. Although they typically incorporate sequence data housed at community repositories such as NCBI, they place this information within a framework of biological fuction gelaned from the published literature of experiments in model organisms.
Given the great proliferation of MODs, cross-site data mining strategies have been difficult to implement. Such strategies typically require a familiarity with both the underlying data model and the historical vocabulary of the model system.
Furthermore, the quickly-evolving nature of these projects have made installing a MOD locally and keeping it up-to-date a delicate and time-consuming experience.
<<lessSYNOPSIS
Check the installed version of a MOD
use Bio::GMOD::Util::CheckVersions.pm
my $mod = Bio::GMOD::Util::CheckVersions->new(-mod=>WormBase);
my $version = $mod->live_version;
Update a MOD installation
use Bio::GMOD::Update;
my $mod = Bio::GMOD::Update->new(-mod=>WormBase);
$gmod->update();
Fetch a list of genes from a MOD
use Bio::GMOD::Query;
my $mod = Bio::GMOD::Query->new(-mod=>WormBase);
my @genes = $mod->fetch(-class=>Gene,-name=>unc-26);
Bio::GMOD is a unified API for accessing various Model Organism Databases. It is a part of the Generic Model Organism Database project, as well as distributed on CPAN.
MODs are highly curated resources of biological data. Although they typically incorporate sequence data housed at community repositories such as NCBI, they place this information within a framework of biological fuction gelaned from the published literature of experiments in model organisms.
Given the great proliferation of MODs, cross-site data mining strategies have been difficult to implement. Such strategies typically require a familiarity with both the underlying data model and the historical vocabulary of the model system.
Furthermore, the quickly-evolving nature of these projects have made installing a MOD locally and keeping it up-to-date a delicate and time-consuming experience.
Download (0.070MB)
Added: 2006-10-10 License: Perl Artistic License Price:
1137 downloads
Bio::NEXUS::Functions 0.67
Bio::NEXUS::Functions is a Perl module that provides private utility functions for the module. more>>
Bio::NEXUS::Functions is a Perl module that provides private utility functions for the module.
This package provides private functions that are not object-specific.
<<lessThis package provides private functions that are not object-specific.
Download (0.15MB)
Added: 2006-12-19 License: Perl Artistic License Price:
1039 downloads
Bio::NEXUS::TaxaBlock 0.67
Bio::NEXUS::TaxaBlock is a Perl module that represents TAXA block of a NEXUS file. more>>
Bio::NEXUS::TaxaBlock is a Perl module that represents TAXA block of a NEXUS file.
SYNOPSIS
if ( $type =~ /taxa/i ) {
$block_object = new Bio::NEXUS::TaxaBlock($type, $block, $verbose);
}
If a NEXUS block is a taxa block, this module parses the block and stores the taxonomic data.
METHODS
new
Title : new
Usage : block_object = new Bio::NEXUS::TaxaBlock($block_type, $commands, $verbose);
Function: Creates a new Bio::NEXUS::TaxaBlock object
Returns : Bio::NEXUS::TaxaBlock object
Args : type (string), the commands/comments to parse (array ref), and a verbose flag (0 or 1; optional)
is_taxon
Title : is_taxon
Usage : $block->is_taxon($query_taxonlabel);
Function: Validates OTU names/taxlabels
Returns : Returns taxlabel if true, undef if false
Args : Query taxon label
get_ntax
Title : get_ntax
Usage : $block->get_ntax();
Function: Returns the dimensions (that is, ntax) of the block
Returns : dimensions (integer)
Args : none
rename_otus
Title : rename_otus
Usage : $block->rename_otus(%translation);
Function: Renames all the OTUs to something else
Returns : none
Args : hash containing translation
equals
Name : equals
Usage : $taxa->equals($another);
Function: compare if two Bio::NEXUS::TaxaBlock objects are equal
Returns : boolean
Args : a Bio::NEXUS::TaxaBlock object
<<lessSYNOPSIS
if ( $type =~ /taxa/i ) {
$block_object = new Bio::NEXUS::TaxaBlock($type, $block, $verbose);
}
If a NEXUS block is a taxa block, this module parses the block and stores the taxonomic data.
METHODS
new
Title : new
Usage : block_object = new Bio::NEXUS::TaxaBlock($block_type, $commands, $verbose);
Function: Creates a new Bio::NEXUS::TaxaBlock object
Returns : Bio::NEXUS::TaxaBlock object
Args : type (string), the commands/comments to parse (array ref), and a verbose flag (0 or 1; optional)
is_taxon
Title : is_taxon
Usage : $block->is_taxon($query_taxonlabel);
Function: Validates OTU names/taxlabels
Returns : Returns taxlabel if true, undef if false
Args : Query taxon label
get_ntax
Title : get_ntax
Usage : $block->get_ntax();
Function: Returns the dimensions (that is, ntax) of the block
Returns : dimensions (integer)
Args : none
rename_otus
Title : rename_otus
Usage : $block->rename_otus(%translation);
Function: Renames all the OTUs to something else
Returns : none
Args : hash containing translation
equals
Name : equals
Usage : $taxa->equals($another);
Function: compare if two Bio::NEXUS::TaxaBlock objects are equal
Returns : boolean
Args : a Bio::NEXUS::TaxaBlock object
Download (0.15MB)
Added: 2006-12-20 License: Perl Artistic License Price:
1038 downloads
Bio::NEXUS::DataBlock 0.67
Bio::NEXUS::DataBlock is a Perl module that represents the deprecated DATA Block in NEXUS file. more>>
Bio::NEXUS::DataBlock is a Perl module that represents the deprecated DATA Block in NEXUS file.
SYNOPSIS
$block_object = new Bio::NEXUS::DataBlock($type, $block, $verbose, $taxlabels_ref);
The DataBlock class represents the deprecated Data Block in a NEXUS file. Data Blocks are still used by some prominent programs, unfortunately, although they are essentially the same as a Characters Block and a Taxa Block combined. Data Blocks may be used as input, but are not output by the NEXPL library. For more information on Data Blocks, see the Characters Block documentation.
METHODS
new
Title : new
Usage : block_object = new Bio::NEXUS::CharactersBlock($block_type, $block, $verbose, $taxa);
Function: Creates a new Bio::NEXUS::CharactersBlock object
Returns : Bio::NEXUS::CharactersBlock object
Args : verbose flag (0 or 1), type (string) and the block to parse (string)
<<lessSYNOPSIS
$block_object = new Bio::NEXUS::DataBlock($type, $block, $verbose, $taxlabels_ref);
The DataBlock class represents the deprecated Data Block in a NEXUS file. Data Blocks are still used by some prominent programs, unfortunately, although they are essentially the same as a Characters Block and a Taxa Block combined. Data Blocks may be used as input, but are not output by the NEXPL library. For more information on Data Blocks, see the Characters Block documentation.
METHODS
new
Title : new
Usage : block_object = new Bio::NEXUS::CharactersBlock($block_type, $block, $verbose, $taxa);
Function: Creates a new Bio::NEXUS::CharactersBlock object
Returns : Bio::NEXUS::CharactersBlock object
Args : verbose flag (0 or 1), type (string) and the block to parse (string)
Download (0.15MB)
Added: 2006-12-20 License: Perl Artistic License Price:
1038 downloads
Bio::AlignIO::msf 1.4
Bio::AlignIO::msf is a Perl module with msf sequence input/output stream. more>>
Bio::AlignIO::msf is a Perl module with msf sequence input/output stream.
SYNOPSIS
Do not use this module directly. Use it via the Bio::AlignIO class.
This object can transform Bio::Align::AlignI objects to and from msf flat file databases.
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
next_aln
Title : next_aln
Usage : $aln = $stream->next_aln()
Function: returns the next alignment in the stream. Tries to read *all* MSF
It reads all non whitespace characters in the alignment
area. For MSFs with weird gaps (eg ~~~) map them by using
$al->map_chars(~,-)
Returns : L< Bio::Align::AlignI > object
Args : NONE
write_aln
Title : write_aln
Usage : $stream->write_aln(@aln)
Function: writes the $aln object into the stream in MSF format
Sequence type of the alignment is determined by the first sequence.
Returns : 1 for success and 0 for error
Args : L< Bio::Align::AlignI > object
<<lessSYNOPSIS
Do not use this module directly. Use it via the Bio::AlignIO class.
This object can transform Bio::Align::AlignI objects to and from msf flat file databases.
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
next_aln
Title : next_aln
Usage : $aln = $stream->next_aln()
Function: returns the next alignment in the stream. Tries to read *all* MSF
It reads all non whitespace characters in the alignment
area. For MSFs with weird gaps (eg ~~~) map them by using
$al->map_chars(~,-)
Returns : L< Bio::Align::AlignI > object
Args : NONE
write_aln
Title : write_aln
Usage : $stream->write_aln(@aln)
Function: writes the $aln object into the stream in MSF format
Sequence type of the alignment is determined by the first sequence.
Returns : 1 for success and 0 for error
Args : L< Bio::Align::AlignI > object
Download (4.7MB)
Added: 2006-09-29 License: Perl Artistic License Price:
1121 downloads
Bio::NEXUS::NotesBlock 0.67
Bio::NEXUS::NotesBlock is a Perl module that represents a NOTES block in a NEXUS file. more>>
Bio::NEXUS::NotesBlock is a Perl module that represents a NOTES block in a NEXUS file.
Placeholding module for the Notes Block class.
<<lessPlaceholding module for the Notes Block class.
Download (0.15MB)
Added: 2006-12-19 License: Perl Artistic License Price:
1039 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above bio phylo io 0.17 rc6 search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed