Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Results files already exist" with --bs-trees 1 and --prefix #64

Closed
BenoitMorel opened this issue Apr 9, 2019 · 1 comment
Closed

Comments

@BenoitMorel
Copy link
Collaborator

When running:

rm -rf plop
mkdir plop
raxml-ng/bin/raxml-ng --bootstrap --bs-trees 1 --msa msa.fasta --prefix plop --model GTR --thread 1

with any alignment, I get the following error:

ERROR: Result files for the run with prefix `plop` already exist!
Please either choose a new prefix, remove old files, or add --redo command line switch to overwrite them.

I don't reproduce with --bs-trees 10.

It seems to come from https://github.com/amkozlov/raxml-ng/blob/dev/src/Options.cpp#L82
The check fails because outfile_names.bootstrap_trees is set to '"1"' at https://github.com/amkozlov/raxml-ng/blob/dev/src/CommandLineParser.cpp#L554

Cheers,
Benoit

@amkozlov
Copy link
Owner

You had a file named 1 which messed up my autodetection heuristic (--bs-trees accepts both number of replicates OR a file with replicate trees).

This is fixed now, thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants