Skip to content
Snippets Groups Projects
Commit 701849db authored by Sascha Meiers's avatar Sascha Meiers
Browse files

Made R reference (needed in Strand-PhaseR) a config parameter

parent fc323de9
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@
"50000" : "utils/variable_bins.GRCh38.50kb.bed",
"100000" : "utils/variable_bins.GRCh38.100kb.bed"
},
"R_reference" : "BSgenome.Hsapiens.UCSC.hg38",
"bp_density" : {
"few" : 0.1,
......
......@@ -11,7 +11,6 @@ BAM, = glob_wildcards("bam/{bam}.bam")
rule all:
input:
"log/StrandPhaseR.config",
expand("plots/" + config["sample"] + ".{window}_fixed.pdf", window = [50000, 100000, 200000, 500000]),
expand("plots/" + config["sample"] + ".{window}_variable.pdf", window = [50000, 100000]),
expand("segmentation2/" + config["sample"] + ".{window}_fixed.{bpdens}.txt",
......@@ -287,7 +286,7 @@ rule prepare_strandphaser_config_per_chrom:
print("compareSingleCells = TRUE", file = f)
print("callBreaks = FALSE", file = f)
print("exportVCF = '", config["sample"], ".txt'", sep = "", file = f)
print("bsGenome = 'BSgenome.Hsapiens.UCSC.hg19'", file = f)
print("bsGenome = '", config["R_reference"], "'", file = f)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment