Main > Free Download Search >

Free taxa software for linux

taxa

Sponsored Links
Sponsored Links
Sort by >> Relevance
rss
Secleted [ 0 ] software to compare
Results 1 - 15 of about 10
Bio::NEXUS::TaxaBlock 0.67

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

<<less
Download (0.15MB)
Added: 2006-12-20 License: Perl Artistic License Price:
1038 downloads
Bio::NEXUS::DataBlock 0.67

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)

<<less
Download (0.15MB)
Added: 2006-12-20 License: Perl Artistic License Price:
1038 downloads
Bio::NEXUS::MatrixBlock 0.67

Bio::NEXUS::MatrixBlock 0.67


Bio::NEXUS::MatrixBlock is a Perl module that provides functions for handling blocks that have matrices. more>>
Bio::NEXUS::MatrixBlock is a Perl module that provides functions for handling blocks that have matrices.

SYNOPSIS

This module is the super class of Characters, Unaligned, and Distances block classes, and indirectly it is a super-class of Data and History blocks, which are both sub-classes of Characters blocks. These sub-classes inherint the methods within this module. There is no constructor, as a MatrixBlock should not exist that is not also one of the sub-class block types.

Provides functions used for handling blocks that have matrices.

METHODS

get_ntax

Title : get_ntax
Usage : $block->get_ntax();
Function: Returns the number of taxa in the block
Returns : # taxa
Args : none

get_nchar

Title : get_nchar
Usage : $block->get_nchar();
Function: Returns the number of characters in the block (Note: In Distances Blocks, this is the number of characters used to infer distances.)
Returns : # taxa
Args : none

set_format

Title : set_format
Usage : $block->set_format(%format);
Function: set the format of the characters
Returns : none
Args : hash of format values

get_format

Title : get_format
Usage : $block->get_format($attribute);
Function: Returns the format of the characters
Returns : hash of format values, or if $attribute (a string) is supplied, the value of that attribute in the hash
Args : none

add_taxlabels

Title : add_taxlabels
Usage : $block->add_taxlabels($new_taxlabels);
Function: Adds new taxa to taxlabels if they arent already there
Returns : none
Args : taxa to be added

<<less
Download (0.15MB)
Added: 2006-12-20 License: Perl Artistic License Price:
1038 downloads
Bio::Tree::Compatible 1.5.2_102

Bio::Tree::Compatible 1.5.2_102


Bio::Tree::Compatible is a Perl module for testing compatibility of phylogenetic trees with nested taxa. more>>
Bio::Tree::Compatible is a Perl module for testing compatibility of phylogenetic trees with nested taxa.

SYNOPSIS

use Bio::Tree::Compatible;
use Bio::TreeIO;
my $input = new Bio::TreeIO(-format => newick,
-file => input.tre);
my $t1 = $input->next_tree;
my $t2 = $input->next_tree;

my ($incompat, $ilabels, $inodes) = $t1->is_compatible($t2);
if ($incompat) {
my %cluster1 = %{ $t1->cluster_representation };
my %cluster2 = %{ $t2->cluster_representation };
print "incompatible treesn";
if (scalar(@$ilabels)) {
foreach my $label (@$ilabels) {
my $node1 = $t1->find_node(-id => $label);
my $node2 = $t2->find_node(-id => $label);
my @c1 = sort @{ $cluster1{$node1} };
my @c2 = sort @{ $cluster2{$node2} };
print "label $label";
print " cluster"; map { print " ",$_ } @c1;
print " cluster"; map { print " ",$_ } @c2; print "n";
}
}
if (scalar(@$inodes)) {
while (@$inodes) {
my $node1 = shift @$inodes;
my $node2 = shift @$inodes;
my @c1 = sort @{ $cluster1{$node1} };
my @c2 = sort @{ $cluster2{$node2} };
print "cluster"; map { print " ",$_ } @c1;
print " properly intersects cluster";
map { print " ",$_ } @c2; print "n";
}
}
} else {
print "compatible treesn";
}

Bio::Tree::Compatible is a Perl tool for testing compatibility of phylogenetic trees with nested taxa represented as Bio::Tree::Tree objects. It is based on a recent characterization of ancestral compatibility of semi-labeled trees in terms of their cluster representations.

A semi-labeled tree is a phylogenetic tree with some of its internal nodes labeled, and it can represent a classification tree as well as a phylogenetic tree with nested taxa, with labeled internal nodes corresponding to taxa at a higher level of aggregation or nesting than that of their descendents.

Two semi-labeled trees are compatible if their topological restrictions to the common labels are such that for each node label, the smallest clusters containing it in each of the trees coincide and, furthermore, no cluster in one of the trees properly intersects a cluster of the other tree.

Future extensions of Bio::Tree::Compatible include a Bio::Tree::Supertree module for combining compatible phylogenetic trees with nested taxa into a common supertree.

<<less
Download (5.6MB)
Added: 2007-06-28 License: Perl Artistic License Price:
848 downloads
Bio::NEXUS::DistancesBlock 0.67

Bio::NEXUS::DistancesBlock 0.67


Bio::NEXUS::DistancesBlock is a Perl module that represents DISTANCES block in NEXUS file. more>>
Bio::NEXUS::DistancesBlock is a Perl module that represents DISTANCES block in NEXUS file.

The DistancesBlock class represents a NEXUS Distances Block and provides methods for reading, writing, and accessing data within these blocks. Distances Blocks contain distance matrices, or a table of calculated distances between each possible pair of taxa.

METHODS

new

Title : new
Usage : block_object = new Bio::NEXUS::DistancesBlock($block_type, $commands, $verbose, $taxa);
Function: Creates a new Bio::NEXUS::DistancesBlock object
Returns : Bio::NEXUS::DistancesBlock object
Args : type (string), the commands/comments to parse (array ref), and a verbose flag (0 or 1)

get_matrix

Title : get_matrix
Usage : $matrix = $self->get_matrix();
Function: Retrieves the entire distance matrix
Returns : a hashref of hashrefs
Args : none
Note : Distance values may be retrieved by specifying the row and column keys, e.g. $dist = $matrix->{$row_taxon}{$col_taxon}

get_distances_for

Title : get_distances_for
Usage : %taxon1_distances = %{ $self->get_distances_for($first_taxon) };
Function: Retrieves a row of the distance matrix
Returns :
Args : the row label (a taxlabel) for the row desired (string)

get_distance_between

Title : get_distance_between
Usage : $distance = $self->get_distance_between($row_taxon, $column_taxon);
Function: Retrieves a cell from the matrix
Returns : A scalar (number)
Args : the row and column labels (both taxa) for the cell desired
Note : Generally get_distance_between($A, $B) == get_distance_between($B, $A); however, this need not be true if the distance matrix is not symmetric. Make sure you are asking for the distance you want.

<<less
Download (0.15MB)
Added: 2006-12-19 License: Perl Artistic License Price:
1040 downloads
Bio::NEXUS::UnalignedBlock 0.67

Bio::NEXUS::UnalignedBlock 0.67


Bio::NEXUS::UnalignedBlock is a Perl module that represents an UNALIGNED block of a NEXUS file. more>>
Bio::NEXUS::UnalignedBlock is a Perl module that represents an UNALIGNED block of a NEXUS file.

SYNOPSIS

if ( $type =~ /unaligned/i ) {
$block_object = new Bio::NEXUS::UnalignedBlock($type, $block, $verbose);
}

This is a class representing an unaligned block in NEXUS file

METHODS

new

Title : new
Usage : block_object = new Bio::NEXUS::UnalignedBlock($block_type, $commands, $verbose, $taxlabels);
Function: Creates a new Bio::NEXUS::UnalignedBlock object
Returns : Bio::NEXUS::UnalignedBlock object
Args : type (string), the commands/comments to parse (array ref), and a verbose flag (0 or 1)

find_taxon

Title : find_taxon
Usage : my $is_taxon_present = $self->find_taxon($taxon_name);
Function: Finds whether the input taxon name is present in the taxon label.
Returns : 0 (not present) or 1 (if present).
Args : taxon label (as string)

set_format

Title : set_format
Usage : $block->set_format(%format);
Function: set the format of the characters
Returns : none
Args : hash of format values

get_format

Title : get_format
Usage : $block->get_format();
Function: Returns the format of the characters
Returns : hash of format values
Args : none

set_otuset

Title : set_otuset
Usage : $block->set_otuset($otuset);
Function: Set the otus
Returns : none
Args : TaxUnitSet object

set_charstatelabels

Title : set_charstatelabels
Usage : $block->set_charstatelabels($labels);
Function: Set the character names and states
Returns : none
Args : array of character states

get_charstatelabels

Title : get_charstatelabels
Usage : $set->get_charstatelabels();
Function: Returns an array of character states
Returns : character states
Args : none

get_ntax

Title : get_ntax
Usage : $block->get_ntax();
Function: Returns the number of taxa of the block
Returns : # taxa
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 : $block->equals($another);
Function: compare if two Bio::NEXUS::UnalignedBlock objects are equal
Returns : boolean
Args : a Bio::NEXUS::CharactersBlock object

<<less
Download (0.15MB)
Added: 2006-12-20 License: Perl Artistic License Price:
1038 downloads
Bio::NEXUS::Block 0.67

Bio::NEXUS::Block 0.67


Bio::NEXUS::Block is a Perl module that provides useful functions for blocks in NEXUS file (parent class). more>>
Bio::NEXUS::Block is a Perl module that provides useful functions for blocks in NEXUS file (parent class).

SYNOPSIS

This module is the super class of all NEXUS block classes. It is not used specifically from a program; in other words, you dont create a new Bio::NEXUS::Block object. Other modules, like AssumptionsBlock, simply inherit subroutines from this module.

Provides a few useful functions for general blocks (to be used by sub-classes).

METHODS

clone

Title : clone
Usage : my $newblock = $block->clone();
Function: clone a block object (shallow)
Returns : Block object
Args : none

get_type

Title : get_type
Usage : print $block->get_type();
Function: Returns a string containing the block type
Returns : type (string)
Args : none

set_ntax

Title : set_ntax
Usage : print $block->set_ntax();
Function: Sets the value of Dimensions:ntax
Returns : none
Args : number of taxa (scalar)

set_dimensions

Title : set_dimensions
Usage : $block->set_dimensions($dimensions);
Function: set a dimensions command
Returns : none
Args : hash content of dimensions command

get_dimensions

Title : get_dimensions
Usage : $block->get_dimensions($attribute);
Function: get a dimensions command
Returns : hash content of dimensions command, or the value for a particular attribute if specified
Args : none, or a string

set_command

Title : set_command
Usage : $block->set_command($command, $content);
Function: Set a command
Returns : none
Args : comand name, and content (string)

set_title

Title : set_title
Usage : $block->set_title($name);
Function: Set the block name
Returns : none
Args : block name (string)

get_title

Title : get_title
Usage : $block->get_title();
Function: Returns a string containing the block title
Returns : name (string)
Args : none

set_link

Title : set_link
Usage : $block->set_link($link_hashref);
Function: Set the block link commands
Returns : none
Args : block link (hash)

add_link

Title : add_link
Usage : $block->add_link($linkname, $title);
Function: add a link command
Returns : none
Args : $link, $title (of another block)

get_link

Title : get_link
Usage : $block->get_link();
Function: Returns a hash containing the block links
Returns : link (hash)
Args : none

set_taxlabels

Title : set_taxlabels
Usage : $block->set_taxlabels($labels);
Function: Set the taxa names
Returns : none
Args : array of taxa names

add_taxlabel

Title : add_taxlabel
Usage : $block->add_taxlabel($label);
Function: add a taxon name
Returns : none
Args : a taxon name

get_taxlabels

Title : get_taxlabels
Usage : $block->get_taxlabels();
Function: Returns an array of taxa labels
Returns : taxa names
Args : none

set_otus

Title : set_otus
Usage : $block->set_otus($otus);
Function: sets the list of OTUs
Returns : none
Args : array of OTUs

get_otus

Title : get_otus
Usage : $block->get_otus();
Function: Returns array of otus
Returns : all otus
Args : none

set_otuset

Title : set_otuset
Usage : $block->set_otuset($otuset);
Function: Set the otus
Returns : none
Args : TaxUnitSet object

get_otuset

Title : get_otuset
Usage : $block->get_otuset();
Function: get the OTUs
Returns : TaxUnitSet object
Args : none

select_otus

Title : select_otus
Usage : $block->select_otus($names);
Function: select a subset of OTUs
Returns : array of OTUs
Args : OTU names

rename_otus

Title : rename_otus
Usage : $block->rename_otus($names);
Function: rename all OTUs
Returns : none
Args : hash of OTU names

set_comments

Title : set_comments
Usage : $block->set_comments($comments);
Function: Set the block comments
Returns : none
Args : block comments (array of strings)

get_comments

Title : get_comments
Usage : $block->get_comments();
Function: Returns block comments
Returns : comments (array of strings)
Args : none

add_comment

Title : add_comment
Usage : $block->add_comment($comment);
Function: add a comment
Returns : none
Args : comment (string)

equals

Name : equals
Usage : $block->equals($another);
Function: compare if two Block objects are equal
Returns : boolean
Args : a Block object

<<less
Download (0.15MB)
Added: 2006-12-20 License: Perl Artistic License Price:
1038 downloads
Bio::NEXUS::SetsBlock 0.67

Bio::NEXUS::SetsBlock 0.67


Bio::NEXUS::SetsBlock is a Perl module that represents SETS block of a NEXUS file. more>>
Bio::NEXUS::SetsBlock is a Perl module that represents SETS block of a NEXUS file.

SYNOPSIS

$block_object = new Bio::NEXUS::SetsBlock($block_type, $block, $verbose);

Parses Sets block of NEXUS file and stores Sets data.

METHODS

new

Title : new
Usage : $block_object = new Bio::NEXUS::SetsBlock($block_type, $commands, $verbose)
Function: Creates a new Bio::NEXUS::SetsBlock object
Returns : Bio::NEXUS::SetsBlock object
Args : type (string), the commands/comments to parse (array ref), and a verbose flag (0 or 1)

set_taxsets

Title : set_taxsets
Usage : $block->set_taxsets($taxsets);
Function: Set the taxsets hash
Returns : none
Args : hash of set name keys and element arrays

add_taxsets

Title : add_taxsets
Usage : $block->add_taxsets($taxsets);
Function: add taxa sets
Returns : none
Args : a reference to a hash of taxa sets

get_taxsets

Title : get_taxsets
Usage : $block->get_taxsets();
Function: Returns a hash of taxa sets
Returns : taxa sets
Args : none

get_taxset

Title : get_taxset
Usage : $block->get_taxset($setname);
Function: Returns a list of OTUs
Returns : OTUs
Args : none

get_taxset_names

Title : get_taxset_names
Usage : $block->get_taxset_names()
Function: gets the names of all sets
Returns : array of names
Args : none

print_all_taxsets

Title : print_all_taxsets
Usage : $block->print_all_taxsets($outfile)
Function: prints set names and elements
Returns : none
Args : filename or filehandle

delete_taxsets

Title : delete_taxsets
Usage : $block->delete_taxsets($set1 [$set2 $set3 ...])
Function: Removes the named sets from the Sets block
Returns : none
Args : Names of sets to be deleted

exclude_otus

Title : exclude_otus
Usage : $block->exclude_otus($otu_array_ref)
Function: Finds and deletes each of the given otus from any sets they appear in
Returns : none
Args : Names of otus to be removed

select_otus

Title : select_otus
Usage : $block->select_otus($otu_array_ref)
Function: Finds the given otus and removes all others from any sets they appear in
Returns : none
Args : Names of otus to be removed

rename_otus

Title : rename_otus
Usage : $block->rename_otus($names);
Function: rename all OTUs
Returns : none
Args : hash of OTU names

rename_taxsets

Title : rename_taxsets
Usage : $block->rename_taxsets($oldsetname1, $newsetname1, ...)
Function: Renames sets
Returns : none
Args : Oldname, newname pairs

equals

Name : equals
Usage : $setsblock->equals($another);
Function: compare if two Bio::NEXUS::SetsBlock objects are equal
Returns : boolean
Args : a Bio::NEXUS::SetsBlock object

<<less
Download (0.15MB)
Added: 2006-12-20 License: Perl Artistic License Price:
1038 downloads
Bio::Phylo::IO 0.17 RC6

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

<<less
Download (0.14MB)
Added: 2007-08-08 License: Perl Artistic License Price:
807 downloads
Quick-Join 1.0.8

Quick-Join 1.0.8


QuickJoin implements a heuristic for speeding up neighbour joining, making neighbour joining feasible for large sets of taxa. more>>
QuickJoin project implements a heuristic for speeding up neighbour joining, making neighbour joining feasible for large sets of taxa. The inferred tree is identical to the tree inferred by the traditional neighbour joining method, but the heuristic will (potentially) construct the tree significantly faster.
Usage:
The QuickJoin program, qjoin reads a distance matrix in phylip format from an input file or stdin, and output the inferred tree, in newick format, to a file or stdout. Run qjoin --help for more info.
Installation:
From Source
The QuickJoin package is written in C++. It should compile on any Unix like system. To install the package, download the source code and unpack it (tar xzf quick-join-a.b.c.tar.gz, where a.b.c is the version number of quick-join), then run configure and make in the subdirectory quick-join-a.b.c created during unpacking. This creates the QuickJoin program, qjoin together with a number of test programs. To check that everything went right, run make check. If all tests pass, install the qjoin program by running make install. Read the INSTALL file for more info.
From Binary
Currently, the only binary distribution is in RPM packages. Other formats might appear, if I am asked to build them (and told how to...). To install, download the file and run rpm -U quick-join-version.arch.rpm.
Enhancements:
- This version fixes a memory management bug.
<<less
Download (0.074MB)
Added: 2007-06-19 License: GPL (GNU General Public License) Price:
858 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 1
  • 1