SVA VNTR polymorphisms¶
Applies to GraffiTE v1.1
Verified against v1.1.0.0 at commit bf51777. The
2024 paper describes v1.0, which
differs in places; see v1.0 vs v1.1.
SVA structure¶
An SVA element is a composite: a hexamer repeat at the 5' end, an Alu-like region, a variable number of tandem repeats (the VNTR), a SINE-R region derived from an endogenous retrovirus, and a polyA tail. The VNTR is made of GC-rich units of roughly 37 to 50 bp, and its copy number varies between elements and between alleles of the same element.
VNTR-only polymorphisms¶
Because the VNTR is a tandem array, it changes length by replication slippage or unequal recombination without any transposition. Between two haplotypes that both carry the same SVA, one can have a longer VNTR than the other, and an SV caller reports that difference as an insertion or a deletion of a few hundred bp. RepeatMasker then annotates the variant sequence as SVA, since VNTR sequence is SVA sequence, and without a rule to catch it the variant counts as an SVA insertion polymorphism when no element moved.
GraffiTE recognizes these by where the hit lands on the consensus: a variant whose single SVA fragment sits entirely inside the VNTR region of its subfamily is a VNTR-only polymorphism.
VNTR coordinates by subfamily¶
The VNTR interval on each subfamily consensus, as fixed in annotate_vcf.R:
| Subfamily | VNTR start | VNTR end |
|---|---|---|
SVA_A |
436 | 855 |
SVA_B |
431 | 867 |
SVA_C |
432 | 851 |
SVA_D |
432 | 689 |
SVA_E |
428 | 864 |
SVA_F |
435 | 857 |
bin/annotate_vcf.R:132-134
The coordinates are those of the Dfam human consensus sequences with those names, so the rule
only fires for a library that uses them. A hit named otherwise (SVA_F1, or a species-specific
name) is left as is.
How GraffiTE reclassifies them¶
A hit is a VNTR-only polymorphism when all of these hold:
bin/annotate_vcf.R:136-149
- its class is
Retroposon/SVA; - it is a single RepeatMasker fragment;
- its name is one of the six subfamilies above;
- its start on the consensus is greater than the subfamily's VNTR start, and its end is less than the VNTR end (strictly inside on both sides).
Such a hit is then written with a (VNTR_only) suffix on its name in repeat_ids, and its
entry in matching_classes becomes Simple_repeat instead of Retroposon/SVA. The hit is
still counted in n_hits and still contributes to total_repeat_span.
bin/annotate_vcf.R:151-156
The downstream filters read the relabeled fields:
- The trusted subset admits a
Simple_repeatrecord without testing itsULTRA_TR_span, so a VNTR expansion (which is all tandem repeat) is not excluded on that ground.module/main.nf:17 - The
--humanfilter admitsSimple_repeatrecords whoserepeat_idsmatch--human_sva_ids(default^SVA_[DEF]), without requiring a polyA tail, so VNTR polymorphisms of the young subfamilies reachpangenome.human.vcf, distinguishable from SVA insertions by the suffix.module/main.nf:543,545,550,nextflow.config:72
To count SVA insertion polymorphisms alone, exclude them:
VNTR records in the subsets¶
pangenome.trusted.vcf and pangenome.human.vcf are not a VNTR catalog
On the dataset below they keep one VNTR-only record in eleven, and the ones they keep are
the longest. Read pangenome.vcf for VNTR work. A later release will size these records in
VNTR units instead of bp.
Both subsets require |SVLEN| of at least 250 bp (--trusted_min_svlen,
--human_min_svlen). We set that threshold for insertions, where 250 bp is a truncated Alu.
The VNTR unit is about 49 bp, so the same threshold requires a VNTR change to span five units, and
most changes are smaller.
Measured on the 20-genome HPRC assembly set (PAV discovery, graph genotyping) used for the v1.1 human analysis:
| records | |
|---|---|
repeat_ids~"VNTR_only" in the annotated callset |
1,141 |
of those, \|SVLEN\| < 250 bp, so dropped by the default |
1,039 (91%) |
| median length change | 126 bp |
The length distribution peaks at 50, 78, 98, 127, 176 and 225 bp. Those are sums of a 49 bp and a 78 bp VNTR unit, with 127 = 49 + 78 as the higher-order repeat, and the 250 bp default sits above every one of them.
--human_sva_ids cuts further. GraffiTE matches it against repeat_ids, which for a VNTR-only
record names the consensus the VNTR sequence scored best against. That is not the subfamily of
the element hosting it: on the dataset above the two agree for 402 of 1,138 records (35%), and
65% of the VNTR changes sitting in an SVA_A, SVA_B or SVA_C element are annotated to an old
consensus. The default ^SVA_[DEF] therefore drops them. That filter alone takes SVA_A host
elements from 20.4% carrying a variable VNTR to 3.2%, which looks like a difference between
subfamilies and is not one.
With both filters off, 20% of reference SVA_A elements of at least 1 kb in CHM13v2 carry a variable VNTR across the 20 samples, and 54% of SVA_F elements do. With both filters on, 0% and 10%.
The SV callers set a floor below that. The PAV path keeps |SVLEN| > 50
module/main.nf:170, and the sniffles and svim-asm paths require 100 bp
module/main.nf:113,131,187. On the run above the smallest annotated
VNTR record is 50 bp, about one unit, so single-unit changes sit at the edge of what the
callset records.
Working with the full set¶
Take the VNTR-only records from pangenome.vcf, which carries no size or subfamily filter, and
apply your own rules:
Genotypes for the same records are in the merged genotyped VCF, which GraffiTE annotates from
pangenome.vcf and likewise does not filter.
To get them inside pangenome.human.vcf instead, lower the threshold and widen the subfamily
list:
Both changes loosen the filter for SVA insertions too, which is usually not what you want, so
prefer reading pangenome.vcf unless you need the whole subset relaxed.
In v1.0 the same records were flagged with mam_filter_2=VNTR_ONLY:<family>:<start>:<end>,
only with --mammal, and kept their Retroposon/SVA class.