diff --git a/CHANGELOG.md b/CHANGELOG.md index 53f6b06..520b83e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [unreleased] +### Added +- Basecaller summary information similar to runid summary. +### Fixed +- Random output for runid when not found in header. + ## [v0.17.1] ### Added - `--runids` option to `bamstats` for enumerating detected run identifiers. diff --git a/src/bamstats/readstats.c b/src/bamstats/readstats.c index 83290d6..2df0cbc 100644 --- a/src/bamstats/readstats.c +++ b/src/bamstats/readstats.c @@ -207,6 +207,7 @@ void process_bams( // get info from readgroup, note we could use subitems from readgroup // here more directly, but this is to be consistent with fastcat where // we only have the readgroup ID string to play with + runid = ""; tag = bam_get_tag_caseinsensitive((const bam1_t*) b, "RG"); if (tag != NULL) { rg_info = create_rg_info(bam_aux2Z(tag));