Skip to content

Commit

Permalink
Add genotype filters for VCF genotype field reserved key FT
Browse files Browse the repository at this point in the history
  • Loading branch information
heuermh committed Nov 4, 2016
1 parent 04a6cb4 commit 227019c
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/main/resources/avro/bdg.avdl
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ record Genotype {

/**
One or more allele values encoding this genotype. If this genotype is phased, the order of
the allele values is significant. VCF genotype field reserved key "GT" mapped to Allele enum
the allele values is significant. VCF genotype field reserved key GT mapped to Allele enum
values.
*/
array<Allele> alleles = [];
Expand All @@ -777,6 +777,22 @@ record Genotype {
reserved key "GT" allele separators: '|' genotype is phased; '/' genotype is unphased.
*/
union { boolean, null } phased = false;

/**
True if filters were applied for this variant. VCF genotype field reserved key FT any
value other than the missing value.
*/
union { null, boolean } filtersApplied = null;

/**
True if all filters for this variant passed. VCF genotype field reserved key FT value PASS.
*/
union { null, boolean } filtersPassed = null;

/**
Zero or more filters that failed for this variant. VCF genotype field reserved key FT.
*/
array<string> filtersFailed = [];
}

/**
Expand Down

0 comments on commit 227019c

Please sign in to comment.