|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--edu.mssm.crover.tools.tm.HmmTopLocal
Wraps around the HMMTOP (local command interface). For details, see
| Field Summary | |
static boolean |
debug
|
static java.lang.String |
DEFAULT_COMMAND_NAME
|
static java.lang.String |
DEFAULT_COMMAND_PATH
|
| Constructor Summary | |
HmmTopLocal()
default constructor. |
|
| Method Summary | |
java.lang.String |
getDescription()
Return a string which describes the method, its availability, etc. |
java.lang.String |
getReferenceURL()
Return an URL which describe the method, its availability, etc. |
boolean |
installed(java.lang.String cmdPath,
java.lang.String execName)
Checks if the predictor is installed on this machine. |
static void |
main(java.lang.String[] args)
|
TmDomain_Annotation |
parse_topology(java.lang.String topology)
|
TmDomain_Annotation[] |
parse(java.io.InputStream result,
int numpreds)
Parses HmmTop short output and extracts TM annotations. |
TmDomain_Annotation |
predict(BiologicalSequence seq)
Predict the trans-membrane domain of a protein sequence. |
TmDomain_Annotation[] |
predict(BiologicalSequence[] seqs)
Predict the trans-membrane domains of a set of protein sequences. |
boolean |
useWebAccess()
Return whether this predictor uses an HTTP connection to the prediction web service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String DEFAULT_COMMAND_PATH
public static final java.lang.String DEFAULT_COMMAND_NAME
public static boolean debug
| Constructor Detail |
public HmmTopLocal()
throws CommandNotInstalled
| Method Detail |
public TmDomain_Annotation[] parse(java.io.InputStream result, int numpreds) throws WrapperFailed
result - InputStream that contains the HmmTop short output to be parsed.numpreds - The number of predictions to be read from the result stream.
WrapperFailedpublic TmDomain_Annotation parse_topology(java.lang.String topology) throws WrapperFailed
public TmDomain_Annotation predict(BiologicalSequence seq) throws WrapperFailed
predict in interface TmPredictorpublic TmDomain_Annotation[] predict(BiologicalSequence[] seqs) throws WrapperFailed
predict in interface TmPredictor
public boolean installed(java.lang.String cmdPath,
java.lang.String execName)
public static void main(java.lang.String[] args)
public java.lang.String getReferenceURL()
getReferenceURL in interface TmPredictorpublic java.lang.String getDescription()
getDescription in interface TmPredictorpublic boolean useWebAccess()
useWebAccess in interface TmPredictor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||