@DocumentedFeature public class CollectSequencingArtifactMetrics extends SinglePassSamProgram
| Modifier and Type | Field | Description |
|---|---|---|
int |
CONTEXT_SIZE |
|
Set<String> |
CONTEXTS_TO_PRINT |
|
File |
DB_SNP |
|
String |
FILE_EXTENSION |
|
boolean |
INCLUDE_DUPLICATES |
|
boolean |
INCLUDE_NON_PF_READS |
|
boolean |
INCLUDE_UNPAIRED |
|
File |
INTERVALS |
|
int |
MAXIMUM_INSERT_SIZE |
|
int |
MINIMUM_INSERT_SIZE |
|
int |
MINIMUM_MAPPING_QUALITY |
|
int |
MINIMUM_QUALITY_SCORE |
|
boolean |
TANDEM_READS |
|
boolean |
USE_OQ |
COMPRESSION_LEVEL, CREATE_INDEX, CREATE_MD5_FILE, GA4GH_CLIENT_SECRETS, MAX_RECORDS_IN_RAM, QUIET, REFERENCE_SEQUENCE, referenceSequence, specialArgumentsCollection, TMP_DIR, USE_JDK_DEFLATER, USE_JDK_INFLATER, VALIDATION_STRINGENCY, VERBOSITYASSUME_SORTED, INPUT, OUTPUT, STOP_AFTER| Constructor | Description |
|---|---|
CollectSequencingArtifactMetrics() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
acceptRead(htsjdk.samtools.SAMRecord rec,
htsjdk.samtools.reference.ReferenceSequence ref) |
Should be implemented by subclasses to accept SAMRecords one at a time.
|
protected String[] |
customCommandLineValidation() |
Put any custom command-line validation in an override of this method.
|
protected void |
finish() |
Should be implemented by subclasses to do one-time finalization work.
|
protected boolean |
requiresReference() |
|
protected void |
setup(htsjdk.samtools.SAMFileHeader header,
File samFile) |
Should be implemented by subclasses to do one-time initialization work.
|
protected boolean |
usesNoRefReads() |
Can be overridden and set to false if the section of unmapped reads at the end of the file isn't needed.
|
getCommandLine, getCommandLineParser, getDefaultHeaders, getFaqLink, getMetricsFile, getStandardUsagePreamble, getStandardUsagePreamble, getVersion, hasWebDocumentation, instanceMain, instanceMainWithExit, makeReferenceArgumentCollection, parseArgs, setDefaultHeaders, useLegacyParserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoWork, makeItSo, setReferenceSequence@Argument(doc="An optional list of intervals to restrict analysis to.",
optional=true)
public File INTERVALS
@Argument(doc="VCF format dbSNP file, used to exclude regions around known polymorphisms from analysis.",
optional=true)
public File DB_SNP
@Argument(shortName="Q",
doc="The minimum base quality score for a base to be included in analysis.")
public int MINIMUM_QUALITY_SCORE
@Argument(shortName="MQ",
doc="The minimum mapping quality score for a base to be included in analysis.")
public int MINIMUM_MAPPING_QUALITY
@Argument(shortName="MIN_INS",
doc="The minimum insert size for a read to be included in analysis.")
public int MINIMUM_INSERT_SIZE
@Argument(shortName="MAX_INS",
doc="The maximum insert size for a read to be included in analysis. Set to 0 to have no maximum.")
public int MAXIMUM_INSERT_SIZE
@Argument(shortName="UNPAIRED",
doc="Include unpaired reads. If set to true then all paired reads will be included as well - MINIMUM_INSERT_SIZE and MAXIMUM_INSERT_SIZE will be ignored.")
public boolean INCLUDE_UNPAIRED
@Argument(shortName="DUPES",
doc="Include duplicate reads. If set to true then all reads flagged as duplicates will be included as well.")
public boolean INCLUDE_DUPLICATES
@Argument(shortName="NON_PF",
doc="Whether or not to include non-PF reads.")
public boolean INCLUDE_NON_PF_READS
@Argument(shortName="TANDEM",
doc="Set to true if mate pairs are being sequenced from the same strand, i.e. they\'re expected to face the same direction.")
public boolean TANDEM_READS
@Argument(doc="When available, use original quality scores for filtering.") public boolean USE_OQ
@Argument(doc="The number of context bases to include on each side of the assayed base.") public int CONTEXT_SIZE
@Argument(doc="If specified, only print results for these contexts in the detail metrics output. However, the summary metrics output will still take all contexts into consideration.",
optional=true)
public Set<String> CONTEXTS_TO_PRINT
@Argument(shortName="EXT",
doc="Append the given file extension to all metric file names (ex. OUTPUT.pre_adapter_summary_metrics.EXT). None if null",
optional=true)
public String FILE_EXTENSION
protected boolean requiresReference()
requiresReference in class CommandLineProgramprotected String[] customCommandLineValidation()
CommandLineProgramcustomCommandLineValidation in class CommandLineProgramprotected void setup(htsjdk.samtools.SAMFileHeader header,
File samFile)
SinglePassSamProgramsetup in class SinglePassSamProgramprotected void acceptRead(htsjdk.samtools.SAMRecord rec,
htsjdk.samtools.reference.ReferenceSequence ref)
SinglePassSamProgramacceptRead in class SinglePassSamProgramprotected void finish()
SinglePassSamProgramfinish in class SinglePassSamProgramprotected boolean usesNoRefReads()
SinglePassSamProgramusesNoRefReads in class SinglePassSamProgram