• Diagnostics and Quality Control Tools
  • ASEReadCounter
  • AnalyzeCovariates
  • CallableLoci
  • CheckPileup
  • CompareCallableLoci
  • ContEst
  • CountBases
  • CountIntervals
  • CountLoci
  • CountMales
  • CountRODs
  • CountRODsByRef
  • CountReadEvents
  • CountReads
  • CountTerminusEvent
  • DepthOfCoverage
  • DiagnoseTargets
  • DiffObjects
  • ErrorRatePerCycle
  • FastaStats
  • FindCoveredIntervals
  • FlagStat
  • GCContentByInterval
  • GatherBqsrReports
  • Pileup
  • PrintRODs
  • QualifyMissingIntervals
  • ReadClippingStats
  • ReadGroupProperties
  • ReadLengthDistribution
  • SimulateReadsForVariants
  • Sequence Data Processing Tools
  • BaseRecalibrator
  • ClipReads
  • IndelRealigner
  • LeftAlignIndels
  • PrintReads
  • RealignerTargetCreator
  • SplitNCigarReads
  • SplitSamFile
  • Variant Discovery Tools
  • ApplyRecalibration
  • CalculateGenotypePosteriors
  • GATKPaperGenotyper
  • GenotypeGVCFs
  • HaplotypeCaller
  • MuTect2
  • RegenotypeVariants
  • UnifiedGenotyper
  • VariantRecalibrator
  • Variant Evaluation Tools
  • GenotypeConcordance
  • ValidateVariants
  • VariantEval
  • VariantFiltration
  • Variant Manipulation Tools
  • CatVariants
  • CombineGVCFs
  • CombineVariants
  • HaplotypeResolver
  • LeftAlignAndTrimVariants
  • PhaseByTransmission
  • RandomlySplitVariants
  • ReadBackedPhasing
  • SelectHeaders
  • SelectVariants
  • ValidationSiteSelector
  • VariantAnnotator
  • VariantsToAllelicPrimitives
  • VariantsToBinaryPed
  • VariantsToTable
  • VariantsToVCF

  • Annotation Modules
  • AS_BaseQualityRankSumTest
  • AS_FisherStrand
  • AS_InbreedingCoeff
  • AS_InsertSizeRankSum
  • AS_MQMateRankSumTest
  • AS_MappingQualityRankSumTest
  • AS_QualByDepth
  • AS_RMSMappingQuality
  • AS_ReadPosRankSumTest
  • AS_StrandOddsRatio
  • AlleleBalance
  • AlleleBalanceBySample
  • AlleleCountBySample
  • BaseCounts
  • BaseCountsBySample
  • BaseQualityRankSumTest
  • BaseQualitySumPerAlleleBySample
  • ChromosomeCounts
  • ClippingRankSumTest
  • ClusteredReadPosition
  • Coverage
  • DepthPerAlleleBySample
  • DepthPerSampleHC
  • ExcessHet
  • FisherStrand
  • FractionInformativeReads
  • GCContent
  • GenotypeSummaries
  • HaplotypeScore
  • HardyWeinberg
  • HomopolymerRun
  • InbreedingCoeff
  • LikelihoodRankSumTest
  • LowMQ
  • MVLikelihoodRatio
  • MappingQualityRankSumTest
  • MappingQualityZero
  • MappingQualityZeroBySample
  • NBaseCount
  • OxoGReadCounts
  • PossibleDeNovo
  • QualByDepth
  • RMSMappingQuality
  • ReadPosRankSumTest
  • SampleList
  • SnpEff
  • SpanningDeletions
  • StrandAlleleCountsBySample
  • StrandBiasBySample
  • StrandOddsRatio
  • TandemRepeatAnnotator
  • TransmissionDisequilibriumTest
  • VariantType
  • Read Filters
  • BadCigarFilter
  • BadMateFilter
  • CountingFilteringIterator.CountingReadFilter
  • DuplicateReadFilter
  • FailsVendorQualityCheckFilter
  • HCMappingQualityFilter
  • LibraryReadFilter
  • MalformedReadFilter
  • MappingQualityFilter
  • MappingQualityUnavailableFilter
  • MappingQualityZeroFilter
  • MateSameStrandFilter
  • MaxInsertSizeFilter
  • MissingReadGroupFilter
  • NoOriginalQualityScoresFilter
  • NotPrimaryAlignmentFilter
  • OverclippedReadFilter
  • Platform454Filter
  • PlatformFilter
  • PlatformUnitFilter
  • ReadGroupBlackListFilter
  • ReadLengthFilter
  • ReadNameFilter
  • ReadStrandFilter
  • ReassignMappingQualityFilter
  • ReassignOneMappingQualityFilter
  • ReassignOriginalMQAfterIndelRealignmentFilter
  • SampleFilter
  • SingleReadGroupFilter
  • UnmappedReadFilter
  • Resource File Codecs
  • BeagleCodec
  • BedTableCodec
  • RawHapMapCodec
  • RefSeqCodec
  • SAMPileupCodec
  • SAMReadCodec
  • TableCodec

  • Reference Utilities
  • FastaAlternateReferenceMaker
  • FastaReferenceMaker
  • QCRef
  • Showing docs for version 3.7-0


    ErrorRatePerCycle

    Compute the read error rate per position

    Category Diagnostics and Quality Control Tools

    Traversal LocusWalker

    PartitionBy LOCUS


    Overview

    This tool computes the read error rate per position in sequence reads. It does this in the original 5'->3' orientation that the read had coming off the machine. It then emits a GATKReport containing readgroup, cycle, mismatches, counts, qual, and error rate for each read group in the input BAMs.

    Input

    Any number of BAM files

    Output

    A GATKReport containing readgroup, cycle, mismatches, counts, qual, and error rate. For example, running this tool on the NA12878 data sets yields the following table:

          ##:GATKReport.v0.2 ErrorRatePerCycle : The error rate per sequenced position in the reads
          readgroup  cycle  mismatches  counts  qual  errorrate
          20FUK.1        0          80   23368    25   3.47e-03
          20FUK.1        1          40   23433    28   1.75e-03
          20FUK.1        2          36   23453    28   1.58e-03
          20FUK.1        3          26   23476    29   1.15e-03
          20FUK.1        4          32   23495    29   1.40e-03
          up to 101 cycles
          20FUK.2        0          77   20886    24   3.73e-03
          20FUK.2        1          28   20920    29   1.39e-03
          20FUK.2        2          24   20931    29   1.19e-03
          20FUK.2        3          30   20940    28   1.48e-03
          20FUK.2        4          25   20948    29   1.24e-03
          up to 101 cycles
          20FUK.3        0          78   22038    24   3.58e-03
          20FUK.3        1          40   22091    27   1.86e-03
          20FUK.3        2          23   22108    30   1.09e-03
          20FUK.3        3          36   22126    28   1.67e-03
          

    Usage example

        java -jar GenomeAnalysisTK.jar \
          -T ErrorRatePerCycle \
          -R reference.fasta \
          -I my_sequence_reads.bam \
          -o error_rates.gatkreport.txt
      

    Caveat

    When it is run on paired-end sequence data, this tool only uses the first read in a pair.


    Additional Information

    Read filters

    These Read Filters are automatically applied to the data by the Engine before processing by ErrorRatePerCycle.

    Downsampling settings

    This tool applies the following downsampling settings by default.


    Command-line Arguments

    Engine arguments

    All tools inherit arguments from the GATK Engine' "CommandLineGATK" argument collection, which can be used to modify various aspects of the tool's function. For example, the -L argument directs the GATK engine to restrict processing to specific genomic intervals; or the -rf argument allows you to apply certain read filters to exclude some of the data from the analysis.

    ErrorRatePerCycle 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
    Optional Outputs
    --out
     -o
    stdout An output file created by the walker. Will overwrite contents if file exists
    Optional Parameters
    --min_base_quality_score
     -mbq
    0 Minimum base quality required to consider a base for calling
    --min_mapping_quality_score
     -mmq
    20 Minimum read mapping quality required to consider a read for calling

    Argument details

    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.


    --min_base_quality_score / -mbq

    Minimum base quality required to consider a base for calling

    Integer  0  [ [ -∞  ∞ ] ]


    --min_mapping_quality_score / -mmq

    Minimum read mapping quality required to consider a read for calling

    Integer  20  [ [ -∞  ∞ ] ]


    --out / -o

    An output file created by the walker. Will overwrite contents if file exists

    PrintStream  stdout