Skip to content

Commit

Permalink
add after filtering total reads to general stats table
Browse files Browse the repository at this point in the history
  • Loading branch information
jchorl committed Aug 21, 2022
1 parent 8aa4021 commit 3c59cd4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- Tidied the verbose log to remove some very noisy statements and add summaries for skipped files in the search
- Add timezone to time in reports
- Add nix flake support
- Add total read count (after filtering) from fastp to general stats table

### New Modules

Expand Down
8 changes: 8 additions & 0 deletions multiqc/modules/fastp/fastp.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,14 @@ def fastp_general_stats_table(self):
"shared_key": "base_count",
"hidden": True,
}
headers["after_filtering_total_reads"] = {
"title": "{} Reads After Filtering".format(config.read_count_prefix),
"description": "Total reads after filtering ({})".format(config.read_count_desc),
"min": 0,
"scale": "Blues",
"modify": lambda x: x * config.read_count_multiplier,
"shared_key": "read_count",
}
headers["after_filtering_gc_content"] = {
"title": "GC content",
"description": "GC content after filtering",
Expand Down

0 comments on commit 3c59cd4

Please sign in to comment.