-
Notifications
You must be signed in to change notification settings - Fork 1
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
Simplify Python code within certain snakemake rules #120
Comments
Previous discussion for
|
@LeeBergstrand Regarding your comment above, I think you are probably right... I also suspect that everything outside the code block can't be seen inside. We will probably need to import the code via an |
Given that we don't have very many rules with long Python code blocks at the moment, I think it's not a high priority to try to move around the code at this point. However, it might be something we could consider in the future, especially if we create more rules like |
I would table the issue for now. I would probably move the code to |
OK, sounds good -- let's table this for now. |
Update: as discussed in #126 , the logic for rule From #126:
|
Some snakemake rules (e.g., rule
rule summarize_contigs_by_coverage
in polish.smk) currently include long Python code blocks that contain functions etc. Would it be better to simplify the code included in the Snakefile, e.g., by calling a separate Python script, for such code?The text was updated successfully, but these errors were encountered: