Skip to content

Commit

Permalink
Merge pull request #6 from molgenis/fix/5
Browse files Browse the repository at this point in the history
fix #5: VIM and VID status fields have different types
  • Loading branch information
dennishendriksen authored Dec 7, 2020
2 parents 34df2a8 + ae4bfbf commit 6fcaa5e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ VCFHeader annotateHeader(VCFHeader vcfHeader) {
VCFHeaderLineType.Integer,
"Inheritance Denovo status."));
vcfHeader.addMetaDataLine(new VCFFormatHeaderLine(INHERITANCE_MATCH, 1,
VCFHeaderLineType.String,
VCFHeaderLineType.Integer,
"Inheritance Match status."));
vcfHeader.addMetaDataLine(new VCFFormatHeaderLine(MATCHING_GENES, VCFHeaderLineCount.UNBOUNDED,
VCFHeaderLineType.String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void annotateHeader() {
VCFHeaderLineType.Integer,
"Inheritance Denovo status."));
verify(vcfHeader).addMetaDataLine(new VCFFormatHeaderLine(INHERITANCE_MATCH, 1,
VCFHeaderLineType.String,
VCFHeaderLineType.Integer,
"Inheritance Match status."));
verify(vcfHeader).addMetaDataLine(new VCFFormatHeaderLine(MATCHING_GENES, VCFHeaderLineCount.UNBOUNDED,
VCFHeaderLineType.String,
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/expected.vcf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
##FORMAT=<ID=VIC,Number=1,Type=Integer,Description="Inheritance Compound status.">
##FORMAT=<ID=VID,Number=1,Type=Integer,Description="Inheritance Denovo status.">
##FORMAT=<ID=VIG,Number=.,Type=String,Description="Genes with an inheritance match.">
##FORMAT=<ID=VIM,Number=1,Type=String,Description="Inheritance Match status.">
##FORMAT=<ID=VIM,Number=1,Type=Integer,Description="Inheritance Match status.">
##INFO=<ID=CSQ,Number=.,Type=String,Description="Consequence annotations from Ensembl VEP. Format: Allele|SYMBOL|Gene|InheritanceModesGene">
##INFO=<ID=Compounds,Number=.,Type=String,Description="List of compound pairs for this variant.The list is splitted on ',' family id is separated with compoundswith ':'. Compounds are separated with '|'.">
##INFO=<ID=GeneticModels,Number=.,Type=String,Description="':'-separated list of genetic models for this variant.">
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/expected_probands.vcf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
##FORMAT=<ID=VIC,Number=1,Type=Integer,Description="Inheritance Compound status.">
##FORMAT=<ID=VID,Number=1,Type=Integer,Description="Inheritance Denovo status.">
##FORMAT=<ID=VIG,Number=.,Type=String,Description="Genes with an inheritance match.">
##FORMAT=<ID=VIM,Number=1,Type=String,Description="Inheritance Match status.">
##FORMAT=<ID=VIM,Number=1,Type=Integer,Description="Inheritance Match status.">
##INFO=<ID=CSQ,Number=.,Type=String,Description="Consequence annotations from Ensembl VEP. Format: Allele|SYMBOL|Gene|InheritanceModesGene">
##INFO=<ID=Compounds,Number=.,Type=String,Description="List of compound pairs for this variant.The list is splitted on ',' family id is separated with compoundswith ':'. Compounds are separated with '|'.">
##INFO=<ID=GeneticModels,Number=.,Type=String,Description="':'-separated list of genetic models for this variant.">
Expand Down

0 comments on commit 6fcaa5e

Please sign in to comment.