public class DownsampleSam extends CommandLineProgram
| Modifier and Type | Field and Description |
|---|---|
java.io.File |
INPUT |
java.io.File |
OUTPUT |
double |
PROBABILITY |
java.lang.Long |
RANDOM_SEED |
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 |
|---|
DownsampleSam() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
doWork()
Do the work after command line has been parsed.
|
static void |
main(java.lang.String[] args) |
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getNestedOptions, getNestedOptionsForHelp, getStandardUsagePreamble, getVersion, instanceMain, instanceMainWithExit, parseArgs, setDefaultHeaders@Option(shortName="I", doc="The input SAM or BAM file to downsample.") public java.io.File INPUT
@Option(shortName="O", doc="The output, downsampled, SAM or BAM file to write.") public java.io.File OUTPUT
@Option(shortName="R", doc="Random seed to use if reproducibilty is desired. Setting to null will cause multiple invocations to produce different results.") public java.lang.Long RANDOM_SEED
public static void main(java.lang.String[] args)
protected int doWork()
CommandLineProgramdoWork in class CommandLineProgram