Skip to content
Snippets Groups Projects

Tophat pipeline

Merged Haarst, Jan van requested to merge tophat into master
18 files
+ 802
18
Compare changes
  • Side-by-side
  • Inline
Files
18
+ 24
0
"""
@version: 0.1
Create quality report of a FASTQ file, mostly copied from https://github.com/inodb/snakemake-workflows/blob/master/bio/ngs/rules/quality_control/fastqc.rules
Required programs:
* FastQC
* imagemagick
"""
__author__ = "Jan van Haarst"
__email__ = "jan.vanhaarst@wur.nl"
rule fastqc:
message: """Create quality report of FASTQ file with FastQC"""
threads: 8
input: "reads/{genome}/{sample}/{replicate}/{name}.fastq.gz"
output: "FASTQC/{genome}/{sample}/{replicate}/{name}_fastqc.zip"
shell: "fastqc --threads {threads} --outdir FASTQC/{wildcards.genome}/{wildcards.sample}/{wildcards.replicate} --noextract {input}"
# TODO : create rule to combine images from zip into single image (montage)
#rule fastqc_montage:
# message : """Create montage of all FASTQC images"""
\ No newline at end of file
Loading