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

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

Serving Software Downloads in 976 Categories, Downloaded 29.861.978 Times

Bio::NEXUS::Node 0.67

  Date Added: November 27, 2010  |  Visits: 900


Report Broken Link
Printer Friendly Version

Product Homepage
Download (75 downloads)

Bio::NEXUS::Node is a Perl module that provides functions for manipulating nodes in trees. SYNOPSIS new Bio::NEXUS::Node; METHODS new Title : new Usage : $node = new Bio::NEXUS::Node(); Function: Creates a new Bio::NEXUS::Node object Returns : Bio::NEXUS::Node object Args : none clone Title : clone Usage : my $newblock = $block->clone(); Function: clone a block object (shallow) Returns : Block object Args : none get_seq Title : get_seq Usage : $sequence = $node->get_seq(); Function: Returns the nodes sequence Returns : sequence (string) Args : none set_seq Title : set_seq Usage : $node->set_seq($sequence); Function: Sets sequence of the node Returns : none Args : sequence (string) set_parent_node Title : set_parent_node Usage : $node->set_parent_node($parent); Function: Sets the parent node of the node Returns : none Args : parent node (Bio::NEXUS::Node object) get_parent Title : get_parent Usage : $parent=$node->get_parent(); Function: Returns the parent node of the node Returns : parent node (Bio::NEXUS::Node object) or undef if nonexistent Args : none set_length Title : set_length Usage : $node->set_length($length); Function: Sets the nodes length (meaning the length of the branch leading to the node) Returns : none Args : length (number) get_length Title : length Usage : $length=$node->get_length(); Function: Returns the nodes length Returns : length (integer) or undef if nonexistent Args : none get_total_length Title : get_total_length Usage : $total_length = $node->get_total_length(); Function: Gets the total branch length of the node and that of all the children (???) Returns : total branch length Args : none set_support_value Title : set_support_value Usage : $node->set_support_value($bootstrap); Function: Sets the branch support value associated with this node Returns : none Args : bootstrap value (integer) get_support_value Title : get_support_value Usage : $bootstrap=$node->get_support_value(); Function: Returns the branch support value associated with this node Returns : bootstrap value (integer) or undef if nonexistent Args : none set_name Title : set_name Usage : $node->set_name($name); Function: Sets the nodes name Returns : none Args : name (string/integer) get_name Title : get_name Usage : $name = $node->get_name(); Function: Returns the nodes name Returns : name (integer/string) or undef if nonexistent Args : none is_otu Title : is_otu Usage : $node->is_otu(); Function: Returns 1 if the node is an OTU or 0 if it is not (internal node) Returns : 1 or 0 Args : none add_child Title : add_childTU Usage : $node->add_child($node); Function: Adds a child to an existing node Returns : none Args : child (Bio::NEXUS::Node object) distance Title : distance Usage : $distance = $node1->distance($node2); Function: Calculates tree distance from one node to another (?) Returns : distance (floating-point number) Args : node1, node2 (Bio::NEXUS::Node objects) to_string Title : to_string Usage : my $string; $root->tree_string($string, 0) Function: recursively builds Newick tree string from root to tips Returns : none Args : reference to string, boolean $remove_inode_names flag set_children Title : set_children Usage : $node->set_children($children); Function: Sets children Returns : $node Args : arrayref of children get_children Title : get_children Usage : @children = @{ $node->get_children() }; Function: Retrieves list of children Returns : array of children (Bio::NEXUS::Node objects) Args : none walk Title : walk Usage : @descendents = $node->walk(); Function: Walks through tree and compiles a "clade list" (including $self and all inodes and otus descended from $self) Returns : array of nodes Args : generally, none, though walk() calls itself recurseively with 2 arguments: the node list so far, and a counting variable for inode-naming get_otus Title : get_otus Usage : @listOTU = @{$node->get_otu()}; (?) Function: Retrieves list of OTUs Returns : reference to array of OTUs (Bio::NEXUS::Node objects) Args : none printall Title : printall Usage : $tree_as_string = $self->printall(); Function: Gets the node properties as a tabbed string for printing nicely formatted trees (developed by Tom) Returns : Formatted string Args : Bio::NEXUS::Node object find Title : find Usage : $node = $node->find($name); Function: Finds the first occurrence of a node called name in the tree Returns : Bio::NEXUS::Node object Args : name (string) prune Name : prune Usage : $node->prune($OTUlist); Function: Removes everything from the tree except for OTUs specified in $OTUlist Returns : none Args : list of OTUs (string) equals Name : equals Usage : $node->equals($another_node); Function: compare if two nodes (and their subtrees) are equivalent Returns : 1 if equal or 0 if not Args : another Node object get_siblings Name : get_siblings Usage : $node->get_siblings(); Function: get sibling nodes of this node Returns : array ref of sibling nodes Args : none is_sibling Name : is_sibling Usage : $node1->is_sibling($node2); Function: tests whether node1 and node2 are siblings Returns : 1 if true, 0 if false Args : second node adopt Title : adopt Usage : $parent->adopt($child, $overwrite_children); Function: make a parent-child relationship between two nodes Returns : none Args : the child node, boolean clobber flag combine Title : combine Usage : my $newblock = $node->combine($child); Function: removes a node from the tree, effectively by sliding its only child up the branch to its former position Returns : none Args : the child node Methods : Combines the child node and the current node by assigning the name, bootstrap value, children and other properties of the child. The branch length of the current node is added to the child nodes branch length. set_depth Title : set_depth Usage : $root->set_depth(); Function: Determines depth in tree of every node below this one Returns : none Args : This nodes depth get_depth Title : get_depth Usage : $depth = $node->get_depth(); Function: Returns the nodes depth (number of generations removed from the root) in tree Returns : integer representing nodes depth Args : none find_lengths Title : find_lengths Usage : $cladogram = 1 unless $root->find_lengths(); Function: Tries to determine if branch lengths are present in the tree Returns : 1 if lengths are found, 0 if not Args : none mrca Title : mrca Usage : $mrca = $otu1-> mrca($otu2, $treename); Function: Finds most recent common ancestor of otu1 and otu2 Returns : Node object of most recent common ancestor Args : Nexus object, two otu objects, name of tree to look in.

Requirements: No special requirements
Platforms: Linux
Keyword: Args Bionexusnode Libraries Name Nexus Node Otus Parent Node Perl Module Programming Returns Title Usage
Users rating: 0/10

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

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  
Libraries  -  Convert::Wiki::Node::Line 0.05
Convert::Wiki::Node::Line is a Perl module that represents a horizontal line (aka ruler). SYNOPSIS use Convert::Wiki::Node::Line; my $hr = Convert::Wiki::Node::Line->new( ); print $hr->as_wiki(); A Convert::Wiki::Node::Line represents a...
19.46 KB  
Libraries  -  Convert::Wiki::Node::Item 0.05
Convert::Wiki::Node::Item is a Perl module that represents an item in a list (aka or *). SYNOPSIS use Convert::Wiki::Node::Item; my $para = Convert::Wiki::Node->new( txt => Foo is a foobar., type => item ); print $para->as_wiki(); #...
19.46 KB  
Libraries  -  Convert::Wiki::Node::Head 0.05
Convert::Wiki::Node::Head is a Perl module that represents a headline node. SYNOPSIS use Convert::Wiki::Node::Head; my $head = Convert::Wiki::Node->new( txt => About Foo, type => head1 ); print $head->as_wiki(); A...
19.46 KB  
Libraries  -  Convert::Wiki::Node::Para 0.05
Convert::Wiki::Node::Para is a Perl module that represents a text paragraph node. SYNOPSIS use Convert::Wiki::Node::Para; my $para = Convert::Wiki::Node->new( txt => Foo is a foobar., type => para ); print $para->as_wiki(); A...
19.46 KB  
Libraries  -  Bio::NEXUS::TreesBlock 0.67
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...
153.6 KB  
Libraries  -  Bio::NEXUS::WeightSet 0.67
Bio::NEXUS::WeightSet is a Perl module that represents column weights in alignment ( for each character). SYNOPSIS new Bio::NEXUS::WeightSet($name, @weights, $iswt); A module representing column weights in alignment (for each character)...
153.6 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  -  XML::EasySQL::XMLobj::Node 1.2
XML::EasySQL::XMLobj::Node is a Perl module that contains a Node interface. Derived from a fork of Robert Hansons killer XML::EasyOBJ module, which offers Easy XML object navigation. METHODS makeNewNode( NEW_TAG ) Append a new element node...
11.26 KB  
Libraries  -  Java::JCR::Nodetype 0.08
Java::JCR::Nodetype is a Perl module that can load the JCR node type class wrappers. SYNOPSIS use Java::JCR::Nodetype; This loads the Perl classes mapped to the javax.jcr.nodetype package. You might notice the odd letter case of this...
48.13 KB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.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...
2.73 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