Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Klinische Genetica
capture-lumc
hutspot
Commits
a6207a25
Commit
a6207a25
authored
Nov 23, 2017
by
Sander Bollen
Browse files
metrics in all
parent
27582b11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Snakefile
View file @
a6207a25
...
...
@@ -80,9 +80,36 @@ def sample_gender(wildcards):
return sam.get("gender", "null")
def metrics(do_metrics=True):
if not do_metrics:
return ""
mnum = expand(out_path("{sample}/bams/{sample}.mapped.num"),
sample=SAMPLES)
mbnum = expand(out_path("{sample}/bams/{sample}.mapped.basenum"),
sample=SAMPLES)
unum = expand(out_path("{sample}/bams/{sample}.unique.num"),
sample=SAMPLES)
ubnum = expand(out_path("{sample}/bams/{sample}.usable.basenum"),
sample=SAMPLES)
fqcr = expand(out_path("{sample}/pre_process/raw_fastqc/.done.txt"),
sample=SAMPLES)
fqcm = expand(out_path("{sample}/pre_process/merged_fastqc/.done.txt"),
sample=SAMPLES)
fqcp = expand(out_path("{sample}/pre_process/postqc_fastqc/.done.txt"),
sample=SAMPLES)
fnumpre = expand(out_path("{sample}/pre_process/{sample}.preqc_count.json"),
sample=SAMPLES)
fnumpos = expand(out_path("{sample}/pre_process/{sample}.preqc_count.json"),
sample=SAMPLES)
return mnum + mbnum + unum + ubnum + fqcr + fqcm + fqcp + fnumpre + fnumpos
rule all:
input:
combined=out_path("multisample/genotyped.vcf.gz")
combined=out_path("multisample/genotyped.vcf.gz"),
stats=metrics()
rule genome:
input: REFERENCE
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment