diff --git a/src/main/java/org/molgenis/vcf/inheritance/matcher/Annotator.java b/src/main/java/org/molgenis/vcf/inheritance/matcher/Annotator.java index fc61a45..9c4f5eb 100644 --- a/src/main/java/org/molgenis/vcf/inheritance/matcher/Annotator.java +++ b/src/main/java/org/molgenis/vcf/inheritance/matcher/Annotator.java @@ -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, diff --git a/src/test/java/org/molgenis/vcf/inheritance/matcher/AnnotatorTest.java b/src/test/java/org/molgenis/vcf/inheritance/matcher/AnnotatorTest.java index 74b3a89..516fdc0 100644 --- a/src/test/java/org/molgenis/vcf/inheritance/matcher/AnnotatorTest.java +++ b/src/test/java/org/molgenis/vcf/inheritance/matcher/AnnotatorTest.java @@ -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, diff --git a/src/test/resources/expected.vcf b/src/test/resources/expected.vcf index caaf0dd..5a8fc85 100644 --- a/src/test/resources/expected.vcf +++ b/src/test/resources/expected.vcf @@ -6,7 +6,7 @@ ##FORMAT= ##FORMAT= ##FORMAT= -##FORMAT= +##FORMAT= ##INFO= ##INFO= ##INFO= diff --git a/src/test/resources/expected_probands.vcf b/src/test/resources/expected_probands.vcf index 0bd7238..db26bf0 100644 --- a/src/test/resources/expected_probands.vcf +++ b/src/test/resources/expected_probands.vcf @@ -6,7 +6,7 @@ ##FORMAT= ##FORMAT= ##FORMAT= -##FORMAT= +##FORMAT= ##INFO= ##INFO= ##INFO=