-
Notifications
You must be signed in to change notification settings - Fork 596
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
support for non-AS called data #6975
Conversation
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.
👍
out = "|" + outNotAlleleSpecific + ",1|"; | ||
|
||
} else if (variant.getAlleles().size() == 4) { // GT 1/2 | ||
// TODO: just replicate rather than distribute, is this right? |
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 this is close enough. I tended to distribute when I did this for other metrics, but I don't think it matters and we don't want half of a read in the output anyway :)
if (out == null) { | ||
// 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 |-0.511,1| |
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'm confused here, how did 1.465 become -0.511?
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.
lol -- cut and paste!
* support for non-AS called data * fixed null case
* support for non-AS called data * fixed null case
* support for non-AS called data * fixed null case
* support for non-AS called data * fixed null case
* support for non-AS called data * fixed null case
No description provided.