Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Adding quality, filtersFailed, and filtersPassed to Variant, fixes #219 #304

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions src/main/resources/avro/variants.avdl
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,23 @@ record Call {
*/
array<double> genotypeLikelihood = [];

/**
Phred-scaled quality score for the assertion made in ALT.
If ALT is `.` (no variant) then this is -10log10 prob(variant), and if ALT is
not `.` this is -10log10 prob(no variant).
*/
union { null, double } quality = null;

/**
A list of filters (normally quality filters) this variant has failed.
*/
array<string> filtersFailed = [];

/**
A list of filters (normally quality filters) this variant has passed.
*/
array<string> filtersPassed = [];

/**
A map of additional variant call information.
*/
Expand Down