Skip to content

Commit

Permalink
Patch: Use adapters file with fastqc.
Browse files Browse the repository at this point in the history
  • Loading branch information
skchronicles committed Apr 10, 2024
1 parent 95a5d9a commit 30db0c7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.1.0] - 2023-05-17
### Added
- Recommended [scaffold](https://github.com/OpenOmics/mir-seek) for building a snakemake pipeline

## [0.2.1] - 2024-04-10
### Patch
- Providing adapters file to fastqc so content is in sync with fastp


2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.0
0.2.1
4 changes: 4 additions & 0 deletions workflow/rules/qc.smk
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ rule fastqc_raw:
rname = "rawfqc",
outdir = join(workpath, "fastqc"),
tmpdir = tmpdir,
adapters = config['references'][genome]['adapters'],
container: config['images']['mir-seek'],
threads: int(allocated("threads", "fastqc_raw", cluster))
shell: """
Expand All @@ -35,6 +36,7 @@ rule fastqc_raw:
# up gpfs filesystems, adding
# this on request by HPC staff
fastqc \\
-a "{params.adapters}" \\
-t {threads} \\
-o "${{tmp}}" \\
{input.fq}
Expand Down Expand Up @@ -67,6 +69,7 @@ rule fastqc_trim:
rname = "filtfqc",
outdir = join(workpath, "fastqc"),
tmpdir = tmpdir,
adapters = config['references'][genome]['adapters'],
container: config['images']['mir-seek'],
threads: int(allocated("threads", "fastqc_trim", cluster))
shell: """
Expand All @@ -83,6 +86,7 @@ rule fastqc_trim:
# up gpfs filesystems, adding
# this on request by HPC staff
fastqc \\
-a "{params.adapters}" \\
-t {threads} \\
-o "${{tmp}}" \\
{input.fq}
Expand Down

0 comments on commit 30db0c7

Please sign in to comment.