Skip to content
Snippets Groups Projects
Commit c828a526 authored by nicolas.fernandez_ird.fr's avatar nicolas.fernandez_ird.fr :shinto_shrine:
Browse files

Update Snakemake-base env. (like geVarLi)

parent 857e68f6
No related branches found
No related tags found
No related merge requests found
......@@ -4,13 +4,13 @@
# Affiliation ____________ IRD_U233_TransVIHMI
# Aim ____________________ Snakefile with quality control rules
# Date ___________________ 2021.09.28
# Latest modifications ___ 2022.11.18
# Latest modifications ___ 2023.03.01
# Run ____________________ snakemake -s quality_control.smk --use-conda
###############################################################################
###### CONFIGURATION ######
configfile: "config/config.yaml"
configfile: "configuration/config.yaml"
###############################################################################
###### FUNCTIONS ######
......@@ -38,9 +38,9 @@ MULTIQC = config["conda"][OS]["multiqc"] # MultiQC
###############################################################################
###### PARAMETERS ######
CONFIG = config["fastq-screen"]["config"] # Fastq-screen --conf
MAPPER = config["fastq-screen"]["mapper"] # Fastq-screen --aligner
SUBSET = config["fastq-screen"]["subset"] # Fastq-screen --subset
CONFIG = config["fastq-screen"]["config"] # Fastq-screen --conf
ALIGNER = config["fastq-screen"]["aligner"] # Fastq-screen --aligner
SUBSET = config["fastq-screen"]["subset"] # Fastq-screen --subset
###############################################################################
......@@ -86,7 +86,7 @@ rule fastqscreen_contamination_checking:
cpus = CPUS
params:
config = CONFIG,
mapper = MAPPER,
aligner = ALIGNER,
subset = SUBSET
input:
fastq = "resources/reads/"
......@@ -99,7 +99,7 @@ rule fastqscreen_contamination_checking:
"-q " # --quiet: Only show log warning
"--threads {resources.cpus} " # --threads: Specifies across how many threads bowtie will be allowed to run
"--conf {params.config} " # path to configuration file
"--aligner {params.mapper} " # -a: choose aligner 'bowtie', 'bowtie2', 'bwa'
"--aligner {params.aligner} " # -a: choose aligner 'bowtie', 'bowtie2', 'bwa'
"--subset {params.subset} " # Don't use the whole sequence file, but create a subset of specified size
"--outdir {output.fastqscreen} " # Output directory
"{input.fastq}/*.fastq.gz " # Input file.fastq
......
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