@DocumentedFeature public final class CompareBaseQualities extends PicardCommandLineProgram
gatk CompareBaseQualities \ input_1.bam \ input_2.bam \ -O diff.txt
An example result with identical base qualities between two inputs
-----------CompareMatrix summary------------ all 10000 quality scores are the same ---------CompareMatrix full matrix (non-zero entries) ---------- QRead1 QRead2 diff count 40 40 0 10000 -----------CompareMatrix-binned summary------------ all 10000 quality scores are the same ---------CompareMatrix-binned full matrix (non-zero entries) ---------- QRead1 QRead2 diff count 40 40 0 10000
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
outputFilename |
static java.lang.String |
ROUND_DOWN_QUANTIZED_LONG_NAME |
boolean |
roundDown
Round down quantized only works with the
STATIC_QUANTIZED_QUALS_LONG_NAME option. |
java.util.List<java.io.File> |
samFiles |
static java.lang.String |
STATIC_QUANTIZED_QUALS_LONG_NAME |
java.util.List<java.lang.Integer> |
staticQuantizationQuals
Return value is 0 if the two files have identical base qualities and non-zero otherwise.
|
static java.lang.String |
THROW_ON_DIFF_LONG_NAME |
protected boolean |
throwOnDiff |
COMPRESSION_LEVEL, CREATE_INDEX, CREATE_MD5_FILE, MAX_RECORDS_IN_RAM, REFERENCE_SEQUENCE, VALIDATION_STRINGENCY
GATK_CONFIG_FILE, logger, NIO_MAX_REOPENS, QUIET, specialArgumentsCollection, TMP_DIR, useJdkDeflater, useJdkInflater, VERBOSITY
Constructor and Description |
---|
CompareBaseQualities() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
doWork()
Do the work after command line has been parsed.
|
createSAMWriter, instanceMain
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getPluginDescriptors, getSupportInformation, getToolkitName, getToolStatusWarning, getUsage, getVersion, instanceMainPostParseArgs, isBetaFeature, isExperimentalFeature, onShutdown, onStartup, parseArgs, printLibraryVersions, printSettings, printStartupMessage, runTool, setDefaultHeaders, warnOnToolStatus
@PositionalArguments(minElements=2, maxElements=2) public java.util.List<java.io.File> samFiles
public static final java.lang.String THROW_ON_DIFF_LONG_NAME
public static final java.lang.String STATIC_QUANTIZED_QUALS_LONG_NAME
public static final java.lang.String ROUND_DOWN_QUANTIZED_LONG_NAME
@Argument(doc="Summary output file.", shortName="O", fullName="output", optional=true) protected java.lang.String outputFilename
@Argument(doc="Throw exception on difference.", fullName="throw-on-diff", optional=true) protected boolean throwOnDiff
@Advanced @Argument(doc="Use static quantized quality scores to a given number of levels (with --bqsr-recal-file)", fullName="static-quantized-quals", optional=true) public java.util.List<java.lang.Integer> staticQuantizationQuals
@Advanced @Argument(doc="Round down quality scores to nearest quantized value.", fullName="round-down-quantized", optional=true) public boolean roundDown
STATIC_QUANTIZED_QUALS_LONG_NAME
option. If enabled,
rounding is done in probability space to the nearest bin. Otherwise, the value is rounded to the
nearest bin that is smaller than the current bin.
Note: this option only works when STATIC_QUANTIZED_QUALS_LONG_NAME
is set.protected java.lang.Object doWork()
CommandLineProgram
doWork
in class CommandLineProgram