Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johanneskoester/9212320a8aa2a24b18f500b424c22eb4 to your computer and use it in GitHub Desktop.
Save johanneskoester/9212320a8aa2a24b18f500b424c22eb4 to your computer and use it in GitHub Desktop.
settings:
default:
cufflinks: "--param1=20 ..."
other:
cufflinks: "--param1=15 ..."
@johanneskoester
Copy link
Author

rule cufflinks:
    input: ...
    output:
        "results/{settings}/cufflinks/transcripts.fpkm_tracking"
   params:
        custom=lambda wildcards: config["settings"][wildcards.settings]["cufflinks"]
    shell:
         "cufflinks {params.custom}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment