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",