private final File _path_to_local_mafft;
private final File _path_to_local_fastme;
private final File _path_to_local_raxml;
private final File _path_to_local_mafft;
private final File _path_to_local_fastme;
private final File _path_to_local_raxml;
public static InferenceManager createInstance( final Configuration c ) {
return new InferenceManager( c.getpathToLocalMafft(),
public static InferenceManager createInstance( final Configuration c ) {
return new InferenceManager( c.getpathToLocalMafft(),
private final static File createLocalPath( final File path, final String name ) {
if ( ( path != null ) && path.canExecute() && !path.isDirectory() ) {
return path;
private final static File createLocalPath( final File path, final String name ) {
if ( ( path != null ) && path.canExecute() && !path.isDirectory() ) {
return path;
_path_to_local_mafft = createLocalPath( path_to_local_mafft, "mafft" );
_path_to_local_fastme = createLocalPath( path_to_local_fastme, "fastme" );
_path_to_local_raxml = createLocalPath( path_to_local_raxml, "raxml" );
_path_to_local_mafft = createLocalPath( path_to_local_mafft, "mafft" );
_path_to_local_fastme = createLocalPath( path_to_local_fastme, "fastme" );
_path_to_local_raxml = createLocalPath( path_to_local_raxml, "raxml" );