S
- each Sequence
of the alignment pair is of type SC
- each element of an AlignedSequence
is a Compound
of type Cpublic class FractionalSimilarityInProfileScorer<S extends Sequence<C>,C extends Compound> extends FractionalSimilarityScorer<S,C> implements PairInProfileScorer<S,C>
Profile
. The reported score is the number of alignment columns which have similar Compound
s.Constructor and Description |
---|
FractionalSimilarityInProfileScorer(Profile<S,C> profile,
int query,
int target)
Creates a fractional similarity scorer for an aligned pair of sequences in the given alignment profile.
|
Modifier and Type | Method and Description |
---|---|
Profile<S,C> |
getProfile()
Returns the
Profile from which the aligned pair originated. |
getMaxScore, getMinScore, getQuery, getScore, getTarget
getDistance, getDistance, getSimilarity, getSimilarity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getQuery, getTarget
getDistance, getDistance, getMaxScore, getMinScore, getScore, getSimilarity, getSimilarity
public FractionalSimilarityInProfileScorer(Profile<S,C> profile, int query, int target)
profile
- alignment profile containing pair of sequencesquery
- index in the profile of the first sequence of the pairtarget
- index in the profile of the second sequence of the pairpublic Profile<S,C> getProfile()
PairInProfileScorer
Profile
from which the aligned pair originated.getProfile
in interface PairInProfileScorer<S extends Sequence<C>,C extends Compound>
Copyright © 2000–2018 BioJava. All rights reserved.