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

ah update array extract tool #6827

Merged
merged 2 commits into from
Sep 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public enum QueryMode {
private String projectID = null;

@Argument(
fullName = "sample-info-table",
doc = "Fully qualified name of a bigquery table containing a single column `sample` that describes the full list of samples to evoque",
fullName = "cohort-sample-table",
doc = "Fully qualified name of a bigquery table containing the sample_id and sample_name for the samples in the cohort you are extracting ",
optional = true
)
private String sampleTableName = null;
Expand Down Expand Up @@ -98,6 +98,12 @@ public enum QueryMode {
)
private String cohortTable = null;

@Argument(
fullName = "gt-only",
doc = "If true, only get the genotype info. Otherwise include NORMX, NORMY, BAF, and LRR",
optional = true)
private boolean gtDataOnly = false;

@Argument(
fullName = "use-compressed-data",
doc = "If true, use bit-packed fields for data",
Expand All @@ -117,6 +123,14 @@ public enum QueryMode {
)
private int localSortMaxRecordsInRam = DEFAULT_LOCAL_SORT_MAX_RECORDS_IN_RAM;

// TODO remove before production
@Argument(
fullName = "use-legacy-gt-encoding",
doc = "If the GT encodoing was AA, AB, BB",
optional = true
)
private Boolean useLegacyGTEncoding = false;

@Override
public boolean requiresReference() {
return true;
Expand Down Expand Up @@ -170,12 +184,14 @@ protected void onStartup() {
sampleIdMap,
probeIdMap,
cohortTable,
gtDataOnly,
minProbeId,
maxProbeId,
localSortMaxRecordsInRam,
useCompressedData,
printDebugInformation,
progressMeter);
progressMeter,
useLegacyGTEncoding);
vcfWriter.writeHeader(header);
}

Expand Down
Loading