|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MotifDiscoverer
This is the interface that any tool for de novo motif discovery should implement.
| Nested Class Summary | |
|---|---|
static class |
MotifDiscoverer.KindOfProfile
This enum can be used to determine which kind of profile should be returned. |
| Method Summary | |
|---|---|
int |
getGlobalIndexOfMotifInComponent(int component,
int motif)
Returns the global index of the motif used in component. |
int |
getIndexOfMaximalComponentFor(Sequence sequence)
Returns the index of the component with the maximal score for the sequence sequence. |
int |
getMotifLength(int motif)
This method returns the length of the motif with index motif. |
int |
getNumberOfComponents()
Returns the number of components in this MotifDiscoverer. |
int |
getNumberOfMotifs()
Returns the number of motifs for this MotifDiscoverer |
int |
getNumberOfMotifsInComponent(int component)
Returns the number of motifs that are used in the component component of this motif discoverer. |
double[] |
getProfileOfScoresFor(int component,
int motif,
Sequence sequence,
int startpos,
MotifDiscoverer.KindOfProfile kind)
Returns the profile of the scores for component component and motif motif at all possible
start-positions of the motif in the sequence sequence. |
StrandedLocatedSequenceAnnotationWithLength.Strand |
getStrandFor(int component,
int motif,
Sequence sequence,
int startpos)
This method returns the strand for a given subsequence if it is consider as site of the motif model in a specific component. |
| Methods inherited from interface de.jstacs.Storable |
|---|
toXML |
| Method Detail |
|---|
int getMotifLength(int motif)
motif.
motif - the index of the motif
motifint getNumberOfComponents()
MotifDiscoverer.
int getNumberOfMotifs()
MotifDiscoverer
int getNumberOfMotifsInComponent(int component)
component of this motif discoverer.
component - the component
int getIndexOfMaximalComponentFor(Sequence sequence)
throws Exception
sequence.
sequence - the sequence
Exception - if the index could not be computed for any reasons
int getGlobalIndexOfMotifInComponent(int component,
int motif)
motif used in component.
The index returned must be at least 0 and less than getNumberOfMotifs().
component - the component indexmotif - the motif index in the component
motif in component
double[] getProfileOfScoresFor(int component,
int motif,
Sequence sequence,
int startpos,
MotifDiscoverer.KindOfProfile kind)
throws Exception
component and motif motif at all possible
start-positions of the motif in the sequence sequence. This array should be of length sequence.length() - startpos - motifs[motif].length() + 1.
component - the componentmotif - the index of the motif in the componentsequence - the sequencestartpos - the start positionkind - indicates the kind of profile
Exception - if the score could not be computed for any reasons
StrandedLocatedSequenceAnnotationWithLength.Strand getStrandFor(int component,
int motif,
Sequence sequence,
int startpos)
throws Exception
component - the componentmotif - the index of the motif in the componentsequence - the sequencestartpos - the start position in the sequence
Exception - if the strand could not be computed for any reasons
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||