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

Preparing caller based on the new NB probs

parent 458d9b93
No related branches found
No related tags found
No related merge requests found
......@@ -304,9 +304,7 @@ rule mosaiClassifier_make_call:
output:
"sv_calls/{sample}/{windows}.{bpdens}/simpleCalls.txt"
shell:
"""
Rscript utils/mosaiClassifier.makeCall.R {input} {output}
"""
"utils/mosaiClassifier_call.snakemake.R"
rule mosaiClassifier_calc_probs:
input:
......
library(data.table)
source("utils/mosaiClassifier/makeSVcalls.R")
probs = readRDS(snakemake@input[["probs"]])
llr = as.numeric(snakemake@params[["llr"]])
tab <- makeSVCallSimple(probs)
write.table(tab, file = snakemake@output[[1]], sep = "\t", quote=F, row.names = F, col.names = T)
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