NAME

Bio::DOOP::Motif - DOOP database conserved motif object

SYNOPSIS

use Bio::DOOP::Motif;

$db = Bio::DOOP::DBSQL->connect("user","pass","somewhere.where.org");
my $motif = Bio::DOOP::Motif->new($db,"160945"); # This is the motif primary id
print $motif->seq,":",$motif->start," ",$motif->end,"\n";

DESCRIPTION

This package represent the conserved motifs.
You shoud not use directly the constructor but
some times it is useful. Most of the cases you
get this object from other objects.

AUTHOR

Tibor Nagy, Godollo, Hungary

METHODS

new

Create the new objects from the primary id.
It has two arguments: the connected database identifier and the primary id

type

Return the type of the motif

seq

Return the consensus sequence of the motif (string)

start

Return the start position of the motif

end

Return the end position of the motif

length

Return the length of the motif

get_id

Return the motif MySQL primary id

get_block

Return the motif block. Not yet implemented

get_matrix

Return the motif matrix. Not yet implemented
Return the motif logo. Not yet implemented

get_subset_id

Return the motif subset primary id. It is used by internal processes