public class RevertOriginalBaseQualitiesAndAddMateCigar extends CommandLineProgram
Modifier and Type | Class and Description |
---|---|
static class |
RevertOriginalBaseQualitiesAndAddMateCigar.CanSkipSamFile
Used as a return for the canSkipSAMFile function.
|
Modifier and Type | Field and Description |
---|---|
java.io.File |
INPUT |
int |
MAX_RECORDS_TO_EXAMINE |
java.io.File |
OUTPUT |
boolean |
RESTORE_ORIGINAL_QUALITIES |
htsjdk.samtools.SAMFileHeader.SortOrder |
SORT_ORDER |
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 |
---|
RevertOriginalBaseQualitiesAndAddMateCigar() |
Modifier and Type | Method and Description |
---|---|
static RevertOriginalBaseQualitiesAndAddMateCigar.CanSkipSamFile |
canSkipSAMFile(java.io.File inputFile,
int maxRecordsToExamine,
boolean revertOriginalBaseQualities,
java.io.File referenceFasta)
Checks if we can skip the SAM/BAM file when reverting origin base qualities and adding mate cigars.
|
int |
doWork()
Do the work after command line has been parsed.
|
static void |
main(java.lang.String[] args)
Default main method impl.
|
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getNestedOptions, getNestedOptionsForHelp, getStandardUsagePreamble, getVersion, instanceMain, instanceMainWithExit, parseArgs, setDefaultHeaders
@Option(shortName="I", doc="The input SAM/BAM file to revert the state of.") public java.io.File INPUT
@Option(shortName="SO", doc="The sort order to create the reverted output file with.By default, the sort order will be the same as the input.", optional=true) public htsjdk.samtools.SAMFileHeader.SortOrder SORT_ORDER
@Option(shortName="OQ", doc="True to restore original qualities from the OQ field to the QUAL field if available.") public boolean RESTORE_ORIGINAL_QUALITIES
public RevertOriginalBaseQualitiesAndAddMateCigar()
public static void main(java.lang.String[] args)
public int doWork()
CommandLineProgram
doWork
in class CommandLineProgram
public static RevertOriginalBaseQualitiesAndAddMateCigar.CanSkipSamFile canSkipSAMFile(java.io.File inputFile, int maxRecordsToExamine, boolean revertOriginalBaseQualities, java.io.File referenceFasta)
inputFile
- the SAM/BAM input filemaxRecordsToExamine
- the maximum number of records to examine before quittingrevertOriginalBaseQualities
- true if we are to revert original base qualities, false otherwise