
Bio::DOOP::Cluster - DoOP cluster object

Version 0.12

$cluster = Bio::DOOP::Cluster->new($db,"81007400","500"); print $cluster->get_cluster_id;

This object represents a cluster. You can access its properties through the methods.

Tibor Nagy, Godollo, Hungary and Endre Sebestyen, Martonvasar, Hungary

Creates a new cluster object from the cluster id and promoter type. Every promoter cluster has a unique identifier. This is the cluster id. There are three promoter sizes (500,1000,3000 bp), so a unique cluster is identified by two parameters : cluster id and promoter type.
Return type: Bio::DOOP::Cluster object
$cluster = Bio::DOOP::Cluster->new($db,"8010110","500");
Used by internal MySQL queries.
Return type: Bio::DOOP::Cluster object
Bio::DOOP::Cluster->new_by_id($db,"2453");
Returns the MySQL id of the cluster
Return type: string
$cluster_id = $cluster->get_id;
Returns the cluster id of the cluster.
Return type: string
$cluster_id = $cluster->get_cluster_id;
Returns the size of the promoter (500,1000,3000 bp).
Return type: string
$pt = $cluster->get_promo_type;
Returns the type of the promoter (The available return types are the following: 1,2,3,4,5n,6n). See http://doop.abc.hu for more details.
Return type: string
print $cluster->get_type;
Returns the date when the cluster was last modified.
Return type: string
$date = $cluster->get_date;
Returns the version of the cluster.
Return type: string
print $cluster->get_version;
Returns the arrayref of all subsets associated with the cluster.
Return type: arrayref, the array containing Bio::DOOP::ClusterSubset objects
@subsets = @{$cluster->get_all_subsets};
Returns a subset of a cluster, specified by type.
Return type: Bio::DOOP::ClusterSubset object
$subset = $cluster->get_subset_by_type("B");
if ($subset == -1){
print"No subsets! Try another subset type\n";
}
Returns all available cluster subset types.
Return type: arrayref of strings
@types = @{$cluster->get_available_types};
Returns the arrayref of all sequences associated with the cluster.
Return type: arrayref, the array containig Bio::DOOP::Sequence objects
@seqs = @{$cluster->get_all_seqs};
Returns the original subset, containing the whole cluster.
Return type: Bio::DOOP::ClusterSubset object
@subsets = @{$cluster->get_orig_subset};
Returns the cluster reference sequence (human or arabidopsis).
Return type: Bio::DOOP::Sequence object
$refseq = $cluster->get_ref_seq;