-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Remove VariantContexts and other HTSJDK classes from HapCutToVcf and tests #832
base: ks_rm_variant_contexts
Are you sure you want to change the base?
Conversation
@@ -240,51 +207,51 @@ trait HeaderLines { | |||
object HapCut1VcfHeaderLines extends HeaderLines { | |||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
VariantContext
s fromHapCutToVcf
and tests