Created
February 20, 2014 16:37
-
-
Save mdshw5/9117908 to your computer and use it in GitHub Desktop.
snakemake include issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rule sam_to_bam: | |
input: "{dataset}.sam" | |
output: "{dataset}.bam" | |
shell: "module load sharedapps samtools; samtools view -@ 8 -bSo {output} {input}" | |
rule bam_index: | |
input: "{dataset}.bam" | |
output: "{dataset}.bam.bai" | |
shell: "module load sharedapps samtools; samtools index {input} {output}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REF = "/home/reference/T7/samtools/GU071091.fasta" | |
WINDOW = 10000 | |
DATASETS = ["../../../consensus.GU071091"] | |
EXTS = ["gc.bed", "cov.bed", "cov_vs_gc.png", "CpG_methylation.txt", "conversion.txt"] | |
rule all: | |
input: expand("{dataset}.{ext}", dataset=DATASETS, ext=EXTS) | |
include: "sam_rules" | |
include: "coverage_rules" | |
include: "rate_rules" | |
include: "plot_rules" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment