org.biojava3.alignment.template
Interface MutableProfile<S extends Sequence<C>,C extends Compound>
- Type Parameters:
S - each element of the alignment Profile is of type SC - each element of an AlignedSequence is a Compound of type C
- All Superinterfaces:
- java.lang.Iterable<AlignedSequence<S,C>>, Profile<S,C>
- All Known Subinterfaces:
- MutableProfilePair<S,C>, MutableSequencePair<S,C>
public interface MutableProfile<S extends Sequence<C>,C extends Compound>
- extends Profile<S,C>
Defines a mutable (editable) data structure for a Profile. Returned Lists are modifiable.
- Author:
- Mark Chapman
| Methods inherited from interface org.biojava3.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 |
| Methods inherited from interface java.lang.Iterable |
iterator |
setSequences
void setSequences(java.util.List<AlignedSequence<S,C>> sequences)
- Sets entirely new set of
AlignedSequences.
- Parameters:
sequences - new set of sequences
- Throws:
java.lang.IllegalArgumentException - if sequences have different lengths