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

Adding AD for scale testing VS 225 add AD #7713

Merged
merged 14 commits into from
Apr 12, 2022
Merged

Conversation

RoriCremer
Copy link
Contributor

@RoriCremer RoriCremer commented Mar 9, 2022

This adds call_AD to the prepare step
Screen Shot 2022-03-16 at 2 24 02 PM
and in the VCF:

image

@RoriCremer RoriCremer force-pushed the rc-vs-225-add-AD branch 4 times, most recently from 4b2a3fa to 2cc5bb5 Compare March 9, 2022 23:21
@RoriCremer RoriCremer force-pushed the rc-vs-225-add-AD branch 2 times, most recently from 52e5d86 to 86a8322 Compare March 22, 2022 19:05
@@ -261,7 +262,7 @@ def make_extract_table(fq_ranges_dataset,

## TODO -- provide a cmdline arg to override this (so we can simulate smaller datasets)

global PET_VET_TABLE_COUNT
global PET_VET_TABLE_COUNT ## TODO why are we using PET here?
Copy link

Choose a reason for hiding this comment

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

I think it's just a name, and now it would more accurately be REF_VET_TABLE_COUNT

Copy link

@rsasch rsasch left a comment

Choose a reason for hiding this comment

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

Just a few small nits, otherwise 👍🏻

Comment on lines +42 to +47
Boolean emit_pls = false
Boolean emit_ads = true

Copy link

Choose a reason for hiding this comment

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

nit: I don't think you need to create these as variables since they're pretty straightforward and only used once.

@@ -32,6 +32,7 @@ public void testDefinedExtractCohortRecord() {
Assert.assertEquals(allDefinedRecord.getRefAllele(), "CTTT");
Assert.assertEquals(allDefinedRecord.getAltAllele(), "C");
Assert.assertEquals(allDefinedRecord.getCallGT(), "1/1");
// Assert.assertEquals(allDefinedRecord.getCallAD(), "0,1"); // TODO need to add this to the extract Avro!
Copy link

Choose a reason for hiding this comment

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

Can this be done as part of this PR, since it's directly related to the added functionality?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The issue is that the data is so old, it's from when we used PET to create a cohort, so I think the whole test needs a lil makeover. If all I need to do is add AD, then I can probably figure something out, but Im wondering if the whole test could use some changes

Copy link

Choose a reason for hiding this comment

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

Ah, ok — yeah, that sounds like a candidate for a separate ticket.

Comment on lines +143 to +210
Boolean emit_pls
Boolean emit_ads

Copy link

Choose a reason for hiding this comment

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

sorry that I wasn't clear — I don't think these need to be parameterized, I think the "true" and "false" values can just be passed directly in the call to ExtractTask (lines 96 + 97).

@RoriCremer RoriCremer force-pushed the rc-vs-225-add-AD branch 2 times, most recently from fa67243 to 47ba7f6 Compare April 7, 2022 19:08
@gatk-bot
Copy link

gatk-bot commented Apr 11, 2022

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

Test Type JDK Job ID Logs
integration openjdk11 38735.12 logs
integration openjdk11 38735.12 logs

@RoriCremer RoriCremer merged commit fd960a4 into ah_var_store Apr 12, 2022
@RoriCremer RoriCremer deleted the rc-vs-225-add-AD branch April 12, 2022 06:38
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