+ private static void checkPathToMafft( final String path_to_mafft ) {
+ if ( !ForesterUtil.isEmpty( path_to_mafft ) && MsaInferrer.isInstalled( path_to_mafft ) ) {
+ ForesterUtil.programMessage( PRG_NAME, "using MAFFT at \"" + path_to_mafft + "\"" );
+ }
+ else {
+ if ( ForesterUtil.isEmpty( path_to_mafft ) ) {
+ ForesterUtil.fatalError( PRG_NAME, "no MAFFT executable found, use -\"" + PATH_TO_MAFFT_OPTION
+ + "=<path to MAFFT>\" option" );
+ }
+ else {
+ ForesterUtil.fatalError( PRG_NAME, "no MAFFT executable at \"" + path_to_mafft + "\"" );
+ }
+ }
+ }
+