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

Are the paths to the scripts inside config.yaml meant to be added to $PATH? #1

Open
init-js opened this issue Mar 22, 2018 · 1 comment

Comments

@init-js
Copy link

init-js commented Mar 22, 2018

I'm looking at the profile repositories for examples.

How does snakemake resolve the script paths: e.g. cluster: "grid-submit.py" (from {profiledir}/config.yaml)?

If I am to copy the profile directory in the same folder as a Snakefile, and use --profile {profiledir}, snakemake complains that grid-submit.py cannot be found. Are we expected to modify the config.yaml inside the profile to make script paths relative to the Snakefile?

Or is~/.config/snakemake treated specially?

@init-js init-js changed the title Are the paths to the scripts inside config.yaml meant to be added to the PATH? Are the paths to the scripts inside config.yaml meant to be added to $PATH? Mar 22, 2018
@johanneskoester
Copy link
Contributor

Usually, the profile should go to .config/snakemake/<profilename>. If you put it there, does it complain about not finding the script file?

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