S
- each element of the alignment Profile
is of type SC
- each element of an AlignedSequence
is a Compound
of type Cpublic interface MutableSequencePair<S extends Sequence<C>,C extends Compound> extends MutableProfile<S,C>, SequencePair<S,C>
Profile.StringFormat
Modifier and Type | Method and Description |
---|---|
void |
setPair(AlignedSequence<S,C> query,
AlignedSequence<S,C> target)
Sets both
AlignedSequence s of the pair. |
void |
setQuery(AlignedSequence<S,C> query)
Sets the first
AlignedSequence of the pair. |
void |
setTarget(AlignedSequence<S,C> target)
Sets the second
AlignedSequence of the pair. |
setSequences
getCompoundInQueryAt, getCompoundInTargetAt, getIndexInQueryAt, getIndexInQueryForTargetAt, getIndexInTargetAt, getIndexInTargetForQueryAt, getNumIdenticals, getNumSimilars, getPercentageOfIdentity, getQuery, getTarget
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
void setPair(AlignedSequence<S,C> query, AlignedSequence<S,C> target)
AlignedSequence
s of the pair.query
- becomes the first AlignedSequence
of the pairtarget
- becomes the second AlignedSequence
of the pairIllegalArgumentException
- if query and target are different lengthsvoid setQuery(AlignedSequence<S,C> query)
AlignedSequence
of the pair.query
- becomes the first AlignedSequence
of the pairIllegalArgumentException
- if (new) query and (old) target are different lengthsvoid setTarget(AlignedSequence<S,C> target)
AlignedSequence
of the pair.target
- becomes the second AlignedSequence
of the pairIllegalArgumentException
- if (old) query and (new) target are different lengthsCopyright © 2000–2018 BioJava. All rights reserved.