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

Do not install StrandPhaseR! Installation of tools should remain independent...

Do not install StrandPhaseR! Installation of tools should remain independent of the workflow description
parent 9a388b09
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,7 @@ RUN apt-get update \
'foreach')); \
source('http://bioconductor.org/biocLite.R'); \
biocLite('BSgenome', ask=F); \
biocLite('BSgenome.Hsapiens.UCSC.hg38', ask=F); \
devtools::install_github('daewoooo/StrandPhaseR@24eabf99a15c2ab959f7c5667cc22ef994cd0fc5', dependencies = NA);" \
## Clean up
&& echo -e "\n\n########\nCLEAN UP\n########\n" \
......
......@@ -21,7 +21,7 @@ import os.path
METHODS = ["simpleCalls_llr1", "simpleCalls_llr4", "biAllelic_llr1", "biAllelic_llr4"]
singularity: "mosaicatcher-singularity-1.0.img"
singularity: "docker://smei/mosaicatcher-pipeline:test"
rule all:
......@@ -468,15 +468,15 @@ rule convert_strandphaser_input:
script:
"utils/helper.convert_strandphaser_input.R"
rule install_StrandPhaseR:
output:
"utils/R-packages/StrandPhaseR/R/StrandPhaseR"
log:
"log/install_StrandPhaseR.log"
shell:
"""
TAR=$(which tar) Rscript utils/install_strandphaser.R > {log} 2>&1
"""
#rule install_StrandPhaseR:
# output:
# "utils/R-packages/StrandPhaseR/R/StrandPhaseR"
# log:
# "log/install_StrandPhaseR.log"
# shell:
# """
# TAR=$(which tar) Rscript utils/install_strandphaser.R > {log} 2>&1
# """
rule prepare_strandphaser_config_per_chrom:
input:
......@@ -519,7 +519,7 @@ rule run_strandphaser_per_chrom:
wcregions = "strand_states/{sample}/strandphaser_input.txt",
snppositions = locate_snv_vcf,
configfile = "strand_states/{sample}/StrandPhaseR.{chrom}.config",
strandphaser = "utils/R-packages/StrandPhaseR/R/StrandPhaseR",
# strandphaser = "utils/R-packages/StrandPhaseR/R/StrandPhaseR",
bamfolder = "bam/{sample}/"
output:
"strand_states/{sample}/StrandPhaseR_analysis.{chrom}/Phased/phased_haps.txt"
......
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