import org.forester.msa.MsaInferrer;
import org.forester.msa.MsaMethods;
import org.forester.msa_compactor.Chart;
-import org.forester.msa_compactor.MsaCompactor2;
+import org.forester.msa_compactor.MsaCompactor;
import org.forester.msa_compactor.MsaProperties;
import org.forester.util.CommandLineArguments;
import org.forester.util.DescriptiveStatistics;
}
if ( realign ) {
if ( ForesterUtil.isEmpty( path_to_mafft ) ) {
- path_to_mafft = MsaCompactor2.guessPathToMafft();
+ path_to_mafft = MsaCompactor.guessPathToMafft();
}
checkPathToMafft( path_to_mafft );
if ( cla.isOptionSet( MAFFT_OPTIONS ) ) {
//
//
if ( worst_remove > 0 ) {
- final MsaCompactor2 mc = new MsaCompactor2( msa );
+ final MsaCompactor mc = new MsaCompactor( msa );
mc.setRealign( realign );
if ( realign ) {
mc.setPathToMafft( path_to_mafft );
mc.removeWorstOffenders( worst_remove, true );
}
else if ( av_gap > 0 ) {
- final MsaCompactor2 mc = new MsaCompactor2( msa );
+ final MsaCompactor mc = new MsaCompactor( msa );
mc.setRealign( realign );
if ( realign ) {
mc.setPathToMafft( path_to_mafft );
}
else if ( length > 0 ) {
// TODO if < shortest seq -> error
- final MsaCompactor2 mc = new MsaCompactor2( msa );
+ final MsaCompactor mc = new MsaCompactor( msa );
mc.setRealign( realign );
if ( realign ) {
mc.setPathToMafft( path_to_mafft );
else {
//MsaCompactor.chart( msa, step, realign, norm, path_to_mafft );
final int initial_number_of_seqs = msa.getNumberOfSequences();
- final MsaCompactor2 mc = new MsaCompactor2( msa );
+ final MsaCompactor mc = new MsaCompactor( msa );
mc.setRealign( realign );
if ( realign ) {
mc.setPathToMafft( path_to_mafft );
E_MAIL,
WWW,
ForesterUtil.getForesterLibraryInformation() );
- final String path_to_mafft = MsaCompactor2.guessPathToMafft();
+ final String path_to_mafft = MsaCompactor.guessPathToMafft();
String mafft_comment;
if ( !ForesterUtil.isEmpty( path_to_mafft ) ) {
mafft_comment = " (using " + path_to_mafft + ")";
import org.forester.tools.ConfidenceAssessor;
import org.forester.util.ForesterUtil;
-public class MsaCompactor2 {
+public class MsaCompactor {
final private static NumberFormat NF_3 = new DecimalFormat( "#.###" );
final private static NumberFormat NF_4 = new DecimalFormat( "#.####" );
NF_3.setRoundingMode( RoundingMode.HALF_UP );
}
- public MsaCompactor2( final DeleteableMsa msa ) {
+ public MsaCompactor( final DeleteableMsa msa ) {
_msa = msa;
_removed_seq_ids = new TreeSet<String>();
}