展开

snakemake + docker

最后发布时间 : 2022-12-08 17:27:53 浏览量 :
rule NAME:
    input:
        "table.txt"
    output:
        "plots/myplot.pdf"
    container:
        "docker://joseespinosa/docker-r-ggplot2"
    script:
        "scripts/plot-stuff.R"

snakemake --use-singularity

参考: https://snakemake.readthedocs.io/en/stable/snakefiles/deployment.html#running-jobs-in-containers