Package org.biojava.nbio.core.search.io
Class Hsp<S extends Sequence<C>,C extends Compound>
java.lang.Object
org.biojava.nbio.core.search.io.Hsp<S,C>
This class models a search Hsp.
You will retrieve a list of this using iterator of a Hit
Designed by Paolo Pavan.
You may want to find my contacts on Github and LinkedIn for code info
or discuss major changes.
https://github.com/paolopavan
- Author:
- Paolo Pavan
-
Constructor Summary
ConstructorDescriptionHsp
(int hspNum, double hspBitScore, int hspScore, double hspEvalue, int hspQueryFrom, int hspQueryTo, int hspHitFrom, int hspHitTo, int hspQueryFrame, int hspHitFrame, int hspIdentity, int hspPositive, int hspGaps, int hspAlignLen, String hspQseq, String hspHseq, String hspIdentityString, Double percentageIdentity, Integer mismatchCount) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Experimental.int
double
double
int
int
int
int
HSP aligned hit sequence stringint
Identity string representing correspondence between aligned residuesint
int
HSP aligned query sequence stringint
int
int
int
int
hashCode()
-
Constructor Details
-
Hsp
public Hsp(int hspNum, double hspBitScore, int hspScore, double hspEvalue, int hspQueryFrom, int hspQueryTo, int hspHitFrom, int hspHitTo, int hspQueryFrame, int hspHitFrame, int hspIdentity, int hspPositive, int hspGaps, int hspAlignLen, String hspQseq, String hspHseq, String hspIdentityString, Double percentageIdentity, Integer mismatchCount)
-
-
Method Details
-
hashCode
public int hashCode() -
equals
Experimental. Wants to implement conceptual comparisons of search results. Fields unrelated to search are deliberately not considered. In HSP case, alignment representation strings are considered. -
getAlignment
-
getHspNum
public int getHspNum() -
getHspBitScore
public double getHspBitScore() -
getHspScore
public int getHspScore() -
getHspEvalue
public double getHspEvalue() -
getHspQueryFrom
public int getHspQueryFrom() -
getHspQueryTo
public int getHspQueryTo() -
getHspHitFrom
public int getHspHitFrom() -
getHspHitTo
public int getHspHitTo() -
getHspQueryFrame
public int getHspQueryFrame() -
getHspHitFrame
public int getHspHitFrame() -
getHspIdentity
public int getHspIdentity() -
getHspPositive
public int getHspPositive() -
getHspGaps
public int getHspGaps() -
getHspAlignLen
public int getHspAlignLen() -
getHspQseq
HSP aligned query sequence string- Returns:
-
getHspHseq
HSP aligned hit sequence string- Returns:
-
getHspIdentityString
Identity string representing correspondence between aligned residues- Returns:
-
getPercentageIdentity
-
getMismatchCount
-