Package org.biojava.nbio.ws.hmmer
Class HmmerResult
- java.lang.Object
-
- org.biojava.nbio.ws.hmmer.HmmerResult
-
- All Implemented Interfaces:
Serializable
,Comparable<HmmerResult>
public class HmmerResult extends Object implements Comparable<HmmerResult>, Serializable
The results of a Hmmer search for a single sequence- Since:
- 3.0.3
- Author:
- Andreas Prlic
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HmmerResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(HmmerResult o)
String
getAcc()
Integer
getDcl()
String
getDesc()
SortedSet<HmmerDomain>
getDomains()
Float
getEvalue()
String
getName()
Integer
getNdom()
Integer
getNreported()
int
getOverlapLength(HmmerResult other)
Get the overlap between two HmmerResult objectsDouble
getPvalue()
Float
getScore()
void
setAcc(String acc)
void
setDcl(Integer dcl)
void
setDesc(String desc)
void
setDomains(SortedSet<HmmerDomain> domains)
void
setEvalue(Float evalue)
void
setName(String name)
void
setNdom(Integer ndom)
void
setNreported(Integer nreported)
void
setPvalue(Double pvalue)
void
setScore(Float score)
String
toString()
-
-
-
Constructor Detail
-
HmmerResult
public HmmerResult()
-
-
Method Detail
-
getDomains
public SortedSet<HmmerDomain> getDomains()
-
setDomains
public void setDomains(SortedSet<HmmerDomain> domains)
-
getNreported
public Integer getNreported()
-
setNreported
public void setNreported(Integer nreported)
-
compareTo
public int compareTo(HmmerResult o)
- Specified by:
compareTo
in interfaceComparable<HmmerResult>
-
getOverlapLength
public int getOverlapLength(HmmerResult other)
Get the overlap between two HmmerResult objects- Parameters:
other
-- Returns:
- 0 if no overlap, otherwise the length of the overlap
-
-