@DocumentedFeature @BetaFeature public final class GatherVcfsCloud extends CommandLineProgram
The input files need to have the same set of samples but completely different sets of loci. These input files must be supplied in genomic order and must not have events at overlapping positions.
A set of VCF files, each specified in genomic order with the -I option, or a .list text file listing the set of VCFs to be merged, one file per line.
A single VCF file containing the variant call records from the multiple VCFs.
gatk GatherVcfsCloud \ -I cohortA_chr1.vcf.gz \ -I cohortA_chr2.vcf.gz \ -O cohortA_chr1chr2.vcf.gzSpecify the VCF files using the following input.list:
cohortA_chr1.vcf.gz cohortA_chr2.vcf.gz
gatk GatherVcfsCloud \ -I input.list -O cohortA_chr1chr2.vcf.gz
Modifier and Type | Class and Description |
---|---|
static class |
GatherVcfsCloud.GatherType |
Modifier and Type | Field and Description |
---|---|
int |
cloudPrefetchBuffer |
boolean |
createIndex |
boolean |
disableContigOrderingCheck |
static java.lang.String |
GATHER_TYPE_LONG_NAME |
GatherVcfsCloud.GatherType |
gatherType |
static java.lang.String |
IGNORE_SAFETY_CHECKS_LONG_NAME |
boolean |
ignoreSafetyChecks |
java.util.List<java.lang.String> |
inputs |
java.io.File |
output |
GATK_CONFIG_FILE, logger, NIO_MAX_REOPENS, NIO_PROJECT_FOR_REQUESTER_PAYS, QUIET, specialArgumentsCollection, tmpDir, useJdkDeflater, useJdkInflater, VERBOSITY
Constructor and Description |
---|
GatherVcfsCloud() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
doWork()
Do the work after command line has been parsed.
|
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getPluginDescriptors, getSupportInformation, getToolkitName, getToolkitShortName, getToolStatusWarning, getUsage, getVersion, instanceMain, instanceMainPostParseArgs, isBetaFeature, isExperimentalFeature, onShutdown, onStartup, parseArgs, printLibraryVersions, printSettings, printStartupMessage, runTool, setDefaultHeaders, warnOnToolStatus
public static final java.lang.String IGNORE_SAFETY_CHECKS_LONG_NAME
public static final java.lang.String GATHER_TYPE_LONG_NAME
@Argument(fullName="input", shortName="I", doc="Input VCF file(s).") public java.util.List<java.lang.String> inputs
@Argument(fullName="output", shortName="O", doc="Output VCF file.") public java.io.File output
@Argument(fullName="cloud-prefetch-buffer", shortName="CPB", doc="Size of the cloud-only prefetch buffer (in MB; 0 to disable).", optional=true) public int cloudPrefetchBuffer
@Argument(fullName="create-output-variant-index", shortName="OVI", doc="If true, create a VCF index when writing a coordinate-sorted VCF file.", optional=true) public boolean createIndex
@Argument(fullName="gather-type", doc="Choose which method should be used to gather: BLOCK gathering is faster but onlyworks when you have both bgzipped inputs and outputs, while CONVENTIONAL gather is much slower but should work on all vcf files. AUTOMATIC chooses BLOCK if possible and CONVENTIONAL otherwise.") public GatherVcfsCloud.GatherType gatherType
@Advanced @Argument(fullName="ignore-safety-checks", doc="Disable sanity checks to improve performance, may result in silently creating corrupted outputs data") public boolean ignoreSafetyChecks
@Advanced @Argument(fullName="disable-contig-ordering-check", doc="Don\'t check relative ordering of contigs when doing a conventional gather") public boolean disableContigOrderingCheck
protected java.lang.Object doWork()
CommandLineProgram
doWork
in class CommandLineProgram