public class CollectMultipleMetrics extends CommandLineProgram
Modifier and Type | Class and Description |
---|---|
static class |
CollectMultipleMetrics.Program |
static interface |
CollectMultipleMetrics.ProgramInterface |
Modifier and Type | Field and Description |
---|---|
boolean |
ASSUME_SORTED |
java.io.File |
DB_SNP |
java.lang.String |
FILE_EXTENSION |
java.io.File |
INPUT |
java.io.File |
INTERVALS |
java.util.Set<MetricAccumulationLevel> |
METRIC_ACCUMULATION_LEVEL |
java.lang.String |
OUTPUT |
java.util.Set<CollectMultipleMetrics.Program> |
PROGRAM |
int |
STOP_AFTER |
COMPRESSION_LEVEL, CREATE_INDEX, CREATE_MD5_FILE, GA4GH_CLIENT_SECRETS, MAX_RECORDS_IN_RAM, QUIET, REFERENCE_SEQUENCE, TMP_DIR, VALIDATION_STRINGENCY, VERBOSITY
Constructor and Description |
---|
CollectMultipleMetrics() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String[] |
customCommandLineValidation()
Put any custom command-line validation in an override of this method.
|
int |
doWork()
Do the work after command line has been parsed.
|
static void |
main(java.lang.String[] args) |
void |
setProgramsToRun(java.util.Collection<CollectMultipleMetrics.ProgramInterface> programsToRun)
Use this method when invoking CollectMultipleMetrics programmatically to run programs other than the ones
available via enum.
|
getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getNestedOptions, getNestedOptionsForHelp, getStandardUsagePreamble, getVersion, instanceMain, instanceMainWithExit, parseArgs, setDefaultHeaders
@Option(doc="If true (default), then the sort order in the header file will be ignored.", shortName="AS") public boolean ASSUME_SORTED
@Option(doc="Stop after processing N reads, mainly for debugging.") public int STOP_AFTER
@Option(shortName="LEVEL", doc="The level(s) at which to accumulate metrics.") public java.util.Set<MetricAccumulationLevel> METRIC_ACCUMULATION_LEVEL
@Option(shortName="EXT", doc="Append the given file extension to all metric file names (ex. OUTPUT.insert_size_metrics.EXT). None if null", optional=true) public java.lang.String FILE_EXTENSION
@Option(doc="Set of metrics programs to apply during the pass through the SAM file.") public java.util.Set<CollectMultipleMetrics.Program> PROGRAM
@Option(doc="An optional list of intervals to restrict analysis to. Only pertains to some of the PROGRAMs. Programs whose stand-alone CLP does not have an INTERVALS argument will silently ignore this argument.", optional=true) public java.io.File INTERVALS
public static void main(java.lang.String[] args)
protected java.lang.String[] customCommandLineValidation()
CommandLineProgram
customCommandLineValidation
in class CommandLineProgram
public void setProgramsToRun(java.util.Collection<CollectMultipleMetrics.ProgramInterface> programsToRun)
public int doWork()
CommandLineProgram
doWork
in class CommandLineProgram