Package org.forester.msa
Class ResampleableMsa
java.lang.Object
org.forester.msa.BasicMsa
org.forester.msa.ResampleableMsa
- All Implemented Interfaces:
Msa
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.forester.msa.Msa
Msa.MSA_FORMAT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal char
getResidueAt
(int row, int col) getSequence
(int row) final void
resample
(int[] resampled_column_positions) final void
setResidueAt
(int row, int col, char residue) Methods inherited from class org.forester.msa.BasicMsa
asSequenceList, createInstance, getColumnAt, getIdentifier, getLength, getNumberOfSequences, getSequence, getSequenceAsString, getType, isGapAt, setIdentifier, toString, write
-
Constructor Details
-
ResampleableMsa
-
-
Method Details
-
getResidueAt
public final char getResidueAt(int row, int col) - Specified by:
getResidueAt
in interfaceMsa
- Overrides:
getResidueAt
in classBasicMsa
-
resample
public final void resample(int[] resampled_column_positions) -
setResidueAt
public final void setResidueAt(int row, int col, char residue) - Specified by:
setResidueAt
in interfaceMsa
- Overrides:
setResidueAt
in classBasicMsa
-
getSequence
- Specified by:
getSequence
in interfaceMsa
- Overrides:
getSequence
in classBasicMsa
-