-
- 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>
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 int
getEnd()
Returns the column index of the viewedProfile
corresponding to the final element in this viewint
getStart()
Returns the column index of the viewedProfile
corresponding to the first element in this viewProfile<S,C>
getViewedProfile()
Returns the entireProfile
being 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 viewedProfile
corresponding 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 viewedProfile
corresponding to the first element in this view- Returns:
- column index of this view's first element
-
getViewedProfile
Profile<S,C> getViewedProfile()
Returns the entireProfile
being viewed- Returns:
- the entire alignment profile
-
-