Package org.forester.msa_compactor
Class MsaCompactor
java.lang.Object
org.forester.msa_compactor.MsaCompactor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Phylogeny
calcTree()
final List<MsaProperties>
chart
(int step, boolean realign, boolean normalize_for_effective_seq_length) final void
deleteGapColumns
(double max_allowed_gap_ratio) final void
displayTree
(Phylogeny phy) final Msa
getMsa()
static final String
final void
removeSequencesByMinimalLength
(int min_effective_length) final List<MsaProperties>
removeViaGapAverage
(double mean_gapiness) removeViaLength
(int length) final List<MsaProperties>
removeWorstOffenders
(int to_remove) final void
setCalculateNormalizedShannonEntropy
(boolean calculate_shannon_entropy) void
setInfileName
(String infile_name) final void
setMafftOptions
(String maffts_opts) final void
setNorm
(boolean normalize_for_effective_seq_length) final void
setOutFileBase
(File out_file_base) final void
setOutputFormat
(Msa.MSA_FORMAT output_format) void
setPathToMafft
(String path_to_mafft) void
setPeformPhylogenticInference
(boolean phylogentic_inference) final void
setRealign
(boolean realign) final void
setRemovedSeqsOutBase
(File removed_seqs_out_base) final void
setStep
(int step) final void
setStepForDiagnostics
(int step_for_diagnostics) final String
final String
-
Constructor Details
-
MsaCompactor
-
-
Method Details
-
calcTree
-
chart
public final List<MsaProperties> chart(int step, boolean realign, boolean normalize_for_effective_seq_length) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
deleteGapColumns
public final void deleteGapColumns(double max_allowed_gap_ratio) -
displayTree
-
getMsa
-
removeSequencesByMinimalLength
- Throws:
IOException
-
removeViaGapAverage
public final List<MsaProperties> removeViaGapAverage(double mean_gapiness) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
removeViaLength
- Throws:
IOException
InterruptedException
-
removeWorstOffenders
public final List<MsaProperties> removeWorstOffenders(int to_remove) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
setCalculateNormalizedShannonEntropy
public final void setCalculateNormalizedShannonEntropy(boolean calculate_shannon_entropy) -
setInfileName
-
setMafftOptions
-
setNorm
public final void setNorm(boolean normalize_for_effective_seq_length) -
setOutFileBase
-
setOutputFormat
-
setPathToMafft
-
setPeformPhylogenticInference
public void setPeformPhylogenticInference(boolean phylogentic_inference) -
setRealign
public final void setRealign(boolean realign) -
setRemovedSeqsOutBase
-
setStep
public final void setStep(int step) -
setStepForDiagnostics
public final void setStepForDiagnostics(int step_for_diagnostics) -
writeAndAlignRemovedSeqs
- Throws:
IOException
InterruptedException
-
writeMsa
- Throws:
IOException
-
guessPathToMafft
-