public class ValidateSamFile extends CommandLineProgram
Modifier and Type | Class and Description |
---|---|
static class |
ValidateSamFile.Mode |
Modifier and Type | Field and Description |
---|---|
List<SAMValidationError.Type> |
IGNORE |
boolean |
IGNORE_WARNINGS |
File |
INPUT |
boolean |
IS_BISULFITE_SEQUENCED |
int |
MAX_OPEN_TEMP_FILES |
Integer |
MAX_OUTPUT |
ValidateSamFile.Mode |
MODE |
File |
OUTPUT |
boolean |
VALIDATE_INDEX |
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 |
---|
ValidateSamFile() |
Modifier and Type | Method and Description |
---|---|
protected int |
doWork()
Do the work after command line has been parsed.
|
static void |
main(String[] args) |
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getNestedOptions, getNestedOptionsForHelp, getStandardUsagePreamble, getVersion, instanceMain, instanceMainWithExit, parseArgs, setDefaultHeaders
@Option(shortName="O", doc="Output file or standard out if missing", optional=true) public File OUTPUT
@Option(shortName="M", doc="Mode of output") public ValidateSamFile.Mode MODE
@Option(doc="List of validation error types to ignore.") public List<SAMValidationError.Type> IGNORE
@Option(shortName="MO", doc="The maximum number of lines output in verbose mode") public Integer MAX_OUTPUT
@Option(doc="If true, only report errors and ignore warnings.") public boolean IGNORE_WARNINGS
@Option(doc="If true and input is a BAM file with an index file, also validates the index.") public boolean VALIDATE_INDEX
@Option(shortName="BISULFITE", doc="Whether the SAM or BAM file consists of bisulfite sequenced reads. If so, C->T is not counted as an error in computing the value of the NM tag.") public boolean IS_BISULFITE_SEQUENCED
@Option(doc="Relevant for a coordinate-sorted file containing read pairs only. Maximum number of file handles to keep open when spilling mate info to disk. Set this number a little lower than the per-process maximum number of file that may be open. This number can be found by executing the \'ulimit -n\' command on a Unix system.") public int MAX_OPEN_TEMP_FILES
public static void main(String[] args)
protected int doWork()
CommandLineProgram
doWork
in class CommandLineProgram