Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QC report2 #1010

Merged
merged 3 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ All changed fall under either one of these types: `Added`, `Changed`, `Deprecate

- the init, run, and explain commands display the supported workflows in their --help

### Fixed

- issue when specifying colors in the samples table, causing the QC report not rendering the table correctly anymore.

## [1.0.4] - 2023-09-05

### Changed
Expand Down
2 changes: 1 addition & 1 deletion seq2science/rules/peak_counts.smk
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ rule combine_biological_reps:
benchmark:
expand("{benchmark_dir}/combine_biological_reps/{{peak_caller}}/{{assembly}}_log{{base}}_{{normalisation}}_biological_reps.benchmark.txt", **config)[0]
params:
samples=lambda wildcards: samples[samples["assembly"] == wildcards.assembly].replace(' ', '_', regex=True).to_string(index_names=False),
samples=lambda wildcards: samples[samples["assembly"] == wildcards.assembly].astype(str).replace(" ", "_", regex=True).to_string(index_names=False),
breps=lambda wildcards: breps[breps["assembly"] == wildcards.assembly].index.to_list(),
script:
f"{config['rule_dir']}/../scripts/combine_biological_reps.py"
Expand Down
2 changes: 1 addition & 1 deletion seq2science/rules/qc.smk
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ rule multiqc_samplesconfig:
config_used=len(workflow.overwrite_configfiles) > 0,
configfile=workflow.overwrite_configfiles[-1],
config=config_rerun_parser(config),
samples=lambda wildcards: samples.reset_index().to_string(index_names=False),
samples=lambda wildcards: samples.reset_index().astype(str).replace(" ", "_", regex=True).to_string(index_names=False),
conda:
"../envs/htmltable.yaml"
script:
Expand Down