Showing tool doc from version | The latest version is


Allele-specific rank sum test for relative positioning of REF versus ALT allele within reads (AS_ReadPosRankSum)

Category Variant Annotations


Allele-specific Rank Sum Test for relative positioning of REF versus ALT allele within reads

This variant-level annotation tests whether there is evidence of bias in the position of alleles within the reads that support them, between the reference and each alternate allele. To be clear, it does so separately for each alternate allele.

Seeing an allele only near the ends of reads is indicative of error, because that is where sequencers tend to make the most errors. However, some variants located near the edges of sequenced regions will necessarily be covered by the ends of reads, so we can't just set an absolute "minimum distance from end of read" threshold. That is why we use a rank sum test to evaluate whether there is a difference in how well the reference allele and the alternate allele are supported.

The ideal result is a value close to zero, which indicates there is little to no difference in where the alleles are found relative to the ends of reads. A negative value indicates that the alternate allele is found at the ends of reads more often than the reference allele. Conversely, a positive value indicates that the reference allele is found at the ends of reads more often than the alternate allele.

This annotation can be used to evaluate confidence in a variant call and is a recommended covariate for variant recalibration (VQSR). Finding a statistically significant difference in relative position either way suggests that the sequencing process may have been biased or affected by an artifact. In practice, we only filter out low negative values when evaluating variant quality because the idea is to filter out variants for which the quality of the data supporting the alternate allele is comparatively low. The reverse case, where it is the quality of data supporting the reference allele that is lower (resulting in positive ranksum scores), is not really informative for filtering variants.

Statistical notes

The value output for this annotation is the u-based z-approximation from the Mann-Whitney-Wilcoxon Rank Sum Test for site position within reads (position within reads supporting REF vs. position within reads supporting ALT). See the method document on statistical tests for a more detailed explanation of the ranksum test.


  • The read position rank sum test can not be calculated for sites without a mixture of reads showing both the reference and alternate alleles.
  • Uninformative reads are not used in these annotations.

Related annotations

  • ReadPosRankRankSumTest outputs a version of this annotation that includes all alternate alleles in a single calculation.

Return to top

See also General Documentation | Tool Docs Index Tool Docs Index | Support Forum

GATK version built at 09-43-2018 09:43:10.