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>
Profile
s.Profile.StringFormat
matrix
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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAlignedSequence, getAlignedSequence, getAlignedSequences, getAlignedSequences, getAlignedSequences, getCompoundAt, getCompoundAt, getCompoundCountsAt, getCompoundCountsAt, getCompoundsAt, getCompoundSet, getCompoundWeightsAt, getCompoundWeightsAt, getIndexOf, getIndicesAt, getLastIndexOf, getLength, getOriginalSequences, getSize, getSubProfile, hasGap, isCircular, toString, toString, toString
forEach, iterator, spliterator
public 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 alignmentsCopyright © 2000–2018 BioJava. All rights reserved.