-
-
Save crazyhottommy/0ae8a80dec528ca040c4b3c331dd4617 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
DATASETS = ["PBMC_8K", "PBMC_4k"] | |
SALMON = "$BINS/salmon-0.14.0_linux_x86_64/bin/salmon" | |
rule all: | |
input: expand("quants/{dataset}/alevin/quants_mat.gz", dataset=DATASETS) | |
rule salmon_quant: | |
input: | |
r1 = "reads/{sample}_1.fastq", | |
r2 = "reads/{sample}_2.fastq", | |
t2g = "$ANNO/txp2gene.tsv" | |
index = "$INDICES/gencode.v29_salmon_0.14.0" | |
output: | |
"quants/{dataset}/alevin/quants_mat.gz" | |
params: | |
dir = "quants/{sample}" | |
shell: | |
"{SALMON} alevin -lISR --chromium -i {input.index} -p 8 -o {params.dir} -1 {input.r1} -2 {input.r2} --tgMap {t2g}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment