Skip to content

Commit

Permalink
Update to version 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tmokveld committed Nov 25, 2024
1 parent 475bf52 commit 9073769
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trgt"
version = "1.4.0"
version = "1.4.1"
edition = "2021"
build = "build.rs"

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ tandem repeats at genome scale. 2024](https://www.nature.com/articles/s41587-023
- Parameters appropriate for targeted sequencing can now be set with `--preset targeted` option
- Waterfall plots no longer panic when there are no reads in a locus
- Algorithmic changes to `--genotyper cluster` allow fewer reads to be assigned to an allele; this may result in minor changes to consensus sequence and read assignment
- 1.4.1
- Bug fix: corrected the type of the rq tag in BAM output

### DISCLAIMER

Expand Down
3 changes: 2 additions & 1 deletion src/trgt/writers/write_bam.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,9 @@ impl BamWriter {
let tr_tag = Aux::String(&locus.id);
rec.push_aux(b"TR", tr_tag).unwrap();

rec.push_aux(b"rq", Aux::Double(read.read_qual.unwrap_or(-1.0)))
rec.push_aux(b"rq", Aux::Float(read.read_qual.unwrap_or(-1.0) as f32))
.unwrap();

if let Some(meth) = &read.meth {
let mc_tag = Aux::ArrayU8(meth.into());
rec.push_aux(b"MC", mc_tag).unwrap();
Expand Down

0 comments on commit 9073769

Please sign in to comment.