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

Consider removing --directory argument to snakemake #9

Open
rekado opened this issue May 7, 2024 · 0 comments
Open

Consider removing --directory argument to snakemake #9

rekado opened this issue May 7, 2024 · 0 comments

Comments

@rekado
Copy link
Member

rekado commented May 7, 2024

We are passing --directory to snakemake:

"--directory={}".format(config['locations']['output-dir']),

This option is used to tell snakemake the directory it should use when resolving relative file names in the workflow. Our workflows aren't using relative files, though. We are using absolute file names wherever possible.

When --directory is passed, Snakemake goes crazy when copying workflow files to AWS via Tibanna. On every new job it keeps going one level deeper, looking for config.json relative to output, then output/output, then output/output/output, etc. (This is when the --directory argument is $PWD/output.)

We should test our workflows without this option, both in cluster execution mode as well as local execution.

alexg9010 added a commit that referenced this issue May 13, 2024
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

1 participant