S - each Sequence in the pair of alignment Profiles 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, setSubstitutionMatrixgetDistance, getDistance, getSimilarity, getSimilarityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComputationTime, getProfilegetDistance, getDistance, getMaxScore, getMinScore, getScore, getSimilarity, getSimilarityprotected 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()
ProfileProfileAlignerpublic Profile<S,C> getQuery()
ProfileProfileScorerpublic Profile<S,C> getTarget()
ProfileProfileScorerprotected 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()
AbstractMatrixAlignerCopyright © 2000–2018 BioJava. All rights reserved.