Package org.forester.msa
Class ResampleableMsa
- java.lang.Object
-
- org.forester.msa.BasicMsa
-
- org.forester.msa.ResampleableMsa
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.forester.msa.Msa
Msa.MSA_FORMAT
-
-
Constructor Summary
Constructors Constructor Description ResampleableMsa(BasicMsa msa)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char
getResidueAt(int row, int col)
MolecularSequence
getSequence(int row)
void
resample(int[] resampled_column_positions)
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 Detail
-
ResampleableMsa
public ResampleableMsa(BasicMsa msa)
-
-
Method Detail
-
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
public MolecularSequence getSequence(int row)
- Specified by:
getSequence
in interfaceMsa
- Overrides:
getSequence
in classBasicMsa
-
-