S
- each Sequence
in the pair of alignment Profile
s is of type SC
- each element of an AlignedSequence
is a Compound
of type Cpublic abstract class AbstractProfileProfileAligner<S extends Sequence<C>,C extends Compound> extends AbstractMatrixAligner<S,C> implements ProfileProfileAligner<S,C>
Modifier and Type | Field and Description |
---|---|
protected ProfilePair<S,C> |
pair |
anchors, cutsPerSection, gapPenalty, max, min, profile, score, scores, time, xyMax, xyStart
Modifier | Constructor and Description |
---|---|
protected |
AbstractProfileProfileAligner()
Before running a profile-profile alignment, data must be sent in via calls to
setQuery(Profile) , setTarget(Profile) , AbstractMatrixAligner.setGapPenalty(GapPenalty) , and
AbstractMatrixAligner.setSubstitutionMatrix(SubstitutionMatrix) . |
protected |
AbstractProfileProfileAligner(Future<ProfilePair<S,C>> query,
Future<ProfilePair<S,C>> target,
GapPenalty gapPenalty,
SubstitutionMatrix<C> subMatrix)
Prepares for a profile-profile alignment run concurrently.
|
protected |
AbstractProfileProfileAligner(Future<ProfilePair<S,C>> query,
Profile<S,C> target,
GapPenalty gapPenalty,
SubstitutionMatrix<C> subMatrix)
Prepares for a profile-profile alignment run concurrently.
|
protected |
AbstractProfileProfileAligner(Profile<S,C> query,
Future<ProfilePair<S,C>> target,
GapPenalty gapPenalty,
SubstitutionMatrix<C> subMatrix)
Prepares for a profile-profile alignment run concurrently.
|
protected |
AbstractProfileProfileAligner(Profile<S,C> query,
Profile<S,C> target,
GapPenalty gapPenalty,
SubstitutionMatrix<C> subMatrix)
Prepares for a profile-profile alignment.
|
Modifier and Type | Method and Description |
---|---|
protected CompoundSet<C> |
getCompoundSet() |
protected List<C> |
getCompoundsOfQuery() |
protected List<C> |
getCompoundsOfTarget() |
ProfilePair<S,C> |
getPair()
Returns alignment profile pair.
|
Profile<S,C> |
getQuery()
Returns the first profile of the pair.
|
protected int[] |
getScoreMatrixDimensions() |
protected int |
getSubstitutionScore(int queryColumn,
int targetColumn) |
Profile<S,C> |
getTarget()
Returns the second profile of the pair.
|
protected boolean |
isReady() |
protected void |
reset()
Resets output fields; should be overridden to set max and min
|
void |
setQuery(Profile<S,C> query)
Sets the query
Profile . |
void |
setTarget(Profile<S,C> target)
Sets the target
Profile . |
align, getComputationTime, getGapPenalty, getMaxScore, getMinScore, getProfile, getScore, getScoreMatrix, getScoreMatrixAsString, getSubstitutionMatrix, getSubstitutionScoreVector, getSubstitutionScoreVector, isLocal, isStoringScoreMatrix, setGapPenalty, setProfile, setStoringScoreMatrix, setSubstitutionMatrix
getDistance, getDistance, getSimilarity, getSimilarity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComputationTime, getProfile
getDistance, getDistance, getMaxScore, getMinScore, getScore, getSimilarity, getSimilarity
protected AbstractProfileProfileAligner()
setQuery(Profile)
, setTarget(Profile)
, AbstractMatrixAligner.setGapPenalty(GapPenalty)
, and
AbstractMatrixAligner.setSubstitutionMatrix(SubstitutionMatrix)
.protected AbstractProfileProfileAligner(Profile<S,C> query, Profile<S,C> target, GapPenalty gapPenalty, SubstitutionMatrix<C> subMatrix)
protected AbstractProfileProfileAligner(Future<ProfilePair<S,C>> query, Future<ProfilePair<S,C>> target, GapPenalty gapPenalty, SubstitutionMatrix<C> subMatrix)
protected AbstractProfileProfileAligner(Profile<S,C> query, Future<ProfilePair<S,C>> target, GapPenalty gapPenalty, SubstitutionMatrix<C> subMatrix)
protected AbstractProfileProfileAligner(Future<ProfilePair<S,C>> query, Profile<S,C> target, GapPenalty gapPenalty, SubstitutionMatrix<C> subMatrix)
public void setQuery(Profile<S,C> query)
Profile
.query
- the first Profile
of the pair to alignpublic void setTarget(Profile<S,C> target)
Profile
.target
- the second Profile
of the pair to alignpublic ProfilePair<S,C> getPair()
ProfileProfileAligner
public Profile<S,C> getQuery()
ProfileProfileScorer
public Profile<S,C> getTarget()
ProfileProfileScorer
protected CompoundSet<C> getCompoundSet()
getCompoundSet
in class AbstractMatrixAligner<S extends Sequence<C>,C extends Compound>
protected List<C> getCompoundsOfQuery()
getCompoundsOfQuery
in class AbstractMatrixAligner<S extends Sequence<C>,C extends Compound>
protected List<C> getCompoundsOfTarget()
getCompoundsOfTarget
in class AbstractMatrixAligner<S extends Sequence<C>,C extends Compound>
protected int[] getScoreMatrixDimensions()
getScoreMatrixDimensions
in class AbstractMatrixAligner<S extends Sequence<C>,C extends Compound>
protected int getSubstitutionScore(int queryColumn, int targetColumn)
getSubstitutionScore
in class AbstractMatrixAligner<S extends Sequence<C>,C extends Compound>
protected boolean isReady()
protected void reset()
AbstractMatrixAligner
Copyright © 2000–2016 BioJava. All rights reserved.