From 891d9d2b3a9c3356536695d595f7029b6805ba9a Mon Sep 17 00:00:00 2001 From: Usman Rashid Date: Fri, 19 Jul 2024 09:47:06 +1200 Subject: [PATCH] cds_length_distribution bug --- CHANGELOG.md | 2 ++ bin/report_modules/parsers/genometools_gt_stat_parser.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bea958b1..94edf630 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### `Fixed` +1. Fixed a bug where `intron_length_distribution` was used instead of `cds_length_distribution` when creating the CDS Length Distribution Graph [#95](https://github.com/Plant-Food-Research-Open/assemblyqc/issues/95) + ### `Dependencies` 1. NextFlow!>=23.04.0 diff --git a/bin/report_modules/parsers/genometools_gt_stat_parser.py b/bin/report_modules/parsers/genometools_gt_stat_parser.py index a4e4e6f4..ddc3bb95 100644 --- a/bin/report_modules/parsers/genometools_gt_stat_parser.py +++ b/bin/report_modules/parsers/genometools_gt_stat_parser.py @@ -82,7 +82,7 @@ def parse_genometools_gt_stat_folder(folder_name="genometools_gt_stat"): cds_length_distribution_graph = "" if cds_length_distribution != []: cds_length_distribution_graph = create_dist_graph( - intron_length_distribution, + cds_length_distribution, "Length", "CDS Length Distribution", f"./{folder_name}/{os.path.basename(report_path)}.cds.length.png",