-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
tdayris
committed
May 31, 2024
1 parent
db97c01
commit 5c6ece9
Showing
12 changed files
with
93 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,47 @@ | ||
rule fair_fastqc_multiqc_fastq_screen_single_ended: | ||
input: | ||
sample="tmp/fair_fastqc_multiqc/link_or_concat_single_ended_input/{sample}.fastq.gz", | ||
sample="tmp/fair_fastqc_multiqc_link_or_concat_single_ended_input/{sample}.fastq.gz", | ||
output: | ||
txt=temp( | ||
"tmp/fair_fastqc_multiqc/fastq_screen_single_ended/{sample}.fastq_screen.txt" | ||
"tmp/fair_fastqc_multiqc_fastq_screen_single_ended/{sample}.fastq_screen.txt" | ||
), | ||
tmp="results/QC/fastq_screen/{sample}.fastq_screen.png", | ||
threads: 20 | ||
resources: | ||
mem_mb=lambda wildcards, attempt: attempt * 512, | ||
mem_mb=lambda wildcards, attempt: attempt * 500, | ||
runtime=lambda wildcards, input, attempt: attempt | ||
* 15 | ||
* max(1, int(input.size_mb / 1024)), | ||
tmpdir=tmp, | ||
log: | ||
"logs/fair_fastqc_multiqc/fastq_screen_single_ended/{sample}.log", | ||
"logs/fair_fastqc_multiqc_fastq_screen_single_ended/{sample}.log", | ||
benchmark: | ||
"benchmark/fair_fastqc_multiqc/fastq_screen_single_ended/{sample}.tsv" | ||
"benchmark/fair_fastqc_multiqc_fastq_screen_single_ended/{sample}.tsv" | ||
params: | ||
subset=lookup_config( | ||
dpath="params/fair_fastqc_multiqc/fastq_screen/subset", | ||
dpath="params/fair_fastqc_multiqc_fastq_screen/subset", | ||
default=10000, | ||
), | ||
aligner=lookup_config( | ||
dpath="params/fair_fastqc_multiqc/fastq_screen/aligner", | ||
dpath="params/fair_fastqc_multiqc_fastq_screen/aligner", | ||
default="bowtie2", | ||
), | ||
fastq_screen_config=lookup_config( | ||
dpath="params/fair_fastqc_multiqc/fastq_screen/fastq_screen_config", | ||
dpath="params/fair_fastqc_multiqc_fastq_screen/fastq_screen_config", | ||
), | ||
wrapper: | ||
f"{snakemake_wrappers_prefix}/bio/fastq_screen" | ||
|
||
|
||
use rule fair_fastqc_multiqc_fastq_screen_single_ended as fair_fastqc_multiqc_fastq_screen_pair_ended with: | ||
input: | ||
sample="tmp/fair_fastqc_multiqc/link_or_concat_pair_ended_input/{sample}.{stream}.fastq.gz", | ||
sample="tmp/fair_fastqc_multiqc_link_or_concat_pair_ended_input/{sample}.{stream}.fastq.gz", | ||
output: | ||
txt=temp( | ||
"tmp/fair_fastqc_multiqc/fastq_screen_pair_ended/{sample}.{stream}.fastq_screen.txt" | ||
"tmp/fair_fastqc_multiqc_fastq_screen_pair_ended/{sample}.{stream}.fastq_screen.txt" | ||
), | ||
tmp="results/QC/fastq_screen/{sample}.{stream}.fastq_screen.png", | ||
log: | ||
"logs/fair_fastqc_multiqc/fastq_screen_pair_ended/{sample}.{stream}.log", | ||
"logs/fair_fastqc_multiqc_fastq_screen_pair_ended/{sample}.{stream}.log", | ||
benchmark: | ||
"benchmark/fair_fastqc_multiqc/fastq_screen_pair_ended/{sample}.{stream}.tsv" | ||
"benchmark/fair_fastqc_multiqc_fastq_screen_pair_ended/{sample}.{stream}.tsv" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.