Bio::NEXUS::TaxUnit - Represents a taxon unit in a NEXUS file
$tu = new Bio::NEXUS::TaxUnit($name,
$seq);
This module represents a taxon unit in a NEXUS file (in characters block or
History block)
All feedback (bugs, feature enhancements, etc.) are greatly appreciated.
Chengzhi Liang (liangc@umbi.umd.edu)
Thomas Hladish (tjhladish at yahoo)
Title : new
Usage : $otu = new Bio::NEXUS::TaxUnit($name, $seq);
Function: Creates a new Bio::NEXUS::TaxUnit object
Returns : Bio::NEXUS::TaxUnit object
Args : name and sequence of TaxUnit object
Title : clone
Usage : my $newtu = $set->clone();
Function: clone an TaxUnit object
Returns : TaxUnit object
Args : none
Title : set_name
Usage : $tu->set_name($name);
Function: sets the name of OTU
Returns : none
Args : name
Title : get_name
Usage : $tu->get_name();
Function: Returns name
Returns : name
Args : none
Title : set_seq
Usage : $tu->set_seq($seq);
Function: sets the sequence of OTU
Returns : none
Args : sequence
Title : get_seq
Usage : $tu->get_seq();
Function: Returns sequence
Returns : sequence (an array of characters or tokens)
Args : none
Title : get_seq_string
Usage : $taxunit->get_seq_string($tokens_flag);
Function: Returns sequence
Returns : sequence (a string, wherein tokens or characters are space-delimited
if a true value has been passed in for $tokens)
Args : boolean tokens argument (optional)