-
Notifications
You must be signed in to change notification settings - Fork 587
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
fixed bug; added tests #7717
fixed bug; added tests #7717
Conversation
@@ -128,14 +128,14 @@ public String getColumnValue(final VariantContext variant) { | |||
// Try to use non-AS version | |||
// TODO: it looks like the AS_RAW version also trims to a single decimal point?? | |||
// e.g. MQRankSum=1.465 and turn it into |1.465,1| | |||
String outNotAlleleSpecific = getAttribute(variant, GATKVCFConstants.READ_POS_RANK_SUM_KEY, null); | |||
String outNotAlleleSpecific = getAttribute(variant, GATKVCFConstants.MAP_QUAL_RANK_SUM_KEY, null); |
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.
this is legendary now
@@ -257,8 +257,8 @@ public String getColumnValue(final VariantContext variant) { | |||
AS_SB_TABLE { // Required | |||
public String getColumnValue(final VariantContext variant) { | |||
String out = getAttribute(variant, GATKVCFConstants.AS_SB_TABLE_KEY, null); | |||
String outNotAlleleSpecific = variant.getGenotype(0).getExtendedAttribute(GATKVCFConstants.STRAND_BIAS_BY_SAMPLE_KEY, null).toString(); | |||
if (out == null) { |
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.
what does this switch do?
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.
oh---was this a different bug?
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.
this was more that we were trying to parse out the "fallback" (non-AS) annotation even if we didn't need it. Now it just parses it if we can't find the first one. The tests caught it
No description provided.