Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 49.482.828 Times

Bio::NEXUS::TreesBlock 0.67

  Date Added: May 21, 2010  |  Visits: 907

Bio::NEXUS::TreesBlock

Report Broken Link
Printer Friendly Version


Product Homepage
Download (86 downloads)



Bio::NEXUS::TreesBlock is a Perl module that represents TREES block of a NEXUS file. SYNOPSIS if ( $type =~ /trees/i ) { $block_object = new Bio::NEXUS::TreesBlock( $block_type, $block, $verbose ); } If a NEXUS block is a Trees Block, this module parses the block and stores the tree data. METHODS new Title : new Usage : block_object = new Bio::NEXUS::TreesBlock($block_type, $commands, $verbose ); Function: Creates a new Bio::NEXUS::TreesBlock object and automatically reads the file Returns : Bio::NEXUS::TreesBlock object Args : type (string), the commands/comments to parse (array ref), and a verbose flag (0 or 1; optional) clone Title : clone Usage : my $newblock = $block->clone(); Function: clone a block object (shallow) Returns : Block object Args : none set_trees Title : set_trees Usage : $block->set_trees($trees); Function: Sets the list of trees (Bio::NEXUS::Tree objects) Returns : none Args : ref to array of Bio::NEXUS::Tree objects add_tree Title : add_tree Usage : $block->add_tree($tree); Function: Add trees (Bio::NEXUS::Tree object) Returns : none Args : a Bio::NEXUS::Tree object add_tree_from_newick Title : add_tree_from_newick Usage : $block->add_tree_from_newick($newick_tree, $tree_name); Function: Add a tree (Bio::NEXUS::Tree object) Returns : none Args : a tree string in newick format and a name for the tree (scalars) get_trees Title : get_trees Usage : $block->get_trees(); Function: Gets the list of trees (Bio::NEXUS::Tree objects) and returns it Returns : ref to array of Bio::NEXUS::Tree objects Args : none get_tree Title : get_tree Usage : $block->get_tree($treename); Function: Gets the first tree (Bio::NEXUS::Tree object) that matches the name given or the first tree if $treename is not specified. If no tree matches, returns undef. Returns : a Bio::NEXUS::Tree object Args : tree name or none set_translate Title : set_translate Usage : $block->set_translate($translate); Function: Sets the hash of translates for nodes names Returns : none Args : hash of translates translate Title : translate Usage : $self->translate($num); Function: Translates a number with its associated name. Returns : integer or string Args : integer Method : Returns the name associated with that numbers translated name. If it cant find an association, returns the number. reroot_tree Title : reroot_tree Usage : $block->reroot_tree($outgroup,$root_position, $treename); Function: Reroot a tree using an OTU as new outgroup. Returns : none Args : outgroup name, the distance before the root position and tree name reroot_all_trees Title : reroot_all_trees Usage : $block->reroot_all_trees($outgroup, $root_position); Function: Reroot all the trees in the treesblock tree. use an OTU as new outgroup Returns : none Args : outgroup name and root position rename_otus Title : rename_otus Usage : $block->rename_otus(%translation); Function: Renames nodes based on a translation hash Returns : none Args : hash containing translation (e.g., { old_name => new_name} ) Comments: nodes not included in translation hash are unaffected select_otus Name : select_otus Usage : $nexus->select_otus(@otunames); Function: select a subset of OTUs Returns : a new nexus object Args : a ref to array of OTU names select_tree Name : select_tree Usage : $nexus->select_tree($treename); Function: select a tree Returns : a new nexus object Args : a tree name select_subtree Name : select_subtree Usage : $nexus->select_subtree($inodename); Function: select a subtree Returns : a new nexus object Args : an internal node name for subtree to be selected exclude_subtree Name : exclude_subtree Usage : $nexus->exclude_subtree($inodename); Function: remove a subtree Returns : a new nexus object Args : an internal node for subtree to be removed equals Name : equals Usage : $nexus->equals($another); Function: compare if two NEXUS objects are equal Returns : boolean Args : a NEXUS object.

Requirements: No special requirements
Platforms: Linux
Keyword: Args Bionexustreesblock Libraries Name Nexus Object Otu Perl Module Programming Returns Tree Treesblock Usage
Users rating: 0/10

License: Freeware Size: 153.6 KB
USER REVIEWS
More Reviews or Write Review


BIO::NEXUS::TREESBLOCK RELATED
Libraries  -  Locale::Object::Language 0.75
Locale::Object::Language Perl module contains language information objects. Locale::Object::Language allows you to create objects containing information about languages such as their ISO codes, the countries theyre used in and so on. SYNOPSIS...
47.1 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
Network & Internet  -  MyCMS perl module 1.0
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. MyCMS perl module contains Perl object classes to manage the data of MyCMS (such as articles, links, and images). MN::CMS is a perl module that allows you to manage an...
16.38 KB  
Libraries  -  Modwheel 0.3.3
Modwheel Perl module is a tree-based Web framework. Most web sites are pages categorized by topic. So web sites can be viewed as a tree system where every page is a sub-tree and the page elements are nodes. Page elements can be things like...
1.4 MB  
Libraries  -  Filesys::DiskUsage 0.04
Filesys::DiskUsage is a Perl module to estimate file space usage (similar to `du`). SYNOPSIS use Filesys::DiskUsage qw/du/; # basic $total = du(qw/file1 file2 directory1/); or # no recursion $total = du( { recursive => 0 } , ); or...
5.12 KB  
Libraries  -  Tree::Visualize 0.01
Tree::Visualize is a Perl module for visualizing Tree structures. SYNOPSIS use Tree::Visualize; use Tree::Binary; my $tree = Tree::Binary->new("*") ->setLeft( Tree::Binary->new("+") ->setLeft(Tree::Binary->new("2"))...
15.36 KB  
Libraries  -  Exploring 1.14
Exploring Tk::JComboBox Perl module contains a tutorial for usage of the Tk::JComboBox widget. Overview This tutorial assumes a familiarity with basic Perl/Tk concepts. It is meant to be used alongside the JComboBox class reference. What is...
64.51 KB  
Libraries  -  Bio::NEXUS::TaxaBlock 0.67
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...
153.6 KB  
Libraries  -  Bio::NEXUS::MatrixBlock 0.67
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...
153.6 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB