- Type Parameters:
S
- each element of the alignmentProfile
is of type SC
- each element of anAlignedSequence
is aCompound
of type C
- All Superinterfaces:
Iterable<AlignedSequence<S,
,C>> Profile<S,
C>
- All Known Subinterfaces:
MutableProfilePair<S,
,C> MutableSequencePair<S,
C>
- Author:
- Mark Chapman, Paolo Pavan
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.biojava.nbio.core.alignment.template.Profile
Profile.StringFormat
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setSequences
(List<AlignedSequence<S, C>> sequences) Sets entirely new set ofAlignedSequence
s.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface org.biojava.nbio.core.alignment.template.Profile
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
-
Method Details
-
setSequences
Sets entirely new set ofAlignedSequence
s.- Parameters:
sequences
- new set of sequences- Throws:
IllegalArgumentException
- if sequences have different lengths
-