Skip to content

Commit 435062e

Browse files
committed
complete migration of whitelists to chemistry yaml, add zsh to conda yaml, set shell executable to zsh in PATH
1 parent 6efb60d commit 435062e

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

Snakefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
shell.executable("/bin/zsh")
1+
shell.executable("zsh")
22

33
""" Snakemake pipeline for single-cell RNA-seq 3' end counting """
44

@@ -8,8 +8,6 @@ DATA = config["DATA"]
88
RESULTS = config["RESULTS"]
99
STAR_INDEX = config["STAR_INDEX"]
1010
POLYA_SITES = config["POLYA_SITES"]
11-
WHITELIST_V2 = config["WHITELIST_V2"]
12-
WHITELIST_V3 = config["WHITELIST_V3"]
1311
STAR = config["STAR"]
1412
DEFAULTS = config["DEFAULTS"]
1513
SAMPLES = config["SAMPLES"]

chemistry.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# STAR_R2: ...
1111

1212
chromiumV3:
13-
bc_whitelist: "ref/3M-february-2018.txt"
13+
bc_whitelist: ref/3M-february-2018.txt
1414
illumina:
1515
cutadapt_paired: -a TSO_R1=CCCATGTACTCTGCGTTGATACCACTGCTT -a TruSeq_R1=AGATCGGAAGAGCACACGTCTGAACTCCAGTCA -A polya_R2=A{30} -G TSO_R2=XAAGCAGTGGTATCAACGCAGAGTACATGGG -n 4 -m 75:17 --nextseq-trim=20
1616
cutadapt_R1: -a TSO_R1=CCCATGTACTCTGCGTTGATACCACTGCTT -a TruSeq_R1=AGATCGGAAGAGCACACGTCTGAACTCCAGTCA -n 2 -m 75 -l 300 --nextseq-trim=20
@@ -25,7 +25,7 @@ chromiumV3:
2525
cutadapt_R1: -a 'CTACACGACGCTCTTCCGATCT;max_error_rate=0.2;min_overlap=10;required...AGATCGGAAGAGCACACGTCTG;max_error_rate=0.2;min_overlap=6' -a TSO_R1=CCCATGTACTCTGCGTTGATACCACTGCTT -n 2 -m 68 -q 20
2626
STAR_R1: --soloUMIlen 9 --clip5pNbases 38 --soloCBstart 1 --soloCBlen 16 --soloUMIstart 17
2727
chromiumV2:
28-
bc_whitelist: "ref/737K-august-2016.txt"
28+
bc_whitelist: ref/737K-august-2016.txt
2929
illumina:
3030
cutadapt_paired: -a TSO_R1=CCCATGTACTCTGCGTTGATACCACTGCTT -a TruSeq_R1=AGATCGGAAGAGCACACGTCTGAACTCCAGTCA -A polya_R2=A{30} -G TSO_R2=XAAGCAGTGGTATCAACGCAGAGTACATGGG -n 4 -m 75:17 --nextseq-trim=20
3131
STAR_R1: --soloUMIlen 10 --clip5pNbases 46 0 --soloCBstart 1 --soloCBlen 16 --soloUMIstart 17 --outFilterMultimapNmax 1 --outFilterMismatchNmax 999 --outFilterMismatchNoverReadLmax 0.2

rules/cutadapt_star.snake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def _get_bc_cut(wildcards):
2626
""" Extract per-capture chemistry from gex libs (base function) """
2727
def _get_chem_version(sample, alignment):
2828
try:
29-
whitelist = eval(_get_config(sample, "bc_whitelist"))
29+
whitelist = _get_config(sample, "bc_whitelist")
3030
except KeyError:
3131
whitelist = "None"
3232
try:

scraps_conda.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ dependencies:
1515
- subread >= 2.0.1
1616
- umi_tools >= 1.1.2
1717
- star >= 2.7.9a
18+
- zsh

0 commit comments

Comments
 (0)