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

support for non-AS called data #6975

Merged
merged 2 commits into from
Nov 21, 2020
Merged

support for non-AS called data #6975

merged 2 commits into from
Nov 21, 2020

Conversation

kcibul
Copy link
Contributor

@kcibul kcibul commented Nov 20, 2020

No description provided.

Copy link
Contributor

@meganshand meganshand left a 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?
Copy link
Contributor

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|
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol -- cut and paste!

@gatk-bot
Copy link

Travis reported job failures from build 32227
Failures in the following jobs:

Test Type JDK Job ID Logs
conda openjdk8 32227.5 logs

@kcibul kcibul merged commit 5f40379 into ah_var_store Nov 21, 2020
@kcibul kcibul deleted the kc_non_as branch November 21, 2020 20:11
@gatk-bot
Copy link

Travis reported job failures from build 32243
Failures in the following jobs:

Test Type JDK Job ID Logs
conda openjdk8 32243.5 logs

kcibul added a commit that referenced this pull request Jan 29, 2021
* support for non-AS called data

* fixed null case
kcibul added a commit that referenced this pull request Feb 1, 2021
* support for non-AS called data

* fixed null case
Marianie-Simeon pushed a commit that referenced this pull request Feb 16, 2021
* support for non-AS called data

* fixed null case
kcibul added a commit that referenced this pull request Mar 9, 2021
* support for non-AS called data

* fixed null case
mmorgantaylor pushed a commit that referenced this pull request Apr 6, 2021
* support for non-AS called data

* fixed null case
This was referenced Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants