public class MotifFilter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
HD |
protected java.util.List<java.lang.String> |
key |
protected java.util.List<Scorer> |
scorers |
Constructor and Description |
---|
MotifFilter(UberProperties properties,
boolean discardOverlaps)
Calls the other constructor, but with groupFinder set to null.
|
MotifFilter(UberProperties properties,
MotifFinder groupFinder,
boolean discardOverlaps)
Initializes all of the various scorers.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHeader()
Returns a tab-delimited string representation of the scorer key.
|
java.lang.String |
getScores(Motif m)
Calculates the score of m by all the scorers in the order of scorer key and returns a tab-delimited string of the result.
|
public static final int HD
protected final java.util.List<java.lang.String> key
protected final java.util.List<Scorer> scorers
public MotifFilter(UberProperties properties, boolean discardOverlaps)
public MotifFilter(UberProperties properties, MotifFinder groupFinder, boolean discardOverlaps)
public java.lang.String getHeader()
public java.lang.String getScores(Motif m)