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

Changed output directory option and added overwrite option #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guignonv
Copy link

By default, SHOOT outputs a serie of files in the same directory as the input FASTA file. This PR changes that behavior so output files are by default put into a "input_file_path.shoot" directory instead. It is possible to change the default output directory to a specified one using the new "-d " option (or "--ouput_directory ").
It is therefore possible to check for previous computation and abort to prevent overwriting. To force overwriting, a new option has been added: "--overwrite".

@guignonv
Copy link
Author

Note: to keep the same behavior as before (ie. all outputs in the same directory as the input fasta), just change the command line:

  • from old cmd:
    python shoot /data/dir/test.fa /data/shootdb
  • to new cmd:
    python shoot --overwrite -d /data/dir /data/dir/test.fa /data/shootdb

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

Successfully merging this pull request may close these issues.

None yet

1 participant