Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Q
QuaC
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
center-for-computational-genomics-and-data-science
public
QuaC
Commits
aef2903b
Commit
aef2903b
authored
3 years ago
by
Manavalan Gajapathy
Browse files
Options
Downloads
Patches
Plain Diff
goes back to older dir structure setup for rename-config
parent
2e6cd879
No related branches found
No related tags found
1 merge request
!2
QC under one umbrella (well mostly) under QuaC
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflow/rules/aggregate_results.smk
+6
-6
6 additions, 6 deletions
workflow/rules/aggregate_results.smk
with
6 additions
and
6 deletions
workflow/rules/aggregate_results.smk
+
6
−
6
View file @
aef2903b
...
...
@@ -8,7 +8,7 @@ rule multiqc_by_sample_initial_pass:
OUT_DIR / "{sample}" / "qc" / "verifyBamID" / "{sample}.Ancestry",
OUT_DIR / "{sample}" / "qc" / "bcftools-stats" / "{sample}.bcftools.stats",
multiqc_config="configs/multiqc_config.yaml",
rename_config=PROJECT_PATH / "{sample}" / "qc" / "multiqc_initial_pass" / "{sample}_rename_config.tsv",
rename_config=PROJECT_PATH / "{sample}" / "qc" / "multiqc_initial_pass" /
"multiqc_sample_rename_config" /
"{sample}_rename_config.tsv",
output:
OUT_DIR / "{sample}" / "qc" / "multiqc_initial_pass" / "{sample}_multiqc.html",
OUT_DIR / "{sample}" / "qc" / "multiqc_initial_pass" / "{sample}_multiqc_data" / "multiqc_general_stats.txt",
...
...
@@ -18,7 +18,7 @@ rule multiqc_by_sample_initial_pass:
message:
"Aggregates QC results using multiqc. First pass. Output will be used for the internal QC checkup. Sample: {wildcards.sample}"
params:
# multiqc uses fastq's filenames to identify sample names.
We r
ename
d
them
based on units.tsv file
,
# multiqc uses fastq's filenames to identify sample names.
R
ename them
to in-house names
,
# using custom rename config file
extra=lambda wildcards, input: f"--config {input.multiqc_config} --sample-names {input.rename_config}",
wrapper:
...
...
@@ -69,7 +69,7 @@ rule multiqc_by_sample_final_pass:
OUT_DIR / "{sample}" / "qc" / "bcftools-stats" / "{sample}.bcftools.stats",
OUT_DIR / "{sample}" / "qc" / "qc_checkup" / "qc_checkup_overall_summary.yaml",
multiqc_config="configs/multiqc_config.yaml",
rename_config=PROJECT_PATH / "{sample}" / "qc" / "multiqc_initial_pass" / "{sample}_rename_config.tsv",
rename_config=PROJECT_PATH / "{sample}" / "qc" / "multiqc_initial_pass" /
"multiqc_sample_rename_config" /
"{sample}_rename_config.tsv",
qc_config="configs/qc_checkup/qc_checkup_config.yaml",
output:
OUT_DIR / "{sample}" / "qc" / "multiqc_final_pass" / "{sample}_multiqc.html",
...
...
@@ -78,7 +78,7 @@ rule multiqc_by_sample_final_pass:
message:
"Aggregates QC results using multiqc. Final pass, where QC checkup results are also aggregated"
params:
# multiqc uses fastq's filenames to identify sample names.
We r
ename
d
them
based on units.tsv file
,
# multiqc uses fastq's filenames to identify sample names.
R
ename them
to in-house names
,
# using custom rename config file
extra=lambda wildcards, input: f"--config {input.multiqc_config} --sample-names {input.rename_config}",
wrapper:
...
...
@@ -92,7 +92,7 @@ localrules:
rule aggregate_sample_rename_configs:
input:
expand(PROJECT_PATH / "{sample}" / "qc" / "multiqc_initial_pass" / "{sample}_rename_config.tsv", sample=SAMPLES),
expand(PROJECT_PATH / "{sample}" / "qc" / "multiqc_initial_pass" /
"multiqc_sample_rename_config" /
"{sample}_rename_config.tsv", sample=SAMPLES),
output:
OUT_DIR / "project_level_qc" / "multiqc" / "aggregated_rename_configs.tsv",
message:
...
...
@@ -129,7 +129,7 @@ rule multiqc_aggregation_all_samples:
message:
"Running multiqc for all samples"
params:
# multiqc uses fastq's filenames to identify sample names.
We r
ename
d
them
based on units.tsv file
,
# multiqc uses fastq's filenames to identify sample names.
R
ename them
to in-house names
,
# using custom rename config file
extra=(
lambda wildcards, input: f'--config {input.multiqc_config} \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment