Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GT header in PostprocessGermlineCNVCalls's --output-genotyped-intervals output #8621

Merged
merged 2 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void composeVariantContextHeader(final SAMSequenceDictionary sequenceDict

/* header lines related to genotype formatting */
result.addMetaDataLine(new VCFFormatHeaderLine(VCFConstants.GENOTYPE_KEY, 1,
VCFHeaderLineType.Integer, "Genotype"));
VCFHeaderLineType.String, "Genotype"));
result.addMetaDataLine(new VCFFormatHeaderLine(CN, 1,
VCFHeaderLineType.Integer, "Copy number maximum a posteriori value"));
result.addMetaDataLine(new VCFFormatHeaderLine(CNLP, VCFHeaderLineCount.UNBOUNDED,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -408,16 +408,16 @@ private GVCFWriter setUpWriter(final File outputFile, final File dictionary) thr
result.setSequenceDictionary(dict);
result.addMetaDataLine(new VCFFormatHeaderLine(VCFConstants.GENOTYPE_KEY, 1,
VCFHeaderLineType.String, "genotype"));
result.addMetaDataLine(new VCFFormatHeaderLine(VCFConstants.GENOTYPE_ALLELE_DEPTHS, 1,
VCFHeaderLineType.String, "Allele depth"));
result.addMetaDataLine(new VCFFormatHeaderLine(VCFConstants.GENOTYPE_ALLELE_DEPTHS, VCFHeaderLineCount.R,
VCFHeaderLineType.Integer, "Allele depth"));
result.addMetaDataLine(new VCFFormatHeaderLine(VCFConstants.DEPTH_KEY, 1,
VCFHeaderLineType.String, " depth"));
VCFHeaderLineType.Integer, " depth"));
result.addMetaDataLine(new VCFInfoHeaderLine(VCFConstants.DEPTH_KEY, 1,
VCFHeaderLineType.String, " depth"));
VCFHeaderLineType.Integer, " depth"));
result.addMetaDataLine(new VCFFormatHeaderLine(VCFConstants.GENOTYPE_QUALITY_KEY, 1,
VCFHeaderLineType.String, "Genotype quality"));
result.addMetaDataLine(new VCFFormatHeaderLine(VCFConstants.GENOTYPE_PL_KEY, 1,
VCFHeaderLineType.String, "Phred-scaled likelihoods"));
VCFHeaderLineType.Integer, "Genotype quality"));
result.addMetaDataLine(new VCFFormatHeaderLine(VCFConstants.GENOTYPE_PL_KEY, VCFHeaderLineCount.G,
VCFHeaderLineType.Integer, "Phred-scaled likelihoods"));
gvcfWriter.writeHeader(result);
return gvcfWriter;
}
Expand Down
Loading