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

Simplify snakemake #1

Merged

Conversation

jashapiro
Copy link

Hi @fingerfen:

I started to review your latest PR, and realized that we could take advantage of some snakemake features to simplify and remove redundancy. What I have done here is use wildcards to make each of the filter-telomeres jobs just take a single bed file and filter it, since all of them use the same script and only change options a bit. The extra wildcards are constrained to make sure they don't do anything funny with regex matching. It seems to work for me, but do check that it is still performing the functions you expect!

Taking advantage of some snakemake features to reduce redundancy.
@fingerfen fingerfen merged commit 28b2729 into fingerfen:filter_bad_segments Dec 16, 2019
@fingerfen
Copy link
Owner

@jashapiro I just merged and made a tiny change to the "rule_all" of the Snakemake file to accommodate your changes. I tested it and it generated the outputs fine. Thank you for the edits!

@jashapiro jashapiro deleted the jashapiro/simplify-snakemake branch April 11, 2021 18:53
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.

2 participants