@DocumentedFeature public class CollectMultipleMetrics extends CommandLineProgram
| Modifier and Type | Class | Description |
|---|---|---|
static class |
CollectMultipleMetrics.Program |
|
static interface |
CollectMultipleMetrics.ProgramInterface |
| Modifier and Type | Field | Description |
|---|---|---|
boolean |
ASSUME_SORTED |
|
File |
DB_SNP |
|
String |
FILE_EXTENSION |
|
boolean |
INCLUDE_UNPAIRED |
|
File |
INPUT |
|
File |
INTERVALS |
|
Set<MetricAccumulationLevel> |
METRIC_ACCUMULATION_LEVEL |
|
String |
OUTPUT |
|
Set<CollectMultipleMetrics.Program> |
PROGRAM |
|
int |
STOP_AFTER |
COMPRESSION_LEVEL, CREATE_INDEX, CREATE_MD5_FILE, GA4GH_CLIENT_SECRETS, MAX_RECORDS_IN_RAM, QUIET, REFERENCE_SEQUENCE, referenceSequence, specialArgumentsCollection, TMP_DIR, USE_JDK_DEFLATER, USE_JDK_INFLATER, VALIDATION_STRINGENCY, VERBOSITY| Constructor | Description |
|---|---|
CollectMultipleMetrics() |
| Modifier and Type | Method | Description |
|---|---|---|
protected 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(String[] args) |
|
void |
setProgramsToRun(Collection<CollectMultipleMetrics.ProgramInterface> programsToRun) |
Use this method when invoking CollectMultipleMetrics programmatically to run programs other than the ones
available via enum.
|
getCommandLine, getCommandLineParser, getDefaultHeaders, getFaqLink, getMetricsFile, getStandardUsagePreamble, getStandardUsagePreamble, getVersion, hasWebDocumentation, instanceMain, instanceMainWithExit, makeReferenceArgumentCollection, parseArgs, requiresReference, setDefaultHeaders, useLegacyParser@Argument(shortName="I",
doc="Input SAM or BAM file.")
public File INPUT
@Argument(doc="If true (default), then the sort order in the header file will be ignored.",
shortName="AS")
public boolean ASSUME_SORTED
@Argument(doc="Stop after processing N reads, mainly for debugging.") public int STOP_AFTER
@Argument(shortName="O",
doc="Base name of output files.")
public String OUTPUT
@Argument(shortName="LEVEL",
doc="The level(s) at which to accumulate metrics.")
public Set<MetricAccumulationLevel> METRIC_ACCUMULATION_LEVEL
@Argument(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 String FILE_EXTENSION
@Argument(doc="Set of metrics programs to apply during the pass through the SAM file.") public Set<CollectMultipleMetrics.Program> PROGRAM
@Argument(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 File INTERVALS
@Argument(doc="VCF format dbSNP file, used to exclude regions around known polymorphisms from analysis by some PROGRAMs; PROGRAMs whose CLP doesn\'t allow for this argument will quietly ignore it.",
optional=true)
public File DB_SNP
@Argument(shortName="UNPAIRED",
doc="Include unpaired reads in CollectSequencingArtifactMetrics. If set to true then all paired reads will be included as well - MINIMUM_INSERT_SIZE and MAXIMUM_INSERT_SIZE will be ignored in CollectSequencingArtifactMetrics.")
public boolean INCLUDE_UNPAIRED
public static void main(String[] args)
protected String[] customCommandLineValidation()
CommandLineProgramcustomCommandLineValidation in class CommandLineProgrampublic void setProgramsToRun(Collection<CollectMultipleMetrics.ProgramInterface> programsToRun)
public int doWork()
CommandLineProgramdoWork in class CommandLineProgram