-
Notifications
You must be signed in to change notification settings - Fork 2
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
Allow to run pipeline from workdir (with -s param) and not only from src dir #2
Comments
Yes, it is indented behaviour. We could make it more complicated to support launching from 'non pipeline src' folder, but is it really needed? Normally I use '-s' only for a playground when I'd like to patch it a bit. Or if pipeline folder contain several pipelines. |
That's how I use it generally. From the data folder. |
IMHO such usecase breaks snakemake naming conventions, but I'll check it again (not 100% sure). Normally I do vice versa: launch from src folder and use workdir as an argument. P.S: To be honest additional tweaks are required if your pipeline dir isn't same as workdir because we are supposed to use relative names but on runtime in some cases they are relative to current snakemake file and in other cases relative to working directory |
I'd say that since Snakemake allows this execution pattern pipeline should follow it. |
As I said before IMHO pipeline structure recommended by snakemake will not work with such pattern, but I'll check it |
No description provided.
The text was updated successfully, but these errors were encountered: