bac95a147f49cd331052e597006e04b3deee40fc max Wed Apr 22 10:43:20 2026 -0700 lrSv/srSv: human-readable SV type filter labels, script cleanups Add human-readable labels to the supertrack-level svType filter on both the lrSv and srSv supertracks using the "CODE|CODE (Long name)" filterValues syntax: DEL -> "DEL (Deletion)", INS -> "INS (Insertion)", etc. Labels keep the short code up front so users can match what hgTracks shows next to each feature. Also sweep in the in-progress converter/as-file cleanups under scripts/lrSv/ and scripts/srSv/ (introduction of lrSvCommon.py helpers, consistent insLen / svLen / AC column naming, tightened field-description text) that had been piling up as an unstaged working tree. refs #36258 diff --git src/hg/makeDb/scripts/srSv/onekg3202Sr.as src/hg/makeDb/scripts/srSv/onekg3202Sr.as index 53dff9d8a37..1962100864b 100644 --- src/hg/makeDb/scripts/srSv/onekg3202Sr.as +++ src/hg/makeDb/scripts/srSv/onekg3202Sr.as @@ -1,30 +1,31 @@ table lrSv1kg3202Sr "1000 Genomes 3202-sample short-read GATK-SV structural variants (Byrska-Bishop 2022)" ( string chrom; "Chromosome" uint chromStart; "Start position" uint chromEnd; "End position" string name; "Variant ID" uint score; "Score" char[1] strand; "Strand" uint thickStart; "Thick start (same as chromStart)" uint thickEnd; "Thick end (same as chromEnd)" uint reserved; "Item color" string svType; "SV Type|DEL, INS, DUP, INV, CPX, CTX or CNV" - int svLen; "SV Length|Absolute length of the SV in base pairs" - uint alleleCount; "Allele Count (AC)" + int svLen; "SV Length|Length of the variant on the reference in base pairs" + int insLen; "Insertion Length|Length of inserted sequence, 0 for DEL/INV/CPX" + int AC; "Allele Count (AC)" uint alleleNumber; "Allele Number (AN)" float alleleFreq; "Allele Frequency (AF)" float popmaxAf; "Population Max AF|Highest AF across the five superpopulations" float afAfr; "AF African" float afAmr; "AF Admixed American" float afAsn; "AF East Asian" float afEur; "AF European" float afSan; "AF South Asian" uint nHet; "Het Carriers|Number of heterozygous samples" uint nHomalt; "Hom-alt Carriers|Number of homozygous-alternate samples" string algorithms; "Source Algorithms|SV callers contributing evidence (depth, PE, SR, ...)" string source; "Source Pipeline|Upstream SV pipeline (gatksv, svtools, etc.)" string filterStatus; "Filter Status|PASS, LowQual, MinGQ, etc. (VCF FILTER column)" string chr2; "Second Chromosome|For translocations (CTX)" )