Package org.forester.msa
Class DeleteableMsa
java.lang.Object
org.forester.msa.BasicMsa
org.forester.msa.DeleteableMsa
- All Implemented Interfaces:
Msa
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.forester.msa.Msa
Msa.MSA_FORMAT
-
Method Summary
Modifier and TypeMethodDescriptionfinal double[]
static int
calcGapSumPerColumn
(Msa msa, int col) static final DeleteableMsa
createInstance
(List<MolecularSequence> seqs) static final DeleteableMsa
createInstance
(Msa msa) final void
deleteGapColumns
(double max_allowed_gap_ratio) final void
final MolecularSequence
short
final String
getIdentifier
(int row) final int
final int
final char
getResidueAt
(int row, int col) getSequence
(int row) final boolean
isAllGap
(int col) final void
setIdentifier
(int row, String id) final void
setResidueAt
(int row, int col, char residue) Methods inherited from class org.forester.msa.BasicMsa
asSequenceList, getColumnAt, getSequence, getSequenceAsString, getType, isGapAt, toString, write
-
Method Details
-
calcGappiness
public final double[] calcGappiness() -
calcGapSumPerColumn
-
determineMaxIdLength
public short determineMaxIdLength() -
deleteGapColumns
public final void deleteGapColumns(double max_allowed_gap_ratio) -
deleteGapOnlyColumns
public final void deleteGapOnlyColumns() -
deleteRow
-
getIdentifier
- Specified by:
getIdentifier
in interfaceMsa
- Overrides:
getIdentifier
in classBasicMsa
-
getLength
public final int getLength() -
getNumberOfSequences
public final int getNumberOfSequences()- Specified by:
getNumberOfSequences
in interfaceMsa
- Overrides:
getNumberOfSequences
in classBasicMsa
-
getResidueAt
public final char getResidueAt(int row, int col) - Specified by:
getResidueAt
in interfaceMsa
- Overrides:
getResidueAt
in classBasicMsa
-
getSequence
- Specified by:
getSequence
in interfaceMsa
- Overrides:
getSequence
in classBasicMsa
-
isAllGap
public final boolean isAllGap(int col) -
setIdentifier
- Specified by:
setIdentifier
in interfaceMsa
- Overrides:
setIdentifier
in classBasicMsa
-
setResidueAt
public final void setResidueAt(int row, int col, char residue) - Specified by:
setResidueAt
in interfaceMsa
- Overrides:
setResidueAt
in classBasicMsa
-
createInstance
-
createInstance
-