S - each element of an alignment Profile is of type SC - each element of an AlignedSequence is a Compound of type Cpublic class SimpleProfilePair<S extends Sequence<C>,C extends Compound> extends SimpleProfile<S,C> implements ProfilePair<S,C>
Profiles.Profile.StringFormatmatrix| Constructor and Description |
|---|
SimpleProfilePair(Profile<S,C> query,
Profile<S,C> target,
List<AlignedSequence.Step> sx,
List<AlignedSequence.Step> sy)
Creates a pair profile for the given profiles.
|
| Modifier and Type | Method and Description |
|---|---|
Profile<S,C> |
getQuery()
Returns the first
Profile of the pair. |
Profile<S,C> |
getTarget()
Returns the second
Profile of the pair. |
getAlignedSequence, getAlignedSequence, getAlignedSequences, getAlignedSequences, getAlignedSequences, getCompoundAt, getCompoundAt, getCompoundCountsAt, getCompoundCountsAt, getCompoundsAt, getCompoundSet, getCompoundWeightsAt, getCompoundWeightsAt, getIndexOf, getIndicesAt, getLastIndexOf, getLength, getOriginalSequences, getSize, getSubProfile, hasGap, isCircular, iterator, toString, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAlignedSequence, getAlignedSequence, getAlignedSequences, getAlignedSequences, getAlignedSequences, getCompoundAt, getCompoundAt, getCompoundCountsAt, getCompoundCountsAt, getCompoundsAt, getCompoundSet, getCompoundWeightsAt, getCompoundWeightsAt, getIndexOf, getIndicesAt, getLastIndexOf, getLength, getOriginalSequences, getSize, getSubProfile, hasGap, isCircular, toString, toString, toStringforEach, iterator, spliteratorpublic SimpleProfilePair(Profile<S,C> query, Profile<S,C> target, List<AlignedSequence.Step> sx, List<AlignedSequence.Step> sy)
query - the first profile of the pairtarget - the second profile of the pairsx - lists whether the query profile aligns a Compound or gap at each index of the alignmentsy - lists whether the target profile aligns a Compound or gap at each index of the alignmentIllegalArgumentException - if alignments differ in size or given profiles do not fit in alignmentspublic Profile<S,C> getQuery()
ProfilePairProfile of the pair.Copyright © 2000–2016 BioJava. All rights reserved.