-
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
ah update array extract tool #6827
Conversation
@@ -98,6 +98,12 @@ | |||
) | |||
private String cohortTable = null; | |||
|
|||
@Argument( | |||
fullName = "gt-only", | |||
doc = "If true, only get the genotype info", |
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.
Can you say in the doc here what is excluded since it's not that many fields (NORMX, NORMY, LLR, and BAF)
genotypeAlleles.add(alleles.get(2)); | ||
break; | ||
case MISSING: | ||
default: |
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.
Do you need this default
here?
builder.id(probeInfo.name); | ||
|
||
List<Allele> alleles = createAllelesFromProbeInfo(probeInfo); | ||
Allele ref = Allele.create(probeInfo.ref, true); |
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.
Is the diff just being weird or should the code below be deleted since it was moved to createAllelesFromProbeInfo
?
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, i need to change createAlleles... back to just new ArrayList.
this version of the methods need to know alleleA and alleleB so there is some duplicate code while we are supporting the legacy mode.
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.
LGTM, thanks!
* remove compressed data, change GT to single char
* remove compressed data, change GT to single char
* remove compressed data, change GT to single char
* remove compressed data, change GT to single char
* remove compressed data, change GT to single char
* remove compressed data, change GT to single char
remove compressed data, change GT to single char