|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpal.alignment.AbstractAlignment
pal.alignment.StrippedAlignment
public class StrippedAlignment
takes an alignment and repeatedly removes sites
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface pal.misc.IdGroup |
|---|
IdGroup.Utils |
| Field Summary | |
|---|---|
protected int[] |
alias
|
protected boolean[] |
notDropped
|
protected Alignment |
rawAlignment
|
protected int |
rawNumSites
|
| Fields inherited from class pal.alignment.AbstractAlignment |
|---|
idGroup, numSeqs, numSites |
| Fields inherited from interface pal.alignment.Alignment |
|---|
GAP, GAP_TLA, GAPS, UNKNOWN, UNKNOWN_TLA |
| Constructor Summary | |
|---|---|
StrippedAlignment(Alignment raw)
Constructor |
|
| Method Summary | |
|---|---|
void |
dropSite(int s)
drop a site |
char |
getData(int seq,
int site)
sequence alignment at (sequence, site) |
void |
removeConstantSites()
remove constant sites |
void |
removeGaps()
remove sites with gaps |
void |
removeNoninformativeSites()
remove noninformative sites |
void |
removeSites(char c)
remove site that contain a specified character |
void |
removeUnknowns()
remove sites with unknowns |
| Methods inherited from class pal.alignment.AbstractAlignment |
|---|
getAlignedSequenceString, getChar, getDataType, getIdCount, getIdentifier, getLength, getSequenceCount, getSiteCount, getState, getStates, guessDataType, isGap, isUnknownState, report, setDataType, setIdentifier, toString, whichIdNumber |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Alignment rawAlignment
protected int rawNumSites
protected int[] alias
protected boolean[] notDropped
| Constructor Detail |
|---|
public StrippedAlignment(Alignment raw)
raw - original alignment| Method Detail |
|---|
public char getData(int seq,
int site)
getData in interface AlignmentgetData in class AbstractAlignmentpublic void dropSite(int s)
s - site of original alignmentpublic void removeSites(char c)
c - character that will cause the removal of a sitepublic void removeGaps()
public void removeUnknowns()
public void removeConstantSites()
public void removeNoninformativeSites()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||