Skip to content

Commit

Permalink
Merge pull request #1593 from sguizard/fix_ccs
Browse files Browse the repository at this point in the history
Fix `ccs`
  • Loading branch information
ewels committed Jan 25, 2022
2 parents 421ef00 + 1da4361 commit d6ad632
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
- Handle change in output format in v3.9.3 with new `Quality_Metrics.csv` file ([#1563](https://github.com/ewels/MultiQC/issues/1563))
- **CCS**
- Tolerate compound IDs generated by pbcromwell ccs in the general statistics ([#1486](https://github.com/ewels/MultiQC/pull/1486))
- Fix report parsing. Update test on attributes ids ([#1583](https://github.com/ewels/MultiQC/issues/1583))
- **Custom content**
- Fixed module failing when writing data to file if there is a `/` in the section name ([#1515](https://github.com/ewels/MultiQC/issues/1515))
- **DRAGEN**
Expand Down
7 changes: 6 additions & 1 deletion multiqc/modules/ccs/ccs.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,12 @@ def filter_and_pass(self, data):

# Add filtere reasons (id starts with filtered_) and total passed
for entry in attributes:
if entry["id"].startswith("filtered") or entry["id"] == "zmw_passed_yield":
if (
entry["id"].startswith("filtered")
or entry["id"] == "zmw_passed_yield"
or entry["id"].startswith("ccs_processing.filtered")
or entry["id"] == "ccs_processing.zmw_passed_yield"
):
reasons[entry["name"]] = entry["value"]

return reasons
Expand Down

0 comments on commit d6ad632

Please sign in to comment.