9e041b5e2a4a27d79e1fa71c218952bf37c427b1
max
  Fri Apr 10 04:22:18 2020 -0700
fixing clinvar range filter, refs #24850

diff --git src/hg/makeDb/trackDb/human/trackDb.clinvarTest.ra src/hg/makeDb/trackDb/human/trackDb.clinvarTest.ra
index 5691c82..a9e2a43 100644
--- src/hg/makeDb/trackDb/human/trackDb.clinvarTest.ra
+++ src/hg/makeDb/trackDb/human/trackDb.clinvarTest.ra
@@ -5,38 +5,47 @@
 group phenDis
 visibility hide
 type bed 12 +
 itemRgb on
 urls rcvAcc="https://www.ncbi.nlm.nih.gov/clinvar/$$/" geneId="https://www.ncbi.nlm.nih.gov/gene/$$" snpId="https://www.ncbi.nlm.nih.gov/projects/SNP/snp_ref.cgi?rs=$$" nsvId="https://www.ncbi.nlm.nih.gov/dbvar/variants/$$/" origName="https://www.ncbi.nlm.nih.gov/clinvar/variation/$$/"
 scoreLabel ClinVar Star-Rating (0-4)
 
     track clinvarMain
     shortLabel ClinVar Short Variants
     longLabel ClinVar Short Variants <= 100bp
     visibility pack
     parent clinvar
     priority 1
     type bigBed 12 +
     filterValues._clinSignCode BN|benign,LB|likely benign,CF|conflicting,PG|pathogenic,LP|likely pathogenic,UC|uncertain,OT|other
-    filterType._clinSign singleList
+    filterType._clinSignCode singleList
+    filterValues._originCode GERM|germline,SOM|somatic,GERMSOM|germline/somatic,NOVO|de novo,UNK|unknown
+    filterType._originCode singleList
+    filterValues._allTypeCode SNV|single nucleotide variant,INS|insertion,DEL|deletion,INDEL|insertion-deletion,dupl|duplication,OTH|other
+    filterType._allTypeCode singleList
     filterValues.origin not-reported,uniparental,tested-inconclusive,biparental,not applicable,paternal,maternal,inherited,de novo,somatic,not provided,unknown,germline
-    filterType.origin multipleListOr
+    filterType.origin multipleListOnlyOr
     filterByRange._valLen on
+    filterLimits._varLen 0:99999999
     mouseOverField _mouseOver
     bigDataUrl /gbdb/$D/bbi/clinvar/clinvarMain.bb
 
     track clinvarCnv
     shortLabel ClinVar Long Variants
     longLabel ClinVar Long Variants > 100bp (mostly Copy-Number Variants)
     visibility pack
     type bigBed 12 +
     parent clinvar
     priority 2
+    filterValues._originCode GERM|germline,SOM|somatic,GERMSOM|germline/somatic,NOVO|de novo,UNK|unknown
+    filterType._originCode singleList
+    filterValues._allTypeCode SNV|single nucleotide variant,INS|insertion,DEL|deletion,INDEL|insertion-deletion,dupl|duplication,OTH|other
+    filterType._allTypeCode singleList
     filterValues._clinSignCode BN|benign,LB|likely benign,CF|conflicting,PG|pathogenic,LP|likely pathogenic,UC|uncertain,OT|other
     filterType._clinSign singleList
     filterValues.origin not-reported,uniparental,tested-inconclusive,biparental,not applicable,paternal,maternal,inherited,de novo,somatic,not provided,unknown,germline
-    filterType.origin multipleListOr
+    filterType.origin multipleListOnlyOr
     filter._varLen 0
     filterByRange._varLen on
-    filterByRange.bullshit on
+    filterLimits._varLen 0:99999999
     mouseOverField _mouseOver
     bigDataUrl /gbdb/$D/bbi/clinvar/clinvarCnv.bb