Remove VariantContexts and other HTSJDK classes from HapCutToVcf and tests#832
Remove VariantContexts and other HTSJDK classes from HapCutToVcf and tests#832kstromhaug wants to merge 1 commit intoks_rm_variant_contextsfrom
Conversation
| val ReadCountFormatTag = "RC" | ||
| val ReadCountFormatDescription = "Counts of calls supporting allele0 and allele1 respectively" | ||
| val ReadCountFormatHeaderLine = new VCFFormatHeaderLine(ReadCountFormatTag, VCFHeaderLineCount.R, VCFHeaderLineType.Integer, ReadCountFormatDescription) | ||
| val ReadCountFormatHeaderLine = VcfFormatHeader(ReadCountFormatTag, VcfCount.OnePerAltAllele, VcfFieldType.Integer, ReadCountFormatDescription) |
There was a problem hiding this comment.
I think VCFHeaderLineCount.R == VcfCount.OnePerAllele but I'm not positive
| val (sourceContext, sourceOffset) = sourceIterator.next() | ||
| if (!hapCutReader.hasNext) formatSourceContext(sourceContext) | ||
| val (sourceVariant, sourceOffset) = sourceIterator.next() | ||
| if (!hapCutReader.hasNext) formatSourceVariant(sourceVariant) |
There was a problem hiding this comment.
I assume it's safe to rename this function since it's private
1cd61b8 to
8a8379c
Compare
Codecov Report
@@ Coverage Diff @@
## ks_rm_variant_contexts #832 +/- ##
=========================================================
Coverage ? 95.61%
=========================================================
Files ? 122
Lines ? 7068
Branches ? 491
=========================================================
Hits ? 6758
Misses ? 310
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
c81cca1 to
10f997f
Compare
8a8379c to
f971838
Compare
Remove
VariantContexts fromHapCutToVcfand tests