public class ReadAlignmentOld extends AbstractAlignment
recognizes PHYLIP 3.4 INTERLEAVED, PHYLIP SEQUENTIAL, CLUSTAL and derived formats.
Other features: - the dot as "copy character" is recognized, - all base characters are capitalized, - automatic data type estimation - determination of corresponding base frequencies.
IdGroup.UtilsidGroup, numSeqs, numSites| Constructor and Description |
|---|
ReadAlignmentOld(java.io.PushbackReader input)
read from stream
|
ReadAlignmentOld(java.lang.String file)
read from file
|
| Modifier and Type | Method and Description |
|---|---|
char |
getData(int seq,
int site)
sequence alignment at (sequence, site)
|
getAlignedSequenceString, getChar, getDataType, getIdCount, getIdentifier, getLength, getSequenceCount, getSiteCount, getState, getStates, guessDataType, isGap, isUnknownState, report, setDataType, setIdentifier, toString, whichIdNumberpublic ReadAlignmentOld(java.io.PushbackReader input)
throws AlignmentParseException,
java.io.IOException
AlignmentParseExceptionjava.io.IOExceptionpublic ReadAlignmentOld(java.lang.String file)
throws AlignmentParseException,
java.io.IOException
AlignmentParseExceptionjava.io.IOExceptionpublic char getData(int seq,
int site)
getData in interface AlignmentgetData in class AbstractAlignment