S - each element of the alignment profile is of type SC - each element of an Sequence is a Compound of type Cpublic interface LightweightProfile<S extends Sequence<C>,C extends Compound>
Profile data
 structure in the alignment module provides additional functionality.| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
LightweightProfile.StringFormat
List of output formats. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
S | 
getAlignedSequence(int listIndex)
Returns  
Sequence at given index. | 
List<S> | 
getAlignedSequences()
 | 
List<C> | 
getCompoundsAt(int alignmentIndex)
 | 
CompoundSet<C> | 
getCompoundSet()
Returns  
CompoundSet of all Sequences | 
int | 
getLength()
Returns the number of columns in the alignment profile. 
 | 
int | 
getSize()
Returns the number of rows in this profile. 
 | 
String | 
toString()
Returns a simple view of the alignment profile. 
 | 
String | 
toString(int width)
Returns a formatted view of the alignment profile. 
 | 
String | 
toString(LightweightProfile.StringFormat format)
Returns a formatted view of the alignment profile. 
 | 
S getAlignedSequence(int listIndex)
Sequence at given index.listIndex - index of sequence in profileIndexOutOfBoundsException - if listIndex < 1 or listIndex > number of sequencesList<C> getCompoundsAt(int alignmentIndex)
alignmentIndex - column index within an alignmentIndexOutOfBoundsException - if alignmentIndex < 1 or alignmentIndex > getLength()CompoundSet<C> getCompoundSet()
CompoundSet of all SequencesCompounds in contained sequencesint getLength()
int getSize()
Sequences are circular and overlap within the
 alignment, the returned size will be greater than the number of sequences, otherwise the numbers will be equal.String toString()
getSize() lines with getLength()
 Compounds per line.String toString(int width)
width - limit on the line lengthString toString(LightweightProfile.StringFormat format)
format - output formatCopyright © 2000–2016 BioJava. All rights reserved.