Skip to content

Commit 43ba9f6

Browse files
committed
vcf/header/record/value/map/format/definition/v4_5: Update local genotype posterior probabilities type
This was changed from an integer to a float in samtools/hts-specs#851.
1 parent dcf7886 commit 43ba9f6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

noodles-vcf/CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
### Changed
66

77
* vcf/header/record/value/map/format/definition/v4_5: Update local genotype
8-
likelihoods (`LGL`) type.
8+
likelihoods (`LGL`) and local genotype posterior probabilities (`LGP`)
9+
types.
910

10-
This was changed from an integer to a float in [samtools/hts-specs#851].
11+
These were changed from integers to floats in [samtools/hts-specs#851].
1112

1213
[samtools/hts-specs#851]: https://github.com/samtools/hts-specs/pull/851
1314

noodles-vcf/src/header/record/value/map/format/definition/v4_5.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ pub(super) fn definition(key: &str) -> Option<(Number, Type, &'static str)> {
8282
)),
8383
key::LOCAL_GENOTYPE_POSTERIOR_PROBABILITIES => Some((
8484
Number::LocalSamples,
85-
Type::Integer,
85+
Type::Float,
8686
"Local-allele representation of GP",
8787
)),
8888
key::LOCAL_ROUNDED_GENOTYPE_LIKELIHOODS => Some((

0 commit comments

Comments
 (0)