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
27582b11
Commit
27582b11
authored
Nov 23, 2017
by
Sander Bollen
Browse files
fastqc count jobs
parent
1eafc5f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Snakefile
View file @
27582b11
...
...
@@ -293,7 +293,7 @@ rule usable_basenum:
rule fastqc_raw
input:
r1=get_r1
r1=get_r1
,
r2=get_r2
params:
odir=out_path("{sample}/pre_process/raw_fastqc")
...
...
@@ -305,7 +305,7 @@ rule fastqc_raw
rule fastqc_merged
input:
r1=out_path("{sample}/pre_process/{sample}.merged_R1.fastq.gz")
r1=out_path("{sample}/pre_process/{sample}.merged_R1.fastq.gz")
,
r2=out_path("{sample}/pre_process/{sample}.merged_R2.fastq.gz")
params:
odir=out_path("{sample}/pre_process/merged_fastqc")
...
...
@@ -317,7 +317,7 @@ rule fastqc_merged
rule fastqc_postqc
input:
r1=out_path("{sample}/pre_process/{sample}.cutadapt_R1.fastq")
r1=out_path("{sample}/pre_process/{sample}.cutadapt_R1.fastq")
,
r2=out_path("{sample}/pre_process/{sample}.cutadapt_R2.fastq")
params:
odir=out_path("{sample}/pre_process/postqc_fastqc")
...
...
@@ -325,3 +325,23 @@ rule fastqc_postqc
aux=out_path("{sample}/pre_process/postqc_fastqc/.done.txt")
conda: "envs/fastqc.yml"
shell: "fastqc -o {params.odir} {input.r1} {input.r2} && echo 'done' > {output.aux}"
## fastq-count
rule fqcount_preqc:
input:
r1=out_path("{sample}/pre_process/{sample}.merged_R1.fastq.gz"),
r2=out_path("{sample}/pre_process/{sample}.merged_R2.fastq.gz")
output:
out_path("{sample}/pre_process/{sample}.preqc_count.json")
shell: "fastq-count {input.r1} {input.r2} > {output}"
rule fqcount_postqc:
input:
r1=out_path("{sample}/pre_process/{sample}.cutadapt_R1.fastq"),
r2=out_path("{sample}/pre_process/{sample}.cutadapt_R2.fastq")
output:
out_path("{sample}/pre_process/{sample}.postqc_count.json")
shell: "fastq-count {input.r1} {input.r2} > {output}"
\ No newline at end of file
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