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>
- Type Parameters:
S
- the sequence typeC
- the compound type
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
-
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
-
getHspBitScore
-
getHspScore
-
getHspEvalue
-
getHspQueryFrom
-
getHspQueryTo
-
getHspHitFrom
-
getHspHitTo
-
getHspQueryFrame
-
getHspHitFrame
-
getHspIdentity
-
getHspPositive
-
getHspGaps
-
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
-