public class ValidateSamFile extends CommandLineProgram
Modifier and Type | Class and Description |
---|---|
static class |
ValidateSamFile.Mode |
Modifier and Type | Field and Description |
---|---|
java.util.List<htsjdk.samtools.SAMValidationError.Type> |
IGNORE |
boolean |
IGNORE_WARNINGS |
htsjdk.samtools.BamIndexValidator.IndexValidationStringency |
INDEX_VALIDATION_STRINGENCY |
java.io.File |
INPUT |
boolean |
IS_BISULFITE_SEQUENCED |
int |
MAX_OPEN_TEMP_FILES |
java.lang.Integer |
MAX_OUTPUT |
ValidateSamFile.Mode |
MODE |
java.io.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 java.lang.String[] |
customCommandLineValidation()
Put any custom command-line validation in an override of this method.
|
protected int |
doWork()
Do the work after command line has been parsed.
|
static void |
main(java.lang.String[] args) |
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 java.io.File OUTPUT
@Option(shortName="M", doc="Mode of output") public ValidateSamFile.Mode MODE
@Option(doc="List of validation error types to ignore.") public java.util.List<htsjdk.samtools.SAMValidationError.Type> IGNORE
@Option(shortName="MO", doc="The maximum number of lines output in verbose mode") public java.lang.Integer MAX_OUTPUT
@Option(doc="If true, only report errors and ignore warnings.") public boolean IGNORE_WARNINGS
@Option(doc="DEPRECATED. Use INDEX_VALIDATION_STRINGENCY instead. If true and input is a BAM file with an index file, also validates the index. Until this parameter is retired VALIDATE INDEX and INDEX_VALIDATION_STRINGENCY must agree on whether to validate the index.") public boolean VALIDATE_INDEX
@Option(doc="If set to anything other than IndexValidationStringency.NONE and input is a BAM file with an index file, also validates the index at the specified stringency. Until VALIDATE_INDEX is retired, VALIDATE INDEX and INDEX_VALIDATION_STRINGENCY must agree on whether to validate the index.") public htsjdk.samtools.BamIndexValidator.IndexValidationStringency INDEX_VALIDATION_STRINGENCY
@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(java.lang.String[] args)
protected int doWork()
CommandLineProgram
doWork
in class CommandLineProgram
protected java.lang.String[] customCommandLineValidation()
CommandLineProgram
customCommandLineValidation
in class CommandLineProgram