Collect metrics to quantify single-base sequencing artifacts.
This tool examines two sources of sequencing errors associated with hybrid selection protocols. These errors are divided into two broad categories, pre-adapter and bait-bias. Pre-adapter errors can arise from laboratory manipulations of a nucleic acid sample e.g. shearing and occur prior to the ligation of adapters for PCR amplification (hence the name pre-adapter).
Bait-bias artifacts occur during or after the target selection step, and correlate with substitution rates that are 'biased', or higher for sites having one base on the reference/positive strand relative to sites having the complementary base on that strand. For example, during the target selection step, a (G>T) artifact might result in a higher substitution rate at sites with a G on the positive strand (and C on the negative), relative to sites with the flip (C positive)/(G negative). This is known as the 'G-Ref' artifact.
This tool produces four files; summary and detail metrics files for both pre-adapter and bait-bias artifacts. The detailed metrics show the error rates for each type of base substitution within every possible triplet base configuration. Error rates associated with these substitutions are Phred-scaled and provided as quality scores, the lower the value, the more likely it is that an alternate base call is due to an artifact. The summary metrics provide likelihood information on the 'worst-case' errors.
java -jar picard.jar CollectSequencingArtifactMetrics \Please see the metrics at the following links PreAdapterDetailMetrics, PreAdapterSummaryMetrics, BaitBiasDetailMetrics, and BaitBiasSummaryMetrics for complete descriptions of the output metrics produced by this tool.
Category Diagnostics and Quality Control
OverviewQuantify substitution errors caused by mismatched base pairings during various stages of sample / library prep. We measure two distinct error types - artifacts that are introduced before the addition of the read1/read2 adapters ("pre adapter") and those that are introduced after target selection ("bait bias"). For each of these, we provide summary metrics as well as detail metrics broken down by reference context (the ref bases surrounding the substitution event). For a deeper explanation, see Costello et al. 2013: http://www.ncbi.nlm.nih.gov/pubmed/23303777
CollectSequencingArtifactMetrics (Picard) specific arguments
This table summarizes the command-line arguments that are specific to this tool. For more details on each argument, see the list further down below the table or click on an argument name to jump directly to that entry in the list.
|Argument name(s)||Default value||Summary|
|Input SAM or BAM file.|
|The file to write the output to.|
|Reference sequence file.|
|Optional Tool Arguments|
||read one or more arguments files and add them to the command line|
|true||If true (default), then the sort order in the header file will be ignored.|
||1||The number of context bases to include on each side of the assayed base.|
||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.|
||VCF format dbSNP file, used to exclude regions around known polymorphisms from analysis.|
|Append the given file extension to all metric file names (ex. OUTPUT.pre_adapter_summary_metrics.EXT). None if null|
|false||display the help message|
|false||Include duplicate reads. If set to true then all reads flagged as duplicates will be included as well.|
|false||Whether or not to include non-PF reads.|
|false||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.|
||An optional list of intervals to restrict analysis to.|
|600||The maximum insert size for a read to be included in analysis. Set to 0 to have no maximum.|
|60||The minimum insert size for a read to be included in analysis.|
|30||The minimum mapping quality score for a base to be included in analysis.|
|20||The minimum base quality score for a base to be included in analysis.|
||0||Stop after processing N reads, mainly for debugging.|
|false||Set to true if mate pairs are being sequenced from the same strand, i.e. they're expected to face the same direction.|
||true||When available, use original quality scores for filtering.|
||false||display the version number for this tool|
|Optional Common Arguments|
||5||Compression level for all compressed files created (e.g. BAM and VCF).|
||false||Whether to create an index when writing VCF or coordinate sorted BAM output.|
||false||Whether to create an MD5 digest for any BAM or FASTQ files created.|
||client_secrets.json||Google Genomics API client_secrets.json file path.|
||500000||When writing files that need to be sorted, this will specify the number of records stored in RAM before spilling to disk. Increasing this number reduces the number of file handles needed to sort the file, and increases the amount of RAM needed.|
||false||Whether to suppress job-summary info on System.err.|
||One or more directories with space available to be used by this program for temporary storage of working files|
|false||Use the JDK Deflater instead of the Intel Deflater for writing compressed output|
|false||Use the JDK Inflater instead of the Intel Inflater for reading compressed input|
||STRICT||Validation stringency for all SAM files read by this program. Setting stringency to SILENT can improve performance when processing a BAM file in which variable-length data (read, qualities, tags) do not otherwise need to be decoded.|
||INFO||Control verbosity of logging.|
||false||display hidden arguments|
Arguments in this list are specific to this tool. Keep in mind that other arguments are available that are shared with other tools (e.g. command-line GATK arguments); see Inherited arguments above.
read one or more arguments files and add them to the command line
--ASSUME_SORTED / -AS
If true (default), then the sort order in the header file will be ignored.
Compression level for all compressed files created (e.g. BAM and VCF).
int 5 [ [ -∞ ∞ ] ]
The number of context bases to include on each side of the assayed base.
int 1 [ [ -∞ ∞ ] ]
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.
Whether to create an index when writing VCF or coordinate sorted BAM output.
Whether to create an MD5 digest for any BAM or FASTQ files created.
VCF format dbSNP file, used to exclude regions around known polymorphisms from analysis.
--FILE_EXTENSION / -EXT
Append the given file extension to all metric file names (ex. OUTPUT.pre_adapter_summary_metrics.EXT). None if null
Google Genomics API client_secrets.json file path.
--help / -h
display the help message
--INCLUDE_DUPLICATES / -DUPES
Include duplicate reads. If set to true then all reads flagged as duplicates will be included as well.
--INCLUDE_NON_PF_READS / -NON_PF
Whether or not to include non-PF reads.
--INCLUDE_UNPAIRED / -UNPAIRED
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.
--INPUT / -I
Input SAM or BAM file.
R File null
An optional list of intervals to restrict analysis to.
Integer 500000 [ [ -∞ ∞ ] ]
--MAXIMUM_INSERT_SIZE / -MAX_INS
The maximum insert size for a read to be included in analysis. Set to 0 to have no maximum.
int 600 [ [ -∞ ∞ ] ]
--MINIMUM_INSERT_SIZE / -MIN_INS
The minimum insert size for a read to be included in analysis.
int 60 [ [ -∞ ∞ ] ]
The minimum mapping quality score for a base to be included in analysis.
int 30 [ [ -∞ ∞ ] ]
The minimum base quality score for a base to be included in analysis.
int 20 [ [ -∞ ∞ ] ]
--OUTPUT / -O
The file to write the output to.
R File null
Whether to suppress job-summary info on System.err.
--REFERENCE_SEQUENCE / -R
Reference sequence file.
R File null
--showHidden / -showHidden
display hidden arguments
Stop after processing N reads, mainly for debugging.
long 0 [ [ -∞ ∞ ] ]
--TANDEM_READS / -TANDEM
Set to true if mate pairs are being sequenced from the same strand, i.e. they're expected to face the same direction.
--USE_JDK_DEFLATER / -use_jdk_deflater
Use the JDK Deflater instead of the Intel Deflater for writing compressed output
--USE_JDK_INFLATER / -use_jdk_inflater
Use the JDK Inflater instead of the Intel Inflater for reading compressed input
When available, use original quality scores for filtering.
The --VALIDATION_STRINGENCY argument is an enumerated type (ValidationStringency), which can have one of the following values:
Control verbosity of logging.
The --VERBOSITY argument is an enumerated type (LogLevel), which can have one of the following values:
display the version number for this tool
GATK version 18.104.22.168-SNAPSHOT built at Thu, 19 Aug 2021 09:49:28 -0700.