7e87cadb469b4e0eb4fb7f973154357cfe7fc345 lrnassar Mon Sep 21 15:56:18 2026 -0700 QA fixes for the mei (Mobile Insertions) track collection. refs #37524 Fix two data bugs found during QA and rebuild the affected bigBeds. meiEul1dbToBed.py looked up samples and individuals by name, but euL1db joins on 1-based row numbers, so neither join ever matched and the individual count, tissues, clinical conditions and populations were empty on all 8,991 insertions while the contributing-samples table printed row numbers. Both loaders now key on the row number, the table prints the sample name, and the adjacent population filter is case-insensitive so it actually drops "unknown". meiHgsvc3CsvToBed.py took alt[1:] on every record, which dropped the first base of the element on the 96 GRCh38 and 111 T2T-CHM13 records where PALMER2 is the only caller and ALT carries no anchor base; it now prefers INFO SEQ, which always matches SVLEN. Correct seven statements on the description pages against their sources: the HGSVC3 single-caller split was attributed to PALMER rather than L1ME-AID, its orthogonal concordance was 90.8% rather than 92.5%, euL1db was credited with aligning the L1HS consensus when the paper says it was processed from our RepeatMasker track, DeepMEI's network was described as a classifier rather than a genotyper and given the wrong training set, euL1db listed two detection methods absent from the data, and HMEID contradicted itself on the MELT ASSESS cutoff. Also: the SweGen bigDataUrl now points at _swegen.bb so the restricted callset is kept off the download server; the container page no longer claims the whole collection is long-read, lists the two euL1db subtracks, scopes its display conventions to the subtracks they describe, and cites all six papers; dead and wrong track links are repointed and pinned to a db; $db replaces hardcoded hg38 in paths on pages that serve three assemblies; the euL1db labels no longer carry hg38 counts and a lift note that made no sense on hg19; all six subtracks gain a dataVersion; the euL1db filter ranges match the data; and five autoSql field descriptions match what the files contain. Document the gbdb symlinks and the QA changes in doc/hg38/mei.txt, correct the HMEID bedToBigBed type there, and add an hg19.txt pointer since hg19 carries the two euL1db subtracks. diff --git src/hg/makeDb/trackDb/human/meiDeepmei1kg.html src/hg/makeDb/trackDb/human/meiDeepmei1kg.html index eb4171495cc..9ba75c0e97a 100644 --- src/hg/makeDb/trackDb/human/meiDeepmei1kg.html +++ src/hg/makeDb/trackDb/human/meiDeepmei1kg.html @@ -1,141 +1,156 @@
This track shows mobile element insertions (MEIs) called by DeepMEI on the 3,202 high-coverage 1000 Genomes Project samples (NYGC re-sequencing) aligned to GRCh38. At each site, at least one of the 3,202 samples carries a non-reference insertion of an Alu, L1 (LINE-1) -or SVA mobile element. DeepMEI is a convolutional neural-network -caller that scans short-read alignments for the read-pair, split-read -and clipping signatures of a new insertion and classifies each -candidate site as Alu, L1 or SVA. +or SVA mobile element. DeepMEI screens short-read alignments for +the soft-clipped and discordant read signatures of a new insertion, +assigns each candidate to Alu, L1 or SVA by aligning it to mobile +element consensus sequences, and then genotypes the site with a +convolutional neural network.
| Class | MEIs |
|---|---|
| Alu | 68,282 |
| L1 | 16,891 |
| SVA | 6,444 |
| Total | 91,617 |
For each MEI, the track lists the element class, the alt-allele count, allele number and allele frequency across the 3,202 samples, the number of carrier samples, and the list of carrier sample IDs.
An insertion has zero length on the reference: it attaches between two adjacent reference bases without replacing any of them. Following the VCF convention used by DeepMEI and by the other long-read SV and MEI tracks, each MEI is drawn as a 1-bp block sitting on the anchor base — the reference base immediately to the left of the insertion attachment point. The inserted mobile element itself is not present in the reference and is therefore not drawn; the source VCF uses a symbolic ALT (e.g. <INS:ME:ALU>) and does not report the inserted sequence or its exact length, so neither is shown on this track. The item label is class-carrierCount.
Items are colored by element class:
The score column encodes the alt-allele frequency on a 0-1000 scale. Filters allow restricting to specific element classes, allele frequency and carrier counts.
++This callset carries no site-level quality filter: the FILTER column is +empty on all 91,617 records. It is also singleton-heavy, with 43,627 +sites (47.6%) called in a single sample. Raising the Carrier Sample +Count filter above 1 restricts the display to sites seen in more +than one individual. +
-DeepMEI is a deep convolutional neural network that detects -non-reference mobile element insertions from short-read whole-genome -sequencing. For every candidate site supported by an anomalous -read-pair, split-read or soft-clip signature, the surrounding alignment -pile-up is encoded as an image and passed through a CNN that classifies -the site as Alu, L1, SVA or background. The model was trained on -labelled MEIs from the 1000 Genomes phase 3 callset and orthogonal -long-read truth sets. For this track, DeepMEI was run on the +DeepMEI detects non-reference mobile element insertions from +short-read whole-genome sequencing. Candidate sites are found from +soft-clipped and discordant reads, and each candidate is assigned to +Alu, L1 or SVA by aligning the soft-clipped sequence against a +library of mobile element consensus sequences from Repbase. The surrounding alignment pile-up is then encoded +as a six-channel 351 × 100 image and passed through an Inception +v3 convolutional neural network, which returns probabilities for the +three genotypes homozygous reference, heterozygous and homozygous +insertion; the highest probability becomes the genotype call. The model +was trained on ten samples from the 1000 Genomes Project phase 4 +release, using the project's freeze_V3 structural variant calls as +labels after manual confirmation in IGV. Long-read data was used to +benchmark the tool rather than to train it. For this track, DeepMEI was +run on the high-coverage (~30×) Illumina re-sequencing of all 3,202 1000 Genomes Project samples produced by the New York Genome Center (NYGC), giving 6,404 haplotypes per site. See Xu et al. 2023 (bioRxiv) for full methodological details.
The original VCF was downloaded from the DeepMEI GitHub repository (file merge_1000g.latested.vcf.gz in DeepMEI/1000g_high_callset/) and converted to bigBed following the steps described in the makeDoc file. Conversion uses scripts in src/hg/makeDb/scripts/mei: VCF-style positions +target="_blank">src/hg/makeDb/scripts/mei, +and the track configuration is in trackDb/human/mei.ra: VCF-style positions (1-based POS, anchor base) are converted to half-open BED coordinates (chromStart = POS - 1, chromEnd = chromStart + 1), per-sample genotypes are tallied across the 3,202 samples, and items are colored by mobile element class.
The data can be explored interactively in table format with the Table Browser or the Data Integrator and exported from there to spreadsheet or tab-separated tables. From scripts, the data can -be accessed through our API, +be accessed through our API, track=meiDeepmei1kg.
For automated download and analysis, the genome annotation is stored in a bigBed file that can be downloaded from - + our download server. The file for this track is called -deepmei1kg.bb in /gbdb/hg38/mei/. Individual regions +deepmei1kg.bb in /gbdb/$db/mei/. Individual regions or the whole genome annotation can be obtained using our tool bigBedToBed, which can be compiled from the source code or downloaded as a precompiled binary for your system. Instructions for downloading source code and binaries can be found -here. +here. The tool can also be used to obtain features within a given range, e.g. -bigBedToBed http://hgdownload.soe.ucsc.edu/gbdb/hg38/mei/deepmei1kg.bb -chrom=chr21 -start=0 -end=100000000 stdout. +bigBedToBed http://hgdownload.soe.ucsc.edu/gbdb/$db/mei/deepmei1kg.bb -chrom=chr21 -start=0 -end=100000000 stdout.
The original annotation source data can be downloaded from the DeepMEI GitHub repository.
Thanks to Xiaofei Xu, Fengxiao Bu and colleagues for developing DeepMEI and releasing the 1000 Genomes MEI callset, and to the New York Genome Center for producing the underlying high-coverage 1000 Genomes re-sequencing data.
Xu X, Huang Y, Wang X, Cheng J, Yuan H, Bu F. Identification of mobile element insertion from whole genome sequencing data using deep neural network model. bioRxiv. 2023 March 8. doi:10.1101/2023.03.07.531451.
Byrska-Bishop M, Evani US, Zhao X, Basile AO, Abel HJ, Regier AA, Corvelo A, Clarke WE, Musunuri R, Nagulapalli K et al. High-coverage whole-genome sequencing of the expanded 1000 Genomes Project cohort including 602 trios. Cell. 2022 Sep 1;185(18):3426-3440.e19. PMID: 36055201; PMC: PMC9439720