Skip to content

Commit

Permalink
Use separate filtersFailed and filtersPassed arrays for variant quali…
Browse files Browse the repository at this point in the history
…ty filters (bigdatagenomics#88)
  • Loading branch information
heuermh authored and fnothaft committed Jul 18, 2016
1 parent c1c56d7 commit 7b69079
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/main/resources/avro/bdg.avdl
Original file line number Diff line number Diff line change
Expand Up @@ -505,11 +505,16 @@ enum GenotypeType {
// stat computed from all samples and stored inside the INFO line.
record VariantCallingAnnotations {

// FILTER: True or false implies that filters were applied and this variant PASSed or not.
// While 'null' implies not filters were applied.
union { null, boolean } variantIsPassing = null;
array <string> variantFilters = [];
/**
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 = [];

/**
True if the reads covering this site were randomly downsampled to reduce coverage.
*/
Expand Down

0 comments on commit 7b69079

Please sign in to comment.