Skip to content

Commit

Permalink
Merge branch 'lynn-runid' into 'dev'
Browse files Browse the repository at this point in the history
Fix runid manglement

Closes #1

See merge request epi2melabs/fastcat!59
  • Loading branch information
cjw85 committed Jun 4, 2024
2 parents 2c3c0fd + 6e3638a commit 4888a01
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions src/bamstats/readstats.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 4888a01

Please sign in to comment.