-
- Type Parameters:
S- each element of the alignmentProfileis of type SC- each element of anAlignedSequenceis aCompoundof type C
- All Superinterfaces:
Iterable<AlignedSequence<S,C>>,Profile<S,C>
public interface ProfileView<S extends Sequence<C>,C extends Compound> extends Profile<S,C>
Defines a data structure for a view of sequence alignment.- 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetEnd()Returns the column index of the viewedProfilecorresponding to the final element in this viewintgetStart()Returns the column index of the viewedProfilecorresponding to the first element in this viewProfile<S,C>getViewedProfile()Returns the entireProfilebeing viewed-
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 Detail
-
getEnd
int getEnd()
Returns the column index of the viewedProfilecorresponding to the final element in this view- Returns:
- column index of this view's final element
-
getStart
int getStart()
Returns the column index of the viewedProfilecorresponding to the first element in this view- Returns:
- column index of this view's first element
-
getViewedProfile
Profile<S,C> getViewedProfile()
Returns the entireProfilebeing viewed- Returns:
- the entire alignment profile
-
-