From 0194f98aab451d73fa2c66fb00f27758ff0bab87 Mon Sep 17 00:00:00 2001 From: GeiserX <9169332+GeiserX@users.noreply.github.com> Date: Sun, 15 Nov 2026 19:42:02 +0100 Subject: [PATCH 1/5] refactor(couple): run step 39's couple screen in og og couple screen and og couple genes replace bin/couple_report.py in scripts/39-couple.sh and the Nextflow COUPLE_CARRIER process. The screen reuses the depth rule of og-steps sv, the SMN1 rule of og-cn and the pedigree reader, so no rule exists twice. bin/couple_report.py, bin/cnvpytor_to_vcf.py and bin/paraphase_report.py are gone. Every assertion of tests/test_couple_report.py, test_paraphase_report.py and test_paralog_loci.py now lives in the og-couple and og-steps cargo tests. The Python tests that imported couple_report run og couple screen instead. The parity harness gets 37 couple cases. All agree byte for byte except two deliberate changes with goldens: the screen writes nothing when one couple fails (all-or-nothing), and the carrier list's header names og. Bead: D1 --- CHANGELOG.md | 3 + assets/carrier_genes.tsv | 6 +- assets/paralog_loci.tsv | 2 +- assets/paraphase_genes.tsv | 2 +- bin/cnvpytor_to_vcf.py | 44 - bin/collect_summary.py | 100 +- bin/couple_report.py | 1050 ------------- bin/family_report.py | 33 +- bin/paraphase_report.py | 58 - docs/35-paralogs.md | 8 +- docs/39-couple.md | 8 +- docs/cn-loci.md | 4 +- docs/rust.md | 6 +- modules/local/couple/main.nf | 6 +- modules/local/parascopy/main.nf | 2 +- rust/Cargo.lock | 9 + rust/README.md | 2 +- rust/crates/og-couple/Cargo.toml | 7 + rust/crates/og-couple/src/args.rs | 154 ++ rust/crates/og-couple/src/cn.rs | 273 ++++ rust/crates/og-couple/src/files.rs | 64 + rust/crates/og-couple/src/findings.rs | 671 +++++++++ rust/crates/og-couple/src/genes.rs | 532 ++++++- rust/crates/og-couple/src/lib.rs | 21 +- rust/crates/og-couple/src/list.rs | 190 +++ rust/crates/og-couple/src/prose.rs | 502 +++++++ rust/crates/og-couple/src/screen.rs | 430 +++++- rust/crates/og-couple/src/xml.rs | 193 +++ rust/crates/og-couple/tests/common/mod.rs | 148 ++ rust/crates/og-couple/tests/couple_report.rs | 1308 +++++++++++++++++ .../crates/og-couple/tests/paralog_readers.rs | 280 ++++ rust/crates/og-steps/src/sv.rs | 2 +- rust/crates/og-steps/tests/paralog_loci.rs | 501 +++++++ .../crates/og-steps/tests/paraphase_report.rs | 768 ++++++++++ scripts/35-paralogs.sh | 2 +- scripts/39-couple.sh | 6 +- scripts/ci/build-callability.sh | 2 +- scripts/ci/e2e-case-paths.tsv | 34 +- tests/demo/make_demo_sample.py | 44 +- tests/e2e/paralog-rows-1.sh | 4 +- tests/fake-docker/run-all-families.sh | 8 +- tests/parity/cases.tsv | 37 + tests/parity/gen/couple-oracle.sh | 29 + .../golden/couple-genes/rebuild/new.tsv | 27 + .../out/A_couple_carrier.tsv.absent | 0 .../out/B_couple_carrier.tsv.absent | 0 .../all-or-nothing/out/couple_A_B.md.absent | 0 .../all-or-nothing/out/couple_A_B.tsv.absent | 0 .../couple-screen/all-or-nothing/stdout | 0 tests/parity/inputs/couple-screen/A.vcf | 4 + .../inputs/couple-screen/A_cn_intervals.tsv | 7 + tests/parity/inputs/couple-screen/A_cnvs.vcf | 2 + tests/parity/inputs/couple-screen/A_cyp.tsv | 6 + tests/parity/inputs/couple-screen/A_depth.vcf | 6 + tests/parity/inputs/couple-screen/A_eh.vcf | 4 + tests/parity/inputs/couple-screen/A_full.vcf | 4 + tests/parity/inputs/couple-screen/A_hom.vcf | 3 + tests/parity/inputs/couple-screen/A_hypo.vcf | 5 + tests/parity/inputs/couple-screen/A_len.vcf | 11 + tests/parity/inputs/couple-screen/A_none.vcf | 2 + tests/parity/inputs/couple-screen/A_smn.tsv | 2 + tests/parity/inputs/couple-screen/A_sv.vcf | 5 + tests/parity/inputs/couple-screen/B.vcf | 6 + .../inputs/couple-screen/B_cn_intervals.tsv | 9 + tests/parity/inputs/couple-screen/B_cnvs.vcf | 3 + tests/parity/inputs/couple-screen/B_cyp.tsv | 5 + tests/parity/inputs/couple-screen/B_depth.vcf | 4 + tests/parity/inputs/couple-screen/B_dmd.vcf | 3 + tests/parity/inputs/couple-screen/B_eh.vcf | 4 + .../parity/inputs/couple-screen/B_eh_full.vcf | 3 + tests/parity/inputs/couple-screen/B_hypo.vcf | 4 + tests/parity/inputs/couple-screen/B_smn.tsv | 2 + tests/parity/inputs/couple-screen/B_two.vcf | 4 + tests/parity/inputs/couple-screen/C.vcf | 3 + .../inputs/couple-screen/C_cn_intervals.tsv | 3 + tests/parity/inputs/couple-screen/C_cyp.tsv | 8 + tests/parity/inputs/couple-screen/C_hypo.vcf | 3 + tests/parity/inputs/couple-screen/D.vcf | 3 + .../inputs/couple-screen/D_cn_intervals.tsv | 2 + tests/parity/inputs/couple-screen/D_cyp.tsv | 7 + tests/parity/inputs/couple-screen/G.vcf | 3 + .../inputs/couple-screen/G_cn_intervals.tsv | 2 + tests/parity/inputs/couple-screen/N_smn.tsv | 2 + tests/parity/inputs/couple-screen/U_smn.tsv | 2 + tests/parity/inputs/couple-screen/X_cyp.tsv | 3 + tests/parity/inputs/couple-screen/Z_smn.tsv | 2 + .../inputs/couple-screen/bad_cn_intervals.tsv | 1 + .../inputs/couple-screen/bad_header.tsv | 1 + .../parity/inputs/couple-screen/bad_seed.tsv | 3 + .../inputs/couple-screen/benign_loss.bed | 5 + .../inputs/couple-screen/benign_rare.bed | 1 + .../inputs/couple-screen/common_exons.bed | 9 + .../inputs/couple-screen/depth_exons.bed | 6 + .../inputs/couple-screen/empty_genes.tsv | 2 + tests/parity/inputs/couple-screen/exons.bed | 2 + tests/parity/inputs/couple-screen/g.gtf | 10 + tests/parity/inputs/couple-screen/half.vcf | 5 + tests/parity/inputs/couple-screen/lone.tsv | 3 + tests/parity/inputs/couple-screen/p6.xml | 2 + tests/parity/inputs/couple-screen/p9.xml | 2 + tests/parity/inputs/couple-screen/ped2.tsv | 3 + tests/parity/inputs/couple-screen/ped3.tsv | 6 + tests/parity/inputs/couple-screen/ped4.tsv | 5 + .../parity/inputs/couple-screen/pedigree.tsv | 3 + tests/parity/inputs/couple-screen/seed.tsv | 5 + tests/parity/inputs/couple-screen/shox.vcf | 4 + tests/parity/oracle.ref | 2 + tests/parity/remnants.tsv | 6 +- tests/test_acmg_sf_rules.py | 24 +- tests/test_collect_summary.py | 10 +- tests/test_copy_number.py | 78 +- tests/test_couple_report.py | 583 -------- tests/test_cross_engine_biallelic.py | 60 +- tests/test_paralog_loci.py | 337 ----- tests/test_paraphase_report.py | 454 ------ tests/test_render_report.py | 14 +- 116 files changed, 6556 insertions(+), 2821 deletions(-) delete mode 100755 bin/cnvpytor_to_vcf.py delete mode 100755 bin/couple_report.py delete mode 100755 bin/paraphase_report.py create mode 100644 rust/crates/og-couple/src/args.rs create mode 100644 rust/crates/og-couple/src/cn.rs create mode 100644 rust/crates/og-couple/src/files.rs create mode 100644 rust/crates/og-couple/src/findings.rs create mode 100644 rust/crates/og-couple/src/list.rs create mode 100644 rust/crates/og-couple/src/prose.rs create mode 100644 rust/crates/og-couple/src/xml.rs create mode 100644 rust/crates/og-couple/tests/common/mod.rs create mode 100644 rust/crates/og-couple/tests/couple_report.rs create mode 100644 rust/crates/og-couple/tests/paralog_readers.rs create mode 100644 rust/crates/og-steps/tests/paralog_loci.rs create mode 100644 rust/crates/og-steps/tests/paraphase_report.rs create mode 100755 tests/parity/gen/couple-oracle.sh create mode 100644 tests/parity/golden/couple-genes/rebuild/new.tsv create mode 100644 tests/parity/golden/couple-screen/all-or-nothing/out/A_couple_carrier.tsv.absent create mode 100644 tests/parity/golden/couple-screen/all-or-nothing/out/B_couple_carrier.tsv.absent create mode 100644 tests/parity/golden/couple-screen/all-or-nothing/out/couple_A_B.md.absent create mode 100644 tests/parity/golden/couple-screen/all-or-nothing/out/couple_A_B.tsv.absent create mode 100644 tests/parity/golden/couple-screen/all-or-nothing/stdout create mode 100644 tests/parity/inputs/couple-screen/A.vcf create mode 100644 tests/parity/inputs/couple-screen/A_cn_intervals.tsv create mode 100644 tests/parity/inputs/couple-screen/A_cnvs.vcf create mode 100644 tests/parity/inputs/couple-screen/A_cyp.tsv create mode 100644 tests/parity/inputs/couple-screen/A_depth.vcf create mode 100644 tests/parity/inputs/couple-screen/A_eh.vcf create mode 100644 tests/parity/inputs/couple-screen/A_full.vcf create mode 100644 tests/parity/inputs/couple-screen/A_hom.vcf create mode 100644 tests/parity/inputs/couple-screen/A_hypo.vcf create mode 100644 tests/parity/inputs/couple-screen/A_len.vcf create mode 100644 tests/parity/inputs/couple-screen/A_none.vcf create mode 100644 tests/parity/inputs/couple-screen/A_smn.tsv create mode 100644 tests/parity/inputs/couple-screen/A_sv.vcf create mode 100644 tests/parity/inputs/couple-screen/B.vcf create mode 100644 tests/parity/inputs/couple-screen/B_cn_intervals.tsv create mode 100644 tests/parity/inputs/couple-screen/B_cnvs.vcf create mode 100644 tests/parity/inputs/couple-screen/B_cyp.tsv create mode 100644 tests/parity/inputs/couple-screen/B_depth.vcf create mode 100644 tests/parity/inputs/couple-screen/B_dmd.vcf create mode 100644 tests/parity/inputs/couple-screen/B_eh.vcf create mode 100644 tests/parity/inputs/couple-screen/B_eh_full.vcf create mode 100644 tests/parity/inputs/couple-screen/B_hypo.vcf create mode 100644 tests/parity/inputs/couple-screen/B_smn.tsv create mode 100644 tests/parity/inputs/couple-screen/B_two.vcf create mode 100644 tests/parity/inputs/couple-screen/C.vcf create mode 100644 tests/parity/inputs/couple-screen/C_cn_intervals.tsv create mode 100644 tests/parity/inputs/couple-screen/C_cyp.tsv create mode 100644 tests/parity/inputs/couple-screen/C_hypo.vcf create mode 100644 tests/parity/inputs/couple-screen/D.vcf create mode 100644 tests/parity/inputs/couple-screen/D_cn_intervals.tsv create mode 100644 tests/parity/inputs/couple-screen/D_cyp.tsv create mode 100644 tests/parity/inputs/couple-screen/G.vcf create mode 100644 tests/parity/inputs/couple-screen/G_cn_intervals.tsv create mode 100644 tests/parity/inputs/couple-screen/N_smn.tsv create mode 100644 tests/parity/inputs/couple-screen/U_smn.tsv create mode 100644 tests/parity/inputs/couple-screen/X_cyp.tsv create mode 100644 tests/parity/inputs/couple-screen/Z_smn.tsv create mode 100644 tests/parity/inputs/couple-screen/bad_cn_intervals.tsv create mode 100644 tests/parity/inputs/couple-screen/bad_header.tsv create mode 100644 tests/parity/inputs/couple-screen/bad_seed.tsv create mode 100644 tests/parity/inputs/couple-screen/benign_loss.bed create mode 100644 tests/parity/inputs/couple-screen/benign_rare.bed create mode 100644 tests/parity/inputs/couple-screen/common_exons.bed create mode 100644 tests/parity/inputs/couple-screen/depth_exons.bed create mode 100644 tests/parity/inputs/couple-screen/empty_genes.tsv create mode 100644 tests/parity/inputs/couple-screen/exons.bed create mode 100644 tests/parity/inputs/couple-screen/g.gtf create mode 100644 tests/parity/inputs/couple-screen/half.vcf create mode 100644 tests/parity/inputs/couple-screen/lone.tsv create mode 100644 tests/parity/inputs/couple-screen/p6.xml create mode 100644 tests/parity/inputs/couple-screen/p9.xml create mode 100644 tests/parity/inputs/couple-screen/ped2.tsv create mode 100644 tests/parity/inputs/couple-screen/ped3.tsv create mode 100644 tests/parity/inputs/couple-screen/ped4.tsv create mode 100644 tests/parity/inputs/couple-screen/pedigree.tsv create mode 100644 tests/parity/inputs/couple-screen/seed.tsv create mode 100644 tests/parity/inputs/couple-screen/shox.vcf delete mode 100644 tests/test_couple_report.py delete mode 100755 tests/test_paralog_loci.py delete mode 100755 tests/test_paraphase_report.py diff --git a/CHANGELOG.md b/CHANGELOG.md index d6409f33f..b24573840 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ Each release's notes. From 1.0.0 on, a major or minor release has hand-written n ## Unreleased +- Step 39's couple carrier screen now runs in the Rust `og` binary: `og couple screen` in `scripts/39-couple.sh` and the Nextflow `COUPLE_CARRIER` process, and `og couple genes` to rebuild `assets/carrier_genes.tsv`. They replace `bin/couple_report.py`, which is gone, with the two modules only it still used, `bin/cnvpytor_to_vcf.py` and `bin/paraphase_report.py`. Their tests (`tests/test_couple_report.py`, `test_paraphase_report.py` and `test_paralog_loci.py`) are now cargo tests in og-couple and og-steps. The outputs are the same, byte for byte, on the 37 parity cases, except for the two changes below. No option, output file or column changes. On a synthetic couple with 200,000 ClinVar hits and 100,000 Delly deletions each, the screen takes 3.0-3.5 s and 206 MB, where the Python took 25.5-28.8 s and 327-329 MB. Rebuilding the carrier list takes 6.5 s and 40 MB instead of 8.7 s and 320 MB. What changes on purpose: + - The screen reads and computes every couple before it writes a file. The Python wrote each couple's files as it went, so an error on the second couple left the first couple's files new and the second's old or missing. Now an error stops the step with nothing written. + - The header lines of `assets/carrier_genes.tsv` name `og couple screen`, `og summary collect` and `og couple genes` where they named the Python files. The gene rows do not change. - The reports now get summary.json from the Rust `og` binary. Step 24, the Nextflow HTML_REPORT process and `generate-report.sh` collect it with `og summary collect` (through `bin/render_report.py`), and a run collects each sample once: `generate-report.sh` renders the text report from the summary.json step 24 wrote, and collects again when a file it reads is newer than that summary.json, or a file was added to or removed from a step folder since, or a file a section names as its source, the run status or a table in `bin/` or `assets/` is gone. When it renders from step 24's summary.json, the text report's generated time is step 24's, the same as the HTML report's; it was the minute of its own collect. When it collects again, the text report carries the new collect's values and time, and the HTML report keeps step 24's until step 24 runs again, as before. The deliberate fixes the `og summary collect` entries below list now reach the reports; apart from them, nothing in summary.json or either report changes. `bin/collect_summary.py` keeps only what the report renderer (`bin/render_report.py`), the couple report, the results index and the live view import from it. The Python modules that only the old collector imported are gone: `bin/pgx_outside_calls.py`, `ancestry_fine_report.py`, `clip_check.py`, `annotsv_postfilter.py`, `chip_report.py`, `traits_report.py`, `run_delta.py` and `genotype_rules_indels.py`. On the synthetic demo sample (4.7 million VCF records) the collect takes 1.1 s of CPU and 12-15 MB, where the Python took 7.8-8.0 s and 34-37 MB. What changes on purpose: - The walk of the sample folder leaves out `/nextflow`. `run-all.sh` launches Nextflow there, and its `work/` holds every task's files and staged links. No section reads a file there. With 200,000 files under it, the collect took 67 MB walked and 14 MB skipped. - The sections other than the sample VCF are read one at a time, while the sample VCF is read on its own thread, so the peak memory is near the biggest section's and not the sum of all of them. With every side table 50 times its demo size, the peak footprint fell from 119-130 MB to 105-112 MB (the Python: 100-102 MB), with the same CPU time. diff --git a/assets/carrier_genes.tsv b/assets/carrier_genes.tsv index 7926c39b2..f0dba200a 100644 --- a/assets/carrier_genes.tsv +++ b/assets/carrier_genes.tsv @@ -1,4 +1,4 @@ -# carrier_genes.tsv: the genes of the couple carrier screen (step 39, bin/couple_report.py). +# carrier_genes.tsv: the genes of the couple carrier screen (step 39, og couple screen). # One row per gene. chrom, start and end: the gene's GRCh38 span (1-based, inclusive) from the # gene lines of GENCODE release 50 (basic annotation). inheritance: AR (autosomal, or in a # pseudoautosomal region) or XL (chrX outside the PARs). lists: where the gene comes from: @@ -15,9 +15,9 @@ # hypomorph or pseudodeficiency, then chrom:pos:ref:alt (GRCh38), then a name; "." for none. Such # an allele never makes a carrier finding on its own (the couple screen, step 39, and the # carrier list of the sample report). With a called deletion of the gene it is a second hit (the -# two-hit lines of the sample report, bin/collect_summary.py two_hits). In the couple screen a +# two-hit lines of the sample report, og summary collect). In the couple screen a # hypomorph beside a full loss of function in the other partner's same gene is a shared gene. -# Rebuilt with: couple_report.py genes (docs/39-couple.md says how). +# Rebuilt with: og couple genes (docs/39-couple.md says how). gene chrom start end inheritance lists condition severity ISG15 chr1 1001138 1014540 AR Orphanet Mendelian susceptibility to mycobacterial diseases due to complete ISG15 deficiency . AGRN chr1 1020069 1056119 AR Orphanet Congenital myasthenic syndrome due to defects in endplate development and maintenance . diff --git a/assets/paralog_loci.tsv b/assets/paralog_loci.tsv index f08b6f727..11c60b285 100644 --- a/assets/paralog_loci.tsv +++ b/assets/paralog_loci.tsv @@ -19,7 +19,7 @@ # Every row's region lies in its model's main region: SMN1 exon 7 for SMN1, the whole main region for the # others. agCN counts the copies of all the model's regions together. # psCN is marked reliable only where it was validated (SMN1); elsewhere the report reads agCN. -# tests/test_paralog_loci.py checks every row against the model list and bin/cn_loci.tsv. +# rust/crates/og-steps/tests/paralog_loci.rs checks every row against the model list and bin/cn_loci.tsv. model genes region reading pscn_reliable tag cross_check table source SMN1.gz SMN1,SMN2 chr5:70951946-70951946 psCN of SMN1 at exon 7 (c.840): 0 = the pattern of SMA; 1 = an SMA carrier; 2 or more = not a carrier by copy number (a 2+0 carrier is not ruled out) yes carrier paraphase smn Prodanov and Bansal 2022, PMID 35680869 GBA.gz GBA1,GBAP1 chr1:155231479-155244699 agCN of GBA1 and its pseudogene GBAP1 together, usually 4; under 4 means a copy is missing, as a recombinant GBA1-GBAP1 allele (Gaucher disease) can leave; over 4, an extra copy no carrier paraphase gba1 Prodanov and Bansal 2022, PMID 35680869; Mandelker 2016, PMID 27228465 diff --git a/assets/paraphase_genes.tsv b/assets/paraphase_genes.tsv index 59ed36cbc..4f2a93fe5 100644 --- a/assets/paraphase_genes.tsv +++ b/assets/paraphase_genes.tsv @@ -18,7 +18,7 @@ # A field of region_specific_info Paraphase did not write makes the row "not assessed". # reading what the row says # source where the reading comes from (Paraphase's documentation is docs/.md of its 4.1.0 tag) -# tests/test_paraphase_report.py parses a synthetic JSON for every row and counts the regions of the +# rust/crates/og-steps/tests/paraphase_report.rs parses a synthetic JSON for every row and counts the regions of the # pinned config.yaml against docs/35-paralogs.md (the e2e case paralog-rows-1 reads it from the image). region gene field reading source smn1 SMN1 smn1_cn copies of SMN1; 0 is the pattern of spinal muscular atrophy, 1 that of a carrier Paraphase docs/SMN1_SMN2.md diff --git a/bin/cnvpytor_to_vcf.py b/bin/cnvpytor_to_vcf.py deleted file mode 100755 index 48cd7a886..000000000 --- a/bin/cnvpytor_to_vcf.py +++ /dev/null @@ -1,44 +0,0 @@ -#!/usr/bin/env python3 -# remnant: kept for couple_report; deleted in lane R4 -"""cnvpytor_to_vcf.py: what is left of step 05's input builder once it moved -to `og sv add-callers` (rust/crates/og-steps/src/sv). Only the read-depth -rule for long Delly calls is kept, because bin/couple_report.py (step 39) -still imports it; `og sv add-callers` and `og sv postfilter` apply the same -rule (og-steps::sv::depth_contradicts). `og dev remnants` -(tests/parity/remnants.tsv) checks that nothing else comes back. Standard -library only. -""" - -# A Delly DEL or DUP longer than this needs read depth to agree: its FORMAT -# RDCN (Delly's read-depth copy number) must be below (DEL) or above (DUP) the -# copies a normal region has. 1,000 bp is Delly's own line between small and -# large SVs in its read counts (src/delly.h, indelsize). Short-read Delly can -# mark PASS a long SV whose RDCN shows no change; a short one rests on split -# reads alone. og sv add-callers (step 05) uses the same rule. -DEPTH_MIN_SIZE = 1000 - - -def delly_depth_contradicts(kind, chrom, pos, end, fmt, vals, sex, in_par): - """True when a Delly DEL or DUP longer than DEPTH_MIN_SIZE has a FORMAT - RDCN that does not show the change: not below the normal copies for a - DEL, not above them for a DUP. The normal is 1 on a male's chrX or chrY - outside the PARs and 2 elsewhere; with no sex, either 1 or 2 there, so - only an RDCN at or past both is held against the call. A missing or - negative RDCN (no reads in the flanks) is no evidence of a change. A - record without RDCN (not Delly 2.x) is never contradicted.""" - if end - pos <= DEPTH_MIN_SIZE or "RDCN" not in fmt: - return False - i = fmt.index("RDCN") - cn = vals[i] if i < len(vals) else "." - if not cn.isdigit(): - return True - sex_chrom = chrom in ("chrX", "chrY") and not in_par - if sex_chrom and sex == "male": - low = high = 1 - elif sex_chrom and sex != "female": - low, high = 1, 2 - else: - low = high = 2 - if kind == "DEL": - return int(cn) >= high - return int(cn) <= low diff --git a/bin/collect_summary.py b/bin/collect_summary.py index e0f524e66..b84a58775 100755 --- a/bin/collect_summary.py +++ b/bin/collect_summary.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# remnant: kept for the reports, the couple screen, the search index and the live site; deleted in lane R6b +# remnant: kept for the reports, the search index and the live site; deleted in lane R6b """collect_summary.py: what other Python still reads of the summary collector. The collector itself is `og summary collect` (rust/crates/og-summary): it @@ -8,8 +8,8 @@ bin/render_report.py (steps 24, HTML_REPORT and generate-report.sh) and for the live site's fallback while a run has no summary.json yet. The rest are the names other Python imports until its own port: the section keys, titles -and steps (render_report.py), ClinVar hit rows and the gene tables' allele -cells (couple_report.py), the CSQ rule and the table readers +and steps (render_report.py), the ClinVar review stars and the gene tables' +allele cells (the tests), the CSQ rule and the table readers (results_index.py), and the HLA quality floor (render_report.py). `og dev remnants` (tests/parity/remnants.tsv) checks that nothing else comes back. Standard library only. @@ -18,11 +18,9 @@ import gzip import json import os -import re import shutil import subprocess import tempfile -import zlib HERE = os.path.dirname(os.path.abspath(__file__)) # The repository's assets/ folder beside bin/: og summary collect reads the @@ -134,13 +132,6 @@ def collect(sample, sample_dir, declared_sex=None, out=None): } -# The call floor of step 6 (scripts/06-clinvar-screen.sh writes a floor other -# than this default into the hits VCF as ##PGP_CALL_FLOOR=GQ=..,DP=..): a P/LP -# hit below either is a low-confidence call, listed but counted apart. A hits -# file without the line used this default, or was written before the floor. -CALL_FLOOR = {"GQ": 30, "DP": 10} - - # gnomAD allele frequency above which a P/LP hit is marked common. COMMON_AF = 0.01 @@ -159,28 +150,12 @@ def collect(sample, sample_dir, declared_sex=None, out=None): SEVERITY_KINDS = ("hypomorph", "pseudodeficiency") -class Unreadable(Exception): - pass - - def open_text(path): if path.endswith((".gz", ".bgz")): return gzip.open(path, "rt", errors="replace") return open(path, errors="replace") -def vcf_records(path): - """Yield the split data lines of a VCF (plain or gzip).""" - try: - with open_text(path) as f: - for line in f: - if line.startswith("#"): - continue - yield line.rstrip("\n").split("\t") - except (OSError, EOFError, gzip.BadGzipFile, zlib.error) as e: - raise Unreadable(f"{os.path.basename(path)}: {e}") from e - - def info_map(field): out = {} for kv in field.split(";"): @@ -194,75 +169,6 @@ def read_tsv(path): return list(csv.DictReader(f, delimiter="\t")) -def clinvar_variants(v, sep): - """'chr1:10:C:T|chr1:15:G:A' -> 'chr1:10 C>Tchr1:15 G>A'.""" - out = [] - for x in v.split("|"): - f = (x.split(":") + ["", "", "", ""])[:4] - out.append(f"{f[0]}:{f[1]} {f[2]}>{f[3]}") - return sep.join(out) - - -def clinvar_combined_note(info, gt=""): - """Step 6's note on a hit that is a combined allele of two neighbouring - records, or part of one, from the tags og clinvar join-adjacent - writes; og clinvar hits words it the same way. "." when none. - On an unphased het call (0/1) the genotype cannot say the two parts share - a haplotype, so the note says they may not.""" - a = gt.split("/") - phase = ("; unphased, so the parts may sit on different haplotypes" - if len(a) == 2 and all(x.isdigit() for x in a) and a[0] != a[1] else "") - if info.get("PGP_JOINED_FROM"): - return "combined allele of " + clinvar_variants(info["PGP_JOINED_FROM"], " + ") + phase - if info.get("PGP_PART_OF"): - return "part of a combined allele: " + clinvar_variants(info["PGP_PART_OF"], ", ") + phase - if info.get("PGP_ONE_ALLELE"): - return ("possibly one allele with " + clinvar_variants(info["PGP_ONE_ALLELE"], ", ") - + ": check ClinVar for a combined record") - return "." - - -def low_confidence(dp, gq, floor): - """True when the call's GQ or DP is known and below the floor.""" - return (gq is not None and gq < floor["GQ"]) or (dp is not None and dp < floor["DP"]) - - -def half_call(gt): - """True for a GT of one alt allele and one missing one: 1/., ./1, 1|.""" - return bool(re.fullmatch(r"[1-9][/|]\.|\.[/|][1-9]", gt or "")) - - -def clinvar_zygosity(gt): - """A ClinVar hit's genotype as og clinvar hits words it. One alt - allele and one missing one (1/., ./1) is the half of a multiallelic call - step 06 split with the other alt written as missing (a 1/2 at a poly-T - tract), or a half call: never het, which would say the other copy is ref.""" - if half_call(gt): - return f"one copy, other copy not called ref ({gt})" - return {"0/1": "het", "1/0": "het", "0|1": "het", "1|0": "het", "1/1": "hom", "1|1": "hom"}.get(gt, gt) - - -def clinvar_row(r, floor=None): - info = info_map(r[7]) if len(r) > 7 else {} - rev = info.get("CLNREVSTAT", "") - genes = [g.split(":")[0] for g in info.get("GENEINFO", "").split("|") if g] - gt = r[9].split(":")[0] if len(r) > 9 else "" - zyg = clinvar_zygosity(gt) - fmt = dict(zip(r[8].split(":"), r[9].split(":"))) if len(r) > 9 else {} - dp, gq = (int(fmt[k]) if fmt.get(k, "").isdigit() else None for k in ("DP", "GQ")) - return { - "stars": STARS.get(rev, 0), - "chrom": r[0], "pos": int(r[1]), "ref": r[3], "alt": r[4], - "genotype": zyg, - "gene": ",".join(genes) or ".", - "significance": info.get("CLNSIG", "").replace("_", " ") or ".", - "review_status": rev.replace("_", " ") or ".", - "combined_allele": clinvar_combined_note(info, gt), - "dp": dp, "gq": gq, - "low_confidence": low_confidence(dp, gq, floor or CALL_FLOOR), - } - - def hla_quality(q): """T1K's quality as a number; one that is not a number counts as -1, as in step 36.""" try: diff --git a/bin/couple_report.py b/bin/couple_report.py deleted file mode 100755 index b41a24d44..000000000 --- a/bin/couple_report.py +++ /dev/null @@ -1,1050 +0,0 @@ -#!/usr/bin/env python3 -"""couple_report.py: the couple carrier screen of step 39 (scripts/39-couple.sh) -and of the Nextflow COUPLE_CARRIER process (workflows/family.nf). Both run the -same command. Standard library only, so it runs in the plain python image. - - couple_report.py screen --pedigree P.tsv --genes assets/carrier_genes.tsv - --clinvar ID=HITS.vcf ... [--delly ID=SV.vcf.gz ...] - [--eh ID=EH.vcf ...] [--smn ID=SMN.tsv ...] - [--exons EXONS.bed] [--benign-sv BENIGN_LOSS.bed] - [--cn-intervals ID=CN_INTERVALS.tsv ...] [--cnvpytor ID=CNVS.vcf.gz ...] - [--cyp21a2 ID=CYP21A2_PSV.tsv ...] - [--declared-sex ID=SEX ...] --out-dir D - For every two samples the pedigree marks as partners and that both have - a ClinVar screen (step 06's _clinvar_hits.vcf), collects each - partner's carrier findings in the genes of the carrier list: ClinVar - pathogenic and likely pathogenic hits, Delly deletions of 50 bp or more - that remove an exon (with --exons) and do not match a common deletion - of AnnotSV's benign set (with --benign-sv), SMN1 copy number - (Parascopy, step 35) and the FMR1 - and FXN repeats (ExpansionHunter, step 09). With --cn-intervals (step - 35's _cn_intervals.tsv) the report lists, for each partner, every - carrier deletion allele of that table (del(GJB6-D13S1830), CFTRdele2,3, - the HBB exon 3 deletion, the HBB 619 bp deletion, the Sicilian - (delta-beta)0 deletion) as present, absent or not assessable, and - a male partner's AZF deletions the same way; with --cnvpytor (step 18's - _cnvs.vcf.gz) a CNVpytor call that disagrees is printed beside it. - With --cyp21a2 (step 35's _cyp21a2_psv.tsv, short reads) a - CYP21A2 deletion (the 30 kb chimeric deletion pattern) or a possible - conversion counts as a carrier finding in CYP21A2, on one copy unless - no CYP21A2 copy is left at a site; which chromosome carries it is not - known. - It writes, per couple A and - B (sorted by name): - D/couple_A_B.tsv one row per gene where either partner has a - finding: shared (both carry, autosomal - recessive), x_linked, or one_partner - D/couple_A_B.md the same in words, what was not assessed, - and the residual risk - D/A_couple_carrier.tsv a copy of the table for each partner's own - D/B_couple_carrier.tsv report (bin/collect_summary.py reads it) - Exits 1 when no couple could be screened, 2 on an input problem. - - couple_report.py genes --table assets/carrier_genes.tsv --orphanet-genes en_product6.xml - --orphanet-inheritance en_product9_ages.xml - --gtf gencode.v.basic.annotation.gtf.gz --par-bed assets/par_grch38.bed --out NEW.tsv - Rebuilds the carrier list: the ACMG and ACOG rows of --table are kept - as they are written, every other row is made again from Orphanet (genes - of disorders with autosomal recessive or X-linked inheritance), and - every row gets its GRCh38 span from the GENCODE gene lines. -""" -import argparse -import gzip -import os -import re -import sys -import xml.etree.ElementTree as ET -from bisect import bisect_left, bisect_right - -sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) -import collect_summary # noqa: E402 ClinVar hit rows and stars, as both reports read them -import family_report # noqa: E402 the pedigree rules of step 38 -import paraphase_report # noqa: E402 step 35's SMN1 rule -import cnvpytor_to_vcf # noqa: E402 the read-depth rule for long Delly calls, as step 05 applies it - -GENE_COLUMNS = ("gene", "chrom", "start", "end", "inheritance", "lists", "condition") -# The severity column (alleles that are not a full loss of function, -# collect_summary.parse_alleles reads it) is optional, so a list written -# before it still reads. -SEVERITY_COLUMN = "severity" -TABLE_COLUMNS = ("gene", "inheritance", "lists", "condition", "result", "offspring_risk", - "partner_a", "findings_a", "partner_b", "findings_b", "explanation") -# Repeat loci of the carrier list ExpansionHunter's catalog sizes: the -# smallest repeat count of an allele counted as a carrier finding, and its name. -# FMR1: 55 to 200 CGG is a premutation, more than 200 a full mutation. -# FXN: 66 GAA or more is in the range that causes Friedreich ataxia. -REPEATS = {"FMR1": (55, "CGG"), "FXN": (66, "GAA")} -FMR1_FULL = 201 -SVTYPE = re.compile(r"(?:^|;)SVTYPE=([^;]+)") -END = re.compile(r"(?:^|;)END=(\d+)") -# A Delly deletion longer than 1,000 bp needs read depth (FORMAT RDCN) to show -# the loss: bin/cnvpytor_to_vcf.py holds the rule, which step 05 applies too. -DEPTH_MIN_SIZE = cnvpytor_to_vcf.DEPTH_MIN_SIZE -# A structural variant is 50 bp or longer. A shorter Delly deletion is left -# to the small-variant caller, and counts here only through ClinVar; one that -# caller misses is missed. -SV_MIN_SIZE = 50 -# A deletion many people carry is no carrier finding. AnnotSV's benign loss -# set (benign_Loss_SV_GRCh38.sorted.bed, with gnomAD-SV's common deletions -# merged in by setup.sh) gives each record a frequency; a record of 1% or -# more (AnnotSV's own -benignAF default) is common. A Delly deletion matches -# one when each covers at least half of the other (50% reciprocal overlap). -COMMON_AF = 0.01 -COMMON_OVERLAP = 0.5 - - -def die(lines, code=2): - family_report.die(lines, code) - - -def kv_args(values, what): - out = {} - for v in values or []: - k, sep, p = v.partition("=") - if not sep or not k or not p: - die(["--%s takes ID=PATH, got '%s'" % (what, v)]) - if k in out: - die(["--%s names '%s' twice" % (what, k)]) - out[k] = p - return out - - -# --- the carrier list -------------------------------------------------------- - -def read_genes(path): - """The carrier list: {gene: row}. A list without rows stops the screen: - an empty list would report no shared gene for every couple.""" - genes, header = {}, None - with open(path, encoding="utf-8") as f: - for n, line in enumerate(f, 1): - line = line.rstrip("\r\n") - if not line or line.startswith("#"): - continue - vals = line.split("\t") - if header is None: - header = vals - if tuple(header) not in (GENE_COLUMNS, GENE_COLUMNS + (SEVERITY_COLUMN,)): - die(["%s: the header must be %s, optionally followed by %s" - % (path, "\t".join(GENE_COLUMNS), SEVERITY_COLUMN)]) - continue - if len(vals) != len(header): - die(["%s line %d: %d fields, the header has %d" % (path, n, len(vals), len(header))]) - r = dict(zip(header, vals)) - if r["inheritance"] not in ("AR", "XL") or not r["start"].isdigit() or not r["end"].isdigit(): - die(["%s line %d: inheritance must be AR or XL, start and end whole numbers" % (path, n)]) - r["start"], r["end"] = int(r["start"]), int(r["end"]) - try: - r["alleles"] = collect_summary.parse_alleles(r.get(SEVERITY_COLUMN, "."), kinds=True) - except ValueError as e: - die(["%s line %d: %s" % (path, n, e)]) - r.setdefault(SEVERITY_COLUMN, ".") - genes[r["gene"]] = r - if not genes: - die(["%s holds no gene: the screen would find nothing. Restore assets/carrier_genes.tsv." % path]) - return genes - - -class GeneIndex: - """Genes by chromosome, for the genes a deletion overlaps.""" - - def __init__(self, genes): - self.by = {} - for g in genes.values(): - self.by.setdefault(g["chrom"], []).append((g["start"], g["end"], g["gene"])) - for c in self.by: - self.by[c].sort() - self.longest = {c: max(e - s for s, e, _ in v) for c, v in self.by.items()} - - def overlapping(self, chrom, s, e): - """Genes whose 1-based span [start, end] overlaps the 1-based [s, e].""" - rows = self.by.get(chrom, []) - lo = bisect_left(rows, (s - self.longest.get(chrom, 0) - 1,)) - hi = bisect_right(rows, (e, float("inf"))) - return [(gs, ge, g) for gs, ge, g in rows[lo:hi] if gs <= e and ge >= s] - - -def read_exons(path): - """GENCODE exons as a BED (0-based start, end), merged per chromosome.""" - by = {} - with open(path) as f: - for line in f: - c = line.split("\t") - if len(c) < 3 or line.startswith(("#", "track")): - continue - by.setdefault(c[0], []).append((int(c[1]), int(c[2]))) - merged = {} - for chrom, iv in by.items(): - iv.sort() - m = [] - for s, e in iv: - if m and s <= m[-1][1]: - m[-1][1] = max(m[-1][1], e) - else: - m.append([s, e]) - merged[chrom] = ([s for s, _ in m], [e for _, e in m]) - return merged - - -def exons_hit(exons, chrom, s0, e0): - """Merged exons overlapping the 0-based half-open [s0, e0).""" - starts, ends = exons.get(chrom, ([], [])) - i = bisect_right(ends, s0) - n = 0 - while i < len(starts) and starts[i] < e0: - n += 1 - i += 1 - return n - - -def plain_chrom(c): - return c[3:] if c.startswith("chr") else c - - -def read_benign(path): - """AnnotSV's benign loss BED (chrom, start, end, source, coord, AF): - {chrom without 'chr': sorted [(start, end)]} of the records of COMMON_AF - or more, and how many. A record without a numeric frequency is not taken - as common.""" - by, n = {}, 0 - with open(path) as f: - for line in f: - c = line.rstrip("\r\n").split("\t") - if len(c) < 6 or line.startswith(("#", "track")) or not c[1].isdigit() or not c[2].isdigit(): - continue - try: - af = float(c[5]) - except ValueError: - continue - if af >= COMMON_AF: - by.setdefault(plain_chrom(c[0]), []).append((int(c[1]), int(c[2]))) - n += 1 - for k in by: - by[k].sort() - return by, n - - -def common_match(benign, chrom, s0, e0): - """True when the 0-based half-open [s0, e0) and a common benign deletion - each cover at least COMMON_OVERLAP of the other.""" - rows = benign.get(plain_chrom(chrom), []) - size = e0 - s0 - # A match is at most size / COMMON_OVERLAP long, so it starts no earlier than that before s0. - i = bisect_left(rows, (s0 - int(size / COMMON_OVERLAP) - 1,)) - while i < len(rows) and rows[i][0] < e0: - bs, be = rows[i] - ov = min(e0, be) - max(s0, bs) - if ov > 0 and ov >= COMMON_OVERLAP * size and ov >= COMMON_OVERLAP * (be - bs): - return True - i += 1 - return False - - -# --- findings ---------------------------------------------------------------- - -def finding(gene, text, copies, hypomorph=None): - """copies: how many of the person's copies the finding is on (1 or 2). - hypomorph: the name of a low-function allele of the list's severity - column, which counts only beside a full loss of function in the partner - (screen_couple).""" - return {"gene": gene, "text": text, "copies": copies, "hypomorph": hypomorph} - - -def zygosity(gt, chrom, sex, par): - """het, hom, hemizygous, or None (no alt allele).""" - # A '.' allele still counts in the ploidy: step 06 splits a GT 1/2 record - # into ./1 halves, and each half is one copy, never hom. - a = [x for x in re.split(r"[/|]", gt) if x != ""] - alt = [x for x in a if x not in ("0", ".")] - if not alt: - return None - if chrom in ("chrX", "chrY") and sex == "male" and not par: - return "hemizygous" - if len(a) == 1: - return "hemizygous" if chrom in ("chrX", "chrY") else "hom" - return "hom" if len(alt) == len(a) else "het" - - -def stars_text(n): - return "%d star%s" % (n, "" if n == 1 else "s") - - -def clinvar_findings(path, genes, sex, par, aside=None): - """Step 06's hits in genes of the list, and the count of all hits. A hit - the list marks as a hypomorph or pseudodeficiency allele (its severity - column) is no carrier finding on its own: it goes to aside as a text. A - hypomorph is also returned as a finding marked hypomorph: beside a full - loss of function in the other partner's same gene it is the second hit of - the child (TAR syndrome is a null allele plus an RBM8A low-expression - allele); screen_couple drops it otherwise. total counts every hit.""" - out, total = [], 0 - for r in collect_summary.vcf_records(path): - if len(r) < 8: - continue - total += 1 - h = collect_summary.clinvar_row(r) - gt = r[9].split(":")[0] if len(r) > 9 else "" - z = zygosity(gt, h["chrom"], sex, family_report.in_par(par, h["chrom"], h["pos"])) - if z is None: - continue - for g in h["gene"].split(","): - sev = genes[g]["alleles"].get((h["chrom"], h["pos"], h["ref"], h["alt"])) if g in genes else None - if sev: - if aside is not None: - aside.append("%s:%d %s>%s %s in %s: %s, a %s allele" % ( - h["chrom"], h["pos"], h["ref"], h["alt"], z, g, sev["name"], sev["kind"])) - if sev["kind"] == "hypomorph": - text = "%s:%d %s>%s %s, %s, a hypomorph allele" % (h["chrom"], h["pos"], h["ref"], h["alt"], - z, sev["name"]) - out.append(finding(g, text, 1 if z == "het" else 2, sev["name"])) - continue - if g in genes: - ident = "" if r[2] in (".", "") else ", ClinVar %s" % r[2] - # A split half call counts as het (one copy) but reads as the other reports word it. - words = ("one copy, other copy not called ref (%s)" % gt - if z == "het" and re.fullmatch(r"[1-9][/|]\.|\.[/|][1-9]", gt) else z) - text = "%s:%d %s>%s %s, %s, %s%s" % (h["chrom"], h["pos"], h["ref"], h["alt"], words, - h["significance"], stars_text(h["stars"]), ident) - out.append(finding(g, text, 1 if z == "het" else 2)) - return out, total - - -def delly_findings(path, index, exons, sex, par, benign=None): - """PASS Delly deletions of SV_MIN_SIZE or more that remove at least one - exon of a gene of the list, and the counts of those over such an exon set - aside: {"short": below SV_MIN_SIZE, "no_loss": long ones read depth does - not confirm (RDCN at the normal count or more, or no estimate), "common": - matching a common deletion of the benign set (when one is given)}.""" - out, skip = [], {"short": 0, "no_loss": 0, "common": 0} - - def over_exon(chrom, pos, end): - return any(exons_hit(exons, chrom, max(pos, gs - 1), min(end, ge)) - for gs, ge, _ in index.overlapping(chrom, pos + 1, end)) - for r in collect_summary.vcf_records(path): - if len(r) < 10 or r[6] != "PASS": - continue - m = SVTYPE.search(r[7]) - e = END.search(r[7]) - if not m or m.group(1) != "DEL" or not e: - continue - fmt, vals = r[8].split(":"), r[9].split(":") - if "FT" in fmt and fmt.index("FT") < len(vals) and vals[fmt.index("FT")] not in ("PASS", "."): - continue - gt = vals[0] if fmt and fmt[0] == "GT" else "" - chrom, pos, end = r[0], int(r[1]), int(e.group(1)) - in_par = family_report.in_par(par, chrom, pos) - z = zygosity(gt, chrom, sex, in_par) - if z is None: - continue - size = end - pos - if size < SV_MIN_SIZE: - if over_exon(chrom, pos, end): - skip["short"] += 1 - continue - # Read depth must show the loss for a long deletion: RDCN below the - # copies a normal region has (1 on a male's chrX or chrY outside the - # PARs, 2 elsewhere). A missing or negative RDCN (no reads in the - # flanks) is no evidence of a loss. A VCF without the RDCN field (not - # Delly 2.x) is read as before. - if cnvpytor_to_vcf.delly_depth_contradicts("DEL", chrom, pos, end, fmt, vals, sex, in_par): - if over_exon(chrom, pos, end): - skip["no_loss"] += 1 - continue - # The deleted bases POS+1 to END are the 0-based [POS, END). - if benign is not None and common_match(benign, chrom, pos, end): - if over_exon(chrom, pos, end): - skip["common"] += 1 - continue - # The deleted bases are POS+1 to END (POS is the base before them). - for gs, ge, g in index.overlapping(chrom, pos + 1, end): - n = exons_hit(exons, chrom, max(pos, gs - 1), min(end, ge)) - if not n: - continue - text = "deletion %s:%d-%d (%s) %s, %d exon%s of the gene (Delly)" % ( - chrom, pos + 1, end, ("%.1f kb" % (size / 1000.0)) if size >= 1000 else "%d bp" % size, - z, n, "" if n == 1 else "s") - out.append(finding(g, text, 1 if z == "het" else 2)) - return out, skip - - -def eh_findings(path, genes): - """FMR1 and FXN alleles in their expanded range (ExpansionHunter).""" - out = [] - for r in collect_summary.vcf_records(path): - if len(r) < 10: - continue - info = collect_summary.info_map(r[7]) - locus = info.get("VARID") or info.get("REPID") or "" - if locus not in REPEATS or locus not in genes: - continue - fmt, vals = r[8].split(":"), r[9].split(":") - if "REPCN" not in fmt or fmt.index("REPCN") >= len(vals): - continue - cn = vals[fmt.index("REPCN")] - sizes = [int(x) for x in cn.split("/") if x.isdigit()] - least, unit = REPEATS[locus] - big = [x for x in sizes if x >= least] - if not big: - continue - if locus == "FMR1": - what = "full mutation (more than 200)" if max(big) >= FMR1_FULL else "premutation (55 to 200)" - else: - what = "expanded (66 or more)" - text = "%s %s repeat %s, %s allele%s %s (ExpansionHunter estimate)" % ( - locus, unit, cn, "two" if len(big) > 1 else "one", "s" if len(big) > 1 else "", what) - out.append(finding(locus, text, len(big))) - return out - - -def smn_finding(path, genes): - """SMN1 copy number (step 35): ([findings], text of what was read).""" - p = paraphase_report.parascopy_smn1(path) - # Step 35 writes a row it could not assess with the filter "not assessed: - # "; the reason is what the reader needs, not the empty values. - # "not resolved" stays in the text: it is what marks a gap, here and in - # tests/test_paralog_loci.py. - na = re.search(r"filter not assessed: (.*)\), not resolved$", p["text"]) - if na: - return [], "SMN1 not assessed: %s; copy number not resolved" % na.group(1) - if p["cn"] is None or "SMN1" not in genes: - return [], "SMN1 copy number %s" % p["text"] - if p["cn"] >= 2: - return [], "SMN1 %d copies" % p["cn"] - text = "SMN1 %d cop%s (Parascopy: %s)" % (p["cn"], "y" if p["cn"] == 1 else "ies", p["text"]) - return [finding("SMN1", text, 1 if p["cn"] == 1 else 2)], "SMN1 %d cop%s" % (p["cn"], "y" if p["cn"] == 1 else "ies") - - -def cyp21a2_table(path): - """Step 35's CYP21A2 table (metric, value) as a dict.""" - t = {} - with open(path, encoding="utf-8", errors="replace") as f: - for line in f: - c = line.rstrip("\n").split("\t", 1) - if len(c) == 2 and c[0] != "metric": - t[c[0]] = c[1] - return t - - -def cyp21a2_gap(path, txt): - """Why step 35 did not assess CYP21A2, for the not-assessed list: the - table's message (it says, for a BAM without multi-mapping reads, that the - aligner and not the genome stopped the call), or the short text with the - reason code for a table from before the message row.""" - msg = cyp21a2_table(path).get("message", ".") - if msg.startswith("not assessed: "): - return "CYP21A2 " + msg - return txt - - -def cyp21a2_finding(path, genes): - """CYP21A2 from depth and PSV sites (step 35's _cyp21a2_psv.tsv): - ([findings], text of what was read). A deletion or a possible - conversion is a finding on one copy, on two when a site has no CYP21A2 - copy left.""" - t = cyp21a2_table(path) - if t.get("status") not in ("called", "not assessed"): - die(["%s: not step 35's CYP21A2 table (og cn call --locus CYP21A2)" % path]) - if t["status"] != "called": - return [], "CYP21A2 not assessed (%s)" % t.get("reason", ".") - what = "CYP21A2 %s copies, RCCX module total %s of %s" % (t.get("cyp21a2_copies", "."), t.get("module_total", "."), - t.get("expected_total", ".")) - kind = t.get("finding") - if kind not in ("none", "deletion", "conversion", "pseudogene_deletion"): - die(["%s: a called CYP21A2 table with the finding %r (none, deletion, conversion or pseudogene_deletion)" - % (path, kind)]) - if kind not in ("deletion", "conversion") or "CYP21A2" not in genes: - return [], what - two = t.get("cyp21a2_copies") == "0" - if kind == "deletion": - text = "CYP21A2 deletion from depth and PSV sites (%s): the 30 kb chimeric deletion pattern" % what - else: - text = "possible CYP21A2 conversion at %s (%s, PSV sites)" % ( - t.get("conversion_sites", ".").replace("PSV_", ""), what) - return [finding("CYP21A2", text + "; unconfirmed, short reads", 2 if two else 1)], what - - -# --- carrier deletion alleles and AZF, from step 35's interval table ---------- - -# The rows of bin/cn_loci.tsv the couple report reads, with their names here. -CN_ALLELES = (("GJB6_D13S1830", "del(GJB6-D13S1830)"), ("CFTR_dele2_3", "CFTRdele2,3"), - ("HBB_exon3_del", "HBB exon 3 deletion"), ("HBB_619bp_del", "HBB 619 bp deletion"), - ("HBD_HBB_Sicilian_del", "Sicilian (delta-beta)0 deletion")) -# The genes each allele of CN_ALLELES is a change of, as the carrier list -# names them (del(GJB6-D13S1830) is a DFNB1 allele beside GJB2 changes). -CN_ALLELE_GENES = (("GJB2/GJB6 (DFNB1)", ("GJB2", "GJB6"), ("GJB6_D13S1830",)), - ("CFTR", ("CFTR",), ("CFTR_dele2_3",)), - ("HBB", ("HBB",), ("HBB_exon3_del", "HBB_619bp_del", "HBD_HBB_Sicilian_del"))) -# Named as deletions, so present reads as "the deletion is there" (as for CN_ALLELES). -CN_AZF = (("AZFa", "AZFa deletion"), ("AZFb", "AZFb deletion"), - ("AZFc_DAZ", "AZFc deletion (DAZ copies; gr/gr and b2/b3 leave two of four)")) -# A CNVpytor deletion counts for a row when it covers half of the row's span or more. -CNV_COVER = 0.5 -# Step 18 calls on 1 kb bins, so a deletion shorter than two bins (the 619 bp -# and 621 bp HBB rows) is one it cannot see: its silence there is no evidence. -CNV_MIN_SPAN = 2000 - - -def read_cn_intervals(path): - """{locus: row} of step 35's _cn_intervals.tsv.""" - with open(path, encoding="utf-8", errors="replace") as f: - lines = [ln.rstrip("\n").split("\t") for ln in f if ln.strip()] - if (not lines or lines[0][:6] != ["locus", "name", "chrom", "start", "end", "status"] - or not {"copies", "expected", "change", "reason"} <= set(lines[0])): - die(["%s: not step 35's interval table (og cn intervals)" % path]) - head = lines[0] - return {r[0]: dict(zip(head, r)) for r in lines[1:] if len(r) == len(head)} - - -def cnvpytor_deletions(path): - """[(chrom, start0, end)] of the deletions in step 18's CNVpytor VCF.""" - out = [] - for r in collect_summary.vcf_records(path): - if len(r) < 8: - continue - info = collect_summary.info_map(r[7]) - kind = info.get("SVTYPE") or r[4].strip("<>") - if kind != "DEL" or not info.get("END", "").isdigit(): - continue - out.append((r[0], int(r[1]) - 1, int(info["END"]))) - return out - - -def cn_state(row): - """(present | absent | not assessable, the depth call in words) of an interval row.""" - if row is None: - return "not assessable", "no row in step 35's interval table" - if row["status"] != "called": - return "not assessable", "%s (%s)" % (row["status"], row["reason"]) - text = "%s of %s copies" % (row["copies"], row["expected"]) - if row["change"] == "deletion": - return "present", text - if row["change"] == "no change": - return "absent", text - return "not assessable", "%s, %s" % (text, row["change"]) - - -def cnv_note(row, dels): - """The CNVpytor cross-check of a row when it disagrees with the depth call, else ''.""" - if dels is None or row is None: - return "" - s, e = int(row["start"]), int(row["end"]) - hit = any(c == row["chrom"] and min(e, de) - max(s, ds) >= CNV_COVER * (e - s) for c, ds, de in dels) - state, _ = cn_state(row) - if state == "present" and not hit and e - s >= CNV_MIN_SPAN: - return "CNVpytor (step 18) calls no deletion here" - if state == "absent" and hit: - return "CNVpytor (step 18) calls a deletion here" - return "" - - -def cn_shared(a, b, intervals, found, carrier): - """The genes where both partners carry a change once the read-depth - alleles count: one has a present allele of CN_ALLELES and the other a - present allele or a finding in the same gene. The gene table leaves - these alleles out, so without this a couple who both carry CFTRdele2,3 - would read as sharing nothing. intervals: {partner: {locus: row}} of the - partners with an interval table; carrier: the genes of the carrier list, - so a gene the list leaves out is no shared risk here either.""" - names = dict(CN_ALLELES) - out = [] - for label, genes, loci in CN_ALLELE_GENES: - if not any(g in carrier for g in genes): - continue - have, by_depth = {}, False - for s in (a, b): - iv = intervals.get(s) or {} - alleles = ["%s present (read depth, step 35: %s)" % (names[x], cn_state(iv.get(x))[1]) - for x in loci if cn_state(iv.get(x))[0] == "present"] - hits = [f["text"] for f in found.get(s, []) if f["gene"] in genes] - by_depth = by_depth or bool(alleles) - if alleles or hits: - have[s] = "; ".join(alleles + hits) - if len(have) == 2 and by_depth: - out.append("**%s**: %s: %s; %s: %s. Both partners may carry a change in %s: the gene table does not " - "count read-depth alleles, so a clinical test has to confirm them before the chance for a " - "child can be given." % (label, a, have[a], b, have[b], label)) - return out - - -def cn_lines(s, sex, intervals, dels): - """The report lines of a partner's carrier deletion alleles and AZF regions.""" - out = [] - rows = (CN_ALLELES + CN_AZF) if sex == "male" else CN_ALLELES - for locus, name in rows: - r = intervals.get(locus) - state, text = cn_state(r) - note = cnv_note(r, dels) - out.append("- %s, %s: **%s** (read depth, step 35: %s)%s" % (s, name, state, text, - "; " + note if note else "")) - if sex != "male": - out.append("- %s, AZF regions: not applicable (%s)" % (s, "no Y chromosome" if sex == "female" else - "sex unknown")) - return out - - -# --- the screen -------------------------------------------------------------- - -def odds(p): - return {0.25: "1 in 4", 0.5: "1 in 2", 1.0: "every"}.get(p, "%.2f" % p) - - -def ar_row(g, a, b, fa, fb): - ta = 1.0 if any(x["copies"] == 2 for x in fa) else 0.5 - tb = 1.0 if any(x["copies"] == 2 for x in fb) else 0.5 - p = ta * tb - risk = "%s pregnancy" % odds(p) if p == 1.0 else "%s per pregnancy" % odds(p) - more = [n for n, f in ((a, fa), (b, fb)) if len(f) > 1 and all(x["copies"] == 1 for x in f)] - why = ("Both partners carry a change in %s, linked to %s (autosomal recessive). A child who inherits " - "the change of each parent can have the condition: %s." % (g["gene"], g["condition"], risk)) - low = [n for n, f in ((a, fa), (b, fb)) if f and all(x.get("hypomorph") for x in f)] - if low: - why += (" The change of %s is a low-function (hypomorph) allele, not a full loss of function: with the " - "other parent's loss-of-function change a child can have the condition, for some genes in a " - "milder form; two such alleles alone are set aside." % " and ".join(low)) - if more: - why += (" %s %s two changes in the gene; when they sit on different copies, every child gets one, " - "and the chance is higher." % (" and ".join(more), "has" if len(more) == 1 else "have")) - return "shared", risk, why - - -def xl_lines(g, who, sex, f): - two = any(x["copies"] == 2 for x in f) - fmr1 = g["gene"] == "FMR1" and any("premutation" in x["text"] for x in f) - if sex == "female": - if two: - risk = "%s: every son, every daughter a carrier" % who - why = ("%s carries the change on both X chromosomes: every son inherits it and can have %s; " - "every daughter is a carrier." % (who, g["condition"])) - else: - risk = "%s: sons 1 in 2" % who - why = ("%s carries a change in %s on one X chromosome (X-linked: %s). Each son has a 1 in 2 " - "chance of inheriting it and can have the condition; each daughter has a 1 in 2 chance of " - "being a carrier." % (who, g["gene"], g["condition"])) - if fmr1: - why += " A premutation can grow into a full mutation when a mother passes it on." - elif sex == "male": - risk = "%s: daughters carriers" % who - why = ("%s has a change in %s on his X chromosome (X-linked: %s). Every daughter inherits it and " - "is a carrier; a son gets his Y chromosome, not this X." % (who, g["gene"], g["condition"])) - else: - risk = "%s: sex unknown" % who - why = ("%s has a change in %s (X-linked: %s). The pedigree gives no sex for %s, so the chance for " - "sons and daughters cannot be said." % (who, g["gene"], g["condition"], who)) - return risk, why - - -def screen_couple(a, b, sexes, found, genes): - """Rows of the couple table, shared genes first, then X-linked, then the rest.""" - rows = [] - # A hypomorph (finding marked hypomorph) counts only when the other - # partner has a full loss of function in the same gene. - full = {s: set(x["gene"] for x in found[s] if not x.get("hypomorph")) for s in (a, b)} - for name in sorted(full[a] | full[b]): - g = genes[name] - fa = [x for x in found[a] if x["gene"] == name and (not x.get("hypomorph") or name in full[b])] - fb = [x for x in found[b] if x["gene"] == name and (not x.get("hypomorph") or name in full[a])] - if g["inheritance"] == "XL": - parts = [xl_lines(g, w, sexes.get(w), f) for w, f in ((a, fa), (b, fb)) if f] - result, risk, why = "x_linked", "; ".join(p[0] for p in parts), " ".join(p[1] for p in parts) - elif fa and fb: - result, risk, why = ar_row(g, a, b, fa, fb) - else: - who = a if fa else b - other = b if fa else a - result, risk = "one_partner", "none shared" - why = ("Only %s carries a change in %s (%s, autosomal recessive). A child can be a carrier like " - "%s, not affected, unless %s carries a change this screen does not see." - % (who, name, g["condition"], who, other)) - rows.append({"gene": name, "inheritance": g["inheritance"], "lists": g["lists"], - "condition": g["condition"], "result": result, "offspring_risk": risk, - "partner_a": a, "findings_a": "; ".join(x["text"] for x in fa) or ".", - "partner_b": b, "findings_b": "; ".join(x["text"] for x in fb) or ".", - "explanation": why}) - order = {"shared": 0, "x_linked": 1, "one_partner": 2} - rows.sort(key=lambda r: (order[r["result"]], r["gene"])) - return rows - - -def cell(v): - return v.replace("\t", " ").replace("\n", " ") - - -def write_table(path, rows): - with open(path, "w", encoding="utf-8") as f: - f.write("\t".join(TABLE_COLUMNS) + "\n") - for r in rows: - f.write("\t".join(cell(str(r[k])) for k in TABLE_COLUMNS) + "\n") - - -RESIDUAL = [ - "Changes ClinVar does not list as pathogenic or likely pathogenic: a new loss-of-function change, or one of " - "uncertain significance, is not counted.", - "Genes outside the carrier list (assets/carrier_genes.tsv).", - "SMN1 silent carriers: two copies on one chromosome and none on the other read as two copies.", - "Changes in genes with a near-identical copy (HBA1 and HBA2, CYP21A2, GBA1, SMN1): short reads place them " - "poorly, and a gene conversion is not seen. A deletion there counts only when Delly calls it; for CYP21A2, " - "step 35's table (--cyp21a2) adds the 30 kb chimeric deletion and conversions at six of its pseudogene " - "variant sites, nothing else.", - "Repeat expansions other than FMR1 and FXN, and the exact size of a long FMR1 or FXN allele: short reads do " - "not span it.", - "Deletions Delly does not call, deletions longer than %d bp that read depth (Delly's RDCN) does not confirm, " - "duplications, inversions and insertions." % DEPTH_MIN_SIZE, - "Delly deletions shorter than %d bp: they count only when the small-variant caller also calls them and ClinVar " - "lists them, so one it misses is missed here." % SV_MIN_SIZE, - "With AnnotSV's benign set, a deletion that matches a common one there (1%% or more, %d%% reciprocal overlap) " - "is not counted: a rare pathogenic deletion at the same place as a common one is missed." % int(COMMON_OVERLAP * 100), - "Low-level mosaicism, and whether two changes of one person in one gene sit on the same copy.", -] -COUNSEL = ("This is a screen, not a diagnosis, and not medical advice. Before acting on a result, or on its " - "absence, see a genetic counsellor: a clinical carrier test confirms a finding, and the counsellor " - "can say what a negative screen leaves out for your ancestry.") - - -def write_markdown(path, a, b, sexes, rows, assessed, gaps, ngenes, common, cn=None, shared_cn=None): - def sx(s): - return sexes.get(s) or "sex unknown" - out = ["# Couple carrier screen: %s and %s" % (a, b), "", - "%s (%s) and %s (%s), partners in the pedigree. The screen covers %d genes of autosomal recessive " - "and X-linked conditions (assets/carrier_genes.tsv: the ACMG and ACOG carrier screening genes and the " - "recessive and X-linked genes of Orphanet)." % (a, sx(a), b, sx(b), ngenes), "", COUNSEL, ""] - - def section(title, keep, none): - out.extend(["## " + title, ""]) - sel = [r for r in rows if r["result"] == keep] - if not sel: - out.extend([none, ""]) - return - for r in sel: - out.append("- **%s** (%s; %s): %s" % (r["gene"], r["condition"], r["lists"], r["offspring_risk"])) - for p, k in ((r["partner_a"], "findings_a"), (r["partner_b"], "findings_b")): - if r[k] != ".": - out.append(" - %s: %s" % (p, r[k])) - out.append(" - " + r["explanation"]) - out.append("") - - section("Shared risk: both partners carry a change in the same gene", "shared", - "No gene of the list where both partners carry a change in the gene table; read depth (step 35) " - "adds a possible shared risk, below." if shared_cn else - "No gene of the list where both partners carry a change.") - if shared_cn: - out.extend(["Possible shared risk from read depth (step 35's carrier deletion alleles, not in the gene " - "table):", ""] + ["- " + x for x in shared_cn] + [""]) - section("X-linked findings", "x_linked", "No change in an X-linked gene of the list.") - section("Genes where only one partner carries a change", "one_partner", "None.") - if cn: - out.extend(["## Carrier deletion alleles and AZF regions (read depth, step 35)", "", - "Each allele is present, absent or not assessable from the read depth over it. A present " - "deletion needs a clinical test. The AZF regions are read on a male partner only. The three " - "beta-globin rows overlap: the Sicilian deletion covers both HBB rows, and the 619 bp and " - "exon 3 rows share 487 bp, so one deletion can read as present on two or three of them; " - "only a clinical test tells which allele it is.", ""]) - out.extend(cn) - out.append("") - out.extend(["## What was assessed", "", "| Partner | ClinVar hits (in listed genes / all) | Deletions | SMN1 | FMR1 and FXN repeats |", - "|---|---|---|---|---|"]) - for s in (a, b): - x = assessed[s] - out.append("| %s | %s | %s | %s | %s |" % (s, x["clinvar"], x["delly"], x["smn"], x["eh"])) - out.extend(["", "Deletions shorter than %d bp are left to the small-variant caller. Common deletions: %s." % ( - SV_MIN_SIZE, common)]) - out.extend(["", "## What this screen does not see", ""]) - out.extend("- " + g for g in gaps + RESIDUAL) - out.extend(["", "A screen that finds no shared gene lowers the chance of a child with one of these conditions; " - "it does not remove it.", ""]) - with open(path, "w", encoding="utf-8") as f: - f.write("\n".join(out)) - - -def cmd_screen(a): - genes = read_genes(a.genes) - index = GeneIndex(genes) - rows, errors = family_report.read_pedigree(a.pedigree) - declared = {} - for v in a.declared_sex or []: - k, _, s = v.partition("=") - if s.strip().lower() in family_report.SEX and family_report.SEX[s.strip().lower()]: - declared[k] = family_report.SEX[s.strip().lower()] - members, more = family_report.build_members(rows, declared, a.pedigree) - if errors or more: - die(errors + more) - clinvar = kv_args(a.clinvar, "clinvar") - delly = kv_args(a.delly, "delly") - eh = kv_args(a.eh, "eh") - smn = kv_args(a.smn, "smn") - cni = kv_args(a.cn_intervals, "cn-intervals") - cnv = kv_args(a.cnvpytor, "cnvpytor") - cyp = kv_args(a.cyp21a2, "cyp21a2") - for what, d in (("clinvar", clinvar), ("delly", delly), ("eh", eh), ("smn", smn), ("cn-intervals", cni), - ("cnvpytor", cnv), ("cyp21a2", cyp)): - for k, p in d.items(): - if k not in members: - die(["--%s %s: '%s' is not in the pedigree" % (what, k, k)]) - if not os.path.isfile(p): - die(["--%s %s: no file %s" % (what, k, p)]) - exons = read_exons(a.exons) if a.exons else None - benign, common = None, ("not filtered, no benign SV set was given (AnnotSV's annotations, step 05): a deletion " - "many people carry can show as a finding") - if a.benign_sv: - if not os.path.isfile(a.benign_sv): - die(["--benign-sv: no file %s" % a.benign_sv]) - benign, n = read_benign(a.benign_sv) - if n: - common = ("a deletion matching one of 1%% or more in AnnotSV's benign set (%d record%s, " - "%d%% reciprocal overlap) is set aside" % (n, "" if n == 1 else "s", int(COMMON_OVERLAP * 100))) - else: - benign = None - common = "not filtered, the benign SV set holds no deletion of 1% or more" - par = family_report.read_par(a.par_bed) - sexes = {s: m["sex"] for s, m in members.items()} - - couples = sorted({tuple(sorted((s, m["partner"]))) for s, m in members.items() if m["partner"]}) - if not couples: - die(["%s marks no two people as partners (the partner column): there is no couple to screen." % a.pedigree], 1) - os.makedirs(a.out_dir, exist_ok=True) - done = 0 - for x, y in couples: - lack = [s for s in (x, y) if s not in clinvar] - if lack: - print("%s and %s: not screened, %s %s no ClinVar screen (step 06's _clinvar_hits.vcf)" - % (x, y, " and ".join(lack), "has" if len(lack) == 1 else "have")) - continue - found, assessed, gaps, cn, ivs = {}, {}, [], [], {} - for s in (x, y): - if s in cni: - ivs[s] = read_cn_intervals(cni[s]) - cn += cn_lines(s, sexes[s], ivs[s], cnvpytor_deletions(cnv[s]) if s in cnv else None) - elif cni: - gaps.append("Carrier deletion alleles of %s: no interval table (step 35)." % s) - aside = [] - f, total = clinvar_findings(clinvar[s], genes, sexes[s], par, aside) - info = {"clinvar": "%d / %d" % (sum(1 for x in f if not x["hypomorph"]), total)} - for note in aside: - gaps.append("Set aside for %s, not a carrier finding on its own: %s." % (s, note)) - if s not in delly: - info["delly"] = "not assessed (no Delly calls, step 19)" - gaps.append("Deletions of %s: no Delly calls (step 19)." % s) - elif exons is None: - info["delly"] = "not assessed (no exon list)" - gaps.append("Deletions of %s: Delly ran, but without the GENCODE exon list a deletion cannot be " - "placed on exons." % s) - else: - d, skip = delly_findings(delly[s], index, exons, sexes[s], par, benign) - info["delly"] = "%d over exons of listed genes" % len(d) - if skip["short"]: - info["delly"] += "; %d shorter than %d bp set aside" % (skip["short"], SV_MIN_SIZE) - if skip["no_loss"]: - info["delly"] += "; %d longer than %d bp set aside, read depth does not confirm the loss" % ( - skip["no_loss"], DEPTH_MIN_SIZE) - if skip["common"]: - info["delly"] += "; %d set aside as common deletions" % skip["common"] - if benign is None: - gaps.append("Common deletions of %s: %s." % (s, common)) - f += d - if s in smn: - m, txt = smn_finding(smn[s], genes) - info["smn"] = txt - f += m - if not m and ("not resolved" in txt or "not assessed" in txt or "no row" in txt): - gaps.append("SMN1 copy number of %s: %s." % (s, txt)) - else: - info["smn"] = "not assessed (no Parascopy, step 35)" - gaps.append("SMN1 copy number of %s: no Parascopy (step 35)." % s) - if s in cyp: - m, txt = cyp21a2_finding(cyp[s], genes) - f += m - if txt.startswith("CYP21A2 not assessed"): - gaps.append("CYP21A2 deletion and conversions of %s: %s." % (s, cyp21a2_gap(cyp[s], txt))) - else: - gaps.append("CYP21A2 deletion and conversions of %s: step 35's CYP21A2 table was not passed " - "to the couple screen (--cyp21a2)." % s) - if s in eh: - r = eh_findings(eh[s], genes) - info["eh"] = "%d expanded" % len(r) - f += r - else: - info["eh"] = "not assessed (no ExpansionHunter, step 09)" - gaps.append("FMR1 and FXN repeats of %s: no ExpansionHunter (step 09)." % s) - found[s], assessed[s] = f, info - rows = screen_couple(x, y, sexes, found, genes) - base = os.path.join(a.out_dir, "couple_%s_%s" % (x, y)) - write_table(base + ".tsv", rows) - for s in (x, y): - write_table(os.path.join(a.out_dir, "%s_couple_carrier.tsv" % s), rows) - shared_cn = cn_shared(x, y, ivs, found, genes) - write_markdown(base + ".md", x, y, sexes, rows, assessed, gaps, len(genes), common, cn, shared_cn) - n = {k: sum(1 for r in rows if r["result"] == k) for k in ("shared", "x_linked", "one_partner")} - print("%s and %s: %d shared gene%s, %d X-linked, %d with one partner only (%s.tsv)" % ( - x, y, n["shared"], "" if n["shared"] == 1 else "s", n["x_linked"], n["one_partner"], base)) - for r in rows: - if r["result"] == "shared": - print(" shared: %s (%s): %s" % (r["gene"], r["condition"], r["offspring_risk"])) - for line in shared_cn: - print(" possibly shared, from read depth: %s" % line.split(":", 1)[0].strip("*")) - done += 1 - if not done: - die(["no couple of the pedigree has a ClinVar screen for both partners: run step 06 for each"], 1) - - -# --- the carrier list, rebuilt --------------------------------------------------- - -ORPHANET_KEEP = {"Disease-causing germline mutation(s) in", - "Disease-causing germline mutation(s) (loss of function) in", - "Disease-causing germline mutation(s) (gain of function) in"} -ORPHANET_MODE = {"Autosomal recessive": "AR", "X-linked recessive": "XL", "X-linked dominant": "XL"} -PRIMARY = ["chr%s" % c for c in list(range(1, 23)) + ["X", "Y"]] - - -def gencode_genes(path): - """{gene_name: (chrom, start, end)} of GENCODE's gene lines (1-based), and - the release. A name on several chromosomes keeps the first of chr1 to - chrY in that order (a PAR gene: chrX).""" - found, release = {}, "?" - opener = gzip.open if path.endswith(".gz") else open - with opener(path, "rt") as f: - for line in f: - if line.startswith("#"): - m = re.search(r"version (\d+)", line) - if m: - release = m.group(1) - continue - c = line.split("\t", 9) - if len(c) < 9 or c[2] != "gene" or c[0] not in PRIMARY: - continue - m = re.search(r'gene_name "([^"]+)"', c[8]) - if m: - found.setdefault(m.group(1), []).append((c[0], int(c[3]), int(c[4]))) - out = {} - for g, locs in found.items(): - locs.sort(key=lambda x: (PRIMARY.index(x[0]), x[1])) - out[g] = locs[0] - return out, release - - -def cmd_genes(a): - head, panel = [], [] - with open(a.table, encoding="utf-8") as f: - for line in f: - if line.startswith("#"): - continue - panel.append(line.rstrip("\r\n").split("\t")) - cols, panel = panel[0], [dict(zip(panel[0], r)) for r in panel[1:] if r and r[0]] - if tuple(cols) not in (GENE_COLUMNS, GENE_COLUMNS + (SEVERITY_COLUMN,)): - die(["%s: the header must be %s, optionally followed by %s" - % (a.table, "\t".join(GENE_COLUMNS), SEVERITY_COLUMN)]) - # The severity cell is written by hand: every gene keeps its own. - severity = {r["gene"]: r.get(SEVERITY_COLUMN) or "." for r in panel} - panel = [r for r in panel if "ACMG" in r["lists"] or "ACOG" in r["lists"]] - gtf, release = gencode_genes(a.gtf) - upper = {g.upper(): g for g in gtf} - par = family_report.read_par(a.par_bed) - - def place(g): - return gtf.get(g) or gtf.get(upper.get(g.upper(), "")) - - missing = [r["gene"] for r in panel if not place(r["gene"])] - if missing: - die(["GENCODE has no gene line for %s; give the current HGNC symbol" % ", ".join(missing)]) - - inh = {} - p9 = ET.parse(a.orphanet_inheritance).getroot() - for d in p9.iter("Disorder"): - inh[d.findtext("OrphaCode")] = {ORPHANET_MODE[t.findtext("Name")] for t in d.iter("TypeOfInheritance") - if t.findtext("Name") in ORPHANET_MODE} - p6 = ET.parse(a.orphanet_genes).getroot() - disorders = {} - for d in p6.iter("Disorder"): - modes = inh.get(d.findtext("OrphaCode"), set()) - if not modes: - continue - for x in d.iter("DisorderGeneAssociation"): - if (x.findtext("DisorderGeneAssociationType/Name") not in ORPHANET_KEEP - or x.findtext("DisorderGeneAssociationStatus/Name") != "Assessed"): - continue - disorders.setdefault(x.findtext("Gene/Symbol"), []).append((d.findtext("Name"), modes)) - - rows = {} - for r in panel: - c, s, e = place(r["gene"]) - rows[r["gene"]] = dict(r, chrom=c, start=str(s), end=str(e)) - for sym, ds in disorders.items(): - loc = place(sym) - if not loc: - continue - gene = sym if sym in gtf else upper[sym.upper()] - if gene in rows: - continue - c, s, e = loc - # The chromosome decides how a gene is passed on: X outside the PARs is - # X-linked, an autosome or a PAR is autosomal. - mode = "XL" if c == "chrX" and not family_report.in_par(par, c, s) else "AR" - names = sorted({n for n, m in ds if mode in m}) - if not names or c == "chrY": - continue - cond = names[0] if len(names) == 1 else "%s; and %d other%s" % (names[0], len(names) - 1, - "" if len(names) == 2 else "s") - rows[gene] = {"gene": gene, "chrom": c, "start": str(s), "end": str(e), "inheritance": mode, - "lists": "Orphanet", "condition": cond.replace("\t", " ")} - date6 = p6.get("date", "?").split()[0] - head = [ - "# carrier_genes.tsv: the genes of the couple carrier screen (step 39, bin/couple_report.py).", - "# One row per gene. chrom, start and end: the gene's GRCh38 span (1-based, inclusive) from the", - "# gene lines of GENCODE release %s (basic annotation). inheritance: AR (autosomal, or in a" % release, - "# pseudoautosomal region) or XL (chrX outside the PARs). lists: where the gene comes from:", - "# ACMG Gregg et al., Genet Med 2021;23(10):1793-1806 (doi:10.1038/s41436-021-01203-z),", - "# tier 3: the 97 autosomal recessive genes of its tables 1 to 5 and the 16 X-linked", - "# genes of table 6; condition names from those tables", - "# ACOG the conditions of ACOG Committee Opinions 690 and 691 (2017): cystic fibrosis, spinal", - "# muscular atrophy, the hemoglobinopathies, fragile X and the Ashkenazi Jewish panel", - "# Orphanet every other gene of an Orphanet disorder with autosomal recessive or X-linked", - "# inheritance (Orphadata en_product6 and en_product9_ages of %s, CC BY 4.0," % date6, - "# https://www.orphadata.com), with a disease-causing germline association that", - "# Orphanet assessed; condition: the first such disorder by name", - "# severity: alleles of the gene that are not a full loss of function, separated by \";\": each is", - "# hypomorph or pseudodeficiency, then chrom:pos:ref:alt (GRCh38), then a name; \".\" for none. Such", - "# an allele never makes a carrier finding on its own (the couple screen, step 39, and the", - "# carrier list of the sample report). With a called deletion of the gene it is a second hit (the", - "# two-hit lines of the sample report, bin/collect_summary.py two_hits). In the couple screen a", - "# hypomorph beside a full loss of function in the other partner's same gene is a shared gene.", - "# Rebuilt with: couple_report.py genes (docs/39-couple.md says how).", - ] - with open(a.out, "w", encoding="utf-8") as f: - f.write("\n".join(head) + "\n" + "\t".join(GENE_COLUMNS + (SEVERITY_COLUMN,)) + "\n") - for g in sorted(rows, key=lambda g: (PRIMARY.index(rows[g]["chrom"]), int(rows[g]["start"]), g)): - f.write("\t".join([rows[g][k] for k in GENE_COLUMNS] + [severity.get(g, ".")]) + "\n") - print("%d genes: %d ACMG or ACOG, %d Orphanet" % (len(rows), len(panel), len(rows) - len(panel))) - - -def main(argv=None): - ap = argparse.ArgumentParser(description=__doc__.split("\n\n")[0]) - sub = ap.add_subparsers(dest="cmd", required=True) - s = sub.add_parser("screen") - s.add_argument("--pedigree", required=True) - s.add_argument("--genes", required=True) - s.add_argument("--clinvar", action="append") - s.add_argument("--delly", action="append") - s.add_argument("--eh", action="append") - s.add_argument("--smn", action="append") - s.add_argument("--cn-intervals", action="append", help="ID=_cn_intervals.tsv of step 35") - s.add_argument("--cyp21a2", action="append", help="ID=_cyp21a2_psv.tsv of step 35") - s.add_argument("--cnvpytor", action="append", help="ID=_cnvs.vcf.gz of step 18 (the cross-check)") - s.add_argument("--exons") - s.add_argument("--benign-sv") - s.add_argument("--par-bed") - s.add_argument("--declared-sex", action="append") - s.add_argument("--out-dir", required=True) - g = sub.add_parser("genes") - g.add_argument("--table", required=True) - g.add_argument("--orphanet-genes", required=True) - g.add_argument("--orphanet-inheritance", required=True) - g.add_argument("--gtf", required=True) - g.add_argument("--par-bed", required=True) - g.add_argument("--out", required=True) - a = ap.parse_args(argv) - if a.cmd == "screen": - cmd_screen(a) - else: - cmd_genes(a) - return 0 - - -if __name__ == "__main__": - sys.exit(main()) diff --git a/bin/family_report.py b/bin/family_report.py index d8677607e..fc7390b59 100755 --- a/bin/family_report.py +++ b/bin/family_report.py @@ -1,13 +1,12 @@ #!/usr/bin/env python3 -# remnant: kept for couple_report, pedigree_svg; deleted in lane R4 +# remnant: kept for pedigree_svg; deleted in lane R4 """family_report.py: what is left of the family analysis of step 38 once it -moved to `og family` (rust/crates/og-steps/src/family). Only the pedigree, -relatedness and PAR rules that other Python tools still import are kept -here; `og dev remnants` (tests/parity/remnants.tsv) checks that nothing -else comes back. Standard library only. +moved to `og family` (rust/crates/og-steps/src/family). Only the pedigree +and relatedness rules that other Python tools still import are kept here; +`og dev remnants` (tests/parity/remnants.tsv) checks that nothing else comes +back. Standard library only. """ import re -import sys COLUMNS = ("family", "sample", "sex", "father", "mother", "partner") MISSING = {"", ".", "0", "-9"} @@ -22,12 +21,6 @@ (0.177, "second degree"), (0.0884, "third degree")) -def die(lines, code=2): - for line in lines: - print("ERROR: " + line, file=sys.stderr) - sys.exit(code) - - def missing(v): return v is None or v.strip() in MISSING @@ -212,19 +205,3 @@ def degree(r): if r >= lo: return name return "unrelated" - - -def read_par(path): - par = {} - if path: - with open(path) as f: - for line in f: - c = line.split("\t") - if len(c) >= 3: - par.setdefault(c[0], []).append((int(c[1]), int(c[2]))) - return par - - -def in_par(par, chrom, pos): - # BED: 0-based start, end exclusive; pos is 1-based - return any(s < pos <= e for s, e in par.get(chrom, ())) diff --git a/bin/paraphase_report.py b/bin/paraphase_report.py deleted file mode 100755 index 5976ea296..000000000 --- a/bin/paraphase_report.py +++ /dev/null @@ -1,58 +0,0 @@ -#!/usr/bin/env python3 -# remnant: kept for collect_summary and couple_report; deleted in lane R4 -"""paraphase_report.py: what is left of step 35b's two tables once they -moved to `og paraphase check-bam` and `og paraphase table` -(rust/crates/og-steps/src/paraphase.rs). Only the rule the summary and the -couple report still import is kept: SMN1 from step 35's Parascopy table, set -beside SMN1 from Paraphase, so both reports judge agreement the same way. -`og dev remnants` (tests/parity/remnants.tsv) checks that nothing else comes -back. Standard library only. -""" -import re - -# SMN1 exon 7, c.840 (the base that tells SMN1 from SMN2), GRCh38 1-based. -SMN1_EXON7 = ("chr5", 70951946) - - -def parascopy_smn1(path): - """SMN1 copy number from step 35's table (_smn_copy_number.tsv): the - paralog-specific value of the row, or of the homologous region, that holds - SMN1 exon 7. {'cn': int or None, 'text': str}; cn is None unless the - filter is PASS and the quality at least 20 (Parascopy's threshold).""" - chrom, pos = SMN1_EXON7 - with open(path, errors="replace") as f: - header = f.readline().rstrip("\n").split("\t") - for line in f: - r = dict(zip(header, line.rstrip("\n").split("\t"))) - regions = [] - try: - regions.append((r["chrom"], int(r["start"]) + 1, int(r["end"]))) - except (KeyError, ValueError): - continue - for h in (r.get("homologous_regions") or "*").split(","): - m = re.match(r"^([^:]+):(\d+)-(\d+)", h.strip()) - if m: - regions.append((m.group(1), int(m.group(2)), int(m.group(3)))) - idx = next((i for i, (c, s, e) in enumerate(regions) if c == chrom and s <= pos <= e), None) - if idx is None: - continue - cns = (r.get("psCN") or "").split(",") - quals = (r.get("psCN_qual") or "").split(",") - cn_txt = cns[idx] if idx < len(cns) else "?" - q_txt = quals[idx] if idx < len(quals) else "*" - filt = r.get("psCN_filter") or "." - try: - q = float(q_txt) - except ValueError: - q = None - ok = filt == "PASS" and q is not None and q >= 20 and cn_txt.isdigit() - return {"cn": int(cn_txt) if ok else None, - "text": f"{cn_txt} (quality {q_txt}, filter {filt})" + ("" if ok else ", not resolved")} - return {"cn": None, "text": "no row covers SMN1 exon 7"} - - -def compare_smn1(paraphase_cn, parascopy): - """'agree', 'disagree', or None when either tool has no SMN1 call.""" - if paraphase_cn is None or parascopy is None or parascopy.get("cn") is None: - return None - return "agree" if int(paraphase_cn) == parascopy["cn"] else "disagree" diff --git a/docs/35-paralogs.md b/docs/35-paralogs.md index 1a1b0ae07..943a676aa 100644 --- a/docs/35-paralogs.md +++ b/docs/35-paralogs.md @@ -183,7 +183,7 @@ One owner per locus. These loci are Parascopy's: no row of `bin/cn_loci.tsv` tha A new locus is a new row for a model already in the pinned data; it needs no code change. A rerun of the bash step removes the table of a row the catalog no longer has, so every catalog table in `paralogs/` comes from the last run. A row whose region has no read is not assessed and costs one `samtools view -c`, so a BAM of part of the genome runs Parascopy only where it has reads. -`assets/parascopy_models_v1.7.txt` lists every region of the 167 models of the pinned data (`models_GRCh38_1KGP_v1.7.tar.gz`, Zenodo record 15019940, archive sha256 `2e9be08b69936f13a49d52c7764f2414beac27a99b95e0c48b2e2ccafbb8c846`), the same for the five populations. Each gene there is the model file `.gz` of the `list.txt` the data installs. `tests/test_paralog_loci.py` refuses a catalog row whose model is not on that list: the gene GBA1, for example, has the model `GBA.gz`, not `GBA1.gz`. +`assets/parascopy_models_v1.7.txt` lists every region of the 167 models of the pinned data (`models_GRCh38_1KGP_v1.7.tar.gz`, Zenodo record 15019940, archive sha256 `2e9be08b69936f13a49d52c7764f2414beac27a99b95e0c48b2e2ccafbb8c846`), the same for the five populations. Each gene there is the model file `.gz` of the `list.txt` the data installs. `cargo test -p og-steps --test paralog_loci` refuses a catalog row whose model is not on that list: the gene GBA1, for example, has the model `GBA.gz`, not `GBA1.gz`. ## HBA1 and HBA2 from Depth @@ -234,7 +234,7 @@ The ratio of a site is its estimate over the median of the sites, so one copy co ## How It Is Tested -- `tests/test_paralog_loci.py` checks the model list (167 genes in `assets/parascopy_models_v1.7.txt`, each with one main region) and every catalog row (a model on the list, a GRCh38 region inside the model's main region, a known tag and cross-check, a table name used once, the SMN1 row), and that planted faults are refused: a model not on the list (`GBA1.gz`, and `CYP21A2.gz`, which the data has no model for), a bad region, a region outside its model, a repeated table name, a catalog without the SMN1 row. It checks one owner per locus: no catalog model overlaps a depth-engine row of `bin/cn_loci.tsv` but RHCE (without that exemption RHCE is refused, and a planted model over HBA is refused), and every catalog gene `assets/callability_genes.tsv` lists has the owner `parascopy` there (a planted `.` is refused). The catalog sets owners in that file but adds no rows to it: its rows come from GIAB's lists, gene body by gene body, and a model can cover only part of a gene. So 17 catalog genes are not there: seven pseudogenes (CELP, GBAP1, NCF1B, NCF1C, OTOAP1, PMS2CL, STRCP1), which it leaves out as not protein-coding, and ten genes to which none of its reasons applies (ABCC6, CFH, CFHR4, CHRNA7, DEFA3, KRT86, NEB, PIK3CA, PLG, VWF). This section reads them all. The test holds that list and fails when it changes. It also runs the step's own lines that write a not-assessed SMN table and checks that the report, the Paraphase side-by-side and the couple screen each read it as not assessed, with the reason, and that a catalog table without `agCN_filter` or `agCN_qual` reads as unreadable, not as not resolved. +- `cargo test -p og-steps --test paralog_loci` checks the model list (167 genes in `assets/parascopy_models_v1.7.txt`, each with one main region) and every catalog row (a model on the list, a GRCh38 region inside the model's main region, a known tag and cross-check, a table name used once, the SMN1 row), and that planted faults are refused: a model not on the list (`GBA1.gz`, and `CYP21A2.gz`, which the data has no model for), a bad region, a region outside its model, a repeated table name, a catalog without the SMN1 row. It checks one owner per locus: no catalog model overlaps a depth-engine row of `bin/cn_loci.tsv` but RHCE (without that exemption RHCE is refused, and a planted model over HBA is refused), and every catalog gene `assets/callability_genes.tsv` lists has the owner `parascopy` there (a planted `.` is refused). The catalog sets owners in that file but adds no rows to it: its rows come from GIAB's lists, gene body by gene body, and a model can cover only part of a gene. So 17 catalog genes are not there: seven pseudogenes (CELP, GBAP1, NCF1B, NCF1C, OTOAP1, PMS2CL, STRCP1), which it leaves out as not protein-coding, and ten genes to which none of its reasons applies (ABCC6, CFH, CFHR4, CHRNA7, DEFA3, KRT86, NEB, PIK3CA, PLG, VWF). This section reads them all. The test holds that list and fails when it changes. `cargo test -p og-couple --test paralog_readers` runs the step's own lines that write a not-assessed SMN table and checks that the report, the Paraphase side-by-side and the couple screen each read it as not assessed, with the reason, and that a catalog table without `agCN_filter` or `agCN_qual` reads as unreadable, not as not resolved. - `tests/fake-docker/paralog-catalog-loop.sh` runs the step on a catalog of three rows against a fake Docker: three `parascopy cn-using` calls with the right model files, in order, one table each; another population's files with `PARASCOPY_POPULATION`; no call and a not-assessed table for a region without reads, a model that is not installed and a Parascopy run that fails, while the other rows run; a rerun with fewer rows removes the tables of the dropped rows and keeps the HBA and Paraphase tables; a bad row, or a region off chr1-22, X and Y or with its start past its end, stops the step before any container. - The e2e case `paralog-catalog-1-gba` adds a GBA row (`GBA.gz`) to a copy of the catalog and runs the step on the fixture's slice plus GIAB's HG002 reads over GBA1 and GBAP1, sampled to about 30x: the GBA table must hold an integer agCN with its quality. On the fixture's slice alone, which has no read at GBA1, the same row must be not assessed. The case also checks that the committed models are the names in the installed `list.txt` of each population, that the SMN table is byte for byte what one `parascopy cn-using` of `SMN1.gz` writes, as the step did before the catalog, and that the loop of the Nextflow module, cut from the file, writes the same two tables in the same image. - `tests/test_copy_number.py` checks the HBA row and that these depth tables give, through the engine, the same tables as the code before it. `tests/test_hba_copy_number.py` gives `og cn call --locus HBA` made-up depth tables: four genes at even depth, three with HBA2 at half depth, two, a triplication, an estimate between two whole numbers, low flanks, flanks that disagree, and no read of mapping quality 0 over the genes (the depths of the novoalign BAM, and a clean three), which must be not assessed. @@ -259,7 +259,7 @@ The same section shows the tables no Parascopy model makes, each read on its own A table that is not in the run's output reads `not assessed (step 35's _... is not in this run's output)`, so a missing table never reads as a normal result. An SMN, interval or dosage table with a header but without its columns makes the section unreadable, and a CYP21A2 table without a status row reads as not assessed; a catalog table without the copy-number columns makes that locus unreadable, also with no row under the header. -The couple screen reads the CYP21A2 table with `couple_report.py screen --cyp21a2 ID=_cyp21a2_psv.tsv`, where a deletion or a possible conversion is a CYP21A2 carrier finding. Step 39 passes it when a partner's folder holds it. In Nextflow, `main.nf` passes the `PARASCOPY` task's CYP21A2 and dosage tables to each sample's `HTML_REPORT`, and the CYP21A2 table of each partner to `COUPLE_CARRIER`, so both reports and the couple screen read them as the bash steps do. +The couple screen reads the CYP21A2 table with `og couple screen --cyp21a2 ID=_cyp21a2_psv.tsv`, where a deletion or a possible conversion is a CYP21A2 carrier finding. Step 39 passes it when a partner's folder holds it. In Nextflow, `main.nf` passes the `PARASCOPY` task's CYP21A2 and dosage tables to each sample's `HTML_REPORT`, and the CYP21A2 table of each partner to `COUPLE_CARRIER`, so both reports and the couple screen read them as the bash steps do. When neither step 35 nor step 35b left a result, both reports print `Paralog copy number: not checked (neither step 35 nor step 35b ran)`, naming a step that failed instead, so a missing check never reads as a normal result. Unless step 35's depth count made a call, or step 35b called both HBA1 and HBA2 (a run limited to other regions with `--paraphase_regions` has neither, and a `no call` row does not count), the "Not Assessed" list also names HBA1/HBA2 copy number. @@ -369,7 +369,7 @@ Not measured on a whole genome. Paraphase reads only the reads of its regions an ### How It Is Tested -- `tests/test_paraphase_report.py` checks the region catalog: it holds the rows the test expects (a dropped row goes red); the old eight regions give the copy-number table byte for byte as the hard-coded table before the catalog wrote it (a changed JSON field goes red); a synthetic JSON of each new entry, shaped as Paraphase 4.1.0's source writes it, gives its rows; a region without the field its row reads is not assessed. It also checks that this page and `scripts/35b-paraphase.sh` state 165 regions, and the e2e case `paralog-rows-1` counts the top-level entries of `data/38/config.yaml` inside the pinned image and fails on another number. +- `cargo test -p og-steps --test paraphase_report` checks the region catalog: it holds the rows the test expects (a dropped row goes red); the old eight regions give the copy-number table byte for byte as the hard-coded table before the catalog wrote it (a changed JSON field goes red); a synthetic JSON of each new entry, shaped as Paraphase 4.1.0's source writes it, gives its rows; a region without the field its row reads is not assessed. It also checks that this page and `scripts/35b-paraphase.sh` state 165 regions, and the e2e case `paralog-rows-1` counts the top-level entries of `data/38/config.yaml` inside the pinned image and fails on another number. - The image's smoke test runs Paraphase's own demo, the HG01175 SMN1/SMN2 HiFi reads shipped with the pinned release (their sha256 checked first), and checks the result its documentation publishes: two SMN1, one SMN2, one SMN with exons 7-8 deleted. - The e2e case `paralogs-paraphase-1` reads GIAB's HG002 PacBio Revio BAM over HTTPS for the eight regions above and Paraphase's depth windows. It checks that a short-read BAM is refused, that each gene has its row with the copy number Paraphase calls on this slice (two each of SMN1, SMN2, PMS2, STRC, NCF1, HBA1, HBA2 and GBA1, four RCCX modules, no SMN exon 7-8 deletion), that GBA1 and OTOA count the gene alone rather than the family, and a planted 4.2 kb deletion: the 4,257 bp between the two homologous HBA boxes are cut out of the reads of one haplotype, and Paraphase must name the deletion and report one HBA2 copy fewer. A control relabels that result as swapped HBA1 and HBA2 regions in Paraphase's config would, and the HBA2 check must then fail. The same BAM then runs through Nextflow beside a short-read BAM, which fails the check while the run goes on. No per-sample Paraphase results for HG002 are published, so those copy numbers are Paraphase's own calls on this slice with the pinned image, not a published truth set: a change in the slice, the image or the parsing that moves one fails the case. diff --git a/docs/39-couple.md b/docs/39-couple.md index dbc549f4c..ae1c30dc2 100644 --- a/docs/39-couple.md +++ b/docs/39-couple.md @@ -18,7 +18,7 @@ Before this step a couple had to compare two ClinVar tables by hand ([Multi-Samp ## Tool -`bin/couple_report.py` (standard library Python). It reads, for each partner: +`og couple screen` (OwnGenome's `og` binary, `rust/crates/og-couple`). It reads, for each partner: | Finding | From | Counted when | |---|---|---| @@ -39,7 +39,7 @@ The table of what was assessed counts, for each partner, the deletions over a li Only the ClinVar screen is required. Each of the others is used when its file is there, and the report lists every one that was not. -`couple_report.py screen` also takes step 35's interval table (`--cn-intervals ID=paralogs/_cn_intervals.tsv`, [the interval rows](cn-loci.md#the-interval-rows)). The report then lists, for each partner, del(GJB6-D13S1830), CFTRdele2,3, the HBB exon 3 deletion, the HBB 619 bp deletion and the Sicilian (delta-beta)0 deletion as present, absent or not assessable from read depth, and a male partner's AZFa, AZFb and AZFc deletions (Y chromosome microdeletions, a cause of male infertility) the same way, where present means the deletion is there; a female partner's AZF line says not applicable. The three beta-globin rows overlap (the Sicilian deletion covers both HBB rows, and the 619 bp and exon 3 rows share 487 bp), so one deletion can read as present on two or three of them; the report says so, and only a clinical test names the allele. With `--cnvpytor ID=cnvpytor/_cnvs.vcf.gz` (step 18), a CNVpytor call that disagrees with the depth call (a deletion over half the allele's span or more where depth sees none, or none where depth sees one) is printed beside it. A missing call is not printed for an allele shorter than 2 kb (the two HBB rows): step 18 counts in 1 kb bins and cannot see a deletion that short. These lines are a list, not carrier findings: they do not enter the gene table. When both partners carry something in one gene once these alleles count (CFTRdele2,3 present in both, or an HBB deletion in one and an HBB finding in the other; del(GJB6-D13S1830) counts with GJB2 and GJB6), the shared-risk heading says read depth adds a possible shared risk and names the gene and what each partner carries, so the heading never reads as nothing shared. A gene the carrier list (`--genes`) leaves out gives no such line. The couple table and each partner's copy stay as they were, so the sample reports count the gene table only and say the read-depth alleles are in the couple report. Step 39 passes both when a partner's folder holds them (`paralogs/_cn_intervals.tsv` of step 35, `cnvpytor/_cnvs.vcf.gz` of step 18), and the Nextflow couple screen passes them when `--tools` has `parascopy` and `cnvpytor`. +`og couple screen` also takes step 35's interval table (`--cn-intervals ID=paralogs/_cn_intervals.tsv`, [the interval rows](cn-loci.md#the-interval-rows)). The report then lists, for each partner, del(GJB6-D13S1830), CFTRdele2,3, the HBB exon 3 deletion, the HBB 619 bp deletion and the Sicilian (delta-beta)0 deletion as present, absent or not assessable from read depth, and a male partner's AZFa, AZFb and AZFc deletions (Y chromosome microdeletions, a cause of male infertility) the same way, where present means the deletion is there; a female partner's AZF line says not applicable. The three beta-globin rows overlap (the Sicilian deletion covers both HBB rows, and the 619 bp and exon 3 rows share 487 bp), so one deletion can read as present on two or three of them; the report says so, and only a clinical test names the allele. With `--cnvpytor ID=cnvpytor/_cnvs.vcf.gz` (step 18), a CNVpytor call that disagrees with the depth call (a deletion over half the allele's span or more where depth sees none, or none where depth sees one) is printed beside it. A missing call is not printed for an allele shorter than 2 kb (the two HBB rows): step 18 counts in 1 kb bins and cannot see a deletion that short. These lines are a list, not carrier findings: they do not enter the gene table. When both partners carry something in one gene once these alleles count (CFTRdele2,3 present in both, or an HBB deletion in one and an HBB finding in the other; del(GJB6-D13S1830) counts with GJB2 and GJB6), the shared-risk heading says read depth adds a possible shared risk and names the gene and what each partner carries, so the heading never reads as nothing shared. A gene the carrier list (`--genes`) leaves out gives no such line. The couple table and each partner's copy stay as they were, so the sample reports count the gene table only and say the read-depth alleles are in the couple report. Step 39 passes both when a partner's folder holds them (`paralogs/_cn_intervals.tsv` of step 35, `cnvpytor/_cnvs.vcf.gz` of step 18), and the Nextflow couple screen passes them when `--tools` has `parascopy` and `cnvpytor`. ### The carrier list @@ -114,7 +114,7 @@ Not measured on whole genomes. The step reads only the partners' result files, n The ACMG and ACOG rows are written by hand and kept; the Orphanet rows and every span are made again from the sources: ```bash -python3 bin/couple_report.py genes --table assets/carrier_genes.tsv \ +bin/og couple genes --table assets/carrier_genes.tsv \ --orphanet-genes en_product6.xml --orphanet-inheritance en_product9_ages.xml \ --gtf gencode.v50.basic.annotation.gtf.gz --par-bed assets/par_grch38.bed --out new_carrier_genes.tsv ``` @@ -123,4 +123,4 @@ with `en_product6.xml` and `en_product9_ages.xml` from https://www.orphadata.com ## Testing -`tests/test_couple_report.py` checks the rules on synthetic step outputs at real coordinates, including a red control with the list emptied. The e2e case `tests/e2e/couple-carrier-1.sh` runs steps 06 and 39 on HG002 and a synthetic partner, with planted ClinVar records and a planted deletion, and compares the Nextflow pipeline's couple table and report with step 39's. `tests/e2e/couple-common-sv-1.sh` runs step 39 with a small benign loss set: a 30 bp deletion and a common one are set aside, a rare one counts, and without the set the common one counts and the report says the filter was off; a stub run of the pipeline stages the set into `COUPLE_CARRIER` when `--annotsv_annotations` holds it, and none when it does not. +`cargo test -p og-couple` checks the rules on synthetic step outputs at real coordinates, including a red control with the list emptied, and the parity cases `couple-screen` and `couple-genes` (`tests/parity/cases.tsv`) compare `og couple screen` and `og couple genes` with the Python they replaced. The e2e case `tests/e2e/couple-carrier-1.sh` runs steps 06 and 39 on HG002 and a synthetic partner, with planted ClinVar records and a planted deletion, and compares the Nextflow pipeline's couple table and report with step 39's. `tests/e2e/couple-common-sv-1.sh` runs step 39 with a small benign loss set: a 30 bp deletion and a common one are set aside, a rare one counts, and without the set the common one counts and the report says the filter was off; a stub run of the pipeline stages the set into `COUPLE_CARRIER` when `--annotsv_annotations` holds it, and none when it does not. diff --git a/docs/cn-loci.md b/docs/cn-loci.md index 71f2ef3e0..d53d3392b 100644 --- a/docs/cn-loci.md +++ b/docs/cn-loci.md @@ -98,7 +98,7 @@ A site is low when its estimate is more than 0.6 copies under the larger of the A row on chrX or chrY is read against the sample's own count there: its controls sit on the same chromosome, so a male's one X or Y gives 1 copy, and `expected` says so. The sex is the declared one: step 35's second argument, and in Nextflow the samplesheet's sex column. Step 16's inferred sex is not used, so both give the same table. A chrY row on a female is `not applicable`; without a sex, chrX and chrY rows are `not assessed` (`sex_unknown`). Every row needs 8x of control depth (4x on chrY), flanks within 1.5x of each other, and an estimate within 0.3 of a whole number; a control with no read makes that row `not assessed` (`broken_control`) and the others still run. A failed bedcov pass writes every row as `not assessed` (`check_failed`). -The couple screen (step 39) reads the table with `couple_report.py screen --cn-intervals ID=_cn_intervals.tsv`: each carrier allele is present, absent or not assessable for each partner, and a male partner's AZF deletions are listed the same way (present means the deletion is there). With `--cnvpytor ID=_cnvs.vcf.gz` (step 18), a CNVpytor call that disagrees with the depth call is printed beside it. Step 39 and the Nextflow couple screen pass both when the partner has them. Both reports show the table in step 35's section: the counts by status and each row with a deletion or a duplication. +The couple screen (step 39) reads the table with `og couple screen --cn-intervals ID=_cn_intervals.tsv`: each carrier allele is present, absent or not assessable for each partner, and a male partner's AZF deletions are listed the same way (present means the deletion is there). With `--cnvpytor ID=_cnvs.vcf.gz` (step 18), a CNVpytor call that disagrees with the depth call is printed beside it. Step 39 and the Nextflow couple screen pass both when the partner has them. Both reports show the table in step 35's section: the counts by status and each row with a deletion or a duplication. To change a row, change its rule or hand row in `rust/crates/og-dev/src/build/cn_intervals.rs`, or a pinned download in `scripts/ci/build-cn-intervals.sh`, rebuild og (`scripts/setup.sh --og`) and run `scripts/ci/build-cn-intervals.sh`; `--check` fails when the catalog is not what the downloads give. @@ -124,7 +124,7 @@ pypgx owns the genes it calls from the BAM, the `bam` rows of `assets/pgx_genes. ## How it is tested -- `tests/test_copy_number.py` section 9 runs the converter on a small ClinGen BED whose chrX rows are spelled `chrx` (the rows load on chrX; the same rows left as `chrx` are refused; an unknown contig stops the build). Made-up depths call a 22q11.2 A-D deletion at 1 copy and a 17p12 duplication at 3, and 2 for both unaltered. AZFc at half its DAZ depth on a male is a deletion; every AZF row on a female is not applicable. No interval row's control overlaps another row's target. The HBB 619 bp and Sicilian rows sit at HbVar's GRCh38 spans. The interval block of step 35, cut out and run on made-up bedcov tables, writes one line per row, and a failed bedcov writes every row as not assessed. `tests/test_couple_report.py` section 11 checks the three states and the CNVpytor cross-check. +- `tests/test_copy_number.py` section 9 runs the converter on a small ClinGen BED whose chrX rows are spelled `chrx` (the rows load on chrX; the same rows left as `chrx` are refused; an unknown contig stops the build). Made-up depths call a 22q11.2 A-D deletion at 1 copy and a 17p12 duplication at 3, and 2 for both unaltered. AZFc at half its DAZ depth on a male is a deletion; every AZF row on a female is not applicable. No interval row's control overlaps another row's target. The HBB 619 bp and Sicilian rows sit at HbVar's GRCh38 spans. The interval block of step 35, cut out and run on made-up bedcov tables, writes one line per row, and a failed bedcov writes every row as not assessed. The `carrier_deletion_alleles_and_azf` test of `rust/crates/og-couple/tests/couple_report.rs` checks the three states and the CNVpytor cross-check. - The e2e case `cn-intervals-1-catalog` rebuilds the interval rows from the pinned downloads and fails on any difference with the committed catalog. `cn-intervals-2-hg002` runs the interval blocks of step 35 and of the PARASCOPY module on HG002's real reads at the AZF genes, their controls and 22q11.2: a male with one copy of AZFa and AZFb, AZFc_DAZ not assessed (its estimate, between 3.3 and 3.9, is no whole count of the four DAZ copies, so the row says `between_counts` rather than a call), no change at 22q11.2 A-B, no call on a row off chrY and chr22 (they have no read; the chr22 rows share A-B's control window, so they are left out of that check), and the AZF rows not applicable when the same reads are read as female. - The e2e case `followups-cn-1-couple-report` runs step 39, COUPLE_CARRIER and HTML_REPORT on a made-up couple, plus a stub run of `main.nf`, and checks that the interval table and the CNVpytor calls reach the couple report and `summary.json`. Each wiring line has a red control: the case runs again without it and checks that the rows are gone. diff --git a/docs/rust.md b/docs/rust.md index bfe8ead4b..4d2775459 100644 --- a/docs/rust.md +++ b/docs/rust.md @@ -40,11 +40,11 @@ bin/og the shim tasks call; runs bin/.og/og-linux- (og-da tests/rust/ the differential test against CPython, the image test ``` -Each ported tool becomes a subcommand named after its file in `bin/` without `.py`, in kebab-case. Today `og` has `og qc sex-loss` (step 33), `og version`, `og --tree-hash`, `og map`, `og setup mask-fasta`, `og run state|tasks|eta|headroom|delta`, `og dev parity-compare`, `og pgx cyp2d6-bed|cyp2d6-measure|cyp2d6-check`, `og str motif|catalog`, `og cdna check|scan` (were `clip_check.py` and `cdna_scan.py`), `og comphet phase` (was `comphet_phase.py`), `og bam contigs`, `og setup unzip|genetic-map` and two hidden ones the tests drive: `og pycompat-probe` and `og bam-fetch-probe`. The filters of steps 04, 05 and 07 are grouped by step: `og sv svlen-fix` and `og sv inv-filter` (were `sv_svlen_fix.py` and `manta_inv_filter.py`), `og pgx refblock-fill` and `og pgx mito-merge` (were `pgx_refblock_fill.py` and `pgx_mito_merge.py`). Step 05 builds AnnotSV's input with `og sv add-callers` and checks its class 4 and 5 calls with `og sv postfilter` (were `cnvpytor_to_vcf.py` and `annotsv_postfilter.py`); both apply one read-depth rule for long Delly calls (`og-steps::sv`). `cnvpytor_to_vcf.py` keeps only the Python copy of that rule, which step 39's couple screen still imports. `og str catalog` (was `strchive_convert.py`) builds the STRchive catalog of steps 09 and 9b; `og setup unzip` and `og setup genetic-map` replace two small Python programs inside `setup.sh`. Step 25 has `og prs format` (a port of `collect_summary.py prs-format`, named by what it works on) and `og prs table` (was `prs-table`). Step 33 has `og qc sample` (was `sample-qc`), and step 20 has `og mito annotate|deletions|copies` (were `mito-annotate`, `mito-deletions` and `mito-copies`). Steps 23 and 31 use `og vcf csq-rank` and `og table constraint-join` (ports of the awk programs `bin/csq_rank.awk` and `bin/constraint_join.awk`, named by what they work on). Step 27 uses `og pgx cpic-report` and `og pgx step36-outside` (were the two commands of `pgx_parse.py`). Step 49 runs `og chip prepare`, `og chip report` and `og chip check-table` (were the commands of `chip_report.py`). Steps 32, 35, 41 and 46 run `og cn bed`, `og cn call`, `og cn intervals`, `og cn check-bam`, `og cn marker-regions` and `og cn marker-read` ([Copy number from depth](cn-loci.md)); they replace `hba_copy_number.py`, `lpa_kiv2.py`, `copy_number.py` (the catalog tests materialise its pinned historical version as a differential oracle) and the marker reader of `traits_report.py`. Step 41 runs `og bloodtype report` (was `bloodtype_report.py`), which reads the marker sites through the VCF's index. Step 26b's six commands are `og ancestry-fine panel-map|check-map|order|sample-bed|chroms|report`. Step 43 runs `og archaic table|strict|genotypes|report` (were the four commands of `archaic_report.py`) and step 44 runs `og ancient select|lift|person-geno|align|report` (were the five commands of `ancient_report.py`); `og ancient lift` reads UCSC's chain file with `og-intervals::chain`. Step 40 runs `og consumer build-sites`, `og consumer export` and `og consumer check` (were the three commands of `export_consumer.py`). Step 38 and the Nextflow family workflow run `og family plan`, `prepare`, `check`, `report`, `segments` and `ibd` (were `family_report.py`, `family_segments.py` and `ibd_report.py`). `og family report` reads the joint VCF once, compresses each child's inheritance table on its own thread, and stops with exit 2 on a joint VCF that is not sorted. The opt-in steps read their tool's output with `og y str-bed|str-report` (45), `og viral report` (47), `og exomiser prepare|report` (48), `og mei report|annotsv-input` (50), `og mocha report` (51), `og vntyper report` (52) and `og locityper report` (53); they replaced `ystr_report.py`, `viral_report.py`, `exomiser_report.py`, `mei_report.py`, `mocha_report.py`, `vntyper_report.py` and `locityper_report.py`. Step 37 places the sample on the current YFull YTree with `og y tree-positions` and `og y tree-place` (were the two commands of `y_tree_place.py`), lists its private SNPs with `og y private-snps` (was `y_private_snps.py`) and writes Yleaf's marker positions with `og y yleaf-positions` (was `yleaf_run.py positions`; `yleaf_run.py predict` stays Python, as glue inside Yleaf's own code). Steps 08, 32 and 36 run `og pgx hla-concordance`, `og pgx pypgx-summary` and `og pgx outside-calls` (were the three commands of `pgx_outside_calls.py`), and step 35b runs `og paraphase check-bam|table` (were `paraphase_report.py`, which keeps the SMN1 rule beside Parascopy). Both write their two output files together or not at all. `scripts/owngenome-lookup.sh` runs `og lookup query` ([genotype lookup](lookup.md)), which answers every query of the command line in one process; `og lookup resolve` and `og lookup report` are its two halves, with the command lines of `genome_lookup.py`, which keeps only the query reading and the names rule that `results_index.py` imports. `og recheck` replaced `owngenome_recheck.py` ([Newer databases since a run](recheck.md)); the file stays one release as a shim that runs it, for crontabs. `og dev freshness` replaced `scripts/ci/freshness.py`, the monthly freshness issue of `freshness.yml`. `og dev build cn-intervals|callability|sv-rule-regions` rebuild the committed tables `bin/cn_loci.tsv` (its interval rows), `assets/callability_genes.tsv` and `assets/sv_rule_regions.tsv`; they replaced `scripts/ci/build-cn-intervals.py` and the Python inside `build-callability.sh` and `build-sv-rule-regions.sh`. Those scripts keep the downloads (`curl` through `scripts/ci/lib/fetch-pinned.sh`, each file checked against its sha256) and hand `og` the folder, so `og dev build` reads local files only. Both ask the network through the host's `curl` (the config on stdin, so no token reaches the process list), which keeps a TLS stack out of the static binary and its cross-builds. +Each ported tool becomes a subcommand named after its file in `bin/` without `.py`, in kebab-case. Today `og` has `og qc sex-loss` (step 33), `og version`, `og --tree-hash`, `og map`, `og setup mask-fasta`, `og run state|tasks|eta|headroom|delta`, `og dev parity-compare`, `og pgx cyp2d6-bed|cyp2d6-measure|cyp2d6-check`, `og str motif|catalog`, `og cdna check|scan` (were `clip_check.py` and `cdna_scan.py`), `og comphet phase` (was `comphet_phase.py`), `og bam contigs`, `og setup unzip|genetic-map` and two hidden ones the tests drive: `og pycompat-probe` and `og bam-fetch-probe`. The filters of steps 04, 05 and 07 are grouped by step: `og sv svlen-fix` and `og sv inv-filter` (were `sv_svlen_fix.py` and `manta_inv_filter.py`), `og pgx refblock-fill` and `og pgx mito-merge` (were `pgx_refblock_fill.py` and `pgx_mito_merge.py`). Step 05 builds AnnotSV's input with `og sv add-callers` and checks its class 4 and 5 calls with `og sv postfilter` (were `cnvpytor_to_vcf.py` and `annotsv_postfilter.py`); both apply one read-depth rule for long Delly calls (`og-steps::sv`). Step 39's couple screen applies the same rule. `og str catalog` (was `strchive_convert.py`) builds the STRchive catalog of steps 09 and 9b; `og setup unzip` and `og setup genetic-map` replace two small Python programs inside `setup.sh`. Step 25 has `og prs format` (a port of `collect_summary.py prs-format`, named by what it works on) and `og prs table` (was `prs-table`). Step 33 has `og qc sample` (was `sample-qc`), and step 20 has `og mito annotate|deletions|copies` (were `mito-annotate`, `mito-deletions` and `mito-copies`). Steps 23 and 31 use `og vcf csq-rank` and `og table constraint-join` (ports of the awk programs `bin/csq_rank.awk` and `bin/constraint_join.awk`, named by what they work on). Step 27 uses `og pgx cpic-report` and `og pgx step36-outside` (were the two commands of `pgx_parse.py`). Step 49 runs `og chip prepare`, `og chip report` and `og chip check-table` (were the commands of `chip_report.py`). Steps 32, 35, 41 and 46 run `og cn bed`, `og cn call`, `og cn intervals`, `og cn check-bam`, `og cn marker-regions` and `og cn marker-read` ([Copy number from depth](cn-loci.md)); they replace `hba_copy_number.py`, `lpa_kiv2.py`, `copy_number.py` (the catalog tests materialise its pinned historical version as a differential oracle) and the marker reader of `traits_report.py`. Step 41 runs `og bloodtype report` (was `bloodtype_report.py`), which reads the marker sites through the VCF's index. Step 26b's six commands are `og ancestry-fine panel-map|check-map|order|sample-bed|chroms|report`. Step 43 runs `og archaic table|strict|genotypes|report` (were the four commands of `archaic_report.py`) and step 44 runs `og ancient select|lift|person-geno|align|report` (were the five commands of `ancient_report.py`); `og ancient lift` reads UCSC's chain file with `og-intervals::chain`. Step 40 runs `og consumer build-sites`, `og consumer export` and `og consumer check` (were the three commands of `export_consumer.py`). Step 38 and the Nextflow family workflow run `og family plan`, `prepare`, `check`, `report`, `segments` and `ibd` (were `family_report.py`, `family_segments.py` and `ibd_report.py`). `og family report` reads the joint VCF once, compresses each child's inheritance table on its own thread, and stops with exit 2 on a joint VCF that is not sorted. Step 39 and the Nextflow `COUPLE_CARRIER` process run `og couple screen`, and `og couple genes` rebuilds the carrier list (were the two commands of `couple_report.py`); the screen computes every couple before it writes a file. The opt-in steps read their tool's output with `og y str-bed|str-report` (45), `og viral report` (47), `og exomiser prepare|report` (48), `og mei report|annotsv-input` (50), `og mocha report` (51), `og vntyper report` (52) and `og locityper report` (53); they replaced `ystr_report.py`, `viral_report.py`, `exomiser_report.py`, `mei_report.py`, `mocha_report.py`, `vntyper_report.py` and `locityper_report.py`. Step 37 places the sample on the current YFull YTree with `og y tree-positions` and `og y tree-place` (were the two commands of `y_tree_place.py`), lists its private SNPs with `og y private-snps` (was `y_private_snps.py`) and writes Yleaf's marker positions with `og y yleaf-positions` (was `yleaf_run.py positions`; `yleaf_run.py predict` stays Python, as glue inside Yleaf's own code). Steps 08, 32 and 36 run `og pgx hla-concordance`, `og pgx pypgx-summary` and `og pgx outside-calls` (were the three commands of `pgx_outside_calls.py`), and step 35b runs `og paraphase check-bam|table` (were `paraphase_report.py`). Both write their two output files together or not at all. `scripts/owngenome-lookup.sh` runs `og lookup query` ([genotype lookup](lookup.md)), which answers every query of the command line in one process; `og lookup resolve` and `og lookup report` are its two halves, with the command lines of `genome_lookup.py`, which keeps only the query reading and the names rule that `results_index.py` imports. `og recheck` replaced `owngenome_recheck.py` ([Newer databases since a run](recheck.md)); the file stays one release as a shim that runs it, for crontabs. `og dev freshness` replaced `scripts/ci/freshness.py`, the monthly freshness issue of `freshness.yml`. `og dev build cn-intervals|callability|sv-rule-regions` rebuild the committed tables `bin/cn_loci.tsv` (its interval rows), `assets/callability_genes.tsv` and `assets/sv_rule_regions.tsv`; they replaced `scripts/ci/build-cn-intervals.py` and the Python inside `build-callability.sh` and `build-sv-rule-regions.sh`. Those scripts keep the downloads (`curl` through `scripts/ci/lib/fetch-pinned.sh`, each file checked against its sha256) and hand `og` the folder, so `og dev build` reads local files only. Both ask the network through the host's `curl` (the config on stdin, so no token reaches the process list), which keeps a TLS stack out of the static binary and its cross-builds. -Every verb the 1.0.0 release still has to port is already registered, each in its own module, as a stub that prints `og : not ported yet` on stderr and exits 2: `og report render|index|charts`, `og live serve|results|family|demo`, `og view serve`, `og couple screen|genes`, `og vcf index|shift-back`, `og setup chrm-shift|revel|roh-af`, `og sv survivor-prep|consensus-check`, `og archaic compare|genomes`, `og ancestry-fine freqs|project|paint|simulate`, `og longread clair3-model`, `og map svg`, `og dev demo-sample|demo-events|params-doc|python-gate|everything-check|licences|docs-check|stub-http|steps-check` and `og dev build roh-af|acmg-lof`. A port fills its module's body and does not edit `og/src/main.rs`, the workspace member list or a crate's module list. `rust/og/tests/port_scaffold.rs` lists these verbs and fails when one has no line in `og --help` or reaches a router's "unknown" error. +Every verb the 1.0.0 release still has to port is already registered, each in its own module, as a stub that prints `og : not ported yet` on stderr and exits 2: `og report render|index|charts`, `og live serve|results|family|demo`, `og view serve`, `og vcf index|shift-back`, `og setup chrm-shift|revel|roh-af`, `og sv survivor-prep|consensus-check`, `og archaic compare|genomes`, `og ancestry-fine freqs|project|paint|simulate`, `og longread clair3-model`, `og map svg`, `og dev demo-sample|demo-events|params-doc|python-gate|everything-check|licences|docs-check|stub-http|steps-check` and `og dev build roh-af|acmg-lof`. A port fills its module's body and does not edit `og/src/main.rs`, the workspace member list or a crate's module list. `rust/og/tests/port_scaffold.rs` lists these verbs and fails when one has no line in `og --help` or reaches a router's "unknown" error. -A Python file whose tool moved to `og` but whose names other Python still imports stays as a *remnant*: a `# remnant:` header names its importers and the lane that deletes it, and `tests/parity/remnants.tsv` lists the names it may hold and the files that import it. `og dev remnants` (Guard, job `rust`) fails when the file defines a name the list does not allow, when an allowed name has no user left, when a listed importer no longer imports it, or when an unlisted file starts to. So a remnant only shrinks. `bin/family_report.py` is the first one: the pedigree, kinship and PAR rules that `couple_report.py` and `pedigree_svg.py` import. `bin/genome_lookup.py` keeps the query reading and the summary names rule that `results_index.py` imports. +A Python file whose tool moved to `og` but whose names other Python still imports stays as a *remnant*: a `# remnant:` header names its importers and the lane that deletes it, and `tests/parity/remnants.tsv` lists the names it may hold and the files that import it. `og dev remnants` (Guard, job `rust`) fails when the file defines a name the list does not allow, when an allowed name has no user left, when a listed importer no longer imports it, or when an unlisted file starts to. So a remnant only shrinks. `bin/family_report.py` is the first one: the pedigree and kinship rules that `pedigree_svg.py` imports. `bin/genome_lookup.py` keeps the query reading and the summary names rule that `results_index.py` imports. The rules: no `unsafe` (the workspace forbids it), `cargo clippy -D warnings`, `cargo fmt`, and few, well-known crates (`indexmap`, `flate2`, `zlib-rs`, `memchr`, `smallvec`, `rustc-hash` and `rust-htslib` so far, declared in `rust/Cargo.toml` and locked in `Cargo.lock`). The musl builds also link `mimalloc` as their allocator: musl's own lets a long multi-threaded read hold several times its live memory. diff --git a/modules/local/couple/main.nf b/modules/local/couple/main.nf index 3ac391a60..45f40e3dd 100644 --- a/modules/local/couple/main.nf +++ b/modules/local/couple/main.nf @@ -2,8 +2,8 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ COUPLE_CARRIER — Carrier screen of two partners ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - For every two samples the pedigree marks as partners, bin/couple_report.py - screen (the rule scripts/39-couple.sh runs too) collects each partner's + For every two samples the pedigree marks as partners, og couple screen + (the rule scripts/39-couple.sh runs too) collects each partner's findings in the genes of assets/carrier_genes.tsv: ClinVar pathogenic and likely pathogenic hits (CLINVAR_SCREEN), Delly deletions over an exon of 50 bp or more (with --gencode_exons; one matching a common deletion of @@ -68,7 +68,7 @@ process COUPLE_CARRIER { def ex = exons ? "--exons ${exons}" : '' def bn = benign_sv ? "--benign-sv ${benign_sv}" : '' """ - couple_report.py screen --pedigree pedigree.tsv --genes carrier_genes.tsv --par-bed ${par_bed} \\ + og couple screen --pedigree pedigree.tsv --genes carrier_genes.tsv --par-bed ${par_bed} \\ ${args} ${ex} ${bn} ${sx} --out-dir . printf '"%s":\\n python: %s\\n' "${task.process}" "${task.container.replaceFirst(/^[^:@]+[:@]/, '')}" > versions.yml diff --git a/modules/local/parascopy/main.nf b/modules/local/parascopy/main.nf index 862bbf569..1a32e025e 100644 --- a/modules/local/parascopy/main.nf +++ b/modules/local/parascopy/main.nf @@ -61,7 +61,7 @@ */ // One spec per row of assets/paralog_loci.tsv, model|region|table, space -// separated (as scripts/35-paralogs.sh reads it). tests/test_paralog_loci.py +// separated (as scripts/35-paralogs.sh reads it). og-steps' paralog_loci test // keeps these three columns to characters a shell word can carry. def paralogSpecs() { def lines = file("${projectDir}/assets/paralog_loci.tsv").readLines().findAll { l -> l.trim() && !l.startsWith('#') } diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 6bf5d012d..cbcbfaa30 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -697,6 +697,15 @@ dependencies = [ [[package]] name = "og-couple" version = "0.1.0" +dependencies = [ + "indexmap", + "og-cn", + "og-io", + "og-pedigree", + "og-steps", + "og-summary", + "pycompat", +] [[package]] name = "og-dev" diff --git a/rust/README.md b/rust/README.md index 5a834a2e8..09b9935d9 100644 --- a/rust/README.md +++ b/rust/README.md @@ -24,7 +24,7 @@ OwnGenome's own tools, ported from `bin/*.py` one at a time into one static bina | `crates/og-recheck` | `og recheck`: which of a finished sample's results a newer ClinVar or catalog would change, `--rerun`, `--affected`, `--launch-dir` | | `crates/og-render` | `og report render`, `og report index`, `og report charts`: the reports from summary.json (not ported yet) | | `crates/og-live` | `og live serve`, `og live results`, `og live family`, `og live demo`, `og view serve`: the live site (not ported yet) | -| `crates/og-couple` | `og couple screen`, `og couple genes`: step 39's couple screen (not ported yet) | +| `crates/og-couple` | `og couple screen`, `og couple genes`: step 39's couple screen and its carrier list | | `crates/og-admix` | what the fine-ancestry engines share: our own painting and projection (not ported yet) | | `og` | the binary: `og [args]`, `og version`, `og --tree-hash` | | `og.sh` | build or download `bin/.og/og-linux-{x86_64,aarch64}`, and check they match this `rust/` | diff --git a/rust/crates/og-couple/Cargo.toml b/rust/crates/og-couple/Cargo.toml index 7ece1392f..5d712fbf2 100644 --- a/rust/crates/og-couple/Cargo.toml +++ b/rust/crates/og-couple/Cargo.toml @@ -7,6 +7,13 @@ license.workspace = true publish.workspace = true [dependencies] +indexmap.workspace = true +og-cn.workspace = true +og-io.workspace = true +og-pedigree.workspace = true +og-steps.workspace = true +og-summary.workspace = true +pycompat.workspace = true [lints] workspace = true diff --git a/rust/crates/og-couple/src/args.rs b/rust/crates/og-couple/src/args.rs new file mode 100644 index 000000000..37ce0a2ae --- /dev/null +++ b/rust/crates/og-couple/src/args.rs @@ -0,0 +1,154 @@ +//! The command lines of `og couple`, read as argparse read the Python's: +//! `--name VALUE` or `--name=VALUE`, repeated options kept in order. An +//! option the verb does not take is refused before anything is read. + +use std::collections::HashMap; +use std::io::Write; + +/// How an option takes its value. +#[derive(Clone, Copy, PartialEq, Eq)] +pub enum Kind { + /// One value; the last one given wins. + One, + /// One value each time, every one kept in order. + Append, +} + +/// What a verb takes. +pub struct Spec { + pub prog: &'static str, + pub usage: &'static str, + pub options: &'static [(&'static str, Kind)], + pub required: &'static [&'static str], +} + +/// A parsed command line. +#[derive(Debug, Default)] +pub struct Args { + vals: HashMap<&'static str, Vec>, +} + +impl Args { + /// The value of a `One` option. + pub fn one(&self, name: &str) -> Option<&str> { + self.vals + .get(name) + .and_then(|v| v.last()) + .map(String::as_str) + } + + /// Every value of an `Append` option (none when absent). + pub fn many(&self, name: &str) -> &[String] { + self.vals.get(name).map_or(&[], Vec::as_slice) + } +} + +/// A value, not an option: argparse takes `-` and negative numbers as values. +fn takes_value(a: &str) -> bool { + a == "-" || !a.starts_with('-') || a[1..].parse::().is_ok() +} + +/// Parses `args` by `spec`. `Err(code)` once a refusal (exit 2) or the +/// usage (`--help`, exit 0) is printed. +pub fn parse( + spec: &Spec, + args: &[String], + out: &mut dyn Write, + err: &mut dyn Write, +) -> Result { + let mut refuse = |msg: String| -> u8 { + let _ = write!(err, "{}", spec.usage); + let _ = writeln!(err, "{}: error: {msg}", spec.prog); + 2 + }; + let mut got = Args::default(); + let mut extra: Vec<&str> = Vec::new(); + let mut i = 0; + while i < args.len() { + let a = args[i].as_str(); + i += 1; + if a == "-h" || a == "--help" { + let _ = write!(out, "{}", spec.usage); + return Err(0); + } + let (name, inline) = match a.split_once('=') { + Some((n, v)) if n.starts_with("--") => (n, Some(v)), + _ => (a, None), + }; + let Some(&(known, kind)) = spec.options.iter().find(|(o, _)| *o == name) else { + extra.push(a); + continue; + }; + let value = match inline { + Some(v) => v.to_owned(), + None => match args.get(i) { + Some(v) if takes_value(v) => { + i += 1; + v.clone() + } + _ => return Err(refuse(format!("argument {name}: expected one argument"))), + }, + }; + let slot = got.vals.entry(known).or_default(); + if kind == Kind::One { + slot.clear(); + } + slot.push(value); + } + let missing: Vec<&str> = spec + .required + .iter() + .copied() + .filter(|r| !got.vals.contains_key(r)) + .collect(); + if !missing.is_empty() { + return Err(refuse(format!( + "the following arguments are required: {}", + missing.join(", ") + ))); + } + if !extra.is_empty() { + return Err(refuse(format!( + "unrecognized arguments: {}", + extra.join(" ") + ))); + } + Ok(got) +} + +#[cfg(test)] +mod tests { + use super::*; + + const SPEC: Spec = Spec { + prog: "og couple t", + usage: "usage: og couple t\n", + options: &[("--out", Kind::One), ("--in", Kind::Append)], + required: &["--out"], + }; + + fn p(args: &[&str]) -> (Result, String) { + let v: Vec = args.iter().map(|s| (*s).to_owned()).collect(); + let (mut out, mut err) = (Vec::new(), Vec::new()); + let r = parse(&SPEC, &v, &mut out, &mut err); + (r, String::from_utf8(err).unwrap()) + } + + #[test] + fn values_repeats_and_refusals() { + let (a, _) = p(&["--in", "a", "--out=o", "--in=b", "--out", "-"]); + let a = a.unwrap(); + assert_eq!(a.one("--out"), Some("-")); + assert_eq!(a.many("--in"), ["a", "b"]); + let (r, err) = p(&["--in", "a"]); + assert_eq!(r.unwrap_err(), 2); + assert!(err.ends_with("error: the following arguments are required: --out\n")); + // An option the verb does not take is refused, before any work. + let (r, err) = p(&["--out", "o", "--og-scaffold-probe"]); + assert_eq!(r.unwrap_err(), 2); + assert!(err.ends_with("error: unrecognized arguments: --og-scaffold-probe\n")); + let (r, err) = p(&["--out"]); + assert_eq!(r.unwrap_err(), 2); + assert!(err.ends_with("argument --out: expected one argument\n")); + } +} diff --git a/rust/crates/og-couple/src/cn.rs b/rust/crates/og-couple/src/cn.rs new file mode 100644 index 000000000..176472e07 --- /dev/null +++ b/rust/crates/og-couple/src/cn.rs @@ -0,0 +1,273 @@ +//! The carrier deletion alleles and a male partner's AZF regions, from step +//! 35's interval table (`_cn_intervals.tsv`), with step 18's CNVpytor +//! calls as their cross-check. + +use crate::files::{each_line, each_record, info_get, int, is_digits}; +use crate::findings::Finding; +use crate::list::CarrierList; +use og_io::Utf8; +use og_pedigree::Die; +use std::collections::HashMap; + +/// The rows of `bin/cn_loci.tsv` the screen reads, with their names here. +const CN_ALLELES: [(&str, &str); 5] = [ + ("GJB6_D13S1830", "del(GJB6-D13S1830)"), + ("CFTR_dele2_3", "CFTRdele2,3"), + ("HBB_exon3_del", "HBB exon 3 deletion"), + ("HBB_619bp_del", "HBB 619 bp deletion"), + ("HBD_HBB_Sicilian_del", "Sicilian (delta-beta)0 deletion"), +]; +/// The genes each allele is a change of, as the list names them +/// (del(GJB6-D13S1830) is a DFNB1 allele beside GJB2 changes). +const CN_ALLELE_GENES: [(&str, &[&str], &[&str]); 3] = [ + ("GJB2/GJB6 (DFNB1)", &["GJB2", "GJB6"], &["GJB6_D13S1830"]), + ("CFTR", &["CFTR"], &["CFTR_dele2_3"]), + ( + "HBB", + &["HBB"], + &["HBB_exon3_del", "HBB_619bp_del", "HBD_HBB_Sicilian_del"], + ), +]; +/// Named as deletions, so present reads as "the deletion is there". +const CN_AZF: [(&str, &str); 3] = [ + ("AZFa", "AZFa deletion"), + ("AZFb", "AZFb deletion"), + ( + "AZFc_DAZ", + "AZFc deletion (DAZ copies; gr/gr and b2/b3 leave two of four)", + ), +]; +/// Step 18 calls on 1 kb bins, so a deletion shorter than two bins is one +/// it cannot see: its silence there is no evidence. A CNVpytor deletion +/// counts for a row when it covers half of the row's span or more. +const CNV_MIN_SPAN: i64 = 2000; + +/// One row of the interval table, by column name. +pub type Row = HashMap; +/// The interval table: rows by locus, a later row over an earlier one. +pub type Intervals = HashMap; +/// Step 18's deletions: (chrom, 0-based start, end). +pub type Deletions = Vec<(String, i64, i64)>; + +/// Reads step 35's interval table. +pub fn read_intervals(path: &str) -> Result { + let mut head: Option> = None; + let mut out = Intervals::new(); + each_line(path, Utf8::Replace, |line| { + if pycompat::text::strip(line, None).is_empty() { + return Ok(()); + } + let c: Vec<&str> = line.split('\t').collect(); + let Some(h) = &head else { + let want = ["locus", "name", "chrom", "start", "end", "status"]; + let has = |k: &str| c.contains(&k); + if c.len() < want.len() + || c[..want.len()] != want + || !["copies", "expected", "change", "reason"] + .iter() + .all(|k| has(k)) + { + return Err(Die::one(format!( + "{path}: not step 35's interval table (og cn intervals)" + ))); + } + head = Some(c.iter().map(|s| (*s).to_owned()).collect()); + return Ok(()); + }; + if c.len() == h.len() { + let row: Row = h + .iter() + .cloned() + .zip(c.iter().map(|s| (*s).to_owned())) + .collect(); + out.insert(c[0].to_owned(), row); + } + Ok(()) + })?; + if head.is_none() { + return Err(Die::one(format!( + "{path}: not step 35's interval table (og cn intervals)" + ))); + } + Ok(out) +} + +/// The deletions in step 18's CNVpytor VCF. +pub fn cnvpytor_deletions(path: &str) -> Result { + let mut out = Vec::new(); + each_record(path, |r| { + if r.len() < 8 { + return Ok(()); + } + let kind = info_get(r[7], "SVTYPE") + .filter(|k| !k.is_empty()) + .unwrap_or_else(|| r[4].trim_matches(['<', '>'])); + let end = info_get(r[7], "END").unwrap_or(""); + if kind != "DEL" || !is_digits(end) { + return Ok(()); + } + out.push((r[0].to_owned(), int(r[1], path)? - 1, int(end, path)?)); + Ok(()) + })?; + Ok(out) +} + +/// What a row says about its deletion. +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum State { + Present, + Absent, + NotAssessable, +} + +impl State { + fn word(self) -> &'static str { + match self { + State::Present => "present", + State::Absent => "absent", + State::NotAssessable => "not assessable", + } + } +} + +fn cell<'a>(row: &'a Row, k: &str) -> &'a str { + row.get(k).map_or("", String::as_str) +} + +/// The state of a row and its depth call in words. +fn state(row: Option<&Row>) -> (State, String) { + let Some(row) = row else { + return ( + State::NotAssessable, + "no row in step 35's interval table".to_owned(), + ); + }; + if cell(row, "status") != "called" { + return ( + State::NotAssessable, + format!("{} ({})", cell(row, "status"), cell(row, "reason")), + ); + } + let text = format!( + "{} of {} copies", + cell(row, "copies"), + cell(row, "expected") + ); + match cell(row, "change") { + "deletion" => (State::Present, text), + "no change" => (State::Absent, text), + other => (State::NotAssessable, format!("{text}, {other}")), + } +} + +/// The CNVpytor cross-check of a row when it disagrees with the depth call. +fn cnv_note(row: Option<&Row>, dels: Option<&Deletions>) -> Result<&'static str, Die> { + let (Some(row), Some(dels)) = (row, dels) else { + return Ok(""); + }; + let what = "step 35's interval table"; + let (s, e) = (int(cell(row, "start"), what)?, int(cell(row, "end"), what)?); + let chrom = cell(row, "chrom"); + let hit = dels + .iter() + .any(|(c, ds, de)| c == chrom && 2 * (e.min(*de) - s.max(*ds)) >= e - s); + Ok(match state(Some(row)).0 { + State::Present if !hit && e - s >= CNV_MIN_SPAN => { + "CNVpytor (step 18) calls no deletion here" + } + State::Absent if hit => "CNVpytor (step 18) calls a deletion here", + _ => "", + }) +} + +/// The report lines of a partner's carrier deletion alleles and AZF regions. +pub fn lines( + s: &str, + sex: Option<&str>, + intervals: &Intervals, + dels: Option<&Deletions>, +) -> Result, Die> { + let mut out = Vec::new(); + let azf: &[(&str, &str)] = if sex == Some("male") { &CN_AZF } else { &[] }; + for (locus, name) in CN_ALLELES.iter().chain(azf) { + let r = intervals.get(*locus); + let (st, text) = state(r); + let note = cnv_note(r, dels)?; + let note = if note.is_empty() { + String::new() + } else { + format!("; {note}") + }; + out.push(format!( + "- {s}, {name}: **{}** (read depth, step 35: {text}){note}", + st.word() + )); + } + if sex != Some("male") { + out.push(format!( + "- {s}, AZF regions: not applicable ({})", + if sex == Some("female") { + "no Y chromosome" + } else { + "sex unknown" + } + )); + } + Ok(out) +} + +/// The genes where both partners carry a change once the read-depth alleles +/// count: one has a present allele and the other a present allele or a +/// finding in the same gene. The gene table leaves these alleles out, so +/// without this a couple who both carry CFTRdele2,3 would read as sharing +/// nothing. A gene the list leaves out is no shared risk here either. +pub fn shared( + a: &str, + b: &str, + intervals: &HashMap, + found: &HashMap>, + list: &CarrierList, +) -> Vec { + let names: HashMap<&str, &str> = CN_ALLELES.iter().copied().collect(); + let mut out = Vec::new(); + let empty = Intervals::new(); + for (label, genes, loci) in CN_ALLELE_GENES { + if !genes.iter().any(|g| list.contains(g)) { + continue; + } + let mut have: HashMap<&str, String> = HashMap::new(); + let mut by_depth = false; + for s in [a, b] { + let iv = intervals.get(s).unwrap_or(&empty); + let mut parts: Vec = loci + .iter() + .filter_map(|x| { + let (st, text) = state(iv.get(*x)); + (st == State::Present) + .then(|| format!("{} present (read depth, step 35: {text})", names[x])) + }) + .collect(); + by_depth |= !parts.is_empty(); + parts.extend( + found + .get(s) + .into_iter() + .flatten() + .filter(|f| genes.contains(&f.gene.as_str())) + .map(|f| f.text.clone()), + ); + if !parts.is_empty() { + have.insert(s, parts.join("; ")); + } + } + if have.len() == 2 && by_depth { + out.push(format!( + "**{label}**: {a}: {}; {b}: {}. Both partners may carry a change in {label}: the gene table does not \ + count read-depth alleles, so a clinical test has to confirm them before the chance for a child can \ + be given.", + have[a], have[b] + )); + } + } + out +} diff --git a/rust/crates/og-couple/src/files.rs b/rust/crates/og-couple/src/files.rs new file mode 100644 index 000000000..dec68ed07 --- /dev/null +++ b/rust/crates/og-couple/src/files.rs @@ -0,0 +1,64 @@ +//! Reading the inputs line by line, plain or gzip, the way the step's +//! Python read them: universal newlines, and a byte that is no UTF-8 read +//! as U+FFFD unless the file must be strict UTF-8 (the carrier list). + +use og_io::{Lines, Utf8}; +use og_pedigree::Die; + +/// Calls `f` with every line of `path`, without its ending. One line buffer +/// is reused, so memory stays at the longest line. +pub fn each_line( + path: &str, + utf8: Utf8, + mut f: impl FnMut(&str) -> Result<(), Die>, +) -> Result<(), Die> { + let read = og_io::open(path).map_err(|e| Die::io(path, &e))?; + let mut lines = Lines::new(read, utf8); + let mut line = String::new(); + while lines.read_line(&mut line).map_err(|e| Die::io(path, &e))? { + if line.ends_with('\n') { + line.pop(); + } + f(&line)?; + } + Ok(()) +} + +/// Calls `f` with the tab-separated fields of every data line (not starting +/// with `#`) of a VCF. +pub fn each_record(path: &str, mut f: impl FnMut(&[&str]) -> Result<(), Die>) -> Result<(), Die> { + each_line(path, Utf8::Replace, |line| { + if line.starts_with('#') { + return Ok(()); + } + let fields: Vec<&str> = line.split('\t').collect(); + f(&fields) + }) +} + +/// A whole number as Python's `int()` reads a string of ASCII digits (the +/// callers check `isdigit()` first); a value past `i64` is refused. +pub fn int(s: &str, what: &str) -> Result { + pycompat::num::parse_int(s) + .ok() + .and_then(|v| i64::try_from(v).ok()) + .ok_or_else(|| Die::one(format!("{what}: '{s}' is not a whole number"))) +} + +/// `str.isdigit()` for ASCII text: not empty, digits only. +pub fn is_digits(s: &str) -> bool { + !s.is_empty() && s.bytes().all(|b| b.is_ascii_digit()) +} + +/// `info_map`: the `;`-separated `key=value` pairs of an INFO field, a +/// later key over an earlier one. +pub fn info_get<'a>(info: &'a str, key: &str) -> Option<&'a str> { + let mut found = None; + for kv in info.split(';') { + let (k, v) = kv.split_once('=').unwrap_or((kv, "")); + if k == key { + found = Some(v); + } + } + found +} diff --git a/rust/crates/og-couple/src/findings.rs b/rust/crates/og-couple/src/findings.rs new file mode 100644 index 000000000..01686e3d5 --- /dev/null +++ b/rust/crates/og-couple/src/findings.rs @@ -0,0 +1,671 @@ +//! Each partner's carrier findings, one reader per step output: step 06's +//! ClinVar hits, step 19's Delly deletions, step 09's repeats, step 35's +//! SMN1 copy number and CYP21A2 table. + +use crate::files::{each_line, each_record, info_get, int, is_digits}; +use crate::list::{CarrierList, GeneIndex}; +use og_io::Utf8; +use og_pedigree::{Die, Par}; +use og_steps::sv::{DEPTH_MIN_SIZE, Rdcn, Sex, SvKind, depth_contradicts}; +use og_summary::collect::clinvar::{Floor, Hit}; +use std::collections::HashMap; + +/// A structural variant is 50 bp or longer. A shorter Delly deletion is +/// left to the small-variant caller and counts only through ClinVar. +pub const SV_MIN_SIZE: i64 = 50; +/// A benign loss record of 1% or more (AnnotSV's own `-benignAF` default) +/// is a common deletion. +pub const COMMON_AF: f64 = 0.01; +/// A Delly deletion matches a common one when each covers at least half +/// of the other. +pub const COMMON_OVERLAP_PERCENT: i64 = 50; +/// A Delly deletion longer than this needs read depth to show the loss +/// (`og_steps::sv::depth_contradicts`). +pub const DEPTH_MIN: i64 = DEPTH_MIN_SIZE; +/// FMR1: 55 to 200 CGG is a premutation, more than 200 a full mutation. +const FMR1_FULL: i64 = 201; +/// The repeat loci of the list: the smallest repeat count counted as a +/// carrier finding, and the repeat unit. +const REPEATS: [(&str, i64, &str); 2] = [("FMR1", 55, "CGG"), ("FXN", 66, "GAA")]; + +/// One carrier finding of one person in one gene. +#[derive(Debug, Clone, PartialEq, Eq)] +pub struct Finding { + pub gene: String, + pub text: String, + /// On how many of the person's copies: 1 or 2. + pub copies: u8, + /// The name of a low-function allele of the list's severity column: it + /// counts only beside a full loss of function in the partner. + pub hypomorph: Option, +} + +impl Finding { + pub fn new(gene: &str, text: String, copies: u8) -> Finding { + Finding { + gene: gene.to_owned(), + text, + copies, + hypomorph: None, + } + } +} + +/// How many copies a call carries, as the reports word it. +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum Zygosity { + Het, + Hom, + Hemizygous, +} + +impl Zygosity { + pub fn word(self) -> &'static str { + match self { + Zygosity::Het => "het", + Zygosity::Hom => "hom", + Zygosity::Hemizygous => "hemizygous", + } + } + + /// The copies a finding of this zygosity is on. + pub fn copies(self) -> u8 { + if self == Zygosity::Het { 1 } else { 2 } + } +} + +fn sex_chrom(chrom: &str) -> bool { + matches!(chrom, "chrX" | "chrY") +} + +/// The zygosity of a GT, or `None` when it carries no alt allele. A `.` +/// allele still counts in the ploidy: step 06 splits a GT 1/2 record into +/// `./1` halves, and each half is one copy, never hom. +pub fn zygosity(gt: &str, chrom: &str, sex: Option<&str>, in_par: bool) -> Option { + let alleles: Vec<&str> = gt.split(['/', '|']).filter(|a| !a.is_empty()).collect(); + let alt = alleles.iter().filter(|a| !matches!(**a, "0" | ".")).count(); + if alt == 0 { + return None; + } + if sex_chrom(chrom) && sex == Some("male") && !in_par { + return Some(Zygosity::Hemizygous); + } + if alleles.len() == 1 { + return Some(if sex_chrom(chrom) { + Zygosity::Hemizygous + } else { + Zygosity::Hom + }); + } + Some(if alt == alleles.len() { + Zygosity::Hom + } else { + Zygosity::Het + }) +} + +/// One alt allele and one missing one: `1/.`, `./1`, `1|.`. +fn half_call(gt: &str) -> bool { + let b = gt.as_bytes(); + if b.len() != 3 || !matches!(b[1], b'/' | b'|') { + return false; + } + let alt = |c: u8| (b'1'..=b'9').contains(&c); + (alt(b[0]) && b[2] == b'.') || (b[0] == b'.' && alt(b[2])) +} + +/// `1 star`, `2 stars`. +fn stars_text(n: u8) -> String { + format!("{n} star{}", if n == 1 { "" } else { "s" }) +} + +/// Step 06's hits of one person. +pub struct Clinvar { + pub findings: Vec, + /// Every hit, in a listed gene or not. + pub total: usize, + /// The hits the list marks as hypomorph or pseudodeficiency: no carrier + /// finding on their own. + pub aside: Vec, +} + +/// Step 06's hits in genes of the list. A hit the list marks as a +/// hypomorph or pseudodeficiency allele is set aside as a text; a +/// hypomorph is also kept as a finding marked hypomorph, which beside a +/// full loss of function in the partner's same gene is the child's second +/// hit (TAR syndrome is a null allele plus an RBM8A low-expression allele). +pub fn clinvar( + path: &str, + list: &CarrierList, + sex: Option<&str>, + par: &Par, +) -> Result { + let mut out = Clinvar { + findings: Vec::new(), + total: 0, + aside: Vec::new(), + }; + each_record(path, |r| { + if r.len() < 8 { + return Ok(()); + } + out.total += 1; + let owned: Vec = r.iter().map(|s| (*s).to_owned()).collect(); + let h = + Hit::parse(&owned, Floor::default()).map_err(|e| Die::one(format!("{path}: {e}")))?; + let gt = r.get(9).map_or("", |s| s.split(':').next().unwrap_or("")); + let pos = i64::try_from(h.pos) + .map_err(|_| Die::one(format!("{path}: POS {} is out of range", h.pos)))?; + let Some(z) = zygosity(gt, &h.chrom, sex, par.contains(&h.chrom, pos)) else { + return Ok(()); + }; + let variant = format!("{}:{} {}>{}", h.chrom, h.pos, h.reference, h.alt); + for g in h.gene.split(',') { + let Some(gene) = list.get(g) else { continue }; + if let Some(sev) = gene.alleles.get(&h.key()) { + let kind = sev.kind.as_deref().unwrap_or(""); + out.aside.push(format!( + "{variant} {} in {g}: {}, a {kind} allele", + z.word(), + sev.name + )); + if kind == "hypomorph" { + out.findings.push(Finding { + gene: g.to_owned(), + text: format!("{variant} {}, {}, a hypomorph allele", z.word(), sev.name), + copies: z.copies(), + hypomorph: Some(sev.name.clone()), + }); + } + continue; + } + let ident = match r[2] { + "." | "" => String::new(), + id => format!(", ClinVar {id}"), + }; + // A split half call counts as het (one copy) but reads as the + // other reports word it. + let words = if z == Zygosity::Het && half_call(gt) { + format!("one copy, other copy not called ref ({gt})") + } else { + z.word().to_owned() + }; + let text = format!( + "{variant} {words}, {}, {}{ident}", + h.significance, + stars_text(h.stars) + ); + out.findings.push(Finding::new(g, text, z.copies())); + } + Ok(()) + })?; + Ok(out) +} + +/// GENCODE exons as a BED (0-based start, end), merged per chromosome: +/// starts and ends, sorted. +pub struct Exons(HashMap, Vec)>); + +impl Exons { + pub fn read(path: &str) -> Result { + let mut by: HashMap> = HashMap::new(); + each_line(path, Utf8::Replace, |line| { + let c: Vec<&str> = line.split('\t').collect(); + if c.len() < 3 || line.starts_with('#') || line.starts_with("track") { + return Ok(()); + } + let s = int(c[1].trim(), path)?; + let e = int(c[2].trim(), path)?; + by.entry(c[0].to_owned()).or_default().push((s, e)); + Ok(()) + })?; + let mut merged = HashMap::new(); + for (chrom, mut iv) in by { + iv.sort_unstable(); + let mut m: Vec<(i64, i64)> = Vec::new(); + for (s, e) in iv { + match m.last_mut() { + Some(last) if s <= last.1 => last.1 = last.1.max(e), + _ => m.push((s, e)), + } + } + merged.insert(chrom, m.into_iter().unzip()); + } + Ok(Exons(merged)) + } + + /// How many merged exons overlap the 0-based half-open `[s0, e0)`. + pub fn hit(&self, chrom: &str, s0: i64, e0: i64) -> usize { + let Some((starts, ends)) = self.0.get(chrom) else { + return 0; + }; + let i = ends.partition_point(|&e| e <= s0); + starts[i..].iter().take_while(|&&s| s < e0).count() + } +} + +fn plain_chrom(c: &str) -> &str { + c.strip_prefix("chr").unwrap_or(c) +} + +/// AnnotSV's benign loss set: per chromosome (without `chr`), the records +/// of [`COMMON_AF`] or more, sorted. +pub struct Benign { + by: HashMap>, + /// How many records are common. + pub count: usize, +} + +impl Benign { + /// Reads the BED (chrom, start, end, source, coordinates, AF). A record + /// without a numeric frequency is not taken as common. + pub fn read(path: &str) -> Result { + let mut by: HashMap> = HashMap::new(); + let mut count = 0; + each_line(path, Utf8::Replace, |line| { + let c: Vec<&str> = line.split('\t').collect(); + if c.len() < 6 + || line.starts_with('#') + || line.starts_with("track") + || !is_digits(c[1]) + || !is_digits(c[2]) + { + return Ok(()); + } + let Ok(af) = pycompat::num::parse_float(c[5]) else { + return Ok(()); + }; + if af >= COMMON_AF { + by.entry(plain_chrom(c[0]).to_owned()) + .or_default() + .push((int(c[1], path)?, int(c[2], path)?)); + count += 1; + } + Ok(()) + })?; + for v in by.values_mut() { + v.sort_unstable(); + } + Ok(Benign { by, count }) + } + + /// Whether the 0-based half-open `[s0, e0)` and a common deletion each + /// cover at least half of the other. + pub fn matches(&self, chrom: &str, s0: i64, e0: i64) -> bool { + let Some(rows) = self.by.get(plain_chrom(chrom)) else { + return false; + }; + let size = e0 - s0; + // A match is at most twice as long, so it starts no earlier than that. + let from = rows.partition_point(|r| r.0 < s0 - size * 100 / COMMON_OVERLAP_PERCENT - 1); + rows[from..] + .iter() + .take_while(|r| r.0 < e0) + .any(|&(bs, be)| { + let ov = e0.min(be) - s0.max(bs); + ov > 0 + && ov * 100 >= COMMON_OVERLAP_PERCENT * size + && ov * 100 >= COMMON_OVERLAP_PERCENT * (be - bs) + }) + } +} + +/// The Delly deletions set aside over an exon of a listed gene. +#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)] +pub struct DellySkips { + /// Shorter than [`SV_MIN_SIZE`]. + pub short: usize, + /// Longer than [`DEPTH_MIN_SIZE`], and read depth does not show the loss. + pub no_loss: usize, + /// Matching a common deletion of the benign set. + pub common: usize, +} + +/// `re.search(r"(?:^|;)KEY=(VALUE)", info)`: the first `KEY=` segment +/// whose value has a match for `value` (the matched part). +fn info_first<'a>(info: &'a str, key: &str, value: fn(&str) -> &str) -> Option<&'a str> { + info.split(';').find_map(|kv| { + let v = kv.strip_prefix(key)?.strip_prefix('=')?; + let m = &v[..value(v).len()]; + (!m.is_empty()).then_some(m) + }) +} + +/// `[^;]+`: a segment's value is all of it. +fn whole(v: &str) -> &str { + v +} + +/// `\d+`: the leading digits. +fn digits(v: &str) -> &str { + &v[..v.bytes().take_while(u8::is_ascii_digit).count()] +} + +fn sv_sex(sex: Option<&str>) -> Sex { + match sex { + Some("male") => Sex::Male, + Some("female") => Sex::Female, + _ => Sex::Unknown, + } +} + +/// PASS Delly deletions of [`SV_MIN_SIZE`] or more that remove at least +/// one exon of a listed gene, and the counts of those set aside. +pub fn delly( + path: &str, + index: &GeneIndex, + exons: &Exons, + sex: Option<&str>, + par: &Par, + benign: Option<&Benign>, +) -> Result<(Vec, DellySkips), Die> { + let mut out = Vec::new(); + let mut skip = DellySkips::default(); + let over_exon = |chrom: &str, pos: i64, end: i64| { + index + .overlapping(chrom, pos + 1, end) + .iter() + .any(|&(gs, ge, _)| exons.hit(chrom, pos.max(gs - 1), end.min(ge)) > 0) + }; + each_record(path, |r| { + if r.len() < 10 || r[6] != "PASS" { + return Ok(()); + } + let svtype = info_first(r[7], "SVTYPE", whole); + let end = info_first(r[7], "END", digits); + let (Some("DEL"), Some(end)) = (svtype, end) else { + return Ok(()); + }; + let fmt: Vec<&str> = r[8].split(':').collect(); + let vals: Vec<&str> = r[9].split(':').collect(); + if let Some(i) = fmt.iter().position(|k| *k == "FT") + && i < vals.len() + && !matches!(vals[i], "PASS" | ".") + { + return Ok(()); + } + let gt = if fmt[0] == "GT" { vals[0] } else { "" }; + let chrom = r[0]; + let pos = int(r[1], path)?; + let end = int(end, path)?; + let in_par = par.contains(chrom, pos); + let Some(z) = zygosity(gt, chrom, sex, in_par) else { + return Ok(()); + }; + let size = end - pos; + if size < SV_MIN_SIZE { + skip.short += usize::from(over_exon(chrom, pos, end)); + return Ok(()); + } + // Read depth must show the loss of a long deletion: RDCN below the + // copies a normal region has (og_steps::sv::depth_contradicts). + if depth_contradicts( + SvKind::Del, + chrom, + size, + Rdcn::from_format(&fmt, &vals), + sv_sex(sex), + in_par, + ) { + skip.no_loss += usize::from(over_exon(chrom, pos, end)); + return Ok(()); + } + // The deleted bases POS+1 to END are the 0-based [POS, END). + if benign.is_some_and(|b| b.matches(chrom, pos, end)) { + skip.common += usize::from(over_exon(chrom, pos, end)); + return Ok(()); + } + for (gs, ge, g) in index.overlapping(chrom, pos + 1, end) { + let n = exons.hit(chrom, pos.max(gs - 1), end.min(ge)); + if n == 0 { + continue; + } + let span = if size >= 1000 { + format!("{} kb", pycompat::fmt::fixed(size as f64 / 1000.0, 1)) + } else { + format!("{size} bp") + }; + let text = format!( + "deletion {chrom}:{}-{end} ({span}) {}, {n} exon{} of the gene (Delly)", + pos + 1, + z.word(), + if n == 1 { "" } else { "s" } + ); + out.push(Finding::new(g, text, z.copies())); + } + Ok(()) + })?; + Ok((out, skip)) +} + +/// FMR1 and FXN alleles in their expanded range (ExpansionHunter). +pub fn repeats(path: &str, list: &CarrierList) -> Result, Die> { + let mut out = Vec::new(); + each_record(path, |r| { + if r.len() < 10 { + return Ok(()); + } + let locus = info_get(r[7], "VARID") + .filter(|v| !v.is_empty()) + .or_else(|| info_get(r[7], "REPID")) + .unwrap_or(""); + let Some(&(_, least, unit)) = REPEATS.iter().find(|(l, _, _)| *l == locus) else { + return Ok(()); + }; + if !list.contains(locus) { + return Ok(()); + } + let fmt: Vec<&str> = r[8].split(':').collect(); + let vals: Vec<&str> = r[9].split(':').collect(); + let Some(cn) = fmt + .iter() + .position(|k| *k == "REPCN") + .and_then(|i| vals.get(i)) + else { + return Ok(()); + }; + let big: Vec = cn + .split('/') + .filter(|x| is_digits(x)) + .filter_map(|x| x.parse().ok()) + .filter(|&x| x >= least) + .collect(); + let Some(&max) = big.iter().max() else { + return Ok(()); + }; + let what = match locus { + "FMR1" if max >= FMR1_FULL => "full mutation (more than 200)", + "FMR1" => "premutation (55 to 200)", + _ => "expanded (66 or more)", + }; + let two = big.len() > 1; + let text = format!( + "{locus} {unit} repeat {cn}, {} allele{} {what} (ExpansionHunter estimate)", + if two { "two" } else { "one" }, + if two { "s" } else { "" } + ); + out.push(Finding::new( + locus, + text, + u8::try_from(big.len()).unwrap_or(u8::MAX), + )); + Ok(()) + })?; + Ok(out) +} + +/// SMN1 copy number from step 35's table (the one rule, `og_cn::smn`): +/// the findings, and the text of what was read. +pub fn smn(path: &str, list: &CarrierList) -> Result<(Vec, String), Die> { + let p = og_cn::smn::read(Some(path), og_cn::smn::SMN1_EXON7.0, &[]) + .map_err(|e| Die::one(format!("{path}: {e}")))?; + // Step 35 writes a row it could not assess with the filter "not + // assessed: "; the reason is what the reader needs. + if let Some(reason) = p + .text + .strip_suffix("), not resolved") + .and_then(|t| t.split_once("filter not assessed: ")) + .map(|(_, r)| r) + { + return Ok(( + Vec::new(), + format!("SMN1 not assessed: {reason}; copy number not resolved"), + )); + } + let cn = match p.pscn { + Some(cn) if list.contains("SMN1") => cn, + _ => return Ok((Vec::new(), format!("SMN1 copy number {}", p.text))), + }; + if cn >= 2 { + return Ok((Vec::new(), format!("SMN1 {cn} copies"))); + } + let word = if cn == 1 { "copy" } else { "copies" }; + let text = format!("SMN1 {cn} {word} (Parascopy: {})", p.text); + Ok(( + vec![Finding::new("SMN1", text, if cn == 1 { 1 } else { 2 })], + format!("SMN1 {cn} {word}"), + )) +} + +/// Step 35's CYP21A2 table (metric, value), a later metric over an earlier. +fn cyp21a2_table(path: &str) -> Result, Die> { + let mut t = HashMap::new(); + each_line(path, Utf8::Replace, |line| { + if let Some((k, v)) = line.split_once('\t') + && k != "metric" + { + t.insert(k.to_owned(), v.to_owned()); + } + Ok(()) + })?; + Ok(t) +} + +/// Python's `repr()` of an optional string, for a message. +fn py_repr(v: Option<&str>) -> String { + match v { + None => "None".to_owned(), + Some(s) if s.contains('\'') && !s.contains('"') => format!("\"{s}\""), + Some(s) => format!("'{}'", s.replace('\\', "\\\\").replace('\'', "\\'")), + } +} + +/// What step 35's CYP21A2 table says. +pub struct Cyp21a2 { + pub findings: Vec, + /// Why it was not assessed, for the not-assessed list. + pub gap: Option, +} + +/// CYP21A2 from depth and PSV sites (step 35's `_cyp21a2_psv.tsv`). A +/// deletion or a possible conversion is a finding on one copy, on two when +/// a site has no CYP21A2 copy left. +pub fn cyp21a2(path: &str, list: &CarrierList) -> Result { + let t = cyp21a2_table(path)?; + let get = |k: &str| t.get(k).map_or(".", String::as_str); + let status = t.get("status").map(String::as_str); + if !matches!(status, Some("called" | "not assessed")) { + return Err(Die::one(format!( + "{path}: not step 35's CYP21A2 table (og cn call --locus CYP21A2)" + ))); + } + if status != Some("called") { + let text = format!("CYP21A2 not assessed ({})", get("reason")); + // The table's message says, for a BAM without multi-mapping reads, + // that the aligner and not the genome stopped the call; an older + // table has only the reason code. + let gap = match get("message").strip_prefix("not assessed: ") { + Some(_) => format!("CYP21A2 {}", get("message")), + None => text.clone(), + }; + return Ok(Cyp21a2 { + findings: Vec::new(), + gap: Some(gap), + }); + } + let what = format!( + "CYP21A2 {} copies, RCCX module total {} of {}", + get("cyp21a2_copies"), + get("module_total"), + get("expected_total") + ); + let kind = t.get("finding").map(String::as_str); + if !matches!( + kind, + Some("none" | "deletion" | "conversion" | "pseudogene_deletion") + ) { + return Err(Die::one(format!( + "{path}: a called CYP21A2 table with the finding {} (none, deletion, conversion or pseudogene_deletion)", + py_repr(kind) + ))); + } + let mut findings = Vec::new(); + if matches!(kind, Some("deletion" | "conversion")) && list.contains("CYP21A2") { + let text = if kind == Some("deletion") { + format!( + "CYP21A2 deletion from depth and PSV sites ({what}): the 30 kb chimeric deletion pattern" + ) + } else { + format!( + "possible CYP21A2 conversion at {} ({what}, PSV sites)", + get("conversion_sites").replace("PSV_", "") + ) + }; + let two = t.get("cyp21a2_copies").map(String::as_str) == Some("0"); + findings.push(Finding::new( + "CYP21A2", + format!("{text}; unconfirmed, short reads"), + if two { 2 } else { 1 }, + )); + } + Ok(Cyp21a2 { + findings, + gap: None, + }) +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn zygosity_counts_a_missing_allele_in_the_ploidy() { + let z = |gt, chrom, sex| zygosity(gt, chrom, sex, false); + // A split half call (./1, the GT 1/2 record step 06 splits) is one copy. + assert_eq!(z("./1", "chr7", Some("female")), Some(Zygosity::Het)); + assert_eq!(z("1|.", "chr7", Some("male")), Some(Zygosity::Het)); + assert_eq!(z("1/1", "chr7", Some("female")), Some(Zygosity::Hom)); + assert_eq!(z("1", "chrX", Some("female")), Some(Zygosity::Hemizygous)); + assert_eq!(z("./1", "chrX", Some("male")), Some(Zygosity::Hemizygous)); + assert_eq!(z("./.", "chr7", Some("female")), None); + assert_eq!(z("./0", "chr7", Some("female")), None); + assert_eq!(z("", "chr7", None), None); + assert!(half_call("./1") && half_call("2|.") && !half_call("0/1") && !half_call("./.")); + } + + #[test] + fn exons_merge_and_count() { + let mut m = HashMap::new(); + m.insert("chr1".to_owned(), (vec![10, 50], vec![20, 60])); + let e = Exons(m); + assert_eq!(e.hit("chr1", 0, 100), 2); + assert_eq!(e.hit("chr1", 20, 50), 0); + assert_eq!(e.hit("chr1", 19, 51), 2); + assert_eq!(e.hit("chr2", 0, 100), 0); + } + + #[test] + fn info_first_takes_the_first_key() { + assert_eq!( + info_first("IMPRECISE;SVTYPE=DEL;END=5;END=9", "END", digits), + Some("5") + ); + assert_eq!(info_first("END=x;END=7z", "END", digits), Some("7")); + assert_eq!(info_first("CIEND=1;XEND=3", "END", digits), None); + assert_eq!( + info_first("SVTYPE=;SVTYPE=DEL", "SVTYPE", whole), + Some("DEL") + ); + assert_eq!(info_get("A=1;A=2", "A"), Some("2")); + } +} diff --git a/rust/crates/og-couple/src/genes.rs b/rust/crates/og-couple/src/genes.rs index 22511fb6a..39d5547cb 100644 --- a/rust/crates/og-couple/src/genes.rs +++ b/rust/crates/og-couple/src/genes.rs @@ -1,13 +1,529 @@ -//! `og couple genes`: the gene list of step 39's screen, which -//! `bin/couple_report.py genes` writes today. +//! `og couple genes`: rebuilds the carrier list, `assets/carrier_genes.tsv`. //! -//! Not ported yet: until its unit of the 1.0.0 plan lands, the verb says so -//! on stderr and exits 2, before reading any argument. +//! ```text +//! og couple genes --table assets/carrier_genes.tsv --orphanet-genes en_product6.xml +//! --orphanet-inheritance en_product9_ages.xml +//! --gtf gencode.v.basic.annotation.gtf.gz --par-bed assets/par_grch38.bed --out NEW.tsv +//! ``` +//! +//! The ACMG and ACOG rows of `--table` are kept as they are written, every +//! other row is made again from Orphanet (the genes of disorders with +//! autosomal recessive or X-linked inheritance), and every row gets its +//! GRCh38 span from the GENCODE gene lines. Each input is read once, as a +//! stream. +use crate::args::{self, Kind, Spec}; +use crate::files::{each_line, int}; +use crate::list::{GENE_COLUMNS, SEVERITY_COLUMN}; +use crate::xml::{self, Event}; +use indexmap::IndexMap; +use og_io::Utf8; +use og_pedigree::{Die, Par}; +use std::collections::{BTreeSet, HashMap}; use std::io::Write; -/// `og couple genes ARGS`: not ported yet, so one line on stderr and exit 2. -pub fn cli(_args: &[String], _out: &mut dyn Write, err: &mut dyn Write) -> u8 { - let _ = writeln!(err, "og couple genes: not ported yet"); - 2 +const USAGE: &str = + "usage: og couple genes --table TABLE --orphanet-genes XML --orphanet-inheritance XML + --gtf GTF --par-bed BED --out OUT +"; + +const SPEC: Spec = Spec { + prog: "og couple genes", + usage: USAGE, + options: &[ + ("--table", Kind::One), + ("--orphanet-genes", Kind::One), + ("--orphanet-inheritance", Kind::One), + ("--gtf", Kind::One), + ("--par-bed", Kind::One), + ("--out", Kind::One), + ], + required: &[ + "--table", + "--orphanet-genes", + "--orphanet-inheritance", + "--gtf", + "--par-bed", + "--out", + ], +}; + +/// The Orphanet gene associations kept: a disease-causing germline change. +const KEEP: [&str; 3] = [ + "Disease-causing germline mutation(s) in", + "Disease-causing germline mutation(s) (loss of function) in", + "Disease-causing germline mutation(s) (gain of function) in", +]; + +/// The chromosomes a span may be on, in the list's order. +const PRIMARY: [&str; 24] = [ + "chr1", "chr2", "chr3", "chr4", "chr5", "chr6", "chr7", "chr8", "chr9", "chr10", "chr11", + "chr12", "chr13", "chr14", "chr15", "chr16", "chr17", "chr18", "chr19", "chr20", "chr21", + "chr22", "chrX", "chrY", +]; + +fn primary(chrom: &str) -> Option { + PRIMARY.iter().position(|c| *c == chrom) +} + +/// An Orphanet mode of inheritance the list keeps. +#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] +enum Mode { + Ar, + Xl, +} + +fn mode(name: &str) -> Option { + match name { + "Autosomal recessive" => Some(Mode::Ar), + "X-linked recessive" | "X-linked dominant" => Some(Mode::Xl), + _ => None, + } +} + +/// `og couple genes ARGS`. +pub fn cli(argv: &[String], out: &mut dyn Write, err: &mut dyn Write) -> u8 { + let a = match args::parse(&SPEC, argv, out, err) { + Ok(a) => a, + Err(code) => return code, + }; + let one = |k: &str| a.one(k).unwrap_or_default(); + match run( + one("--table"), + one("--orphanet-genes"), + one("--orphanet-inheritance"), + one("--gtf"), + one("--par-bed"), + one("--out"), + ) { + Ok(line) => { + let _ = writeln!(out, "{line}"); + 0 + } + Err(die) => { + for line in &die.lines { + let _ = writeln!(err, "ERROR: {line}"); + } + die.code + } + } +} + +/// A GENCODE gene's place: chromosome, 1-based start and end. +type Place = (String, i64, i64); + +/// The first `gene_name "..."` of a GTF attribute field. +fn gene_name(attrs: &str) -> Option<&str> { + let mut rest = attrs; + while let Some(i) = rest.find("gene_name \"") { + let v = &rest[i + 11..]; + if let Some(j) = v.find('"') + && j > 0 + { + return Some(&v[..j]); + } + rest = v; + } + None +} + +/// GENCODE's gene lines: each name's place (a name on several +/// chromosomes keeps the first of chr1 to chrY, so a PAR gene is on chrX), +/// in the order the file first names them, and the release. +fn gencode(path: &str) -> Result<(IndexMap, String), Die> { + let mut found: IndexMap> = IndexMap::new(); + let mut release = "?".to_owned(); + each_line(path, Utf8::Replace, |line| { + if line.starts_with('#') { + // re.search(r"version (\d+)", line) + let found = line.match_indices("version ").find_map(|(i, _)| { + let v = &line[i + 8..]; + let n = v.bytes().take_while(u8::is_ascii_digit).count(); + (n > 0).then(|| v[..n].to_owned()) + }); + if let Some(v) = found { + release = v; + } + return Ok(()); + } + let c: Vec<&str> = line.splitn(10, '\t').collect(); + if c.len() < 9 || c[2] != "gene" { + return Ok(()); + } + let Some(chrom) = primary(c[0]) else { + return Ok(()); + }; + if let Some(name) = gene_name(c[8]) { + found.entry(name.to_owned()).or_default().push(( + chrom, + int(c[3], path)?, + int(c[4], path)?, + )); + } + Ok(()) + })?; + let out = found + .into_iter() + .map(|(g, mut locs)| { + locs.sort_by_key(|&(c, s, _)| (c, s)); + let (c, s, e) = locs[0]; + (g, (PRIMARY[c].to_owned(), s, e)) + }) + .collect(); + Ok((out, release)) +} + +/// The kept gene associations of a disorder: (type, status, symbol). +type Raw = (String, String, String); + +/// One element being read: its name, its own text before its first child, +/// the first texts of the child paths the reader asks for, and, for a +/// Disorder, the modes and associations found inside it. +#[derive(Default)] +struct Frame { + name: String, + text: String, + child: bool, + first: HashMap, + modes: BTreeSet, + assoc: Vec, +} + +impl Frame { + /// `findtext(path)`: the first text of a kept child path, "" if none. + fn get(&self, path: &str) -> String { + self.first.get(path).cloned().unwrap_or_default() + } +} + +/// The child paths whose first text is kept, as `findtext` reads them. +const PATHS: [&str; 6] = [ + "OrphaCode", + "Name", + "Symbol", + "DisorderGeneAssociationType/Name", + "DisorderGeneAssociationStatus/Name", + "Gene/Symbol", +]; + +/// Reads an Orphadata product. Each `TypeOfInheritance` adds its mode, and +/// each `DisorderGeneAssociation` its association, to every Disorder around +/// it; `disorder` is called with each Disorder as it closes. The root's +/// `date` attribute is returned. +fn walk(path: &str, mut disorder: impl FnMut(&Frame)) -> Result, Die> { + let mut stack: Vec = Vec::new(); + let mut date: Option> = None; + xml::each_event(path, |e| { + match e { + Event::Start(name, attrs) => { + if date.is_none() { + date = Some(xml::attr(attrs, "date")); + } + if let Some(top) = stack.last_mut() { + top.child = true; + } + stack.push(Frame { + name: name.to_owned(), + ..Frame::default() + }); + } + Event::Text(t) => { + if let Some(top) = stack.last_mut() + && !top.child + { + top.text.push_str(&t); + } + } + Event::End(_) => { + let Some(done) = stack.pop() else { + return Err(Die::one(format!( + "{path}: not well-formed XML (an end tag too many)" + ))); + }; + let around = stack.iter_mut().filter(|f| f.name == "Disorder"); + match done.name.as_str() { + "TypeOfInheritance" => { + if let Some(m) = mode(&done.get("Name")) { + around.for_each(|d| { + d.modes.insert(m); + }); + } + } + "DisorderGeneAssociation" => { + let a = ( + done.get("DisorderGeneAssociationType/Name"), + done.get("DisorderGeneAssociationStatus/Name"), + done.get("Gene/Symbol"), + ); + around.for_each(|d| d.assoc.push(a.clone())); + } + "Disorder" => disorder(&done), + _ => {} + } + if let Some(parent) = stack.last_mut() { + if PATHS.contains(&done.name.as_str()) { + parent + .first + .entry(done.name.clone()) + .or_insert_with(|| done.text.clone()); + } + for (k, v) in &done.first { + let key = format!("{}/{k}", done.name); + if PATHS.contains(&key.as_str()) { + parent.first.entry(key).or_insert_with(|| v.clone()); + } + } + } + } + } + Ok(()) + })?; + Ok(date.flatten()) +} + +/// One kept association of a gene: the disorder's name and its modes. +type Association = (String, BTreeSet); + +/// The Orphanet modes of inheritance of each disorder (product 9), by +/// OrphaCode. +fn inheritance(path: &str) -> Result>, Die> { + let mut out = HashMap::new(); + walk(path, |d| { + out.insert(d.get("OrphaCode"), d.modes.clone()); + })?; + Ok(out) +} + +/// Gene associations by gene symbol, in first-named order. +type ByGene = IndexMap>; + +/// The kept gene associations of every disorder with a kept mode (product +/// 6), by gene symbol in the order the product first names them, and the +/// product's date. +fn associations( + path: &str, + inh: &HashMap>, +) -> Result<(ByGene, Option), Die> { + let mut out = ByGene::new(); + let date = walk(path, |d| { + let Some(modes) = inh.get(&d.get("OrphaCode")).filter(|m| !m.is_empty()) else { + return; + }; + for (kind, status, symbol) in &d.assoc { + if KEEP.contains(&kind.as_str()) && status == "Assessed" { + out.entry(symbol.clone()) + .or_default() + .push((d.get("Name"), modes.clone())); + } + } + })?; + Ok((out, date)) +} + +fn run( + table: &str, + p6: &str, + p9: &str, + gtf: &str, + par_bed: &str, + out_path: &str, +) -> Result { + let mut lines: Vec> = Vec::new(); + each_line(table, Utf8::Strict, |line| { + if !line.starts_with('#') { + lines.push( + line.trim_end_matches('\r') + .split('\t') + .map(str::to_owned) + .collect(), + ); + } + Ok(()) + })?; + let cols = lines.first().cloned().unwrap_or_default(); + let ok = cols == GENE_COLUMNS + || (cols.len() == GENE_COLUMNS.len() + 1 + && cols[..GENE_COLUMNS.len()] == GENE_COLUMNS + && cols[GENE_COLUMNS.len()] == SEVERITY_COLUMN); + if !ok { + return Err(Die::one(format!( + "{table}: the header must be {}, optionally followed by {SEVERITY_COLUMN}", + GENE_COLUMNS.join("\t") + ))); + } + let rows_in: Vec> = lines[1..] + .iter() + .filter(|r| !r[0].is_empty()) + .map(|r| { + cols.iter() + .map(String::as_str) + .zip(r.iter().map(String::as_str)) + .collect() + }) + .collect(); + let cell = |r: &HashMap<&str, &str>, k: &str| r.get(k).copied().unwrap_or_default().to_owned(); + // The severity cell is written by hand: every gene keeps its own. + let mut severity: HashMap = HashMap::new(); + for r in &rows_in { + let s = cell(r, SEVERITY_COLUMN); + severity.insert( + cell(r, "gene"), + if s.is_empty() { ".".to_owned() } else { s }, + ); + } + let panel: Vec<&HashMap<&str, &str>> = rows_in + .iter() + .filter(|r| { + let l = cell(r, "lists"); + l.contains("ACMG") || l.contains("ACOG") + }) + .collect(); + let (genes, release) = gencode(gtf)?; + let mut upper: HashMap = HashMap::new(); + for g in genes.keys() { + upper.insert(pycompat::text::upper(g), g); + } + let par = Par::read(Some(par_bed))?; + let canonical = |g: &str| -> Option<&str> { + if genes.contains_key(g) { + genes.get_key_value(g).map(|(k, _)| k.as_str()) + } else { + upper.get(&pycompat::text::upper(g)).copied() + } + }; + let place = |g: &str| canonical(g).and_then(|k| genes.get(k)); + let missing: Vec = panel + .iter() + .map(|r| cell(r, "gene")) + .filter(|g| place(g).is_none()) + .collect(); + if !missing.is_empty() { + return Err(Die::one(format!( + "GENCODE has no gene line for {}; give the current HGNC symbol", + missing.join(", ") + ))); + } + let inh = inheritance(p9)?; + let (disorders, date) = associations(p6, &inh)?; + + // gene -> its seven cells, in order. + let mut rows: IndexMap = IndexMap::new(); + for r in &panel { + let (c, s, e) = place(&cell(r, "gene")).expect("checked above"); + rows.insert( + cell(r, "gene"), + [ + cell(r, "gene"), + c.clone(), + s.to_string(), + e.to_string(), + cell(r, "inheritance"), + cell(r, "lists"), + cell(r, "condition"), + ], + ); + } + for (sym, ds) in &disorders { + let Some(gene) = canonical(sym) else { continue }; + if rows.contains_key(gene) { + continue; + } + let (c, s, e) = &genes[gene]; + // The chromosome decides how a gene is passed on: X outside the + // PARs is X-linked, an autosome or a PAR is autosomal. + let m = if c == "chrX" && !par.contains(c, *s) { + Mode::Xl + } else { + Mode::Ar + }; + let names: BTreeSet<&str> = ds + .iter() + .filter(|(_, modes)| modes.contains(&m)) + .map(|(n, _)| n.as_str()) + .collect(); + let Some(first) = names.first() else { continue }; + if c == "chrY" { + continue; + } + let cond = match names.len() { + 1 => (*first).to_owned(), + n => format!( + "{first}; and {} other{}", + n - 1, + if n == 2 { "" } else { "s" } + ), + }; + rows.insert( + gene.to_owned(), + [ + gene.to_owned(), + c.clone(), + s.to_string(), + e.to_string(), + if m == Mode::Xl { "XL" } else { "AR" }.to_owned(), + "Orphanet".to_owned(), + cond.replace('\t', " "), + ], + ); + } + let date6 = date + .as_deref() + .and_then(|d| d.split_whitespace().next()) + .unwrap_or("?") + .to_owned(); + let mut text = header(&release, &date6); + text.push_str(&GENE_COLUMNS.join("\t")); + text.push('\t'); + text.push_str(SEVERITY_COLUMN); + text.push('\n'); + let mut order: Vec<&String> = rows.keys().collect(); + order.sort_by_key(|g| { + let r = &rows[*g]; + (primary(&r[1]), r[2].parse::().unwrap_or(0), *g) + }); + for g in order { + text.push_str(&rows[g].join("\t")); + text.push('\t'); + text.push_str(severity.get(g).map_or(".", String::as_str)); + text.push('\n'); + } + let mut f = og_io::AtomicFile::create(out_path).map_err(|e| Die::io(out_path, &e))?; + f.write_all(text.as_bytes()) + .and_then(|()| f.commit()) + .map_err(|e| Die::io(out_path, &e))?; + Ok(format!( + "{} genes: {} ACMG or ACOG, {} Orphanet", + rows.len(), + panel.len(), + rows.len() - panel.len() + )) +} + +/// The comment lines at the top of the list. +fn header(release: &str, date6: &str) -> String { + [ + "# carrier_genes.tsv: the genes of the couple carrier screen (step 39, og couple screen).".to_owned(), + "# One row per gene. chrom, start and end: the gene's GRCh38 span (1-based, inclusive) from the".to_owned(), + format!("# gene lines of GENCODE release {release} (basic annotation). inheritance: AR (autosomal, or in a"), + "# pseudoautosomal region) or XL (chrX outside the PARs). lists: where the gene comes from:".to_owned(), + "# ACMG Gregg et al., Genet Med 2021;23(10):1793-1806 (doi:10.1038/s41436-021-01203-z),".to_owned(), + "# tier 3: the 97 autosomal recessive genes of its tables 1 to 5 and the 16 X-linked".to_owned(), + "# genes of table 6; condition names from those tables".to_owned(), + "# ACOG the conditions of ACOG Committee Opinions 690 and 691 (2017): cystic fibrosis, spinal".to_owned(), + "# muscular atrophy, the hemoglobinopathies, fragile X and the Ashkenazi Jewish panel".to_owned(), + "# Orphanet every other gene of an Orphanet disorder with autosomal recessive or X-linked".to_owned(), + format!("# inheritance (Orphadata en_product6 and en_product9_ages of {date6}, CC BY 4.0,"), + "# https://www.orphadata.com), with a disease-causing germline association that".to_owned(), + "# Orphanet assessed; condition: the first such disorder by name".to_owned(), + "# severity: alleles of the gene that are not a full loss of function, separated by \";\": each is".to_owned(), + "# hypomorph or pseudodeficiency, then chrom:pos:ref:alt (GRCh38), then a name; \".\" for none. Such".to_owned(), + "# an allele never makes a carrier finding on its own (the couple screen, step 39, and the".to_owned(), + "# carrier list of the sample report). With a called deletion of the gene it is a second hit (the".to_owned(), + "# two-hit lines of the sample report, og summary collect). In the couple screen a".to_owned(), + "# hypomorph beside a full loss of function in the other partner's same gene is a shared gene.".to_owned(), + "# Rebuilt with: og couple genes (docs/39-couple.md says how).".to_owned(), + ] + .iter() + .map(|l| format!("{l}\n")) + .collect() } diff --git a/rust/crates/og-couple/src/lib.rs b/rust/crates/og-couple/src/lib.rs index 0ae5dbe68..9db7b535c 100644 --- a/rust/crates/og-couple/src/lib.rs +++ b/rust/crates/og-couple/src/lib.rs @@ -1,8 +1,25 @@ //! Step 39, the couple carrier screen: `og couple screen` ([`screen`]) and //! `og couple genes` ([`genes`]). //! -//! Not ported yet: each verb says so and exits 2 until its unit of the -//! 1.0.0 plan lands. +//! For every two samples a pedigree marks as partners, the screen collects +//! each partner's carrier findings in the genes of the carrier list +//! (`assets/carrier_genes.tsv`): step 06's ClinVar hits, Delly deletions over +//! an exon, SMN1 copy number, CYP21A2 from depth, and the FMR1 and FXN +//! repeats. It then says, gene by gene, what the two findings mean for a +//! child, and writes one table and one report per couple. +//! +//! Each input is read once, line by line. The rules other steps own are +//! theirs, never copied: the read-depth rule for a long Delly deletion is +//! `og_steps::sv::depth_contradicts` (step 05), SMN1 at exon 7 is +//! `og_cn::smn::read` (step 35), the pedigree is `og_pedigree`'s (step 38), +//! and a ClinVar hit reads as `og_summary`'s `clinvar_row` reads it. +mod args; +mod cn; +mod files; +mod findings; pub mod genes; +mod list; +mod prose; pub mod screen; +mod xml; diff --git a/rust/crates/og-couple/src/list.rs b/rust/crates/og-couple/src/list.rs new file mode 100644 index 000000000..977509d55 --- /dev/null +++ b/rust/crates/og-couple/src/list.rs @@ -0,0 +1,190 @@ +//! The carrier list, `assets/carrier_genes.tsv`: one row per gene with its +//! GRCh38 span, how it is passed on, where it comes from, its condition, +//! and the alleles that are not a full loss of function. + +use crate::files::{each_line, is_digits}; +use indexmap::IndexMap; +use og_io::Utf8; +use og_pedigree::Die; +use og_summary::collect::assets::{Allele, Key, parse_alleles}; +use std::collections::HashMap; + +/// The columns every list has, in order. +pub const GENE_COLUMNS: [&str; 7] = [ + "gene", + "chrom", + "start", + "end", + "inheritance", + "lists", + "condition", +]; +/// The optional column after them: alleles that are not a full loss of +/// function. +pub const SEVERITY_COLUMN: &str = "severity"; + +/// How a gene of the list is passed on. +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum Inheritance { + /// Autosomal recessive, or in a pseudoautosomal region. + Ar, + /// X-linked: chrX outside the PARs. + Xl, +} + +impl Inheritance { + pub fn parse(s: &str) -> Option { + match s { + "AR" => Some(Inheritance::Ar), + "XL" => Some(Inheritance::Xl), + _ => None, + } + } + + /// The value the list and the couple table write. + pub fn code(self) -> &'static str { + match self { + Inheritance::Ar => "AR", + Inheritance::Xl => "XL", + } + } +} + +/// One gene of the list. +#[derive(Debug, Clone)] +pub struct Gene { + pub name: String, + pub chrom: String, + pub start: i64, + pub end: i64, + pub inheritance: Inheritance, + pub lists: String, + pub condition: String, + /// The severity column: hypomorph and pseudodeficiency alleles. + pub alleles: IndexMap, +} + +/// The list: every gene by name, a gene on two rows keeping its last. +#[derive(Debug, Clone, Default)] +pub struct CarrierList { + pub genes: HashMap, +} + +impl CarrierList { + /// Reads the list at `path`. A list without rows stops the screen: an + /// empty list would report no shared gene for every couple. + pub fn read(path: &str) -> Result { + let mut genes = HashMap::new(); + let mut header: Option> = None; + let mut n = 0usize; + each_line(path, Utf8::Strict, |raw| { + n += 1; + let line = raw.trim_end_matches(['\r', '\n']); + if line.is_empty() || line.starts_with('#') { + return Ok(()); + } + let vals: Vec<&str> = line.split('\t').collect(); + let Some(head) = &header else { + let ok = vals.len() >= GENE_COLUMNS.len() + && vals[..GENE_COLUMNS.len()] == GENE_COLUMNS + && (vals.len() == GENE_COLUMNS.len() + || (vals.len() == GENE_COLUMNS.len() + 1 + && vals[GENE_COLUMNS.len()] == SEVERITY_COLUMN)); + if !ok { + return Err(Die::one(format!( + "{path}: the header must be {}, optionally followed by {SEVERITY_COLUMN}", + GENE_COLUMNS.join("\t") + ))); + } + header = Some(vals.iter().map(|v| (*v).to_owned()).collect()); + return Ok(()); + }; + if vals.len() != head.len() { + return Err(Die::one(format!( + "{path} line {n}: {} fields, the header has {}", + vals.len(), + head.len() + ))); + } + let inheritance = Inheritance::parse(vals[4]); + let (Some(inheritance), true, true) = + (inheritance, is_digits(vals[2]), is_digits(vals[3])) + else { + return Err(Die::one(format!( + "{path} line {n}: inheritance must be AR or XL, start and end whole numbers" + ))); + }; + let num = |s: &str| crate::files::int(s, &format!("{path} line {n}")); + let alleles = parse_alleles(vals.get(7).copied().or(Some(".")), true) + .map_err(|e| Die::one(format!("{path} line {n}: {e}")))?; + let gene = Gene { + name: vals[0].to_owned(), + chrom: vals[1].to_owned(), + start: num(vals[2])?, + end: num(vals[3])?, + inheritance, + lists: vals[5].to_owned(), + condition: vals[6].to_owned(), + alleles, + }; + genes.insert(gene.name.clone(), gene); + Ok(()) + })?; + if genes.is_empty() { + return Err(Die::one(format!( + "{path} holds no gene: the screen would find nothing. Restore assets/carrier_genes.tsv." + ))); + } + Ok(CarrierList { genes }) + } + + pub fn get(&self, gene: &str) -> Option<&Gene> { + self.genes.get(gene) + } + + pub fn contains(&self, gene: &str) -> bool { + self.genes.contains_key(gene) + } + + pub fn len(&self) -> usize { + self.genes.len() + } +} + +/// One chromosome's spans sorted by start, end, name, and its longest span. +type Spans = (Vec<(i64, i64, String)>, i64); + +/// The genes of the list by chromosome, for the genes a deletion overlaps. +pub struct GeneIndex { + by: HashMap, +} + +impl GeneIndex { + pub fn new(list: &CarrierList) -> GeneIndex { + let mut by: HashMap = HashMap::new(); + for g in list.genes.values() { + let e = by.entry(g.chrom.clone()).or_default(); + e.0.push((g.start, g.end, g.name.clone())); + e.1 = e.1.max(g.end - g.start); + } + for (rows, _) in by.values_mut() { + rows.sort(); + } + GeneIndex { by } + } + + /// The genes whose 1-based span overlaps the 1-based `[s, e]`, in + /// order of start. + pub fn overlapping(&self, chrom: &str, s: i64, e: i64) -> Vec<(i64, i64, &str)> { + let Some((rows, longest)) = self.by.get(chrom) else { + return Vec::new(); + }; + let lo = rows.partition_point(|r| r.0 < s - longest - 1); + let hi = rows.partition_point(|r| r.0 <= e); + rows[lo..hi.max(lo)] + .iter() + .filter(|r| r.0 <= e && r.1 >= s) + .map(|r| (r.0, r.1, r.2.as_str())) + .collect() + } +} diff --git a/rust/crates/og-couple/src/prose.rs b/rust/crates/og-couple/src/prose.rs new file mode 100644 index 000000000..c4a2ea279 --- /dev/null +++ b/rust/crates/og-couple/src/prose.rs @@ -0,0 +1,502 @@ +//! The couple table and report: what two partners' findings in one gene +//! mean for a child, gene by gene, then in words. + +use crate::findings::{DEPTH_MIN, Finding, SV_MIN_SIZE}; +use crate::list::{CarrierList, Gene, Inheritance}; +use std::collections::{BTreeSet, HashMap}; +use std::fmt::Write as _; + +/// The columns of the couple table, in order. +pub const TABLE_COLUMNS: [&str; 11] = [ + "gene", + "inheritance", + "lists", + "condition", + "result", + "offspring_risk", + "partner_a", + "findings_a", + "partner_b", + "findings_b", + "explanation", +]; + +/// What a gene's findings mean for the couple, in table order. +#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] +pub enum Outcome { + /// Both partners carry a change in one recessive gene. + Shared, + /// A change in an X-linked gene. + XLinked, + /// Only one partner carries a change. + OnePartner, +} + +impl Outcome { + pub fn code(self) -> &'static str { + match self { + Outcome::Shared => "shared", + Outcome::XLinked => "x_linked", + Outcome::OnePartner => "one_partner", + } + } +} + +/// One row of the couple table. +#[derive(Debug, Clone, PartialEq, Eq)] +pub struct Row { + pub gene: String, + pub inheritance: &'static str, + pub lists: String, + pub condition: String, + pub outcome: Outcome, + pub risk: String, + pub partner_a: String, + pub findings_a: String, + pub partner_b: String, + pub findings_b: String, + pub explanation: String, +} + +impl Row { + fn cells(&self) -> [&str; 11] { + [ + &self.gene, + self.inheritance, + &self.lists, + &self.condition, + self.outcome.code(), + &self.risk, + &self.partner_a, + &self.findings_a, + &self.partner_b, + &self.findings_b, + &self.explanation, + ] + } +} + +/// `1 in 4`, `1 in 2`, `every`. +fn odds(quarters: u8) -> &'static str { + match quarters { + 1 => "1 in 4", + 2 => "1 in 2", + _ => "every", + } +} + +fn two_copies(f: &[&Finding]) -> bool { + f.iter().any(|x| x.copies == 2) +} + +/// Both partners carry a change in one autosomal recessive gene. +fn ar_row( + g: &Gene, + a: &str, + b: &str, + fa: &[&Finding], + fb: &[&Finding], +) -> (Outcome, String, String) { + // The chance a child inherits each parent's change, in halves. + let half = |f: &[&Finding]| if two_copies(f) { 2u8 } else { 1 }; + let quarters = half(fa) * half(fb); + let risk = if quarters == 4 { + format!("{} pregnancy", odds(quarters)) + } else { + format!("{} per pregnancy", odds(quarters)) + }; + let mut why = format!( + "Both partners carry a change in {}, linked to {} (autosomal recessive). A child who inherits the change \ + of each parent can have the condition: {risk}.", + g.name, g.condition + ); + let low: Vec<&str> = [(a, fa), (b, fb)] + .iter() + .filter(|(_, f)| !f.is_empty() && f.iter().all(|x| x.hypomorph.is_some())) + .map(|(n, _)| *n) + .collect(); + if !low.is_empty() { + let _ = write!( + why, + " The change of {} is a low-function (hypomorph) allele, not a full loss of function: with the other \ + parent's loss-of-function change a child can have the condition, for some genes in a milder form; two \ + such alleles alone are set aside.", + low.join(" and ") + ); + } + let more: Vec<&str> = [(a, fa), (b, fb)] + .iter() + .filter(|(_, f)| f.len() > 1 && f.iter().all(|x| x.copies == 1)) + .map(|(n, _)| *n) + .collect(); + if !more.is_empty() { + let _ = write!( + why, + " {} {} two changes in the gene; when they sit on different copies, every child gets one, and the \ + chance is higher.", + more.join(" and "), + if more.len() == 1 { "has" } else { "have" } + ); + } + (Outcome::Shared, risk, why) +} + +/// One partner's lines for an X-linked gene: the risk and the explanation. +fn xl_lines(g: &Gene, who: &str, sex: Option<&str>, f: &[&Finding]) -> (String, String) { + let fmr1 = g.name == "FMR1" && f.iter().any(|x| x.text.contains("premutation")); + match sex { + Some("female") => { + let (risk, mut why) = if two_copies(f) { + ( + format!("{who}: every son, every daughter a carrier"), + format!( + "{who} carries the change on both X chromosomes: every son inherits it and can have {}; \ + every daughter is a carrier.", + g.condition + ), + ) + } else { + ( + format!("{who}: sons 1 in 2"), + format!( + "{who} carries a change in {} on one X chromosome (X-linked: {}). Each son has a 1 in 2 \ + chance of inheriting it and can have the condition; each daughter has a 1 in 2 chance of \ + being a carrier.", + g.name, g.condition + ), + ) + }; + if fmr1 { + why.push_str( + " A premutation can grow into a full mutation when a mother passes it on.", + ); + } + (risk, why) + } + Some("male") => ( + format!("{who}: daughters carriers"), + format!( + "{who} has a change in {} on his X chromosome (X-linked: {}). Every daughter inherits it and is a \ + carrier; a son gets his Y chromosome, not this X.", + g.name, g.condition + ), + ), + _ => ( + format!("{who}: sex unknown"), + format!( + "{who} has a change in {} (X-linked: {}). The pedigree gives no sex for {who}, so the chance for \ + sons and daughters cannot be said.", + g.name, g.condition + ), + ), + } +} + +fn joined(f: &[&Finding]) -> String { + if f.is_empty() { + ".".to_owned() + } else { + f.iter() + .map(|x| x.text.as_str()) + .collect::>() + .join("; ") + } +} + +/// The rows of the couple table: shared genes first, then X-linked, then +/// the rest, each by gene. A hypomorph counts only when the other partner +/// has a full loss of function in the same gene. +pub fn screen_couple( + a: &str, + b: &str, + sexes: &HashMap>, + found: &HashMap>, + list: &CarrierList, +) -> Vec { + let none = Vec::new(); + let of = |s: &str| found.get(s).unwrap_or(&none); + let full = |s: &str| -> BTreeSet<&str> { + of(s) + .iter() + .filter(|x| x.hypomorph.is_none()) + .map(|x| x.gene.as_str()) + .collect() + }; + let (full_a, full_b) = (full(a), full(b)); + let sex = |s: &str| sexes.get(s).and_then(|x| x.as_deref()); + let mut rows = Vec::new(); + for name in full_a.union(&full_b) { + let Some(g) = list.get(name) else { continue }; + let pick = |s: &str, other: &BTreeSet<&str>| -> Vec<&Finding> { + of(s) + .iter() + .filter(|x| x.gene == *name && (x.hypomorph.is_none() || other.contains(name))) + .collect() + }; + let (fa, fb) = (pick(a, &full_b), pick(b, &full_a)); + let (outcome, risk, why) = if g.inheritance == Inheritance::Xl { + let parts: Vec<(String, String)> = [(a, &fa), (b, &fb)] + .iter() + .filter(|(_, f)| !f.is_empty()) + .map(|(w, f)| xl_lines(g, w, sex(w), f)) + .collect(); + ( + Outcome::XLinked, + parts + .iter() + .map(|p| p.0.as_str()) + .collect::>() + .join("; "), + parts + .iter() + .map(|p| p.1.as_str()) + .collect::>() + .join(" "), + ) + } else if !fa.is_empty() && !fb.is_empty() { + ar_row(g, a, b, &fa, &fb) + } else { + let (who, other) = if fa.is_empty() { (b, a) } else { (a, b) }; + ( + Outcome::OnePartner, + "none shared".to_owned(), + format!( + "Only {who} carries a change in {name} ({}, autosomal recessive). A child can be a carrier \ + like {who}, not affected, unless {other} carries a change this screen does not see.", + g.condition + ), + ) + }; + rows.push(Row { + gene: (*name).to_owned(), + inheritance: g.inheritance.code(), + lists: g.lists.clone(), + condition: g.condition.clone(), + outcome, + risk, + partner_a: a.to_owned(), + findings_a: joined(&fa), + partner_b: b.to_owned(), + findings_b: joined(&fb), + explanation: why, + }); + } + rows.sort_by(|x, y| (x.outcome, &x.gene).cmp(&(y.outcome, &y.gene))); + rows +} + +/// The couple table as text: a header, then a line per row. A tab or a +/// newline inside a cell reads as a space. +pub fn table(rows: &[Row]) -> String { + let mut out = TABLE_COLUMNS.join("\t"); + out.push('\n'); + for r in rows { + let cells: Vec = r + .cells() + .iter() + .map(|c| c.replace(['\t', '\n'], " ")) + .collect(); + out.push_str(&cells.join("\t")); + out.push('\n'); + } + out +} + +/// What the screen does not see, whatever the inputs. +fn residual() -> [String; 9] { + [ + "Changes ClinVar does not list as pathogenic or likely pathogenic: a new loss-of-function change, or one \ + of uncertain significance, is not counted." + .to_owned(), + "Genes outside the carrier list (assets/carrier_genes.tsv).".to_owned(), + "SMN1 silent carriers: two copies on one chromosome and none on the other read as two copies.".to_owned(), + "Changes in genes with a near-identical copy (HBA1 and HBA2, CYP21A2, GBA1, SMN1): short reads place them \ + poorly, and a gene conversion is not seen. A deletion there counts only when Delly calls it; for CYP21A2, \ + step 35's table (--cyp21a2) adds the 30 kb chimeric deletion and conversions at six of its pseudogene \ + variant sites, nothing else." + .to_owned(), + "Repeat expansions other than FMR1 and FXN, and the exact size of a long FMR1 or FXN allele: short reads \ + do not span it." + .to_owned(), + format!( + "Deletions Delly does not call, deletions longer than {DEPTH_MIN} bp that read depth (Delly's RDCN) does \ + not confirm, duplications, inversions and insertions." + ), + format!( + "Delly deletions shorter than {SV_MIN_SIZE} bp: they count only when the small-variant caller also calls \ + them and ClinVar lists them, so one it misses is missed here." + ), + format!( + "With AnnotSV's benign set, a deletion that matches a common one there (1% or more, {}% reciprocal \ + overlap) is not counted: a rare pathogenic deletion at the same place as a common one is missed.", + crate::findings::COMMON_OVERLAP_PERCENT + ), + "Low-level mosaicism, and whether two changes of one person in one gene sit on the same copy.".to_owned(), + ] +} + +const COUNSEL: &str = "This is a screen, not a diagnosis, and not medical advice. Before acting on a result, or on \ +its absence, see a genetic counsellor: a clinical carrier test confirms a finding, and the counsellor can say what a \ +negative screen leaves out for your ancestry."; + +/// What was read for one partner, for the report's table. +#[derive(Debug, Clone, Default)] +pub struct Assessed { + pub clinvar: String, + pub delly: String, + pub smn: String, + pub eh: String, +} + +/// Everything the report of one couple says. +pub struct Report<'a> { + pub a: &'a str, + pub b: &'a str, + pub sexes: &'a HashMap>, + pub rows: &'a [Row], + pub assessed: &'a HashMap, + pub gaps: &'a [String], + pub genes: usize, + pub common: &'a str, + pub cn: &'a [String], + pub shared_cn: &'a [String], +} + +impl Report<'_> { + fn section(&self, out: &mut Vec, title: &str, keep: Outcome, none: &str) { + out.push(format!("## {title}")); + out.push(String::new()); + let sel: Vec<&Row> = self.rows.iter().filter(|r| r.outcome == keep).collect(); + if sel.is_empty() { + out.push(none.to_owned()); + out.push(String::new()); + return; + } + for r in sel { + out.push(format!( + "- **{}** ({}; {}): {}", + r.gene, r.condition, r.lists, r.risk + )); + for (p, f) in [(&r.partner_a, &r.findings_a), (&r.partner_b, &r.findings_b)] { + if f != "." { + out.push(format!(" - {p}: {f}")); + } + } + out.push(format!(" - {}", r.explanation)); + } + out.push(String::new()); + } + + /// The report as Markdown. + pub fn markdown(&self) -> String { + let sx = |s: &str| { + self.sexes + .get(s) + .and_then(|x| x.as_deref()) + .unwrap_or("sex unknown") + .to_owned() + }; + let (a, b) = (self.a, self.b); + let mut out = vec![ + format!("# Couple carrier screen: {a} and {b}"), + String::new(), + format!( + "{a} ({}) and {b} ({}), partners in the pedigree. The screen covers {} genes of autosomal \ + recessive and X-linked conditions (assets/carrier_genes.tsv: the ACMG and ACOG carrier screening \ + genes and the recessive and X-linked genes of Orphanet).", + sx(a), + sx(b), + self.genes + ), + String::new(), + COUNSEL.to_owned(), + String::new(), + ]; + let shared_none = if self.shared_cn.is_empty() { + "No gene of the list where both partners carry a change." + } else { + "No gene of the list where both partners carry a change in the gene table; read depth (step 35) adds a \ + possible shared risk, below." + }; + self.section( + &mut out, + "Shared risk: both partners carry a change in the same gene", + Outcome::Shared, + shared_none, + ); + if !self.shared_cn.is_empty() { + out.push( + "Possible shared risk from read depth (step 35's carrier deletion alleles, not in the gene table):" + .to_owned(), + ); + out.push(String::new()); + out.extend(self.shared_cn.iter().map(|x| format!("- {x}"))); + out.push(String::new()); + } + self.section( + &mut out, + "X-linked findings", + Outcome::XLinked, + "No change in an X-linked gene of the list.", + ); + self.section( + &mut out, + "Genes where only one partner carries a change", + Outcome::OnePartner, + "None.", + ); + if !self.cn.is_empty() { + out.push( + "## Carrier deletion alleles and AZF regions (read depth, step 35)".to_owned(), + ); + out.push(String::new()); + out.push( + "Each allele is present, absent or not assessable from the read depth over it. A present deletion \ + needs a clinical test. The AZF regions are read on a male partner only. The three beta-globin rows \ + overlap: the Sicilian deletion covers both HBB rows, and the 619 bp and exon 3 rows share 487 bp, \ + so one deletion can read as present on two or three of them; only a clinical test tells which \ + allele it is." + .to_owned(), + ); + out.push(String::new()); + out.extend(self.cn.iter().cloned()); + out.push(String::new()); + } + out.push("## What was assessed".to_owned()); + out.push(String::new()); + out.push( + "| Partner | ClinVar hits (in listed genes / all) | Deletions | SMN1 | FMR1 and FXN repeats |".to_owned(), + ); + out.push("|---|---|---|---|---|".to_owned()); + for s in [a, b] { + let x = &self.assessed[s]; + out.push(format!( + "| {s} | {} | {} | {} | {} |", + x.clinvar, x.delly, x.smn, x.eh + )); + } + out.push(String::new()); + out.push(format!( + "Deletions shorter than {SV_MIN_SIZE} bp are left to the small-variant caller. Common deletions: {}.", + self.common + )); + out.push(String::new()); + out.push("## What this screen does not see".to_owned()); + out.push(String::new()); + out.extend( + self.gaps + .iter() + .cloned() + .chain(residual()) + .map(|g| format!("- {g}")), + ); + out.push(String::new()); + out.push( + "A screen that finds no shared gene lowers the chance of a child with one of these conditions; it does \ + not remove it." + .to_owned(), + ); + out.push(String::new()); + out.join("\n") + } +} diff --git a/rust/crates/og-couple/src/screen.rs b/rust/crates/og-couple/src/screen.rs index d86757436..94f0f5cde 100644 --- a/rust/crates/og-couple/src/screen.rs +++ b/rust/crates/og-couple/src/screen.rs @@ -1,13 +1,427 @@ -//! `og couple screen`: step 39's couple carrier screen, which -//! `bin/couple_report.py screen` runs today. +//! `og couple screen`: step 39's couple carrier screen (`scripts/39-couple.sh` +//! and the Nextflow `COUPLE_CARRIER` process run the same command). //! -//! Not ported yet: until its unit of the 1.0.0 plan lands, the verb says so -//! on stderr and exits 2, before reading any argument. +//! ```text +//! og couple screen --pedigree P.tsv --genes assets/carrier_genes.tsv +//! --clinvar ID=HITS.vcf ... [--delly ID=SV.vcf.gz ...] +//! [--eh ID=EH.vcf ...] [--smn ID=SMN.tsv ...] +//! [--exons EXONS.bed] [--benign-sv BENIGN_LOSS.bed] +//! [--cn-intervals ID=CN_INTERVALS.tsv ...] [--cnvpytor ID=CNVS.vcf.gz ...] +//! [--cyp21a2 ID=CYP21A2_PSV.tsv ...] [--par-bed PAR.bed] +//! [--declared-sex ID=SEX ...] --out-dir D +//! ``` +//! +//! For every two samples the pedigree marks as partners, and that both have +//! a ClinVar screen (step 06's `_clinvar_hits.vcf`), it writes +//! `D/couple_A_B.tsv` (one row per gene where either partner has a finding: +//! shared, x_linked or one_partner), `D/couple_A_B.md` (the same in words, +//! what was not assessed, and the residual risk) and a copy of the table for +//! each partner's own report, `D/A_couple_carrier.tsv` and +//! `D/B_couple_carrier.tsv`. +//! +//! Every couple is computed before anything is written: an input problem in +//! any couple stops the screen with no table at all, never with the tables +//! of the couples before it. Exits 1 when no couple could be screened, 2 on +//! an input problem. +use crate::args::{self, Kind, Spec}; +use crate::cn::{self, Intervals}; +use crate::findings::{self, Benign, DEPTH_MIN, Exons, Finding, SV_MIN_SIZE}; +use crate::list::{CarrierList, GeneIndex}; +use crate::prose::{self, Assessed, Outcome, Report}; +use og_pedigree::{Die, Par}; +use std::collections::{BTreeSet, HashMap}; use std::io::Write; +use std::path::Path; + +const USAGE: &str = + "usage: og couple screen --pedigree PEDIGREE --genes GENES [--clinvar ID=VCF] [--delly ID=VCF] + [--eh ID=VCF] [--smn ID=TSV] [--cn-intervals ID=TSV] [--cyp21a2 ID=TSV] + [--cnvpytor ID=VCF] [--exons BED] [--benign-sv BED] [--par-bed BED] + [--declared-sex ID=SEX] --out-dir OUT_DIR +"; + +const SPEC: Spec = Spec { + prog: "og couple screen", + usage: USAGE, + options: &[ + ("--pedigree", Kind::One), + ("--genes", Kind::One), + ("--clinvar", Kind::Append), + ("--delly", Kind::Append), + ("--eh", Kind::Append), + ("--smn", Kind::Append), + ("--cn-intervals", Kind::Append), + ("--cyp21a2", Kind::Append), + ("--cnvpytor", Kind::Append), + ("--exons", Kind::One), + ("--benign-sv", Kind::One), + ("--par-bed", Kind::One), + ("--declared-sex", Kind::Append), + ("--out-dir", Kind::One), + ], + required: &["--pedigree", "--genes", "--out-dir"], +}; + +/// The per-sample inputs, in the order they are checked. +const INPUTS: [&str; 7] = [ + "clinvar", + "delly", + "eh", + "smn", + "cn-intervals", + "cnvpytor", + "cyp21a2", +]; + +/// `og couple screen ARGS`. +pub fn cli(argv: &[String], out: &mut dyn Write, err: &mut dyn Write) -> u8 { + let a = match args::parse(&SPEC, argv, out, err) { + Ok(a) => a, + Err(code) => return code, + }; + let mut said = Vec::new(); + let result = run(&a, &mut said); + // An empty line holds the place of a couple that was computed but, the + // screen having stopped, never written: it says nothing. + for line in said.iter().filter(|l| !l.is_empty()) { + let _ = writeln!(out, "{line}"); + } + match result { + Ok(()) => 0, + Err(die) => { + let _ = out.flush(); + for line in &die.lines { + let _ = writeln!(err, "ERROR: {line}"); + } + die.code + } + } +} + +/// `--KIND ID=PATH ...` as `[(ID, PATH)]` in order; a malformed or repeated +/// ID stops the screen. +fn kv(values: &[String], what: &str) -> Result, Die> { + let mut out: Vec<(String, String)> = Vec::new(); + for v in values { + let (k, p) = v.split_once('=').unwrap_or((v, "")); + if k.is_empty() || p.is_empty() || !v.contains('=') { + return Err(Die::one(format!("--{what} takes ID=PATH, got '{v}'"))); + } + if out.iter().any(|(o, _)| o == k) { + return Err(Die::one(format!("--{what} names '{k}' twice"))); + } + out.push((k.to_owned(), p.to_owned())); + } + Ok(out) +} + +/// The files of one couple, ready to write. +struct Written { + base: String, + table: String, + partners: [String; 2], + markdown: String, +} + +fn run(a: &args::Args, said: &mut Vec) -> Result<(), Die> { + let req = |k: &str| a.one(k).unwrap_or_default(); + let genes_path = req("--genes"); + let list = CarrierList::read(genes_path)?; + let index = GeneIndex::new(&list); + let pedigree = req("--pedigree"); + let (rows, errors) = og_pedigree::read_pedigree(pedigree)?; + let mut declared = HashMap::new(); + for v in a.many("--declared-sex") { + let (k, s) = v.split_once('=').unwrap_or((v, "")); + let word = pycompat::text::lower(pycompat::text::strip(s, None)); + if let Some(Some(sex)) = og_pedigree::sex_word(&word) { + declared.insert(k.to_owned(), sex.to_owned()); + } + } + let (members, more) = og_pedigree::build_members(&rows, &declared, pedigree, "the samplesheet"); + if !errors.is_empty() || !more.is_empty() { + return Err(Die::new(errors.into_iter().chain(more).collect())); + } + let mut inputs: HashMap<&str, Vec<(String, String)>> = HashMap::new(); + for what in INPUTS { + inputs.insert(what, kv(a.many(&format!("--{what}")), what)?); + } + for what in INPUTS { + for (k, p) in &inputs[what] { + if !members.contains_key(k) { + return Err(Die::one(format!( + "--{what} {k}: '{k}' is not in the pedigree" + ))); + } + if !Path::new(p).is_file() { + return Err(Die::one(format!("--{what} {k}: no file {p}"))); + } + } + } + let of = |what: &str, s: &str| -> Option<&str> { + inputs[what] + .iter() + .find(|(k, _)| k == s) + .map(|(_, p)| p.as_str()) + }; + let exons = a.one("--exons").map(Exons::read).transpose()?; + let mut benign = None; + let mut common = "not filtered, no benign SV set was given (AnnotSV's annotations, step 05): a deletion many \ + people carry can show as a finding" + .to_owned(); + if let Some(p) = a.one("--benign-sv") { + if !Path::new(p).is_file() { + return Err(Die::one(format!("--benign-sv: no file {p}"))); + } + let b = Benign::read(p)?; + if b.count > 0 { + common = format!( + "a deletion matching one of 1% or more in AnnotSV's benign set ({} record{}, {}% reciprocal \ + overlap) is set aside", + b.count, + if b.count == 1 { "" } else { "s" }, + findings::COMMON_OVERLAP_PERCENT + ); + benign = Some(b); + } else { + common = "not filtered, the benign SV set holds no deletion of 1% or more".to_owned(); + } + } + let par = Par::read(a.one("--par-bed"))?; + let sexes: HashMap> = members + .iter() + .map(|(s, m)| (s.clone(), m.sex.clone())) + .collect(); + let couples: BTreeSet<(String, String)> = members + .iter() + .filter_map(|(s, m)| { + let p = m.partner.as_ref()?; + Some(if s <= p { + (s.clone(), p.clone()) + } else { + (p.clone(), s.clone()) + }) + }) + .collect(); + if couples.is_empty() { + return Err(Die { + lines: vec![format!( + "{pedigree} marks no two people as partners (the partner column): there is no couple to screen." + )], + code: 1, + }); + } + let out_dir = req("--out-dir"); + std::fs::create_dir_all(out_dir) + .map_err(|e| Die::one(format!("cannot create {out_dir}: {e}")))?; + let mut done: Vec = Vec::new(); + // What stdout says, line by line, for each couple once it is written. + let mut lines_of: Vec> = Vec::new(); + for (x, y) in &couples { + let lack: Vec<&str> = [x, y] + .into_iter() + .filter(|s| of("clinvar", s).is_none()) + .map(String::as_str) + .collect(); + if !lack.is_empty() { + said.push(format!( + "{x} and {y}: not screened, {} {} no ClinVar screen (step 06's _clinvar_hits.vcf)", + lack.join(" and "), + if lack.len() == 1 { "has" } else { "have" } + )); + continue; + } + let mut found: HashMap> = HashMap::new(); + let mut assessed: HashMap = HashMap::new(); + let mut gaps: Vec = Vec::new(); + let mut cn_lines: Vec = Vec::new(); + let mut ivs: HashMap = HashMap::new(); + for s in [x, y] { + let sex = sexes.get(s).and_then(|v| v.as_deref()); + if let Some(p) = of("cn-intervals", s) { + let iv = cn::read_intervals(p)?; + let dels = of("cnvpytor", s).map(cn::cnvpytor_deletions).transpose()?; + cn_lines.extend(cn::lines(s, sex, &iv, dels.as_ref())?); + ivs.insert(s.clone(), iv); + } else if !inputs["cn-intervals"].is_empty() { + gaps.push(format!( + "Carrier deletion alleles of {s}: no interval table (step 35)." + )); + } + let cv = findings::clinvar(of("clinvar", s).unwrap_or_default(), &list, sex, &par)?; + let mut f = cv.findings; + let mut info = Assessed { + clinvar: format!( + "{} / {}", + f.iter().filter(|x| x.hypomorph.is_none()).count(), + cv.total + ), + ..Assessed::default() + }; + for note in &cv.aside { + gaps.push(format!( + "Set aside for {s}, not a carrier finding on its own: {note}." + )); + } + match (of("delly", s), &exons) { + (None, _) => { + info.delly = "not assessed (no Delly calls, step 19)".to_owned(); + gaps.push(format!("Deletions of {s}: no Delly calls (step 19).")); + } + (Some(_), None) => { + info.delly = "not assessed (no exon list)".to_owned(); + gaps.push(format!( + "Deletions of {s}: Delly ran, but without the GENCODE exon list a deletion cannot be \ + placed on exons." + )); + } + (Some(p), Some(exons)) => { + let (d, skip) = findings::delly(p, &index, exons, sex, &par, benign.as_ref())?; + info.delly = format!("{} over exons of listed genes", d.len()); + if skip.short > 0 { + info.delly += + &format!("; {} shorter than {SV_MIN_SIZE} bp set aside", skip.short); + } + if skip.no_loss > 0 { + info.delly += &format!( + "; {} longer than {DEPTH_MIN} bp set aside, read depth does not confirm the loss", + skip.no_loss + ); + } + if skip.common > 0 { + info.delly += &format!("; {} set aside as common deletions", skip.common); + } + if benign.is_none() { + gaps.push(format!("Common deletions of {s}: {common}.")); + } + f.extend(d); + } + } + if let Some(p) = of("smn", s) { + let (m, txt) = findings::smn(p, &list)?; + if m.is_empty() + && (txt.contains("not resolved") + || txt.contains("not assessed") + || txt.contains("no row")) + { + gaps.push(format!("SMN1 copy number of {s}: {txt}.")); + } + info.smn = txt; + f.extend(m); + } else { + info.smn = "not assessed (no Parascopy, step 35)".to_owned(); + gaps.push(format!("SMN1 copy number of {s}: no Parascopy (step 35).")); + } + if let Some(p) = of("cyp21a2", s) { + let c = findings::cyp21a2(p, &list)?; + f.extend(c.findings); + if let Some(gap) = c.gap { + gaps.push(format!("CYP21A2 deletion and conversions of {s}: {gap}.")); + } + } else { + gaps.push(format!( + "CYP21A2 deletion and conversions of {s}: step 35's CYP21A2 table was not passed to the \ + couple screen (--cyp21a2)." + )); + } + if let Some(p) = of("eh", s) { + let r = findings::repeats(p, &list)?; + info.eh = format!("{} expanded", r.len()); + f.extend(r); + } else { + info.eh = "not assessed (no ExpansionHunter, step 09)".to_owned(); + gaps.push(format!( + "FMR1 and FXN repeats of {s}: no ExpansionHunter (step 09)." + )); + } + found.insert(s.clone(), f); + assessed.insert(s.clone(), info); + } + let rows = prose::screen_couple(x, y, &sexes, &found, &list); + let shared_cn = cn::shared(x, y, &ivs, &found, &list); + let base = Path::new(out_dir) + .join(format!("couple_{x}_{y}")) + .to_string_lossy() + .into_owned(); + let markdown = Report { + a: x, + b: y, + sexes: &sexes, + rows: &rows, + assessed: &assessed, + gaps: &gaps, + genes: list.len(), + common: &common, + cn: &cn_lines, + shared_cn: &shared_cn, + } + .markdown(); + let count = |k: Outcome| rows.iter().filter(|r| r.outcome == k).count(); + let shared = count(Outcome::Shared); + let mut lines = vec![format!( + "{x} and {y}: {shared} shared gene{}, {} X-linked, {} with one partner only ({base}.tsv)", + if shared == 1 { "" } else { "s" }, + count(Outcome::XLinked), + count(Outcome::OnePartner) + )]; + lines.extend( + rows.iter() + .filter(|r| r.outcome == Outcome::Shared) + .map(|r| format!(" shared: {} ({}): {}", r.gene, r.condition, r.risk)), + ); + lines.extend(shared_cn.iter().map(|l| { + let head = l.split(':').next().unwrap_or(""); + format!( + " possibly shared, from read depth: {}", + head.trim_matches('*') + ) + })); + // A placeholder keeps "not screened" lines in their place. + said.push(String::new()); + lines_of.push(lines); + done.push(Written { + base, + table: prose::table(&rows), + partners: [x.clone(), y.clone()], + markdown, + }); + } + if done.is_empty() { + return Err(Die { + lines: vec![ + "no couple of the pedigree has a ClinVar screen for both partners: run step 06 for each".to_owned(), + ], + code: 1, + }); + } + // Every couple is computed: now write them all, then say so. + for w in &done { + write(&format!("{}.tsv", w.base), &w.table)?; + for s in &w.partners { + let p = Path::new(out_dir).join(format!("{s}_couple_carrier.tsv")); + write(&p.to_string_lossy(), &w.table)?; + } + write(&format!("{}.md", w.base), &w.markdown)?; + } + let mut each = lines_of.into_iter(); + let mut full = Vec::new(); + for line in said.drain(..) { + if line.is_empty() { + full.extend(each.next().unwrap_or_default()); + } else { + full.push(line); + } + } + *said = full; + Ok(()) +} -/// `og couple screen ARGS`: not ported yet, so one line on stderr and exit 2. -pub fn cli(_args: &[String], _out: &mut dyn Write, err: &mut dyn Write) -> u8 { - let _ = writeln!(err, "og couple screen: not ported yet"); - 2 +/// Writes `text` to `path` through a temporary file renamed into place. +fn write(path: &str, text: &str) -> Result<(), Die> { + let mut f = og_io::AtomicFile::create(path) + .map_err(|e| Die::one(format!("cannot write {path}: {e}")))?; + f.write_all(text.as_bytes()) + .and_then(|()| f.commit()) + .map_err(|e| Die::one(format!("cannot write {path}: {e}"))) } diff --git a/rust/crates/og-couple/src/xml.rs b/rust/crates/og-couple/src/xml.rs new file mode 100644 index 000000000..1dfede828 --- /dev/null +++ b/rust/crates/og-couple/src/xml.rs @@ -0,0 +1,193 @@ +//! A small streaming XML reader for Orphadata's products: start tags with +//! their attributes, end tags and text, one at a time, so a 20 MB product +//! is never held whole. Comments, processing instructions and the DOCTYPE +//! are skipped; CDATA reads as text; the five named entities and numeric +//! character references are decoded. + +use og_pedigree::Die; +use std::io::BufRead; + +/// One piece of the document. +#[derive(Debug, Clone, PartialEq, Eq)] +pub enum Event<'a> { + /// A start tag: the name and the raw attribute text. A self-closing + /// tag gives a `Start` and then an `End`. + Start(&'a str, &'a str), + End(&'a str), + /// Text between tags, decoded. + Text(String), +} + +/// Decodes `&`, `<`, `>`, `"`, `'`, `&#N;` and `&#xN;`. +pub fn decode(s: &str) -> String { + if !s.contains('&') { + return s.to_owned(); + } + let mut out = String::with_capacity(s.len()); + let mut rest = s; + while let Some(i) = rest.find('&') { + out.push_str(&rest[..i]); + rest = &rest[i..]; + let Some(j) = rest.find(';') else { break }; + let ent = &rest[1..j]; + let ch = match ent { + "amp" => Some('&'), + "lt" => Some('<'), + "gt" => Some('>'), + "quot" => Some('"'), + "apos" => Some('\''), + _ => ent + .strip_prefix("#x") + .map(|h| u32::from_str_radix(h, 16)) + .or_else(|| ent.strip_prefix('#').map(str::parse::)) + .and_then(Result::ok) + .and_then(char::from_u32), + }; + match ch { + Some(c) => { + out.push(c); + rest = &rest[j + 1..]; + } + None => { + out.push('&'); + rest = &rest[1..]; + } + } + } + out.push_str(rest); + out +} + +/// The value of attribute `name` in a start tag's attribute text. +pub fn attr(attrs: &str, name: &str) -> Option { + let mut rest = attrs; + while let Some(eq) = rest.find('=') { + let key = rest[..eq].trim(); + let after = rest[eq + 1..].trim_start(); + let q = after.chars().next()?; + if q != '"' && q != '\'' { + return None; + } + let end = after[1..].find(q)?; + if key == name { + return Some(decode(&after[1..=end])); + } + rest = &after[end + 2..]; + } + None +} + +fn bad(path: &str, what: &str) -> Die { + Die::one(format!("{path}: not well-formed XML ({what})")) +} + +/// Calls `f` with every event of the XML file at `path` (plain or gzip). +pub fn each_event(path: &str, mut f: impl FnMut(Event<'_>) -> Result<(), Die>) -> Result<(), Die> { + let mut r = og_io::open(path).map_err(|e| Die::io(path, &e))?; + let mut buf: Vec = Vec::new(); + let io = |e: std::io::Error| Die::io(path, &e); + loop { + buf.clear(); + r.read_until(b'<', &mut buf).map_err(io)?; + let open = buf.last() == Some(&b'<'); + if open { + buf.pop(); + } + if !buf.is_empty() { + let text = std::str::from_utf8(&buf).map_err(|_| bad(path, "text is not UTF-8"))?; + f(Event::Text(decode(text)))?; + } + if !open { + return Ok(()); + } + buf.clear(); + r.read_until(b'>', &mut buf).map_err(io)?; + // A comment or CDATA section may hold '>': read on to its own end. + let ends = |b: &[u8], tail: &[u8]| b.len() > tail.len() && b[..b.len() - 1].ends_with(tail); + if buf.starts_with(b"!--") { + while !ends(&buf, b"--") { + if r.read_until(b'>', &mut buf).map_err(io)? == 0 { + return Err(bad(path, "a comment does not end")); + } + } + continue; + } + if buf.starts_with(b"![CDATA[") { + while !ends(&buf, b"]]") { + if r.read_until(b'>', &mut buf).map_err(io)? == 0 { + return Err(bad(path, "a CDATA section does not end")); + } + } + let body = &buf[8..buf.len() - 3]; + let text = std::str::from_utf8(body).map_err(|_| bad(path, "text is not UTF-8"))?; + f(Event::Text(text.to_owned()))?; + continue; + } + if buf.last() != Some(&b'>') { + return Err(bad(path, "a tag does not end")); + } + buf.pop(); + if buf.starts_with(b"?") || buf.starts_with(b"!") { + continue; + } + let tag = std::str::from_utf8(&buf).map_err(|_| bad(path, "a tag is not UTF-8"))?; + if let Some(name) = tag.strip_prefix('/') { + f(Event::End(name.trim()))?; + continue; + } + let (tag, closed) = match tag.strip_suffix('/') { + Some(t) => (t, true), + None => (tag, false), + }; + let split = tag + .find(|c: char| c.is_ascii_whitespace()) + .unwrap_or(tag.len()); + let (name, attrs) = tag.split_at(split); + f(Event::Start(name, attrs))?; + if closed { + f(Event::End(name))?; + } + } +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn events_entities_and_attributes() { + let dir = std::env::temp_dir().join(format!("og-couple-xml-{}", std::process::id())); + std::fs::create_dir_all(&dir).unwrap(); + let p = dir.join("t.xml"); + std::fs::write( + &p, + "\ + A & B's α]]>", + ) + .unwrap(); + let mut got = Vec::new(); + each_event(&p.to_string_lossy(), |e| { + got.push(match e { + Event::Start(n, a) => format!("S {n}|{}", attr(a, "date").unwrap_or_default()), + Event::End(n) => format!("E {n}"), + Event::Text(t) => format!("T {t}"), + }); + Ok(()) + }) + .unwrap(); + std::fs::remove_dir_all(&dir).unwrap(); + assert_eq!( + got, + [ + "S R|2026-01-02 03:04:05", + "S N|", + "T A & B's \u{3b1}", + "E N", + "S E|", + "E E", + "T ", + "E R" + ] + ); + } +} diff --git a/rust/crates/og-couple/tests/common/mod.rs b/rust/crates/og-couple/tests/common/mod.rs new file mode 100644 index 000000000..2d01464ad --- /dev/null +++ b/rust/crates/og-couple/tests/common/mod.rs @@ -0,0 +1,148 @@ +//! What the og-couple tests share: a scratch folder, the repository's +//! files, and `og couple screen|genes` run in the process. + +#![allow(dead_code)] + +use std::collections::HashMap; +use std::path::PathBuf; + +/// The repository root (the tests read its assets). +pub fn repo(rel: &str) -> String { + format!("{}/../../../{rel}", env!("CARGO_MANIFEST_DIR")) +} + +/// A scratch folder, removed when dropped. +pub struct Dir(PathBuf); + +impl Dir { + pub fn new(name: &str) -> Dir { + let p = std::env::temp_dir().join(format!("og-couple-{name}-{}", std::process::id())); + let _ = std::fs::remove_dir_all(&p); + std::fs::create_dir_all(&p).unwrap(); + Dir(p) + } + + /// The path of `rel` inside the folder. + pub fn path(&self, rel: &str) -> String { + self.0.join(rel).to_string_lossy().into_owned() + } + + /// Writes `text` to `rel` (parents made) and gives its path. + pub fn put(&self, rel: &str, text: &str) -> String { + let p = self.0.join(rel); + std::fs::create_dir_all(p.parent().unwrap()).unwrap(); + std::fs::write(&p, text).unwrap(); + p.to_string_lossy().into_owned() + } +} + +impl Drop for Dir { + fn drop(&mut self) { + let _ = std::fs::remove_dir_all(&self.0); + } +} + +/// Runs `og couple TOOL ARGS` in the process: the exit code, and stdout +/// followed by stderr. +pub fn og(tool: &str, args: &[&str]) -> (u8, String) { + let argv: Vec = args.iter().map(|s| (*s).to_owned()).collect(); + let (mut out, mut err) = (Vec::new(), Vec::new()); + let rc = match tool { + "screen" => og_couple::screen::cli(&argv, &mut out, &mut err), + "genes" => og_couple::genes::cli(&argv, &mut out, &mut err), + _ => panic!("{tool}"), + }; + out.extend(err); + (rc, String::from_utf8(out).unwrap()) +} + +/// The text of a file, or "" when it is not there. +pub fn read(path: &str) -> String { + std::fs::read_to_string(path).unwrap_or_default() +} + +/// The rows of a TSV with a header, by column name. +pub fn rows(path: &str) -> Vec> { + let text = read(path); + let mut lines = text.lines(); + let Some(head) = lines.next() else { + return Vec::new(); + }; + let head: Vec<&str> = head.split('\t').collect(); + lines + .map(|l| { + head.iter() + .map(|h| (*h).to_owned()) + .zip(l.split('\t').map(str::to_owned)) + .collect() + }) + .collect() +} + +/// The rows of a couple table by gene. +pub fn by_gene(path: &str) -> HashMap> { + rows(path) + .into_iter() + .map(|r| (r["gene"].clone(), r)) + .collect() +} + +/// A cell of a row of `by_gene`, or "" when the gene or the cell is missing. +pub fn cell<'a>(t: &'a HashMap>, gene: &str, k: &str) -> &'a str { + t.get(gene) + .and_then(|r| r.get(k)) + .map_or("", String::as_str) +} + +/// One row of assets/carrier_genes.tsv. +#[derive(Debug, Clone)] +pub struct Gene { + pub chrom: String, + pub start: i64, + pub end: i64, + pub inheritance: String, + pub lists: String, + pub condition: String, +} + +/// The rows of a carrier list, by gene. +pub fn genes(path: &str) -> HashMap { + let text = read(path); + let mut lines = text + .lines() + .filter(|l| !l.trim().is_empty() && !l.starts_with('#')); + let head: Vec<&str> = lines.next().unwrap().split('\t').collect(); + let at = |k: &str| head.iter().position(|h| *h == k).unwrap(); + let (g, c, s, e, i, l, n) = ( + at("gene"), + at("chrom"), + at("start"), + at("end"), + at("inheritance"), + at("lists"), + at("condition"), + ); + lines + .map(|line| { + let f: Vec<&str> = line.split('\t').collect(); + ( + f[g].to_owned(), + Gene { + chrom: f[c].to_owned(), + start: f[s].parse().unwrap(), + end: f[e].parse().unwrap(), + inheritance: f[i].to_owned(), + lists: f[l].to_owned(), + condition: f[n].to_owned(), + }, + ) + }) + .collect() +} + +/// The header line of a single-sample VCF. +pub const HEAD: &str = + "##fileformat=VCFv4.2\n#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\tFORMAT\tS\n"; + +/// The header of step 35's SMN table. +pub const PARASCOPY_HEAD: &str = "chrom\tstart\tend\tlocus\tagCN_filter\tagCN\tagCN_qual\tpsCN_filter\tpsCN\tpsCN_qual\thomologous_regions\n"; diff --git a/rust/crates/og-couple/tests/couple_report.rs b/rust/crates/og-couple/tests/couple_report.rs new file mode 100644 index 000000000..3ded86044 --- /dev/null +++ b/rust/crates/og-couple/tests/couple_report.rs @@ -0,0 +1,1308 @@ +//! `og couple screen` and `og couple genes` (step 39 and the Nextflow +//! COUPLE_CARRIER process) on synthetic step outputs at the real coordinates +//! of assets/carrier_genes.tsv. These are the checks of the Python test the +//! port replaced (tests/test_couple_report.py), section by section: +//! +//! 1. the carrier list: every ACMG tier 3 gene (97 autosomal recessive, 16 +//! X-linked) is in it, the ACOG genes are marked, every row has a GRCh38 +//! span on chr1 to chrX, and a chrX gene outside the PARs is X-linked; +//! 2. one variant in the same recessive gene in each partner is one shared +//! gene, a variant in another gene is one partner only, a gene outside +//! the list is left out; +//! 3. Delly deletions: over an exon, not inside an intron, not filtered, +//! not without the exon list; the read-depth rule for long ones, the +//! length rule and the common-deletion rule; +//! 4. a homozygous hit gives 1 in 2, two het hits in one partner say the +//! chance can be higher; +//! 5. X-linked genes and repeats; +//! 6. SMN1 (Parascopy) and CYP21A2 not assessed; +//! 7. the residual-risk lines name what was not assessed; the partner +//! tables are the couple table; +//! 8. red controls; +//! 9. the same inputs give the same bytes; +//! 10. `genes`: the list rebuilt from a small Orphanet and GENCODE extract; +//! 11. the carrier deletion alleles and AZF regions of step 35's interval +//! table, and the shared risk they add. +//! +//! Section 12 (a split half call is one copy) is the unit test +//! `zygosity_counts_a_missing_allele_in_the_ploidy` beside the rule, and the +//! half-call wording is checked here. + +mod common; + +use common::{Dir, HEAD, by_gene, cell, genes, og, read, repo, rows}; +use std::collections::{BTreeSet, HashMap}; + +const ACMG: &str = "HBB XPC TYR CYP21A2 PAH CFTR TNXB HEXA GJB2 DHCR7 ATP7B ASPA ACADM NPHS1 PMM2 FKTN SLC26A4 ERCC2 +DYNC2H1 CEP290 GBE1 GAA CHRNE G6PC1 OCA2 COL7A1 ABCC8 ALDOB FANCC GRIP1 BCKDHB ANO10 NAGA SMPD1 USH2A MMUT CPT2 +AHI1 DHDDS SLC19A3 GALT CYP11A1 TF MMACHC ABCA3 GBA1 MCOLN1 GNPTAB AGA PCDH15 FAH AIRE BBS2 CYP27A1 CCDC88C FMO3 +TMEM216 CNGB3 MCPH1 SLC37A4 PRF1 SCO2 AGXT ACADVL ASL EVC2 ARSA MVK PKHD1 BTD ALPL BBS1 CLCN1 CYP27B1 POLG MCCC2 +MLC1 ACAT1 CC2D2A SLC26A2 CBS LRP2 IDUA FKRP RNASEH2B RARS2 HBA1 HBA2 SMN1 HPS1 HPS3 ELP1 FXN DLD NEB CLRN1 +BLM"; +const ACMG_XL: &str = "ABCD1 AFF2 ARX DMD F8 F9 FMR1 GLA L1CAM MID1 NR0B1 OTC PLP1 RPGR RS1 SLC6A8"; +const ACOG: &str = "CFTR SMN1 HBB HBA1 HBA2 FMR1 HEXA ASPA ELP1 BLM ABCC8 FANCC GBA1 G6PC1 TMEM216 BCKDHB MCOLN1 SMPD1 PCDH15 CLRN1"; +const REVIEWED: &str = "criteria_provided,_multiple_submitters,_no_conflicts"; + +fn words(s: &str) -> BTreeSet { + s.split_whitespace().map(str::to_owned).collect() +} + +/// The carrier list and the PAR file of the repository. +struct Fixture { + list: HashMap, + genes: String, + par: String, +} + +impl Fixture { + fn new() -> Fixture { + let genes = repo("assets/carrier_genes.tsv"); + Fixture { + list: common::genes(&genes), + genes, + par: repo("assets/par_grch38.bed"), + } + } + + /// The middle of a gene of the list, moved by `off`. + fn mid(&self, gene: &str, off: i64) -> (String, i64) { + let g = &self.list[gene]; + (g.chrom.clone(), (g.start + g.end).div_euclid(2) + off) + } + + /// A ClinVar pathogenic hit of step 06 in `gene`. + fn hit(&self, gene: &str, gt: &str, off: i64) -> String { + let (c, p) = self.mid(gene, off); + hit_at(gene, gt, off, &c, p) + } +} + +fn hit_at(gene: &str, gt: &str, off: i64, c: &str, p: i64) -> String { + format!( + "{c}\t{p}\t9000{}\tA\tG\t.\tPASS\tGENEINFO={gene}:1;CLNSIG=Pathogenic;CLNREVSTAT={REVIEWED}\tGT\t{gt}\n", + off % 97 + ) +} + +fn deletion(c: &str, s: i64, e: i64, filt: &str) -> String { + format!("{c}\t{s}\tDEL0\tN\t\t.\t{filt}\tSVTYPE=DEL;END={e}\tGT:FT\t0/1:PASS\n") +} + +/// A Delly 2.x deletion with its read-depth copy number (FORMAT RDCN). +fn deldepth(c: &str, s: i64, e: i64, rdcn: &str, gt: &str, precise: &str) -> String { + format!( + "{c}\t{s}\tDEL1\tN\t\t.\tPASS\t{precise};SVTYPE=DEL;END={e}\tGT:FT:RDCN\t{gt}:PASS:{rdcn}\n" + ) +} + +/// An ExpansionHunter record; alleles: the repeat count of each allele. +fn eh(locus: &str, alleles: &[u32]) -> String { + let gt = vec!["1"; alleles.len()].join("/"); + let sizes: Vec = alleles.iter().map(u32::to_string).collect(); + format!( + "chrX\t1\t.\tC\t\t.\tPASS\tVARID={locus};REPID={locus}\tGT:REPCN\t{gt}:{}\n", + sizes.join("/") + ) +} + +fn smn(cn: u32, qual: &str) -> String { + format!( + "{}chr5\t70951000\t70953000\tSMN1\tPASS\t{}\t40\tPASS\t{cn},2\t{qual},40\tchr5:70076000-70078000\n", + common::PARASCOPY_HEAD, + cn + 2 + ) +} + +const PED: &str = "sample\tsex\tfather\tmother\tpartner\nA\tfemale\t.\t.\tB\nB\tmale\t.\t.\tA\n"; + +#[test] +fn the_carrier_list_holds_the_panels() { + let f = Fixture::new(); + let acmg: BTreeSet = f + .list + .iter() + .filter(|(_, g)| g.lists.contains("ACMG")) + .map(|(n, _)| n.clone()) + .collect(); + let want: BTreeSet = words(ACMG).union(&words(ACMG_XL)).cloned().collect(); + assert_eq!(acmg, want, "all 113 ACMG tier 3 genes are in the list"); + assert_eq!( + words(ACMG) + .iter() + .filter(|g| f.list[*g].inheritance == "AR") + .count(), + 97 + ); + assert!(words(ACMG_XL).iter().all(|g| f.list[g].inheritance == "XL")); + let acog: BTreeSet = f + .list + .iter() + .filter(|(_, g)| g.lists.contains("ACOG")) + .map(|(n, _)| n.clone()) + .collect(); + assert_eq!(acog, words(ACOG), "the ACOG genes are marked"); + let primary: Vec = (1..=22) + .map(|i| format!("chr{i}")) + .chain(["chrX".to_owned()]) + .collect(); + assert!( + f.list + .values() + .all(|g| primary.contains(&g.chrom) && 0 < g.start && g.start <= g.end), + "every row has a span on chr1 to chrX" + ); + let par = og_pedigree::Par::read(Some(&f.par)).unwrap(); + for (n, g) in &f.list { + let outside = g.chrom == "chrX" && !par.contains("chrX", g.start); + assert_eq!( + g.inheritance == "XL", + outside, + "{n}: a chrX gene outside the PARs is X-linked, inside a PAR autosomal" + ); + } + assert!( + f.list.len() > 3000, + "more than the panel: the Orphanet genes" + ); +} + +#[test] +fn a_shared_gene_deletions_over_exons_and_the_report() { + let f = Fixture::new(); + let t = Dir::new("shared"); + let ped = t.put("pedigree.tsv", PED); + let (cx, cy) = f.mid("CYP21A2", 0); + let exons = t.put( + "exons.bed", + &format!( + "{cx}\t{}\t{}\n{cx}\t{}\t{}\n", + cy - 200, + cy + 200, + cy + 5000, + cy + 5100 + ), + ); + let (tx, ty) = f.mid("TNXB", 20000); + let a_hits = t.put( + "A.vcf", + &format!( + "{HEAD}{}{}", + f.hit("NAGA", "0/1", 0), + hit_at("APOE", "0/1", 0, "chr19", 44908684) + ), + ); + let b_hits = t.put( + "B.vcf", + &format!( + "{HEAD}{}{}{}{}", + f.hit("NAGA", "0/1", 7), + f.hit("UGT1A1", "0/1", 0), + f.hit("CYP21A2", "0/1", 0), + f.hit("TNXB", "0/1", 20000) + ), + ); + let a_sv = t.put( + "A_sv.vcf", + &format!( + "{HEAD}{}{}{}", + deletion(&cx, cy - 1000, cy + 1000, "PASS"), + // inside a TNXB intron: no exon in the list + deletion(&tx, ty - 300, ty + 300, "PASS"), + deletion(&cx, cy - 1000, cy + 1000, "LowQual") + ), + ); + let ca = format!("A={a_hits}"); + let cb = format!("B={b_hits}"); + let dl = format!("A={a_sv}"); + let base = [ + "--pedigree", + &ped, + "--genes", + &f.genes, + "--par-bed", + &f.par, + "--clinvar", + &ca, + "--clinvar", + &cb, + "--delly", + &dl, + ]; + let out = t.path("out"); + let mut args = base.to_vec(); + args.extend(["--exons", &exons, "--out-dir", &out]); + let (rc, log) = og("screen", &args); + assert_eq!(rc, 0, "{log}"); + let tab = rows(&format!("{out}/couple_A_B.tsv")); + let res = by_gene(&format!("{out}/couple_A_B.tsv")); + // 2. + assert_eq!(cell(&res, "NAGA", "result"), "shared"); + assert_eq!(cell(&res, "NAGA", "offspring_risk"), "1 in 4 per pregnancy"); + assert_eq!(cell(&res, "UGT1A1", "result"), "one_partner"); + assert!(!res.contains_key("APOE") && !f.list.contains_key("APOE")); + // 3. + let fa = cell(&res, "CYP21A2", "findings_a"); + assert_eq!(cell(&res, "CYP21A2", "result"), "shared", "{fa}"); + assert!( + fa.contains("deletion") && fa.contains("1 exon of the gene (Delly)"), + "{fa}" + ); + assert_eq!( + fa.matches("deletion").count(), + 1, + "the filtered copy is not counted: {fa}" + ); + assert_eq!(cell(&res, "TNXB", "result"), "one_partner"); + assert_eq!(cell(&res, "TNXB", "findings_a"), "."); + let results: Vec<&str> = tab.iter().map(|r| r["result"].as_str()).collect(); + assert_eq!( + &results[..2], + ["shared", "shared"], + "shared genes come first" + ); + let table = read(&format!("{out}/couple_A_B.tsv")); + assert_eq!(read(&format!("{out}/A_couple_carrier.tsv")), table); + assert_eq!(read(&format!("{out}/B_couple_carrier.tsv")), table); + let md = read(&format!("{out}/couple_A_B.md")); + assert!(md.split("## X-linked").next().unwrap().contains("**NAGA**")); + assert!(md.contains("genetic counsellor")); + // 7. + assert!(md.contains("Deletions of B: no Delly calls"), "{md}"); + assert!(md.contains("SMN1 copy number of A: no Parascopy"), "{md}"); + assert!( + md.contains("FMR1 and FXN repeats of B: no ExpansionHunter"), + "{md}" + ); + assert!(log.contains("A and B: 2 shared genes"), "{log}"); + // 9. + let out2 = t.path("out2"); + let mut args = base.to_vec(); + args.extend(["--exons", &exons, "--out-dir", &out2]); + og("screen", &args); + for n in ["couple_A_B.tsv", "couple_A_B.md"] { + assert_eq!( + read(&format!("{out}/{n}")), + read(&format!("{out2}/{n}")), + "{n}" + ); + } + // 3. without the exon list + let noexons = t.path("noexons"); + let mut args = base.to_vec(); + args.extend(["--out-dir", &noexons]); + og("screen", &args); + let r3 = by_gene(&format!("{noexons}/couple_A_B.tsv")); + assert_eq!(cell(&r3, "CYP21A2", "result"), "one_partner"); + assert!(read(&format!("{noexons}/couple_A_B.md")).contains("without the GENCODE exon list")); +} + +#[test] +fn homozygous_and_two_hets() { + let f = Fixture::new(); + let t = Dir::new("hom"); + let ped = t.put("pedigree.tsv", PED); + let a = t.put("A_hom.vcf", &format!("{HEAD}{}", f.hit("NAGA", "1/1", 0))); + let b = t.put( + "B_two.vcf", + &format!( + "{HEAD}{}{}", + f.hit("NAGA", "0/1", 7), + f.hit("NAGA", "0/1", 9) + ), + ); + let out = t.path("hom"); + let (ca, cb) = (format!("A={a}"), format!("B={b}")); + og( + "screen", + &[ + "--pedigree", + &ped, + "--genes", + &f.genes, + "--clinvar", + &ca, + "--clinvar", + &cb, + "--out-dir", + &out, + ], + ); + let r4 = &rows(&format!("{out}/couple_A_B.tsv"))[0]; + assert_eq!(r4["offspring_risk"], "1 in 2 per pregnancy"); + assert!( + r4["explanation"].contains("B has two changes in the gene"), + "{r4:?}" + ); +} + +#[test] +fn x_linked_genes_and_repeats() { + let f = Fixture::new(); + let t = Dir::new("xl"); + let ped = t.put("pedigree.tsv", PED); + let a_eh = t.put( + "A_eh.vcf", + &format!( + "{}{}{}", + HEAD.replace("\tS\n", "\tA\n"), + eh("FMR1", &[30, 85]), + eh("FXN", &[9, 120]) + ), + ); + let b_eh = t.put( + "B_eh.vcf", + &format!("{HEAD}{}{}", eh("FMR1", &[29]), eh("FXN", &[12, 700])), + ); + let b_dmd = t.put("B_dmd.vcf", &format!("{HEAD}{}", f.hit("DMD", "1", 0))); + let a_none = t.put("A_none.vcf", HEAD); + let out = t.path("xl"); + let args: Vec = [ + "--pedigree", + &ped, + "--genes", + &f.genes, + "--par-bed", + &f.par, + "--clinvar", + &format!("A={a_none}"), + "--clinvar", + &format!("B={b_dmd}"), + "--eh", + &format!("A={a_eh}"), + "--eh", + &format!("B={b_eh}"), + "--out-dir", + &out, + ] + .iter() + .map(|s| (*s).to_owned()) + .collect(); + let args: Vec<&str> = args.iter().map(String::as_str).collect(); + og("screen", &args); + let r5 = by_gene(&format!("{out}/couple_A_B.tsv")); + assert_eq!(cell(&r5, "FMR1", "result"), "x_linked"); + assert_eq!(cell(&r5, "FMR1", "offspring_risk"), "A: sons 1 in 2"); + assert!(cell(&r5, "FMR1", "findings_a").contains("premutation (55 to 200)")); + assert!(cell(&r5, "FMR1", "explanation").contains("grow into a full mutation")); + assert_eq!( + cell(&r5, "FMR1", "findings_b"), + ".", + "the male's FMR1 allele of 29 is no finding" + ); + assert_eq!(cell(&r5, "DMD", "offspring_risk"), "B: daughters carriers"); + assert!(cell(&r5, "DMD", "findings_b").contains("hemizygous")); + assert_eq!(cell(&r5, "FXN", "result"), "shared", "FXN expanded in both"); +} + +/// Runs a screen of A and B with no ClinVar hit plus `extra`: the table by +/// gene and the report. +fn empty_screen( + f: &Fixture, + t: &Dir, + name: &str, + extra: &[&str], +) -> (u8, String, HashMap>, String) { + let ped = t.put("pedigree.tsv", PED); + let none = t.put("none.vcf", HEAD); + let (ca, cb) = (format!("A={none}"), format!("B={none}")); + let out = t.path(name); + let mut args = vec![ + "--pedigree", + &ped, + "--genes", + &f.genes, + "--par-bed", + &f.par, + "--clinvar", + &ca, + "--clinvar", + &cb, + ]; + args.extend_from_slice(extra); + args.extend(["--out-dir", &out]); + let (rc, log) = og("screen", &args); + ( + rc, + log, + by_gene(&format!("{out}/couple_A_B.tsv")), + read(&format!("{out}/couple_A_B.md")), + ) +} + +#[test] +fn smn1_and_cyp21a2() { + let f = Fixture::new(); + let t = Dir::new("smn"); + let (sa, sb, su) = ( + t.put("A_smn.tsv", &smn(1, "45")), + t.put("B_smn.tsv", &smn(1, "45")), + t.put("U_smn.tsv", &smn(1, "5")), + ); + let (a, b) = (format!("A={sa}"), format!("B={sb}")); + let (_, _, r6, _) = empty_screen(&f, &t, "smn", &["--smn", &a, "--smn", &b]); + assert_eq!(cell(&r6, "SMN1", "result"), "shared", "{r6:?}"); + let u = format!("A={su}"); + let (_, _, r, md) = empty_screen(&f, &t, "smnu", &["--smn", &u, "--smn", &b]); + assert_eq!( + cell(&r, "SMN1", "findings_a"), + ".", + "a call of quality 5 is no finding: {r:?}" + ); + assert!( + md.contains( + "SMN1 copy number of A: SMN1 copy number 1 (quality 5, filter PASS), not resolved" + ), + "{md}" + ); + let first = common::PARASCOPY_HEAD; + let sn = t.put( + "N_smn.tsv", + &format!( + "{first}chr5\t70951945\t70951946\tSMN1\tnot assessed: no read over chr5:70951946-70951946\t.\t.\t\ + not assessed: no read over chr5:70951946-70951946\t.\t.\t.\n" + ), + ); + let n = format!("A={sn}"); + let (_, _, r, md) = empty_screen(&f, &t, "smnn", &["--smn", &n, "--smn", &b]); + assert_eq!(cell(&r, "SMN1", "findings_a"), ".", "{r:?}"); + assert!( + md.contains( + "SMN1 copy number of A: SMN1 not assessed: no read over chr5:70951946-70951946; copy number not resolved." + ), + "{md}" + ); + // 6b. CYP21A2 not assessed: the table's message, the reason code for an older table + let why = "not assessed: the BAM has few or no multi-mapping reads here (reads of mapping quality 0 make up \ + 0.0% of the depth over CYP21A2 and CYP21A1P, under 2%), the sign of an aligner that leaves out the \ + reads that fit both copies"; + let na = "metric\tvalue\nstatus\tnot assessed\ncyp21a2_copies\t.\nfinding\t.\nreason\tlow_mapq0_share\n"; + let ca = t.put("A_cyp.tsv", &format!("{na}message\t{why}\n")); + let cb = t.put("B_cyp.tsv", na); + let (a, b) = (format!("A={ca}"), format!("B={cb}")); + let (_, _, _, md) = empty_screen(&f, &t, "cyp", &["--cyp21a2", &a, "--cyp21a2", &b]); + assert!( + md.contains(&format!( + "CYP21A2 deletion and conversions of A: CYP21A2 {why}." + )), + "{md}" + ); + assert!( + md.contains( + "CYP21A2 deletion and conversions of B: CYP21A2 not assessed (low_mapq0_share)." + ), + "{md}" + ); +} + +#[test] +fn read_depth_decides_long_deletions() { + let f = Fixture::new(); + let t = Dir::new("depth"); + let m: HashMap<&str, (String, i64)> = ["GBA1", "PAH", "CFTR", "HBB", "DMD", "OTC"] + .iter() + .map(|g| (*g, f.mid(g, 0))) + .collect(); + let mut spots: Vec<&(String, i64)> = m.values().collect(); + spots.sort(); + let dexons = t.put( + "depth_exons.bed", + &spots + .iter() + .map(|(c, p)| format!("{c}\t{}\t{}\n", p - 50, p + 50)) + .collect::(), + ); + let mb = 25_000_000; + let (gc, gp) = &m["GBA1"]; + let (pc, pp) = &m["PAH"]; + let (fc, fp) = &m["CFTR"]; + let (hc, hp) = &m["HBB"]; + let (dc, dp) = &m["DMD"]; + let (oc, op) = &m["OTC"]; + let a = t.put( + "A_depth.vcf", + &[ + HEAD.to_owned(), + deldepth(gc, gp - mb, gp + mb, "2", "0/1", "IMPRECISE"), // 50 Mb, depth shows 2 copies + deldepth(pc, pp - mb, pp + mb, "1", "0/1", "IMPRECISE"), // 50 Mb, depth shows 1 copy + deldepth(fc, fp - 300, fp + 300, "2", "0/1", "PRECISE"), // 600 bp, split reads alone + deldepth(hc, hp - 1000, hp + 1000, ".", "0/1", "IMPRECISE"), // 2 kb, no estimate + ] + .concat(), + ); + let b = t.put( + "B_depth.vcf", + &[ + HEAD.to_owned(), + deldepth(dc, dp - 1_000_000, dp + 1_000_000, "1", "1", "IMPRECISE"), // male chrX: 1 is normal + deldepth(oc, op - 2500, op + 2500, "0", "1", "IMPRECISE"), // male chrX: 0, a loss + ] + .concat(), + ); + let (da, db) = (format!("A={a}"), format!("B={b}")); + let (rc, log, rd, md) = empty_screen( + &f, + &t, + "depth", + &["--delly", &da, "--delly", &db, "--exons", &dexons], + ); + assert_eq!(rc, 0, "{log}"); + assert!( + !rd.contains_key("GBA1"), + "a 50 Mb deletion with RDCN 2 is set aside" + ); + assert_eq!(cell(&rd, "PAH", "result"), "one_partner"); + assert!( + cell(&rd, "PAH", "findings_a").contains("(50000.0 kb) het, 1 exon of the gene (Delly)") + ); + assert_eq!(cell(&rd, "CFTR", "result"), "one_partner"); + assert!(cell(&rd, "CFTR", "findings_a").contains("(600 bp) het")); + assert!( + !rd.contains_key("HBB"), + "a 2 kb deletion without a depth estimate is set aside" + ); + assert!( + !rd.contains_key("DMD"), + "a male's chrX deletion with RDCN 1 is set aside" + ); + assert_eq!(cell(&rd, "OTC", "result"), "x_linked"); + assert!(cell(&rd, "OTC", "findings_b").contains("hemizygous")); + assert!(md.contains( + "| A | 0 / 0 | 2 over exons of listed genes; 2 longer than 1000 bp set aside, read depth does not confirm the loss |" + )); + assert!(md.contains( + "| B | 0 / 0 | 1 over exons of listed genes; 1 longer than 1000 bp set aside, read depth does not confirm the loss |" + )); +} + +#[test] +fn length_and_common_deletions() { + let f = Fixture::new(); + let t = Dir::new("common"); + let names = [ + "ASPA", "HEXA", "SMPD1", "MCOLN1", "GJB2", "TPP1", "GALC", "NPC1", "CLN3", + ]; + let m: HashMap<&str, (String, i64)> = names.iter().map(|g| (*g, f.mid(g, 0))).collect(); + let mut spots: Vec<&(String, i64)> = m.values().collect(); + spots.sort(); + let cexons = t.put( + "common_exons.bed", + &spots + .iter() + .map(|(c, p)| format!("{c}\t{}\t{}\n", p - 50, p + 50)) + .collect::(), + ); + let d = |g: &str, l: i64, r: i64, rdcn: &str, precise: &str| { + let (c, p) = &m[g]; + deldepth(c, p - l, p + r, rdcn, "0/1", precise) + }; + let a = t.put( + "A_len.vcf", + &[ + HEAD.to_owned(), + d("ASPA", 15, 15, "2", "PRECISE"), // 30 bp over an ASPA exon + d("HEXA", 2500, 2500, "1", "IMPRECISE"), // 5 kb, a common deletion + d("SMPD1", 2500, 2500, "1", "IMPRECISE"), // 5 kb, no common match + d("MCOLN1", 2500, 2500, "1", "IMPRECISE"), // 5 kb inside a 20 kb common one + d("GJB2", 2500, 2500, "1", "IMPRECISE"), // 5 kb, a rare benign record + d("TPP1", 25, 24, "2", "PRECISE"), // 49 bp, one short of an SV + d("GALC", 25, 25, "2", "PRECISE"), // 50 bp, the smallest SV + d("NPC1", 2500, 2500, "1", "IMPRECISE"), // 5 kb, a record of exactly 1% + d("CLN3", 2500, 2500, "1", "IMPRECISE"), // 5 kb, half a 10 kb common one + ] + .concat(), + ); + // The benign set as AnnotSV writes it: chromosome without "chr", 0-based + // start, source, coordinates, frequency. + let rec = |g: &str, l: i64, r: i64, af: &str| { + let (c, p) = &m[g]; + (c[3..].to_owned(), p - l, p + r, af.to_owned()) + }; + let mut recs = [ + rec("HEXA", 2400, 2700, "0.3100"), // the HEXA deletion, breakpoints 100-200 bp off + rec("MCOLN1", 10000, 10000, "0.2000"), // covers MCOLN1's deletion, 25% of itself + rec("GJB2", 2500, 2500, "0.0040"), // GJB2's exactly, but below 1% + rec("NPC1", 2500, 2500, "0.0100"), // NPC1's exactly, at 1% + rec("CLN3", 2500, 7500, "0.2000"), // CLN3's 5 kb is 50% of this 10 kb record + ]; + recs.sort_by(|x, y| (format!("chr{}", x.0), x.1, x.2).cmp(&(format!("chr{}", y.0), y.1, y.2))); + let benign = t.put( + "benign_Loss_SV_GRCh38.sorted.bed", + &recs + .iter() + .map(|(c, s, e, af)| format!("{c}\t{s}\t{e}\tgnomAD-SV_fixture\t{c}:{s}-{e}\t{af}\n")) + .collect::(), + ); + let da = format!("A={a}"); + let (rc, log, rc_, mdc) = empty_screen( + &f, + &t, + "common", + &["--delly", &da, "--exons", &cexons, "--benign-sv", &benign], + ); + assert_eq!(rc, 0, "{log}"); + assert!(!rc_.contains_key("ASPA"), "30 bp is not reported"); + assert!(!rc_.contains_key("TPP1"), "49 bp is not reported"); + assert_eq!(cell(&rc_, "GALC", "result"), "one_partner"); + assert!(cell(&rc_, "GALC", "findings_a").contains("(50 bp) het")); + assert!( + !rc_.contains_key("HEXA"), + "a common deletion is not reported" + ); + assert!( + !rc_.contains_key("NPC1"), + "a record of exactly 1% sets it aside" + ); + assert!( + !rc_.contains_key("CLN3"), + "exactly 50% of a common record sets it aside" + ); + assert_eq!(cell(&rc_, "SMPD1", "result"), "one_partner"); + assert!(cell(&rc_, "SMPD1", "findings_a").contains("(5.0 kb) het")); + assert_eq!( + cell(&rc_, "MCOLN1", "result"), + "one_partner", + "25% of a common one still counts" + ); + assert_eq!( + cell(&rc_, "GJB2", "result"), + "one_partner", + "a record below 1% sets nothing aside" + ); + assert!(mdc.contains( + "| A | 0 / 0 | 4 over exons of listed genes; 2 shorter than 50 bp set aside; 3 set aside as common deletions |" + ), "{mdc}"); + assert!(mdc.contains( + "a deletion matching one of 1% or more in AnnotSV's benign set (4 records, 50% reciprocal overlap) is set aside" + ), "{mdc}"); + let (rc, log, rn, mdn) = + empty_screen(&f, &t, "nobenign", &["--delly", &da, "--exons", &cexons]); + assert_eq!(rc, 0, "{log}"); + assert!(!rn.contains_key("ASPA")); + assert_eq!( + cell(&rn, "HEXA", "result"), + "one_partner", + "red: without a benign set HEXA is reported" + ); + assert!(mdn.contains("Common deletions: not filtered, no benign SV set was given")); + assert!(mdn.contains("Common deletions of A: not filtered")); + let missing = t.path("no_such.bed"); + let (rc, log, _, _) = empty_screen( + &f, + &t, + "nobed", + &["--delly", &da, "--exons", &cexons, "--benign-sv", &missing], + ); + assert!(rc == 2 && log.contains("no_such.bed"), "{rc} {log}"); +} + +#[test] +fn red_controls() { + let f = Fixture::new(); + let t = Dir::new("red"); + let ped = t.put("pedigree.tsv", PED); + let a_hits = t.put("A.vcf", &format!("{HEAD}{}", f.hit("NAGA", "0/1", 0))); + let b_hits = t.put("B.vcf", &format!("{HEAD}{}", f.hit("NAGA", "0/1", 7))); + let (ca, cb) = (format!("A={a_hits}"), format!("B={b_hits}")); + let empty = t.put( + "empty.tsv", + "# emptied\ngene\tchrom\tstart\tend\tinheritance\tlists\tcondition\n", + ); + let red = t.path("red"); + let (rc, log) = og( + "screen", + &[ + "--pedigree", + &ped, + "--genes", + &empty, + "--clinvar", + &ca, + "--clinvar", + &cb, + "--out-dir", + &red, + ], + ); + assert!(rc == 2 && log.contains("holds no gene"), "{rc} {log}"); + assert!(!std::path::Path::new(&format!("{red}/couple_A_B.tsv")).exists()); + let lone = t.put( + "lone.tsv", + "sample\tsex\tfather\tmother\tpartner\nA\tfemale\t.\t.\t.\nB\tmale\t.\t.\t.\n", + ); + let o = t.path("lone"); + let (rc, log) = og( + "screen", + &[ + "--pedigree", + &lone, + "--genes", + &f.genes, + "--clinvar", + &ca, + "--out-dir", + &o, + ], + ); + assert!( + rc == 1 && log.contains("no two people as partners"), + "{rc} {log}" + ); + let half = t.path("half"); + let (rc, log) = og( + "screen", + &[ + "--pedigree", + &ped, + "--genes", + &f.genes, + "--clinvar", + &ca, + "--out-dir", + &half, + ], + ); + assert!( + rc == 1 && log.contains("B has no ClinVar screen"), + "{rc} {log}" + ); + assert!(!std::path::Path::new(&format!("{half}/couple_A_B.tsv")).exists()); + let c = format!("C={a_hits}"); + let o = t.path("c"); + let (rc, log) = og( + "screen", + &[ + "--pedigree", + &ped, + "--genes", + &f.genes, + "--clinvar", + &c, + "--out-dir", + &o, + ], + ); + assert!( + rc == 2 && log.contains("'C' is not in the pedigree"), + "{rc} {log}" + ); +} + +const IVH: &str = + "locus\tname\tchrom\tstart\tend\tstatus\tcopies\texpected\tchange\testimate\treason\n"; + +/// One row of step 35's interval table. +fn ivrow(locus: &str, chrom: &str, s: i64, e: i64, kv: &[(&str, &str)]) -> String { + let get = |k: &str, d: &'static str| { + kv.iter() + .find(|(x, _)| *x == k) + .map_or(d.to_owned(), |(_, v)| (*v).to_owned()) + }; + format!( + "{locus}\t{locus} name\t{chrom}\t{s}\t{e}\t{}\t{}\t{}\t{}\t.\t{}\n", + get("status", "called"), + get("copies", "2"), + get("expected", "2"), + get("change", "no change"), + get("reason", ".") + ) +} + +const DEL1: &[(&str, &str)] = &[("copies", "1"), ("change", "deletion")]; + +#[test] +fn carrier_deletion_alleles_and_azf() { + let f = Fixture::new(); + let t = Dir::new("cn"); + let ped = t.put("pedigree.tsv", PED); + let a_hits = t.put("A.vcf", &format!("{HEAD}{}", f.hit("NAGA", "0/1", 0))); + let b_hits = t.put("B.vcf", &format!("{HEAD}{}", f.hit("NAGA", "0/1", 7))); + let a_iv = t.put( + "A_cn_intervals.tsv", + &[ + IVH.to_owned(), + ivrow("GJB6_D13S1830", "chr13", 20223037, 20531806, DEL1), + ivrow("CFTR_dele2_3", "chr7", 117498312, 117519392, &[]), + ivrow( + "HBB_exon3_del", + "chr11", + 5225254, + 5225875, + &[ + ("status", "not assessed"), + ("copies", "."), + ("change", "."), + ("reason", "between_counts"), + ], + ), + ivrow("HBB_619bp_del", "chr11", 5225388, 5226007, &[]), + ivrow("HBD_HBB_Sicilian_del", "chr11", 5219877, 5233280, &[]), + ivrow( + "AZFa", + "chrY", + 12537649, + 12920478, + &[ + ("status", "not applicable"), + ("copies", "."), + ("expected", "."), + ("change", "."), + ("reason", "no_y"), + ], + ), + ] + .concat(), + ); + let b_iv = t.put( + "B_cn_intervals.tsv", + &[ + IVH.to_owned(), + ivrow("GJB6_D13S1830", "chr13", 20223037, 20531806, &[]), + ivrow("CFTR_dele2_3", "chr7", 117498312, 117519392, &[]), + ivrow("HBB_exon3_del", "chr11", 5225254, 5225875, DEL1), + ivrow("HBB_619bp_del", "chr11", 5225388, 5226007, DEL1), + ivrow("HBD_HBB_Sicilian_del", "chr11", 5219877, 5233280, DEL1), + ivrow( + "AZFa", + "chrY", + 12537649, + 12920478, + &[("copies", "1"), ("expected", "1")], + ), + ivrow( + "AZFb", + "chrY", + 19702297, + 20593154, + &[("copies", "1"), ("expected", "1")], + ), + ivrow( + "AZFc_DAZ", + "chrY", + 23129354, + 24907040, + &[("copies", "2"), ("expected", "4"), ("change", "deletion")], + ), + ] + .concat(), + ); + // CNVpytor: no call over A's GJB6 deletion, a deletion over B's CFTRdele2,3 (absent by depth) + let cnv_head = "##fileformat=VCFv4.2\n#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\n"; + let b_cnv = t.put( + "B_cnvs.vcf", + &format!("{cnv_head}chr7\t117498001\tCNV1\tN\t\t.\tPASS\tSVTYPE=DEL;END=117520000\n"), + ); + let a_cnv = t.put("A_cnvs.vcf", cnv_head); + let out = t.path("cn"); + let (ca, cb) = (format!("A={a_hits}"), format!("B={b_hits}")); + let (ia, ib) = (format!("A={a_iv}"), format!("B={b_iv}")); + let (na, nb) = (format!("A={a_cnv}"), format!("B={b_cnv}")); + let (rc, log) = og( + "screen", + &[ + "--pedigree", + &ped, + "--genes", + &f.genes, + "--clinvar", + &ca, + "--clinvar", + &cb, + "--cn-intervals", + &ia, + "--cn-intervals", + &ib, + "--cnvpytor", + &na, + "--cnvpytor", + &nb, + "--out-dir", + &out, + ], + ); + assert_eq!(rc, 0, "{log}"); + let md = read(&format!("{out}/couple_A_B.md")); + for p in ["A", "B"] { + for n in [ + "del(GJB6-D13S1830)", + "CFTRdele2,3", + "HBB exon 3 deletion", + "HBB 619 bp deletion", + "Sicilian (delta-beta)0 deletion", + ] { + let states = ["present", "absent", "not assessable"] + .iter() + .filter(|st| md.contains(&format!("- {p}, {n}: **{st}**"))) + .count(); + assert_eq!(states, 1, "{p} {n}: one of the three states\n{md}"); + } + } + for want in [ + "- A, del(GJB6-D13S1830): **present** (read depth, step 35: 1 of 2 copies)", + "- A, HBB exon 3 deletion: **not assessable** (read depth, step 35: not assessed (between_counts))", + "- B, CFTRdele2,3: **absent**", + "- B, Sicilian (delta-beta)0 deletion: **present** (read depth, step 35: 1 of 2 copies)", + "- B, HBB 619 bp deletion: **present** (read depth, step 35: 1 of 2 copies)", + "- A, Sicilian (delta-beta)0 deletion: **absent** (read depth, step 35: 2 of 2 copies)", + // where CNVpytor and the depth call disagree, both are printed + "- A, del(GJB6-D13S1830): **present** (read depth, step 35: 1 of 2 copies); CNVpytor (step 18) calls no deletion here", + "- B, CFTRdele2,3: **absent** (read depth, step 35: 2 of 2 copies); CNVpytor (step 18) calls a deletion here", + // no CNVpytor note under two of its 1 kb bins; the 13.4 kb Sicilian gets it + "- B, HBB 619 bp deletion: **present** (read depth, step 35: 1 of 2 copies)\n", + "- B, HBB exon 3 deletion: **present** (read depth, step 35: 1 of 2 copies)\n", + "- B, Sicilian (delta-beta)0 deletion: **present** (read depth, step 35: 1 of 2 copies); CNVpytor (step 18) calls no deletion here", + // the male partner's AZF regions; the female's not applicable + "- B, AZFc deletion (DAZ copies; gr/gr and b2/b3 leave two of four): **present** (read depth, step 35: 2 of 4 copies)", + "- B, AZFa deletion: **absent** (read depth, step 35: 1 of 1 copies)", + "- A, AZF regions: not applicable (no Y chromosome)", + ] { + assert!(md.contains(want), "{want}\n{md}"); + } + assert!(!md.contains("- B, GJB6_D13S1830")); + assert!( + format!("{md}\n") + .contains("- B, del(GJB6-D13S1830): **absent** (read depth, step 35: 2 of 2 copies)\n") + ); + assert!(!md.contains("- A, AZFa")); + let nocn = t.path("nocn"); + let (rc, _) = og( + "screen", + &[ + "--pedigree", + &ped, + "--genes", + &f.genes, + "--clinvar", + &ca, + "--clinvar", + &cb, + "--out-dir", + &nocn, + ], + ); + assert_eq!(rc, 0); + assert!(!read(&format!("{nocn}/couple_A_B.md")).contains("Carrier deletion alleles")); +} + +/// The shared-risk section of a couple report. +fn shared_head(md: &str) -> String { + let after = md.split_once("## Shared risk").map_or(md, |(_, b)| b); + after.split("## X-linked").next().unwrap().to_owned() +} + +#[test] +fn read_depth_alleles_add_a_shared_risk() { + let f = Fixture::new(); + let t = Dir::new("cn2"); + let ped2 = t.put( + "ped2.tsv", + "sample\tsex\tfather\tmother\tpartner\nC\tfemale\t.\t.\tD\nD\tmale\t.\t.\tC\n", + ); + let c_hits = t.put("C.vcf", &format!("{HEAD}{}", f.hit("UGT1A1", "0/1", 0))); + let d_hits = t.put("D.vcf", &format!("{HEAD}{}", f.hit("HBB", "0/1", 0))); + let c_iv = t.put( + "C_cn_intervals.tsv", + &[ + IVH.to_owned(), + ivrow("CFTR_dele2_3", "chr7", 117498312, 117519392, DEL1), + ivrow("HBB_exon3_del", "chr11", 5225254, 5225875, DEL1), + ] + .concat(), + ); + let d_iv = t.put( + "D_cn_intervals.tsv", + &[ + IVH.to_owned(), + ivrow("CFTR_dele2_3", "chr7", 117498312, 117519392, DEL1), + ] + .concat(), + ); + let screen2 = |genes: &str, d_vcf: &str, civ: &str, div: Option<&str>, name: &str| { + let out = t.path(name); + let (cc, cd, ic) = ( + format!("C={c_hits}"), + format!("D={d_vcf}"), + format!("C={civ}"), + ); + let id = div.map(|d| format!("D={d}")); + let mut args = vec![ + "--pedigree", + &ped2, + "--genes", + genes, + "--clinvar", + &cc, + "--clinvar", + &cd, + "--cn-intervals", + &ic, + ]; + if let Some(id) = &id { + args.extend(["--cn-intervals", id]); + } + args.extend(["--out-dir", &out]); + let (rc, log) = og("screen", &args); + ( + rc, + log, + read(&format!("{out}/couple_C_D.md")), + rows(&format!("{out}/couple_C_D.tsv")), + ) + }; + let (rc, log, md, tab) = screen2(&f.genes, &d_hits, &c_iv, Some(&d_iv), "cn2"); + let head = shared_head(&md); + assert_eq!(rc, 0, "{log}"); + assert!(!tab.iter().any(|r| r["result"] == "shared")); + assert!(head.contains( + "No gene of the list where both partners carry a change in the gene table; read depth (step 35) adds a possible \ + shared risk, below." + ), "{head}"); + assert!(head.contains( + "- **CFTR**: C: CFTRdele2,3 present (read depth, step 35: 1 of 2 copies); D: CFTRdele2,3 present (read depth, \ + step 35: 1 of 2 copies). Both partners may carry a change in CFTR" + ), "{head}"); + assert!(head.contains( + "- **HBB**: C: HBB exon 3 deletion present (read depth, step 35: 1 of 2 copies); D: " + )); + assert!( + log.contains("possibly shared, from read depth: CFTR") + && log.contains("possibly shared, from read depth: HBB") + ); + let none_iv = t.put( + "N_cn_intervals.tsv", + &[ + IVH.to_owned(), + ivrow("CFTR_dele2_3", "chr7", 117498312, 117519392, &[]), + ] + .concat(), + ); + let (rc, log, md, _) = screen2(&f.genes, &d_hits, &none_iv, Some(&d_iv), "cn3"); + let head = shared_head(&md); + assert_eq!(rc, 0); + assert!( + head.contains("No gene of the list where both partners carry a change.\n"), + "red: {head}" + ); + assert!(!head.contains("Possible shared risk") && !log.contains("possibly shared")); + // DFNB1: one partner's del(GJB6-D13S1830) beside the other's GJB2 hit + let g_hits = t.put("G.vcf", &format!("{HEAD}{}", f.hit("GJB2", "0/1", 0))); + let g_iv = t.put( + "G_cn_intervals.tsv", + &[ + IVH.to_owned(), + ivrow("GJB6_D13S1830", "chr13", 20223037, 20531806, DEL1), + ] + .concat(), + ); + let (rc, log, md, _) = screen2(&f.genes, &g_hits, &g_iv, None, "cn4"); + let head = shared_head(&md); + assert_eq!(rc, 0, "{log}"); + let dfnb1 = "- **GJB2/GJB6 (DFNB1)**: C: del(GJB6-D13S1830) present (read depth, step 35: 1 of 2 copies); D: "; + assert!(head.contains(dfnb1), "{head}"); + assert!(head.split_once("; D: ").unwrap().1.contains("GJB2")); + // A carrier list without CFTR: CFTRdele2,3 in both is no shared risk; HBB still is + let no_cftr = t.put( + "no_cftr.tsv", + &read(&f.genes) + .lines() + .filter(|l| !l.starts_with("CFTR\t")) + .map(|l| format!("{l}\n")) + .collect::(), + ); + let (rc, log, md, _) = screen2(&no_cftr, &d_hits, &c_iv, Some(&d_iv), "cn5"); + let head = shared_head(&md); + assert_eq!(rc, 0, "{log}"); + assert!(!head.contains("**CFTR**")); + assert!(head.contains("- **HBB**: C: HBB exon 3 deletion present")); + assert!(!log.contains("possibly shared, from read depth: CFTR")); +} + +#[test] +fn a_half_call_is_one_copy() { + let f = Fixture::new(); + let t = Dir::new("half"); + let v = t.put("half.vcf", &format!("{HEAD}{}", f.hit("CFTR", "./1", 0))); + let none = t.put("none.vcf", HEAD); + let ped = t.put("pedigree.tsv", PED); + let (ca, cb) = (format!("A={v}"), format!("B={none}")); + let out = t.path("out"); + let (rc, log) = og( + "screen", + &[ + "--pedigree", + &ped, + "--genes", + &f.genes, + "--par-bed", + &f.par, + "--clinvar", + &ca, + "--clinvar", + &cb, + "--out-dir", + &out, + ], + ); + assert_eq!(rc, 0, "{log}"); + let r = by_gene(&format!("{out}/couple_A_B.tsv")); + let fa = cell(&r, "CFTR", "findings_a"); + assert!( + fa.contains(" one copy, other copy not called ref (./1), "), + "{fa}" + ); + // both partners with the half call: one copy each, so 1 in 4, never 1 in 2 + let both = format!("B={v}"); + let out2 = t.path("out2"); + og( + "screen", + &[ + "--pedigree", + &ped, + "--genes", + &f.genes, + "--clinvar", + &ca, + "--clinvar", + &both, + "--out-dir", + &out2, + ], + ); + let r = by_gene(&format!("{out2}/couple_A_B.tsv")); + assert_eq!(cell(&r, "CFTR", "offspring_risk"), "1 in 4 per pregnancy"); +} + +#[test] +fn genes_rebuilds_the_list() { + let t = Dir::new("genes"); + let par = repo("assets/par_grch38.bed"); + let gtf = t.put( + "g.gtf", + &format!( + "##description: evidence-based annotation of the human genome (GRCh38), version 99\n{}", + [ + ("NAGA", "chr22", 100, 900), + ("AAA1", "chr3", 10, 20), + ("XXL1", "chrX", 5000000, 5000100), + ("PARG1", "chrX", 20000, 30000), + ("PARG1", "chrY", 20000, 30000), + ("YYY1", "chrY", 9000000, 9000100), + ("C9orf72", "chr9", 1, 2), + ] + .iter() + .map(|(g, c, s, e)| format!( + "{c}\tHAVANA\tgene\t{s}\t{e}\t.\t+\t.\tgene_id \"X\"; gene_name \"{g}\";\n" + )) + .collect::() + ), + ); + let p9 = t.put( + "p9.xml", + &format!( + "{}", + [("1", "Autosomal recessive"), ("2", "X-linked recessive"), ("3", "Autosomal dominant")] + .iter() + .map(|(c, m)| format!( + "{c}{m}\ + " + )) + .collect::() + ), + ); + let dis = |code: &str, name: &str, sym: &str, kind: &str| { + format!( + "{code}{name}\ + {sym}{kind}\ + Assessed\ + " + ) + }; + let dc = "Disease-causing germline mutation(s) in"; + let p6 = t.put( + "p6.xml", + &format!( + "{}{}{}{}{}{}{}", + dis("1", "Recessive one", "AAA1", dc), + dis("2", "X one", "XXL1", dc), + dis("1", "Pseudo", "PARG1", dc), + dis("1", "On Y", "YYY1", dc), + dis("3", "Dominant", "DOM1", dc), + dis("1", "Candidate", "AAA1", "Candidate gene tested in"), + dis("1", "Upper case orf", "C9ORF72", dc) + ), + ); + let seed = t.put( + "seed.tsv", + "gene\tchrom\tstart\tend\tinheritance\tlists\tcondition\nNAGA\t.\t0\t0\tAR\tACMG\tSchindler disease\n\ + OLD1\tchr1\t1\t2\tAR\tOrphanet\tdropped\n", + ); + let new = t.path("new.tsv"); + let (rc, log) = og( + "genes", + &[ + "--table", + &seed, + "--orphanet-genes", + &p6, + "--orphanet-inheritance", + &p9, + "--gtf", + >f, + "--par-bed", + &par, + "--out", + &new, + ], + ); + assert_eq!(rc, 0, "{log}"); + let g = genes(&new); + assert_eq!(g["NAGA"].start, 100, "the ACMG row keeps its GENCODE span"); + assert_eq!(g["NAGA"].condition, "Schindler disease"); + assert_eq!(g["AAA1"].inheritance, "AR"); + assert_eq!(g["XXL1"].inheritance, "XL"); + assert_eq!(g["PARG1"].inheritance, "AR", "a PAR gene is autosomal"); + assert_eq!(g["PARG1"].chrom, "chrX"); + assert!( + !g.contains_key("YYY1") && !g.contains_key("DOM1"), + "chrY and dominant left out" + ); + assert!( + !g.contains_key("OLD1"), + "an old Orphanet row is made again, not kept" + ); + assert!( + g.contains_key("C9orf72"), + "an upper-case orf symbol is matched" + ); + assert_eq!(g["AAA1"].condition, "Recessive one"); + let text = read(&new); + assert!( + text.contains("release 99") && text.contains("2026-01-02"), + "the header names the releases" + ); + let bad = t.put( + "bad.tsv", + "gene\tchrom\tstart\tend\tinheritance\tlists\tcondition\nNOSUCH\t.\t0\t0\tAR\tACMG\tx\n", + ); + let bad_out = t.path("bad_out.tsv"); + let (rc, log) = og( + "genes", + &[ + "--table", + &bad, + "--orphanet-genes", + &p6, + "--orphanet-inheritance", + &p9, + "--gtf", + >f, + "--par-bed", + &par, + "--out", + &bad_out, + ], + ); + assert!( + rc == 2 && log.contains("NOSUCH"), + "a panel gene GENCODE does not have stops it: {rc} {log}" + ); +} diff --git a/rust/crates/og-couple/tests/paralog_readers.rs b/rust/crates/og-couple/tests/paralog_readers.rs new file mode 100644 index 000000000..6fbeb0eed --- /dev/null +++ b/rust/crates/og-couple/tests/paralog_readers.rs @@ -0,0 +1,280 @@ +//! The readers of step 35's SMN table and catalog tables: the summary +//! (`og summary collect`), the SMN1 rule beside Paraphase (`og_cn::smn`, +//! which the summary's Paraphase side-by-side and the couple screen apply), +//! and the couple screen. These are the reader checks of two Python tests +//! the port replaced: +//! +//! - tests/test_paralog_loci.py section 4: the not-assessed row step 35 +//! writes (its own lines, cut from scripts/35-paralogs.sh and run) reads +//! as not assessed with the reason in the summary, in the SMN1 rule and in +//! the couple screen; the old row with "." for its place loses the reason; +//! a called table still reads one SMN1 copy as a carrier; a catalog table +//! without agCN_filter or agCN_qual is unreadable, not "not resolved"; +//! - tests/test_paraphase_report.py section 4: SMN1 from the row holding +//! exon 7, or from its homologous region on a row in SMN2; quality under +//! 20 or a filter other than PASS is no call; short rows are skipped or +//! not resolved, never a crash; Paraphase and Parascopy agree, disagree, +//! or are not compared when one has no call. + +mod common; + +use common::{Dir, HEAD, PARASCOPY_HEAD, og, read, repo, rows}; +use og_summary::collect::{Group, Input, collect}; +use pycompat::json::Value; + +fn at<'a>(v: &'a Value, path: &[&str]) -> &'a Value { + path.iter().fold(v, |v, k| match v { + Value::Object(m) => m.get(*k).unwrap_or_else(|| panic!("no {k} in {path:?}")), + _ => panic!("{path:?}: {v:?}"), + }) +} + +fn text(v: &Value) -> &str { + match v { + Value::Str(s) => s, + _ => panic!("{v:?}"), + } +} + +/// The group c sections og summary collect writes for sample S in `d`. +fn summary(d: &str) -> Value { + collect(&Input { + sample: "S".into(), + sample_dir: d.into(), + declared_sex: None, + assets: repo("assets"), + group: Group::C, + tables: repo("bin"), + }) + .unwrap() + .to_json() +} + +fn smn1(path: &str) -> og_cn::smn::SmnRead { + og_cn::smn::read(Some(path), "chr5", &[]).unwrap() +} + +#[test] +fn step_35s_not_assessed_smn_table_names_its_reason_everywhere() { + let t = Dir::new("readers"); + let d = t.path("S"); + let smn_t = t.put("S/paralogs/S_smn_copy_number.tsv", ""); + // the lines of step 35 that write a not-assessed table, run as they are + let src = read(&repo("scripts/35-paralogs.sh")); + let start = src + .find("\n chrom=${region%%:*}") + .expect("step 35 holds the lines"); + let end = start + + src[start..].find("\n } > \"$out\"\n").expect("their end") + + "\n } > \"$out\"\n".len(); + let snippet = format!( + "header() {{ printf 'chrom\\tstart\\tend\\tlocus\\tagCN_filter\\tagCN\\tagCN_qual\\tpsCN_filter\\tpsCN\\tpsCN_qual\\thomologous_regions\\n'; }}\n{}", + &src[start + 1..end] + ); + let reason = "no read over chr5:70951946-70951946"; + let st = std::process::Command::new("bash") + .args(["-c", &snippet]) + .env("region", "chr5:70951946-70951946") + .env("model", "SMN1.gz") + .env("reason", reason) + .env("out", &smn_t) + .status() + .unwrap(); + assert!(st.success()); + let s = summary(&d); + let data = at(&s, &["sections", "parascopy", "data"]); + assert_eq!( + text(at(data, &["reading"])), + format!("SMN1 and SMN2 not assessed: {reason}: no carrier reading") + ); + assert_eq!(at(data, &["smn1", "cn"]), &Value::Null); + let p = smn1(&smn_t); + assert!(p.pscn.is_none() && p.text.contains(reason), "{p:?}"); + // the couple screen: a gap that names the reason, not a carrier + let ped = t.put( + "pedigree.tsv", + "sample\tsex\tfather\tmother\tpartner\nA\tfemale\t.\t.\tB\nB\tmale\t.\t.\tA\n", + ); + let none = t.put("none.vcf", HEAD); + let genes = repo("assets/carrier_genes.tsv"); + let out = t.path("couple"); + let (ca, cb, sa) = ( + format!("A={none}"), + format!("B={none}"), + format!("A={smn_t}"), + ); + let (rc, log) = og( + "screen", + &[ + "--pedigree", + &ped, + "--genes", + &genes, + "--clinvar", + &ca, + "--clinvar", + &cb, + "--smn", + &sa, + "--out-dir", + &out, + ], + ); + assert_eq!(rc, 0, "{log}"); + assert!(rows(&format!("{out}/couple_A_B.tsv")).is_empty()); + let gap = read(&format!("{out}/couple_A_B.md")) + .lines() + .find(|l| l.contains("SMN1 copy number of A: ")) + .unwrap_or_default() + .to_owned(); + assert!( + gap.contains(reason) && gap.contains("not resolved"), + "{gap}" + ); + // control: the old not-assessed row, with . for its place, loses the reason there + t.put( + "S/paralogs/S_smn_copy_number.tsv", + &format!("{PARASCOPY_HEAD}.\t.\t.\tSMN1\tnot assessed: {reason}\t.\t.\t.\t.\t.\t.\n"), + ); + assert!(!smn1(&smn_t).text.contains(reason)); + t.put( + "S/paralogs/S_smn_copy_number.tsv", + &format!( + "{PARASCOPY_HEAD}chr5\t70925000\t70953000\tSMN1\tPASS\t4\t40\tPASS\t1,3\t35,30\tchr5:70049000-70077000:-\n" + ), + ); + let s = summary(&d); + let data = at(&s, &["sections", "parascopy", "data"]); + let reading = text(at(data, &["reading"])); + assert_eq!(at(data, &["smn1", "cn"]), &Value::Int(1)); + assert!( + reading.contains("carrier") && !reading.contains("not assessed"), + "{reading}" + ); + // a catalog table without agCN_filter or agCN_qual: unreadable, never "not resolved" + let cols: Vec<&str> = PARASCOPY_HEAD.trim_end().split('\t').collect(); + let vals = |c: &str| match c { + "chrom" => "chr1", + "start" => "155231478", + "end" => "155244699", + "locus" => "GBA", + "agCN_filter" | "psCN_filter" => "PASS", + "agCN" => "4", + "agCN_qual" => "40", + "psCN" => "2,2", + "psCN_qual" => "30,30", + _ => "*", + }; + let gba1 = |s: &Value| -> Value { + match at(s, &["sections", "parascopy", "data", "loci"]) { + Value::Array(a) => a + .iter() + .find(|x| text(at(x, &["table"])) == "gba1") + .cloned() + .expect("a gba1 locus"), + v => panic!("{v:?}"), + } + }; + for drop in ["agCN_filter", "agCN_qual"] { + let kept: Vec<&str> = cols.iter().copied().filter(|c| *c != drop).collect(); + let line: Vec<&str> = kept.iter().map(|c| vals(c)).collect(); + t.put( + "S/paralogs/S_gba1_copy_number.tsv", + &format!("{}\n{}\n", kept.join("\t"), line.join("\t")), + ); + let loc = gba1(&summary(&d)); + assert_eq!( + text(at(&loc, &["status"])), + "unreadable", + "without {drop}: {loc:?}" + ); + assert_eq!(at(&loc, &["cn"]), &Value::Null); + } + t.put( + "S/paralogs/S_gba1_copy_number.tsv", + &format!( + "{PARASCOPY_HEAD}chr1\t155231478\t155244699\tGBA\tPASS\t4\t40\tPASS\t2,2\t30,30\t*\n" + ), + ); + let loc = gba1(&summary(&d)); + assert_eq!(text(at(&loc, &["status"])), "called", "control: {loc:?}"); + assert_eq!(at(&loc, &["cn"]), &Value::Int(4)); +} + +#[test] +fn smn1_from_parascopy_and_beside_paraphase() { + let t = Dir::new("smn1"); + let p = t.put( + "s1.tsv", + &format!("{PARASCOPY_HEAD}chr5\t70925000\t70953000\tSMN1\tPASS\t4\t40\tPASS\t2,2\t35,30\tchr5:70049000-70077000:-\n"), + ); + let s1 = smn1(&p); + assert!( + s1.pscn == Some(2) && s1.text.contains("quality 35"), + "the row in SMN1, first psCN: {s1:?}" + ); + let p2 = t.put( + "s2.tsv", + &format!("{PARASCOPY_HEAD}chr5\t70049000\t70077000\tSMN1\tPASS\t4\t40\tPASS\t3,1\t30,25\tchr5:70925000-70953000:-\n"), + ); + assert_eq!( + smn1(&p2).pscn, + Some(1), + "the homologous region of a row in SMN2, second psCN" + ); + let p3 = t.put( + "s3.tsv", + &format!( + "{PARASCOPY_HEAD}chr5\t70925000\t70953000\tSMN1\tPASS\t4\t40\tPASS\t2,2\t12,30\t*\n" + ), + ); + let s3 = smn1(&p3); + assert!( + s3.pscn.is_none() && s3.text.contains("not resolved"), + "quality 12 is no call: {s3:?}" + ); + let p4 = t.put( + "s4.tsv", + &format!("{PARASCOPY_HEAD}chr5\t70925000\t70953000\tSMN1\tPASS\t4\t40\tFewReliable\t2,2\t35,30\t*\n"), + ); + assert_eq!(smn1(&p4).pscn, None, "a filter other than PASS is no call"); + // A short row (fewer fields than the header, as a cut-off file leaves) is + // skipped, and the next row still read; one that reaches exon 7 is not resolved. + let p5 = t.put( + "s5.tsv", + &format!( + "{PARASCOPY_HEAD}chr5\nchr5\t70925000\nchr5\t70925000\t70953000\tSMN1\tPASS\t4\t40\tPASS\t2,2\t35,30\t*\n" + ), + ); + assert_eq!(smn1(&p5).pscn, Some(2)); + let p6 = t.put( + "s6.tsv", + &format!("{PARASCOPY_HEAD}chr5\t70925000\t70953000\n"), + ); + let s6 = smn1(&p6); + assert!( + s6.pscn.is_none() && s6.text.contains("not resolved"), + "{s6:?}" + ); + // agree, disagree, or no comparison: the summary's Paraphase section + let d = t.path("S"); + let compare = |paraphase: &str, smn_table: &str| -> Value { + t.put( + "S/paralogs/S_paraphase_copy_number.tsv", + &format!( + "region\tgene\tcopy_number\tstatus\tdetail\ttotal_cn\tregion_depth\tgenome_depth\n\ + smn1\tSMN1\t{paraphase}\tcalled\t.\t4\t120\t31.5\n" + ), + ); + t.put("S/paralogs/S_smn_copy_number.tsv", &read(smn_table)); + at( + &summary(&d), + &["sections", "paralogs", "data", "smn1", "agree"], + ) + .clone() + }; + assert_eq!(compare("2", &p), Value::Str("agree".into())); + assert_eq!(compare("2", &p2), Value::Str("disagree".into())); + assert_eq!(compare(".", &p), Value::Null); + assert_eq!(compare("2", &p3), Value::Null); +} diff --git a/rust/crates/og-steps/src/sv.rs b/rust/crates/og-steps/src/sv.rs index 622dacdd9..4f7b0f818 100644 --- a/rust/crates/og-steps/src/sv.rs +++ b/rust/crates/og-steps/src/sv.rs @@ -9,7 +9,7 @@ //! exon-edge, population and depth checks, and the region rules. //! //! This module holds the rules both share, and that step 39's couple -//! screen (`bin/couple_report.py`) applies too: the read-depth rule for a +//! screen (`og couple screen`) applies too: the read-depth rule for a //! long Delly call ([`depth_contradicts`]), whether a record is a call the //! sample carries ([`call_holds`]) and the reciprocal-overlap index //! ([`OverlapIndex`]). diff --git a/rust/crates/og-steps/tests/paralog_loci.rs b/rust/crates/og-steps/tests/paralog_loci.rs new file mode 100644 index 000000000..3eb3090a6 --- /dev/null +++ b/rust/crates/og-steps/tests/paralog_loci.rs @@ -0,0 +1,501 @@ +//! assets/paralog_loci.tsv against the models of +//! assets/parascopy_models_v1.7.txt (the checks of the Python test the port +//! replaced, tests/test_paralog_loci.py; its readers' checks are og-couple's +//! `paralog_readers` test). +//! +//! Step 35 runs `parascopy cn-using` once per row of the catalog, with the +//! model file the row names. The models are the genes of the model list +//! (every region of each model of Parascopy's pinned data, +//! models_GRCh38_1KGP_v1.7.tar.gz, Zenodo record 15019940), each as +//! `.gz`, the file name list.txt gives it. +//! +//! 1. the model list: 167 genes, each with exactly one main region, each +//! name `.gz`; +//! 2. the catalog: its columns in order, and every row valid: a model on +//! the list, a GRCh38 region inside the model's main region, +//! pscn_reliable yes or no, a known tag and cross-check, a table name +//! used once, a source; the SMN1 row writes the table `smn`; +//! 3. controls: each planted fault is refused; +//! 4. one owner per locus: no catalog model overlaps a cn-depth row of +//! bin/cn_loci.tsv but RHCE's cross-check of RHD; every catalog gene +//! assets/callability_genes.tsv lists has the owner parascopy, and the +//! catalog genes it does not list are the 17 of NOT_IN_CALLABILITY. + +use std::collections::{BTreeSet, HashMap, HashSet}; + +fn repo(rel: &str) -> String { + format!("{}/../../../{rel}", env!("CARGO_MANIFEST_DIR")) +} + +const COLUMNS: [&str; 9] = [ + "model", + "genes", + "region", + "reading", + "pscn_reliable", + "tag", + "cross_check", + "table", + "source", +]; +const TAGS: [&str; 5] = ["carrier", "SF", "disease", "PGx", "trait"]; +const CROSS_CHECKS: [&str; 3] = ["paraphase", "cn-depth", "none"]; +/// The one catalog model allowed to overlap a cn-depth row of +/// bin/cn_loci.tsv: RHCE's model covers most of RHD, and the catalog reads +/// it as a cross-check. +const CN_DEPTH_EXEMPT: [(&str, &str); 1] = [("RHCE.gz", "RHD")]; +/// The catalog genes assets/callability_genes.tsv does not list. +/// build-callability.sh takes its genes from GIAB's CMRG list and genome +/// stratifications only, never from this catalog: seven are pseudogenes, +/// which it leaves out as not protein-coding, and none of its reasons +/// applies to the other ten. A new catalog gene missing there, or one of +/// these listed, changes this set and goes red: rebuild, or extend the set. +const NOT_IN_CALLABILITY: [&str; 17] = [ + "CELP", "GBAP1", "NCF1B", "NCF1C", "OTOAP1", "PMS2CL", "STRCP1", "ABCC6", "CFH", "CFHR4", + "CHRNA7", "DEFA3", "KRT86", "NEB", "PIK3CA", "PLG", "VWF", +]; + +/// Data lines (no comment, no blank), split on tabs. +fn data_lines(text: &str) -> Vec> { + text.lines() + .filter(|l| !l.trim().is_empty() && !l.starts_with('#')) + .map(|l| l.split('\t').map(str::to_owned).collect()) + .collect() +} + +fn read(path: &str) -> String { + std::fs::read_to_string(path).unwrap() +} + +/// One `.gz` per main line of the region file. +fn read_models(text: &str) -> Vec { + data_lines(text) + .into_iter() + .filter(|r| r.len() == 3 && r[2] == "main") + .map(|r| format!("{}.gz", r[0])) + .collect() +} + +/// `^\d+$`, as the Python's `\d+`. +fn digits(s: &str) -> bool { + !s.is_empty() && s.bytes().all(|b| b.is_ascii_digit()) +} + +/// `chr[0-9XY]+:\d+-\d+` -> (chrom, start, end), 1-based and inclusive. +fn span(text: &str) -> Option<(String, i64, i64)> { + let (c, rest) = text.split_once(':')?; + let (s, e) = rest.split_once('-')?; + let ok = c.len() > 3 + && c.starts_with("chr") + && c[3..] + .bytes() + .all(|b| b.is_ascii_digit() || b == b'X' || b == b'Y') + && digits(s) + && digits(e); + if !ok { + return None; + } + Some((c.to_owned(), s.parse().ok()?, e.parse().ok()?)) +} + +type Regions = HashMap>; + +/// `.gz` -> every region of the model, 1-based. +fn model_regions(text: &str) -> Regions { + let mut out: Regions = HashMap::new(); + for r in data_lines(text) { + let (c, rest) = r[1].split_once(':').unwrap(); + let (s, e) = rest.split_once('-').unwrap(); + out.entry(format!("{}.gz", r[0])).or_default().push(( + c.to_owned(), + s.parse().unwrap(), + e.parse().unwrap(), + r[2].clone(), + )); + } + out +} + +fn table_rows(text: &str) -> Vec> { + let lines = data_lines(text); + lines[1..] + .iter() + .map(|r| lines[0].iter().cloned().zip(r.iter().cloned()).collect()) + .collect() +} + +/// (locus, chrom, start, end) of every target and control of the cn_loci +/// rows the depth engine owns, 1-based inclusive (the file is BED). +fn cn_depth_parts(text: &str) -> Vec<(String, String, i64, i64)> { + let mut out = Vec::new(); + for r in table_rows(text) { + if r["owner"] != "cn-depth" { + continue; + } + for part in format!("{};{}", r["targets"], r["controls"]).split(';') { + let c: Vec<&str> = part.split(':').collect(); + if c.len() >= 2 + && let Some((s, e)) = c[1].split_once('-') + { + out.push(( + r["locus"].clone(), + r["chrom"].clone(), + s.parse::().unwrap() + 1, + e.parse().unwrap(), + )); + } + } + } + out +} + +/// Every overlap of a catalog model's region with a cn-depth row's target +/// or control that the exemptions do not name. +fn owner_problems( + models: &[String], + regions: &Regions, + parts: &[(String, String, i64, i64)], + exempt: &[(&str, &str)], +) -> Vec { + let mut out = Vec::new(); + for m in models { + for (c, s, e, kind) in regions.get(m).into_iter().flatten() { + for (locus, cc, cs, ce) in parts { + if c == cc && s <= ce && cs <= e && !exempt.contains(&(m.as_str(), locus.as_str())) + { + out.push(format!( + "{m} ({kind} {c}:{s}-{e}) overlaps cn_loci row {locus} ({cc}:{cs}-{ce})" + )); + } + } + } + } + out +} + +/// Every catalog gene the callability catalog lists without the owner parascopy. +fn callability_problems( + catalog: &HashSet, + rows: &[HashMap], +) -> Vec { + rows.iter() + .filter(|r| catalog.contains(&r["gene"]) && r["owner"] != "parascopy") + .map(|r| format!("{} has owner {}", r["gene"], r["owner"])) + .collect() +} + +/// A word of the shapes scripts/35-paralogs.sh accepts. +fn model_word(s: &str) -> bool { + s.len() > 3 + && s.ends_with(".gz") + && s[..s.len() - 3] + .bytes() + .all(|b| b.is_ascii_alphanumeric() || b"._-".contains(&b)) +} + +fn region_word(s: &str) -> bool { + let nz = |x: &str| digits(x) && !x.starts_with('0'); + span(s).is_some_and(|_| { + let (_, rest) = s.split_once(':').unwrap(); + let (a, b) = rest.split_once('-').unwrap(); + nz(a) && nz(b) + }) +} + +fn table_word(s: &str) -> bool { + let mut b = s.bytes(); + b.next().is_some_and(|c| c.is_ascii_alphanumeric()) + && b.all(|c| c.is_ascii_alphanumeric() || c == b'_' || c == b'-') +} + +/// Every problem of a catalog (its text, comments included). +fn problems(text: &str, models: &HashSet, regions: Option<&Regions>) -> Vec { + let rows = data_lines(text); + if rows.is_empty() || rows[0] != COLUMNS { + return vec![format!("header is {:?}, want {COLUMNS:?}", rows.first())]; + } + let mut out = Vec::new(); + let mut tables = HashSet::new(); + for (i, r) in rows[1..].iter().enumerate() { + let n = i + 2; + if r.len() != COLUMNS.len() { + out.push(format!("row {n}: {} columns", r.len())); + continue; + } + let c: HashMap<&str, &str> = COLUMNS + .iter() + .copied() + .zip(r.iter().map(String::as_str)) + .collect(); + if !models.contains(c["model"]) { + out.push(format!( + "row {n}: model {} is not in the pinned model list", + c["model"] + )); + } + let contigs: Vec = (1..=22) + .map(|i| format!("chr{i}")) + .chain(["chrX".into(), "chrY".into()]) + .collect(); + match span(c["region"]) { + Some((ch, s, e)) if contigs.contains(&ch) && s >= 1 && s <= e => { + if let Some(m) = regions.and_then(|g| g.get(c["model"])) + && !m + .iter() + .any(|(mc, ms, me, k)| k == "main" && *mc == ch && *ms <= s && e <= *me) + { + out.push(format!( + "row {n}: region {} is not inside the main region of {}", + c["region"], c["model"] + )); + } + } + _ => out.push(format!( + "row {n}: region {} is not chrom:start-end on GRCh38", + c["region"] + )), + } + if !CROSS_CHECKS.contains(&c["cross_check"]) { + out.push(format!("row {n}: cross_check {}", c["cross_check"])); + } + if !["yes", "no"].contains(&c["pscn_reliable"]) { + out.push(format!("row {n}: pscn_reliable {}", c["pscn_reliable"])); + } + if !TAGS.contains(&c["tag"]) { + out.push(format!("row {n}: tag {}", c["tag"])); + } + // model, region and table reach a shell loop and file names: the + // patterns of scripts/35-paralogs.sh (a table is never "." or "..") + for (k, ok) in [ + ("model", model_word(c["model"])), + ("region", region_word(c["region"])), + ("table", table_word(c["table"])), + ] { + if !ok { + out.push(format!( + "row {n}: {k} {:?} is not what the step accepts", + c[k] + )); + } + } + if tables.contains(c["table"]) || ["hba", "paraphase"].contains(&c["table"]) { + out.push(format!("row {n}: table {} is used twice", c["table"])); + } + tables.insert(c["table"].to_owned()); + for k in ["genes", "reading", "source"] { + if c[k].trim().is_empty() { + out.push(format!("row {n}: empty {k}")); + } + } + } + if !rows[1..].iter().any(|r| { + r.first().map(String::as_str) == Some("SMN1.gz") + && r.len() == COLUMNS.len() + && r[7] == "smn" + }) { + out.push("no SMN1.gz row writing the table smn, which the reports read".into()); + } + out +} + +struct Fix { + models: HashSet, + regions: Regions, + catalog: String, +} + +fn fix() -> Fix { + let text = read(&repo("assets/parascopy_models_v1.7.txt")); + Fix { + models: read_models(&text).into_iter().collect(), + regions: model_regions(&text), + catalog: read(&repo("assets/paralog_loci.tsv")), + } +} + +#[test] +fn the_model_list() { + let text = read(&repo("assets/parascopy_models_v1.7.txt")); + let models = read_models(&text); + let genes: HashSet = data_lines(&text) + .into_iter() + .map(|r| r[0].clone()) + .collect(); + assert_eq!(models.len(), 167, "the model list has 167 names"); + let unique: HashSet<&String> = models.iter().collect(); + assert!( + unique.len() == models.len() && models.len() == genes.len(), + "each model has one main region" + ); + assert!( + models.iter().all(|m| model_word(m)), + "each name is .gz" + ); + assert!(unique.contains(&"SMN1.gz".to_owned()) && unique.contains(&"GBA.gz".to_owned())); +} + +#[test] +fn the_catalog_and_its_controls() { + let f = fix(); + let found = problems(&f.catalog, &f.models, Some(&f.regions)); + assert!(found.is_empty(), "every row is valid: {}", found.join("; ")); + assert_eq!(table_rows(&f.catalog).len(), 37, "the SMN1 row and 36 more"); + let head = format!("{}\n", COLUMNS.join("\t")); + let smn = "SMN1.gz\tSMN1,SMN2\tchr5:70951946-70951946\tx\tyes\tcarrier\tparaphase\tsmn\ts\n"; + let alone = problems(&format!("{head}{smn}"), &f.models, None); + assert!( + alone.is_empty(), + "control: the SMN1 row alone is valid: {alone:?}" + ); + for (desc, row) in [ + ( + "a model not on the list (GBA1.gz)", + "GBA1.gz\tGBA1\tchr1:155234452-155244699\tx\tno\tcarrier\tnone\tgba\ts\n", + ), + ( + "a model the data does not have (CYP21A2.gz)", + "CYP21A2.gz\tCYP21A2\tchr6:32038265-32041670\tx\tno\tcarrier\tnone\tcyp21a2\ts\n", + ), + ( + "a region outside its model's main region", + "GBA.gz\tGBA1\tchr5:70951946-70951946\tx\tno\tcarrier\tnone\tgba\ts\n", + ), + ( + "an unknown cross_check", + "GBA.gz\tGBA1\tchr1:155234452-155244699\tx\tno\tcarrier\tgauchian\tgba\ts\n", + ), + ( + "a region on no GRCh38 contig", + "GBA.gz\tGBA1\tchr1_alt:1-2\tx\tno\tcarrier\tnone\tgba\ts\n", + ), + ( + "a region that ends before it starts", + "GBA.gz\tGBA1\tchr1:20-10\tx\tno\tcarrier\tnone\tgba\ts\n", + ), + ( + "a repeated table name", + "GBA.gz\tGBA1\tchr1:155234452-155244699\tx\tno\tcarrier\tnone\tsmn\ts\n", + ), + ( + "a table name with a space", + "GBA.gz\tGBA1\tchr1:155234452-155244699\tx\tno\tcarrier\tnone\tg a\ts\n", + ), + ( + "a table name the step refuses (gba:2)", + "GBA.gz\tGBA1\tchr1:155234452-155244699\tx\tno\tcarrier\tnone\tgba:2\ts\n", + ), + ( + "a table name that is a path (..)", + "GBA.gz\tGBA1\tchr1:155234452-155244699\tx\tno\tcarrier\tnone\t..\ts\n", + ), + ( + "an unknown tag", + "GBA.gz\tGBA1\tchr1:155234452-155244699\tx\tno\tcancer\tnone\tgba\ts\n", + ), + ] { + assert!( + !problems(&format!("{head}{smn}{row}"), &f.models, Some(&f.regions)).is_empty(), + "control: {desc} is refused" + ); + } + let no_smn = "GBA.gz\tGBA1\tchr1:155234452-155244699\tx\tno\tcarrier\tnone\tgba\ts\n"; + assert!( + !problems(&format!("{head}{no_smn}"), &f.models, None).is_empty(), + "a catalog without the SMN1 row" + ); +} + +#[test] +fn one_owner_per_locus() { + let f = fix(); + let rows = table_rows(&f.catalog); + let parts = cn_depth_parts(&read(&repo("bin/cn_loci.tsv"))); + let loci: BTreeSet<&str> = parts.iter().map(|p| p.0.as_str()).collect(); + assert!( + loci.contains("HBA") && loci.contains("RHD"), + "cn-depth rows to compare with: {loci:?}" + ); + let models: Vec = rows.iter().map(|r| r["model"].clone()).collect(); + let found = owner_problems(&models, &f.regions, &parts, &CN_DEPTH_EXEMPT); + assert!( + found.is_empty(), + "no overlap but the RHCE cross-check: {:?}", + &found[..found.len().min(5)] + ); + assert!( + owner_problems(&models, &f.regions, &parts, &[]) + .iter() + .any(|x| x.contains("RHCE.gz") && x.contains("RHD")), + "control: without the exemption RHCE's model is refused" + ); + let mut planted = f.regions.clone(); + planted.insert( + "HBAX.gz".into(), + vec![("chr16".into(), 172000, 178000, "main".into())], + ); + assert!( + !owner_problems(&["HBAX.gz".into()], &planted, &parts, &CN_DEPTH_EXEMPT).is_empty(), + "control: a model over HBA1 and HBA2 is refused" + ); + let rhce = rows + .iter() + .find(|r| r["model"] == "RHCE.gz") + .expect("an RHCE row"); + assert_eq!(rhce["cross_check"], "cn-depth"); + assert!(!rhce["genes"].split(',').any(|g| g == "RHD")); + let catalog: HashSet = rows + .iter() + .flat_map(|r| r["genes"].split(',').map(str::to_owned)) + .collect(); + let cal = table_rows(&read(&repo("assets/callability_genes.tsv"))); + let found = callability_problems(&catalog, &cal); + assert!(found.is_empty(), "{}", found.join("; ")); + let listed: HashSet<&str> = cal + .iter() + .map(|r| r["gene"].as_str()) + .filter(|g| catalog.contains(*g)) + .collect(); + assert!( + ["GBA1", "C4A", "AMY1C", "SMN1"] + .iter() + .all(|g| listed.contains(g)) + ); + let unlisted = |cal: &[HashMap]| -> BTreeSet { + let have: HashSet<&str> = cal.iter().map(|r| r["gene"].as_str()).collect(); + catalog + .iter() + .filter(|g| !have.contains(g.as_str())) + .cloned() + .collect() + }; + let want: BTreeSet = NOT_IN_CALLABILITY.iter().map(|s| (*s).to_owned()).collect(); + assert_eq!( + unlisted(&cal), + want, + "the 17 known catalog genes the callability catalog does not list" + ); + let mut planted_neb = cal.clone(); + let mut neb = cal[0].clone(); + neb.insert("gene".into(), "NEB".into()); + neb.insert("owner".into(), "parascopy".into()); + planted_neb.push(neb); + assert_ne!( + unlisted(&planted_neb), + want, + "control: a row for NEB makes the set differ" + ); + let planted_cal: Vec> = cal + .iter() + .map(|r| { + let mut r = r.clone(); + if r["gene"] == "C4A" { + r.insert("owner".into(), ".".into()); + } + r + }) + .collect(); + assert!( + !callability_problems(&catalog, &planted_cal).is_empty(), + "control: owner '.' is refused" + ); +} diff --git a/rust/crates/og-steps/tests/paraphase_report.rs b/rust/crates/og-steps/tests/paraphase_report.rs new file mode 100644 index 000000000..c02a32261 --- /dev/null +++ b/rust/crates/og-steps/tests/paraphase_report.rs @@ -0,0 +1,768 @@ +//! og paraphase: step 35b's read-group check and its two tables (the checks +//! of the Python test the port replaced, tests/test_paraphase_report.py; +//! its section 4, SMN1 from step 35's Parascopy table beside Paraphase, is +//! og-couple's `paralog_readers` test). +//! +//! 1. check-bam: a BAM whose read groups all say PL:PACBIO passes (exit 0); +//! one with PL:ILLUMINA, one with no @RG line, one with a PacBio and an +//! Oxford Nanopore read group, and a file that is not a BAM stop (exit +//! 3, or 1 for the file that cannot be read), each saying why; +//! 2. table, on a JSON shaped like Paraphase 4.1.0's: SMN1, SMN2 and the +//! SMN exon 7-8 deletion, PMS2, STRC and NCF1 from gene_cn, HBA1 and +//! HBA2 from the haplotype names, RCCX, GBA1 and OTOA from their gene1 +//! haplotypes, a region without gene labels as the whole family; +//! 3. the variant table: one row per record a haplotype carries; +//! 5. the region catalog, assets/paraphase_genes.tsv: its rows, the old +//! eight regions byte for byte, every new entry, a region without its +//! field not assessed (except HBA's genotype and RCCX's alleles), a row +//! reading either field on another region refused; +//! 6. the region count: docs/35-paralogs.md and scripts/35b-paraphase.sh +//! state PARAPHASE_REGIONS, the regions of the pinned Paraphase 4.1.0's +//! data/38/config.yaml (the e2e case paralog-rows-1 reads the constant +//! below and counts them in the image); +//! 7. og's own fixes: a header announcing a negative or huge text length, +//! a JSON object where a copy number belongs, and no copy-number table +//! left behind when the variant table cannot be written. + +use pycompat::json::{Dump, Value, dumps, loads}; +use std::collections::HashMap; +use std::io::Write; +use std::path::PathBuf; + +/// The regions of the pinned Paraphase 4.1.0's data/38/config.yaml (its +/// top-level keys); the e2e case paralog-rows-1 counts them in PARAPHASE_IMAGE. +const PARAPHASE_REGIONS: usize = 165; + +fn repo(rel: &str) -> String { + format!("{}/../../../{rel}", env!("CARGO_MANIFEST_DIR")) +} + +struct Dir(PathBuf); + +impl Dir { + fn new(name: &str) -> Dir { + let p = std::env::temp_dir().join(format!("og-paraphase-{name}-{}", std::process::id())); + let _ = std::fs::remove_dir_all(&p); + std::fs::create_dir_all(&p).unwrap(); + Dir(p) + } + + fn path(&self, rel: &str) -> String { + self.0.join(rel).to_string_lossy().into_owned() + } +} + +impl Drop for Dir { + fn drop(&mut self) { + let _ = std::fs::remove_dir_all(&self.0); + } +} + +/// `og paraphase ARGS`: the exit code and stdout followed by stderr. +fn run(args: &[&str]) -> (u8, String) { + let argv: Vec = args.iter().map(|s| (*s).to_owned()).collect(); + let (mut out, mut err) = (Vec::new(), Vec::new()); + let rc = og_steps::paraphase::cli(&argv, &mut out, &mut err); + out.extend(err); + (rc, String::from_utf8_lossy(&out).into_owned()) +} + +/// A BAM with this header and no reference or read (one gzip member, as +/// BGZF); `l_text`: the text length it announces, when not the real one. +fn bam(path: &str, header: &str, l_text: Option) { + let text = header.as_bytes(); + let n = l_text.unwrap_or(i32::try_from(text.len()).unwrap()); + let mut raw = b"BAM\x01".to_vec(); + raw.extend(n.to_le_bytes()); + raw.extend(text); + raw.extend(0i32.to_le_bytes()); + let mut gz = flate2::write::GzEncoder::new(Vec::new(), flate2::Compression::default()); + gz.write_all(&raw).unwrap(); + std::fs::write(path, gz.finish().unwrap()).unwrap(); +} + +const PARAPHASE_JSON: &str = r#"{ + "smn1": {"total_cn": 4, "genome_depth": 31.5, "region_depth": {"median": 120, "percentile80": 130}, + "region_specific_info": {"smn1_cn": 2, "smn2_cn": null, "smn_del78_cn": 0}}, + "hba": {"total_cn": 3, "genome_depth": 31.5, "region_depth": {"median": 90}, + "final_haplotypes": {"1121": "hba_hba1hap1", "1211": "hba_hba1hap2", "2111": "hba_hba2hap1", + "2221": "hba_4p2delhap1", "1112": "hba_homology_hap1"}, + "two_copy_haplotypes": [], + "region_specific_info": {"genotype": "-a/aa", + "sv_called": {"hba_4p2delhap1": "4p2del,chr16:169742-174000"}}}, + "rccx": {"total_cn": 4, "region_specific_info": {"annotated_alleles": ["WT", "WT"], "phasing_success": true}}, + "pms2": {"total_cn": 4, "region_specific_info": {"gene_cn": 2}}, + "strc": {"total_cn": 4, "region_specific_info": {"gene_cn": 2, "intergenic_depth": 30}}, + "ncf1": {"total_cn": 6, "region_specific_info": {"gene_cn": 2, "gene_reads": 20, "pseudo_reads": 40}}, + "GBA": {"total_cn": 4, "genes_in_region": "GBA1", + "final_haplotypes": {"1": "GBA_gene1hap1", "2": "GBA_gene1hap2", "3": "GBA_gene2hap1", "4": "GBA_gene2hap2"}, + "two_copy_haplotypes": [], "region_specific_info": {"fusions_called": {}}}, + "OTOA": {"total_cn": 4, "genes_in_region": "OTOA", + "final_haplotypes": {"1": "OTOA_gene1hap1", "2": "OTOA_gene2hap1", "3": "OTOA_unknownhap1"}, + "two_copy_haplotypes": ["OTOA_gene1hap1"], "region_specific_info": {}}, + "CFC1": {"total_cn": 3, "genes_in_region": "CFC1,CFC1B", + "final_haplotypes": {"1": "CFC1_hap1", "2": "CFC1_hap2", "3": "CFC1_hap3"}, "region_specific_info": {}}, + "TNXB": {"total_cn": null, "genes_in_region": ["TNXB"], "region_specific_info": {}} +}"#; + +const VCF: &str = "##fileformat=VCFv4.2\n\ +#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\tFORMAT\tpms2_pms2hap1\tpms2_pms2hap2\tpms2_pms2clhap1\n\ +chr7\t5970000\t.\tC\tT\t.\tPASS\tHPBOUND=1-2\tGT:DP:AD\t1:20:0,19\t0:22:22,0\t1:18:1,17\n\ +chr7\t5980000\t.\tG\tA\t.\tPASS\tHPBOUND=1-2\tGT:DP:AD\t0:20:20,0\t0:22:22,0\t.:3:2,1\n"; + +/// The table the hard-coded regions wrote for PARAPHASE_JSON before +/// assets/paraphase_genes.tsv (bin/paraphase_report.py at main 71d5d58d). +const GOLDEN_OLD8: &str = "region\tgene\tcopy_number\tstatus\tdetail\ttotal_cn\tregion_depth\tgenome_depth\n\ +hba\tHBA1\t2\tcalled\tgenotype -a/aa (3 alpha-globin genes); 4.2 kb deletion (-a4.2): HBA2 lost (hba_4p2delhap1)\t3\t90\t31.5\n\ +hba\tHBA2\t1\tcalled\tgenotype -a/aa (3 alpha-globin genes); 4.2 kb deletion (-a4.2): HBA2 lost (hba_4p2delhap1)\t3\t90\t31.5\n\ +ncf1\tNCF1\t2\tcalled\t.\t6\t.\t.\n\ +pms2\tPMS2\t2\tcalled\t.\t4\t.\t.\n\ +rccx\tCYP21A2 (RCCX)\t4\tcalled\tRCCX module copies (each carries CYP21A2 or its pseudogene CYP21A1P); CYP21A2 alleles: WT / WT\t4\t.\t.\n\ +smn1\tSMN1\t2\tcalled\t.\t4\t120\t31.5\n\ +smn1\tSMN2\t.\tno call\tone haplotype seen and the depth does not settle one copy or two\t4\t120\t31.5\n\ +smn1\tSMN exon 7-8 deletion\t0\tcalled\t.\t4\t120\t31.5\n\ +strc\tSTRC\t2\tcalled\t.\t4\t.\t.\n\ +CFC1\tCFC1,CFC1B\t3\tcalled\tcopies of the whole gene family (gene and paralogs together)\t3\t.\t.\n\ +GBA\tGBA1\t2\tcalled\tcopies of GBA1 alone (Paraphase's gene1 haplotypes); pseudogene copies 2 (gene2 haplotypes)\t4\t.\t.\n\ +OTOA\tOTOA\t2\tcalled\tcopies of OTOA alone (Paraphase's gene1 haplotypes); pseudogene copies 1 (gene2 haplotypes); \ +1 haplotype(s) not placed on either\t4\t.\t.\n\ +TNXB\tTNXB\t.\tno call\tcopies of the whole gene family (gene and paralogs together)\t.\t.\t.\n"; + +/// The rows assets/paraphase_genes.tsv must hold, in its order. +const EXPECTED_ROWS: [(&str, &str); 20] = [ + ("smn1", "SMN1"), + ("smn1", "SMN2"), + ("smn1", "SMN exon 7-8 deletion"), + ("hba", "HBA1"), + ("hba", "HBA2"), + ("rccx", "CYP21A2 (RCCX)"), + ("GBA", "GBA1"), + ("pms2", "PMS2"), + ("strc", "STRC"), + ("ncf1", "NCF1"), + ("OTOA", "OTOA"), + ("f8", "F8 intron 22"), + ("opn1lw", "OPN1LW"), + ("opn1lw", "OPN1MW"), + ("ikbkg", "IKBKG"), + ("neb", "NEB triplicate repeat"), + ("CYP11B1", "CYP11B1,CYP11B2"), + ("TPSAB1", "TPSAB1,TPSB2"), + ("AMY1A", "AMY1A,AMY1B,AMY1C"), + ("CFHclust", "CFH,CFHR1,CFHR2,CFHR3,CFHR4"), +]; + +type Want = (&'static str, &'static str, &'static str, &'static str); + +/// Synthetic regions shaped as Paraphase 4.1.0 writes them (its +/// src/genes/*.rs, src/toolkit/update_calls.rs and docs/*.md), and the rows +/// each must give: (gene, copy_number, status, a piece of the detail). +const NEW_REGIONS: [(&str, &str, &[Want]); 8] = [ + ( + "f8", + r#"{"total_cn": 3, "region_specific_info": {"sv_called": {"f8_int22invhap1": "inversion"}, "exon1_to_exon22_depth": 30}}"#, + &[("F8 intron 22", "3", "called", "inversion (f8_int22invhap1)")], + ), + ( + "opn1lw", + r#"{"total_cn": 2, "region_specific_info": {"opn1lw_cn": 1, "opn1mw_cn": 1, "phasing_success": true}}"#, + &[("OPN1LW", "1", "called", ""), ("OPN1MW", "1", "called", "")], + ), + ( + "ikbkg", + r#"{"total_cn": 4, "region_specific_info": {"gene_cn": 2, "deletion_haplotypes": ["ikbkg_pseudohap1"], "del_read_number": 12}}"#, + &[("IKBKG", "2", "called", "11.7 kb deletion: ikbkg_pseudohap1")], + ), + ( + "neb", + r#"{"total_cn": 6, "region_specific_info": {"repeat_name": {"tri1": ["neb_hap1", "neb_hap2"], "tri2": ["neb_hap3", "neb_hap4"], "tri3": ["neb_hap5", "neb_hap6"]}}}"#, + &[( + "NEB triplicate repeat", + "6", + "called", + "TRI1: 2 haplotype(s)", + )], + ), + ( + "CYP11B1", + r#"{"total_cn": 3, "region_specific_info": {"fusions_called": {"CYP11B1_hap3": {"type": "deletion", "breakpoint": [[1, 2], [3, 4]], "sequence": "12"}}}}"#, + &[("CYP11B1,CYP11B2", "3", "called", "deletion (CYP11B1_hap3)")], + ), + ( + "TPSAB1", + r#"{"total_cn": 5, "genes_in_region": "TPSAB1,TPSB2", "region_specific_info": {}}"#, + &[("TPSAB1,TPSB2", "5", "called", "whole gene family")], + ), + ( + "AMY1A", + r#"{"total_cn": 6, "genes_in_region": "AMY1A,AMY1B,AMY1C", "region_specific_info": {}}"#, + &[("AMY1A,AMY1B,AMY1C", "6", "called", "whole gene family")], + ), + ( + "CFHclust", + r#"{"total_cn": 4, "genes_in_region": "CFH,CFHR1,CFHR2,CFHR3,CFHR4", "region_specific_info": {"fusions_called": {}}}"#, + &[( + "CFH,CFHR1,CFHR2,CFHR3,CFHR4", + "4", + "called", + "no deletion or duplication", + )], + ), +]; + +fn json(text: &str) -> Value { + loads(text).unwrap() +} + +fn obj(v: &mut Value) -> &mut indexmap::IndexMap { + match v { + Value::Object(m) => m, + _ => panic!("{v:?}"), + } +} + +/// Sets `v[path...] = x`. +fn set(v: &mut Value, path: &[&str], x: Value) { + let (last, head) = path.split_last().unwrap(); + let mut cur = v; + for k in head { + cur = obj(cur).get_mut(*k).unwrap(); + } + obj(cur).insert((*last).to_owned(), x); +} + +/// The copy-number rows og paraphase table writes for this JSON, or one +/// ["error", stderr] row. +fn cn_table(data: &Value, genes: &str) -> Vec> { + let t = Dir::new(&format!("cn-{:x}", data_hash(data))); + let (j, cn, var) = (t.path("p.json"), t.path("cn.tsv"), t.path("var.tsv")); + std::fs::write(&j, dumps(data, &Dump::default()).unwrap()).unwrap(); + let (rc, out) = run(&[ + "table", + "--sample", + "S", + "--json", + &j, + "--out-cn", + &cn, + "--out-variants", + &var, + "--genes", + genes, + ]); + if rc != 0 { + return vec![vec!["error".into(), out]]; + } + std::fs::read_to_string(&cn) + .unwrap() + .lines() + .skip(1) + .map(|l| l.split('\t').map(str::to_owned).collect()) + .collect() +} + +/// A name for each JSON's scratch folder, so parallel tests never share one. +fn data_hash(v: &Value) -> u64 { + use std::hash::{DefaultHasher, Hash, Hasher}; + let mut h = DefaultHasher::new(); + dumps(v, &Dump::default()).unwrap().hash(&mut h); + std::thread::current().name().unwrap_or("").hash(&mut h); + h.finish() +} + +fn rows(path: &str) -> Vec> { + let text = std::fs::read_to_string(path).unwrap(); + let mut lines = text.lines(); + let head: Vec<&str> = lines.next().unwrap().split('\t').collect(); + lines + .map(|l| { + head.iter() + .map(|h| (*h).to_owned()) + .zip(l.split('\t').map(str::to_owned)) + .collect() + }) + .collect() +} + +/// (region, gene) of the catalog, in the file's order. +fn catalog_rows(text: &str) -> Vec<(String, String)> { + text.lines() + .filter(|l| !l.trim().is_empty() && !l.starts_with('#')) + .skip(1) + .map(|l| { + let c: Vec<&str> = l.split('\t').collect(); + (c[0].to_owned(), c[1].to_owned()) + }) + .collect() +} + +#[test] +fn check_bam_reads_the_platform() { + let t = Dir::new("bam"); + let b = t.path("x.bam"); + bam( + &b, + "@HD\tVN:1.6\n@RG\tID:a\tPL:PACBIO\tSM:S\n@RG\tID:b\tPL:PacBio\tSM:S\n", + None, + ); + let (rc, out) = run(&["check-bam", &b]); + assert!( + rc == 0 && out.contains("2 read group(s), all PL:PACBIO"), + "{out}" + ); + bam(&b, "@HD\tVN:1.6\n@RG\tID:a\tPL:ILLUMINA\tSM:S\n", None); + let (rc, out) = run(&["check-bam", &b]); + assert!( + rc == 3 + && out.contains("PL ILLUMINA, not PACBIO") + && out.contains("licence") + && out.contains("step 35"), + "{rc} {out}" + ); + bam(&b, "@HD\tVN:1.6\n@SQ\tSN:chr1\tLN:10\n", None); + let (rc, out) = run(&["check-bam", &b]); + assert!(rc == 3 && out.contains("has no @RG line"), "{rc} {out}"); + bam( + &b, + "@RG\tID:a\tPL:PACBIO\n@RG\tID:b\tPL:ONT\n@RG\tID:c\n", + None, + ); + let (rc, out) = run(&["check-bam", &b]); + assert!( + rc == 3 && out.contains("PL ONT, none, not PACBIO"), + "{rc} {out}" + ); + std::fs::write(&b, b"not a bam at all").unwrap(); + let (rc, out) = run(&["check-bam", &b]); + assert!(rc == 1 && out.contains("ERROR"), "{rc} {out}"); + // 7. a header announcing a negative or huge text length is refused + for n in [-1, (1 << 30) + 1] { + bam(&b, "@RG\tID:a\tPL:PACBIO\n", Some(n)); + let (rc, out) = run(&["check-bam", &b]); + assert!( + rc == 1 && out.contains("not a BAM header"), + "{n}: {rc} {out}" + ); + } +} + +#[test] +fn table_reads_each_region() { + let genes = repo("assets/paraphase_genes.tsv"); + let t = Dir::new("table"); + let j = t.path("S.paraphase.json"); + let vd = t.path("S_paraphase_vcfs"); + std::fs::create_dir_all(&vd).unwrap(); + std::fs::write(&j, PARAPHASE_JSON).unwrap(); + std::fs::write(format!("{vd}/S_pms2.vcf"), VCF).unwrap(); + let (cn, var) = (t.path("cn.tsv"), t.path("var.tsv")); + let (rc, out) = run(&[ + "table", + "--sample", + "S", + "--json", + &j, + "--vcf-dir", + &vd, + "--out-cn", + &cn, + "--out-variants", + &var, + "--genes", + &genes, + ]); + assert_eq!(rc, 0, "{out}"); + let all = rows(&cn); + let r: HashMap<(String, String), &HashMap> = all + .iter() + .map(|x| ((x["region"].clone(), x["gene"].clone()), x)) + .collect(); + let g = |reg: &str, gene: &str, k: &str| -> String { + r.get(&(reg.to_owned(), gene.to_owned())) + .and_then(|x| x.get(k)) + .cloned() + .unwrap_or_default() + }; + let cnv = |reg: &str, gene: &str| g(reg, gene, "copy_number"); + assert_eq!( + ( + cnv("smn1", "SMN1"), + cnv("smn1", "SMN2"), + g("smn1", "SMN2", "status"), + cnv("smn1", "SMN exon 7-8 deletion") + ), + ("2".into(), ".".into(), "no call".into(), "0".into()) + ); + assert!(g("smn1", "SMN2", "detail").contains("depth does not settle one copy or two")); + assert_eq!( + ( + cnv("pms2", "PMS2"), + cnv("strc", "STRC"), + cnv("ncf1", "NCF1") + ), + ("2".into(), "2".into(), "2".into()) + ); + assert_eq!( + (cnv("hba", "HBA1"), cnv("hba", "HBA2")), + ("2".into(), "1".into()) + ); + let hd = g("hba", "HBA2", "detail"); + assert!( + hd.contains("genotype -a/aa (3 alpha-globin genes)") + && hd.contains("4.2 kb deletion (-a4.2): HBA2 lost") + ); + assert_eq!(g("smn1", "SMN1", "region_depth"), "120"); + assert_eq!(g("smn1", "SMN1", "genome_depth"), "31.5"); + assert_eq!(cnv("rccx", "CYP21A2 (RCCX)"), "4"); + assert!(g("rccx", "CYP21A2 (RCCX)", "detail").contains("WT / WT")); + assert_eq!( + cnv("GBA", "GBA1"), + "2", + "from its gene1 haplotypes, not the family's 4" + ); + assert_eq!(g("GBA", "GBA1", "total_cn"), "4"); + let gd = g("GBA", "GBA1", "detail"); + assert!( + gd.contains("copies of GBA1 alone") && gd.contains("pseudogene copies 2"), + "{gd}" + ); + assert_eq!(cnv("OTOA", "OTOA"), "2", "a two-copy gene1 haplotype twice"); + assert!(g("OTOA", "OTOA", "detail").contains("1 haplotype(s) not placed")); + assert_eq!(cnv("CFC1", "CFC1,CFC1B"), "3"); + assert!(g("CFC1", "CFC1,CFC1B", "detail").contains("whole gene family")); + assert_eq!( + (cnv("TNXB", "TNXB"), g("TNXB", "TNXB", "status")), + (".".into(), "no call".into()) + ); + let order: Vec<&str> = all.iter().map(|x| x["region"].as_str()).collect(); + let pos = |k: &str| order.iter().position(|x| *x == k).unwrap(); + assert!( + pos("TNXB") > pos("hba").max(pos("smn1")).max(pos("OTOA")), + "the named regions come first" + ); + // 3. the variant table + let v = rows(&var); + assert_eq!(v.len(), 1, "{v:?}"); + assert_eq!(v[0]["pos"], "5970000"); + assert_eq!(v[0]["haplotypes"], "pms2_pms2hap1,pms2_pms2clhap1"); + assert_eq!(v[0]["support"], "pms2_pms2hap1:19/20,pms2_pms2clhap1:17/18"); + assert_eq!(v[0]["region"], "pms2"); + // HBA "--/aa" and "aa/aa" + let mut data = json(PARAPHASE_JSON); + set( + &mut data, + &["hba", "region_specific_info"], + json(r#"{"genotype": "--/aa", "sv_called": {}}"#), + ); + set( + &mut data, + &["hba", "final_haplotypes"], + json(r#"{"1": "hba_hba1hap1", "2": "hba_hba2hap1"}"#), + ); + let tb = cn_table(&data, &genes); + let row = |tb: &[Vec], gene: &str| { + tb.iter() + .find(|x| x[0] == "hba" && x[1] == gene) + .cloned() + .unwrap() + }; + let h2 = row(&tb, "HBA2"); + assert!( + h2[4].contains("large deletion such as --SEA") && h2[4].contains("(2 alpha-globin genes)"), + "{h2:?}" + ); + assert_eq!((row(&tb, "HBA1")[2].as_str(), h2[2].as_str()), ("1", "1")); + set( + &mut data, + &["hba", "region_specific_info"], + json(r#"{"genotype": "aa/aa", "sv_called": {}}"#), + ); + set( + &mut data, + &["hba", "two_copy_haplotypes"], + json(r#"["hba_hba1hap1", "hba_hba2hap1"]"#), + ); + let tb = cn_table(&data, &genes); + let h2 = row(&tb, "HBA2"); + assert_eq!((row(&tb, "HBA1")[2].as_str(), h2[2].as_str()), ("2", "2")); + assert!( + h2[4].contains("no 3.7 kb or 4.2 kb deletion or duplication found"), + "{h2:?}" + ); +} + +#[test] +fn the_region_catalog() { + let genes = repo("assets/paraphase_genes.tsv"); + let text = std::fs::read_to_string(&genes).unwrap(); + let got = catalog_rows(&text); + let want: Vec<(String, String)> = EXPECTED_ROWS + .iter() + .map(|(a, b)| ((*a).into(), (*b).into())) + .collect(); + assert_eq!(got, want, "the catalog holds the expected rows, in order"); + let no_neb: String = text + .lines() + .filter(|l| !l.starts_with("neb\t")) + .map(|l| format!("{l}\n")) + .collect(); + let dropped = catalog_rows(&no_neb); + assert!( + dropped != want && dropped.len() == want.len() - 1, + "control: a dropped NEB row" + ); + let t = Dir::new("catalog"); + let j = t.path("S.paraphase.json"); + std::fs::write(&j, PARAPHASE_JSON).unwrap(); + let (cn, var) = (t.path("cn.tsv"), t.path("var.tsv")); + let table = |g: &str| { + run(&[ + "table", + "--sample", + "S", + "--json", + &j, + "--out-cn", + &cn, + "--out-variants", + &var, + "--genes", + g, + ]) + }; + let (rc, out) = table(&genes); + assert_eq!(rc, 0, "{out}"); + assert_eq!( + std::fs::read_to_string(&cn).unwrap(), + GOLDEN_OLD8, + "the old eight regions, byte for byte" + ); + let mut moved = json(PARAPHASE_JSON); + set( + &mut moved, + &["pms2", "region_specific_info", "gene_cn"], + Value::Int(3), + ); + let joined: String = cn_table(&moved, &genes) + .iter() + .map(|x| format!("{}\n", x.join("\t"))) + .collect(); + assert!( + !GOLDEN_OLD8.contains(&joined), + "control: one changed field is not the old table" + ); + let mut new = Value::Object(indexmap::IndexMap::new()); + for (name, region, _) in NEW_REGIONS { + let mut r = json(region); + set(&mut r, &["genome_depth"], Value::Int(30)); + set(&mut r, &["region_depth"], json(r#"{"median": 60}"#)); + obj(&mut new).insert(name.to_owned(), r); + } + let tb = cn_table(&new, &genes); + for (name, _, want) in NEW_REGIONS { + let rs: Vec<&Vec> = tb.iter().filter(|x| x[0] == name).collect(); + assert_eq!(rs.len(), want.len(), "{name}: {rs:?}"); + for (x, w) in rs.iter().zip(want) { + assert_eq!( + (x[1].as_str(), x[2].as_str(), x[3].as_str()), + (w.0, w.1, w.2), + "{name}" + ); + assert!(x[4].contains(w.3), "{name}: {x:?}"); + } + } + let mut both = Value::Object(indexmap::IndexMap::new()); + let mut tps = json(NEW_REGIONS[5].1); + set( + &mut tps, + &["region_specific_info"], + json(r#"{"gene_cn": 2}"#), + ); + obj(&mut both).insert("TPSAB1".into(), tps); + let rs = cn_table(&both, &genes); + assert!( + rs.len() == 1 && rs[0][2] == "5" && rs[0][4].contains("whole gene family"), + "{rs:?}" + ); + let first: Vec<&str> = tb.iter().take(4).map(|x| x[0].as_str()).collect(); + assert_eq!( + first, + ["CFHclust", "CYP11B1", "f8", "ikbkg"], + "the new regions with a field of their own first" + ); + for name in ["f8", "opn1lw", "ikbkg", "neb", "CYP11B1", "CFHclust"] { + let (_, region, _) = NEW_REGIONS.iter().find(|r| r.0 == name).unwrap(); + let mut r = json(region); + set(&mut r, &["region_specific_info"], json("{}")); + let mut bare = Value::Object(indexmap::IndexMap::new()); + obj(&mut bare).insert(name.into(), r); + let rs = cn_table(&bare, &genes); + assert!( + !rs.is_empty() + && rs.iter().all(|x| x[2] == "." + && x[3] == "not assessed" + && x[4].contains("Paraphase wrote no")), + "{name}: {rs:?}" + ); + } + let bad = t.path("genes.tsv"); + std::fs::write(&bad, "region\tgene\tfield\n").unwrap(); + let (rc, out) = table(&bad); + assert!( + rc == 1 && out.contains("header"), + "a catalog with the wrong columns: {rc} {out}" + ); + // genotype is read by HBA's code and annotated_alleles by RCCX's: on + // another region the catalog is refused. + let head = "region\tgene\tfield\treading\tsource\n"; + for (region, field) in [("smn1", "genotype"), ("pms2", "annotated_alleles")] { + let p = t.path(&format!("genes-{field}.tsv")); + std::fs::write(&p, format!("{head}{region}\tX\t{field}\tr\ts\n")).unwrap(); + let (rc, out) = table(&p); + assert!( + rc == 1 && out.contains(&format!("field {field} on region {region}")), + "{rc} {out}" + ); + } + let own = t.path("genes-own.tsv"); + std::fs::write( + &own, + format!("{head}hba\tHBA1\tgenotype\tr\ts\nrccx\tCYP21A2 (RCCX)\tannotated_alleles\tr\ts\n"), + ) + .unwrap(); + let (rc, out) = table(&own); + assert_eq!( + rc, 0, + "control: the same fields on their own regions load: {out}" + ); + // HBA's genotype and RCCX's alleles: the copy number does not come from + // the field, so the rows keep it. + let base = json(PARAPHASE_JSON); + let mut bare = Value::Object(indexmap::IndexMap::new()); + for k in ["hba", "rccx"] { + let Value::Object(m) = &base else { + unreachable!() + }; + let mut r = m[k].clone(); + set(&mut r, &["region_specific_info"], json("{}")); + obj(&mut bare).insert(k.into(), r); + } + let got: HashMap> = cn_table(&bare, &genes) + .into_iter() + .map(|x| (x[1].clone(), x)) + .collect(); + assert_eq!( + (got["HBA1"][2].as_str(), got["HBA1"][3].as_str()), + ("2", "no call"), + "{got:?}" + ); + assert_eq!( + (got["HBA2"][2].as_str(), got["HBA2"][3].as_str()), + ("1", "no call") + ); + assert!(got["HBA1"][4].contains("could not resolve the alleles")); + let rc_ = &got["CYP21A2 (RCCX)"]; + assert_eq!((rc_[2].as_str(), rc_[3].as_str()), ("4", "called")); + assert!(!rc_[4].contains("alleles:"), "{rc_:?}"); +} + +/// Every count of Paraphase regions a text states ("162 GRCh38 regions", +/// "all 162", "Paraphase's 162"). +fn region_counts(text: &str) -> Vec { + let mut out = Vec::new(); + let num_before = |s: &str| -> Option { + let d: String = s.chars().rev().take_while(char::is_ascii_digit).collect(); + d.chars().rev().collect::().parse().ok() + }; + let num_after = |s: &str| -> Option { + let d: String = s.chars().take_while(char::is_ascii_digit).collect(); + let next = s[d.len()..].chars().next(); + (!d.is_empty() && !next.is_some_and(|c| c.is_alphanumeric() || c == '_')) + .then(|| d.parse().ok())? + }; + let mut i = 0; + while i < text.len() { + let rest = &text[i..]; + if rest.starts_with(" GRCh38 regions") + && let Some(n) = num_before(&text[..i]) + { + out.push(n); + } else if let Some(r) = rest.strip_prefix("all ") + && let Some(n) = num_after(r) + { + out.push(n); + } else if let Some(r) = rest.strip_prefix("Paraphase's ") + && let Some(n) = r.chars().next().filter(char::is_ascii_digit).and_then(|_| { + let d: String = r.chars().take_while(char::is_ascii_digit).collect(); + d.parse().ok() + }) + { + out.push(n); + } + i += rest.chars().next().map_or(1, char::len_utf8); + } + out +} + +#[test] +fn the_region_count_in_the_docs_and_the_step() { + for rel in ["docs/35-paralogs.md", "scripts/35b-paraphase.sh"] { + let said = region_counts(&std::fs::read_to_string(repo(rel)).unwrap()); + assert!( + !said.is_empty() && said.iter().all(|n| *n == PARAPHASE_REGIONS), + "{rel}: {said:?}" + ); + } + assert!( + region_counts("It covers 162 GRCh38 regions.").contains(&162), + "control: a planted 162" + ); +} + +#[test] +fn og_s_own_fixes_in_the_table() { + let genes = repo("assets/paraphase_genes.tsv"); + let t = Dir::new("fixes"); + let bad = t.path("bad.json"); + std::fs::write( + &bad, + r#"{"pms2": {"total_cn": 4, "region_specific_info": {"gene_cn": {"a": 1}}}}"#, + ) + .unwrap(); + let (cn, var) = (t.path("cn.tsv"), t.path("var.tsv")); + let (rc, out) = run(&[ + "table", + "--sample", + "S", + "--json", + &bad, + "--out-cn", + &cn, + "--out-variants", + &var, + "--genes", + &genes, + ]); + assert!( + rc == 1 && out.contains("pms2.gene_cn is not a number"), + "{rc} {out}" + ); + let j = t.path("S.paraphase.json"); + std::fs::write(&j, PARAPHASE_JSON).unwrap(); + let _ = std::fs::remove_file(&cn); + let nowhere = t.path("no-such-dir/var.tsv"); + let (rc, out) = run(&[ + "table", + "--sample", + "S", + "--json", + &j, + "--out-cn", + &cn, + "--out-variants", + &nowhere, + "--genes", + &genes, + ]); + assert!(rc == 1 && !std::path::Path::new(&cn).exists(), "{rc} {out}"); +} diff --git a/scripts/35-paralogs.sh b/scripts/35-paralogs.sh index 2e9c39088..ada6b9e41 100755 --- a/scripts/35-paralogs.sh +++ b/scripts/35-paralogs.sh @@ -151,7 +151,7 @@ while IFS= read -r spec; do if ! [[ "$spec" =~ ^[A-Za-z0-9._-]+\.gz\|chr([1-9]|1[0-9]|2[0-2]|X|Y):[1-9][0-9]*-[1-9][0-9]*\|[A-Za-z0-9][A-Za-z0-9_-]*$ ]] \ || [ "${span%-*}" -lt 1 ] || [ "${span%-*}" -gt "${span#*-}" ] \ || [ -n "${SEEN[${spec##*|}]:-}" ]; then - echo "ERROR: ${LOCI}: a row reads '${spec}' (model|region|table: a region chr1-22, X or Y with 1 <= start <= end, a table name used once and not hba or paraphase); see tests/test_paralog_loci.py." >&2 + echo "ERROR: ${LOCI}: a row reads '${spec}' (model|region|table: a region chr1-22, X or Y with 1 <= start <= end, a table name used once and not hba or paraphase); see rust/crates/og-steps/tests/paralog_loci.rs." >&2 exit 1 fi SEEN[${spec##*|}]=1 diff --git a/scripts/39-couple.sh b/scripts/39-couple.sh index 71d1050f2..079798a88 100755 --- a/scripts/39-couple.sh +++ b/scripts/39-couple.sh @@ -30,7 +30,7 @@ # for each partner's own reports (steps 24 and generate-report.sh). # # A screen, not a diagnosis: docs/39-couple.md says what it does not see. The -# rules are bin/couple_report.py's, the code the Nextflow COUPLE_CARRIER +# rules are og couple screen's, the code the Nextflow COUPLE_CARRIER # process (--pedigree with partners) runs too. # # Env: CARRIER_GENES the carrier list (default assets/carrier_genes.tsv) @@ -104,7 +104,7 @@ fi # The samples the pedigree names, read as step 38 reads them (CRLF line ends, # whitespace-only lines and spaces around a column name are allowed); -# couple_report.py reads the partners and checks everything else. +# og couple screen reads the partners and checks everything else. mapfile -t NAMED < <(awk -F'\t' ' { sub(/\r+$/, "") } /^[ \t]*$/ { next } @@ -153,7 +153,7 @@ for s in ${NAMED[@]+"${NAMED[@]}"}; do rm -f "${GENOME_DIR}/${s}/couple/${s}_cou [ "$PEDIGREE" -ef "${OUT}/pedigree.tsv" ] || cp -f "$PEDIGREE" "${OUT}/pedigree.tsv" run_in --rw "$OUT" --cpus 1 --memory 2g -v "${PGP_ROOT}/bin:/pgp-bin:ro" \ -v "${PGP_ROOT}/assets/par_grch38.bed:/pgp/par_grch38.bed:ro" -v "${GENES}:/pgp/carrier_genes.tsv:ro" \ - "$PYTHON_IMAGE" python3 /pgp-bin/couple_report.py screen --pedigree "${OUT_C}/pedigree.tsv" \ + "$PYTHON_IMAGE" /pgp-bin/og couple screen --pedigree "${OUT_C}/pedigree.tsv" \ --genes /pgp/carrier_genes.tsv --par-bed /pgp/par_grch38.bed ${ARGS[@]+"${ARGS[@]}"} --out-dir "$OUT_C" # Each partner's copy, where its own reports read it. diff --git a/scripts/ci/build-callability.sh b/scripts/ci/build-callability.sh index ab594545b..bd15cf9f3 100755 --- a/scripts/ci/build-callability.sh +++ b/scripts/ci/build-callability.sh @@ -50,7 +50,7 @@ # OTOAP1, PMS2CL, STRCP1), left out as not protein-coding, and no reason # above applies to the other ten (ABCC6, CFH, CFHR4, CHRNA7, DEFA3, KRT86, # NEB, PIK3CA, PLG, VWF). Step 35's own report section reads all of them. -# tests/test_paralog_loci.py holds that list and goes red when it changes. +# rust/crates/og-steps/tests/paralog_loci.rs holds that list and goes red when it changes. # # The rules are in og dev build callability # (rust/crates/og-dev/src/build/callability.rs). Needs curl, og diff --git a/scripts/ci/e2e-case-paths.tsv b/scripts/ci/e2e-case-paths.tsv index 2a5417769..5e50a4bb3 100644 --- a/scripts/ci/e2e-case-paths.tsv +++ b/scripts/ci/e2e-case-paths.tsv @@ -48,9 +48,9 @@ alignment-markdup-gvcf-sex-3-homref assets/pgs_scores.tsv bin/collect_summary.py alignment-markdup-gvcf-sex-4-bwamem2 scripts/02a-alignment-bwamem2.sh scripts/ci/fake-docker/lib.sh ancestry-fine-grained-1 assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/mito_confirmed.tsv assets/pgs_scores.tsv assets/stub/sample.vcf.gz bin/collect_summary.py bin/og bin/render_report.py bin/results_index.py modules/local/ancestry_fine/* modules/local/html_report/* modules/local/prs/* modules/local/vcf_precheck/* scripts/24-html-report.sh scripts/25-prs.sh scripts/26-ancestry.sh scripts/26b-ancestry-fine.sh scripts/chip-to-vcf.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh scripts/validate-setup.sh ancient-similarity-1 assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/mito_confirmed.tsv assets/stub/sample.vcf.gz bin/og bin/collect_summary.py bin/render_report.py bin/results_index.py modules/local/ancient/* modules/local/html_report/* modules/local/vcf_precheck/* scripts/24-html-report.sh scripts/44-ancient.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh scripts/validate-setup.sh -annotsv-delly-depth-1-chain assets/par_grch38.bed assets/sv_rule_regions.tsv bin/cnvpytor_to_vcf.py bin/collect_summary.py bin/family_report.py bin/og scripts/05-annotsv.sh scripts/15-duphold.sh scripts/18-cnvpytor.sh scripts/19-delly.sh scripts/ci/fake-docker/lib.sh tests/fixtures/annotsv/class45.sh -annotsv-report-section-1-chain assets/par_grch38.bed assets/sv_rule_regions.tsv bin/cnvpytor_to_vcf.py bin/collect_summary.py bin/family_report.py bin/og scripts/05-annotsv.sh scripts/15-duphold.sh scripts/18-cnvpytor.sh scripts/19-delly.sh scripts/22-survivor-merge.sh scripts/24-html-report.sh scripts/ci/fake-docker/lib.sh scripts/generate-report.sh tests/fixtures/annotsv/class45.sh -annotsv-sv-inputs-1-manta assets/par_grch38.bed assets/sv_rule_regions.tsv bin/cnvpytor_to_vcf.py bin/collect_summary.py bin/family_report.py bin/og scripts/04-manta.sh scripts/05-annotsv.sh scripts/15-duphold.sh scripts/18-cnvpytor.sh scripts/19-delly.sh scripts/ci/fake-docker/lib.sh +annotsv-delly-depth-1-chain assets/par_grch38.bed assets/sv_rule_regions.tsv bin/collect_summary.py bin/family_report.py bin/og scripts/05-annotsv.sh scripts/15-duphold.sh scripts/18-cnvpytor.sh scripts/19-delly.sh scripts/ci/fake-docker/lib.sh tests/fixtures/annotsv/class45.sh +annotsv-report-section-1-chain assets/par_grch38.bed assets/sv_rule_regions.tsv bin/collect_summary.py bin/family_report.py bin/og scripts/05-annotsv.sh scripts/15-duphold.sh scripts/18-cnvpytor.sh scripts/19-delly.sh scripts/22-survivor-merge.sh scripts/24-html-report.sh scripts/ci/fake-docker/lib.sh scripts/generate-report.sh tests/fixtures/annotsv/class45.sh +annotsv-sv-inputs-1-manta assets/par_grch38.bed assets/sv_rule_regions.tsv bin/collect_summary.py bin/family_report.py bin/og scripts/04-manta.sh scripts/05-annotsv.sh scripts/15-duphold.sh scripts/18-cnvpytor.sh scripts/19-delly.sh scripts/ci/fake-docker/lib.sh archaic-ancestry-1 assets/pgs_scores.tsv bin/og bin/collect_summary.py modules/local/archaic/* modules/local/prs/* modules/local/vcf_precheck/* scripts/25-prs.sh scripts/26-ancestry.sh scripts/43-archaic.sh scripts/ci/fake-docker/lib.sh scripts/generate-report.sh scripts/setup.sh scripts/validate-setup.sh bash-step-08-hla - bash-step-09-str assets/str_extra_loci.json assets/stub/db/catalog.json bin/og scripts/09-expansion-hunter.sh scripts/09b-stranger.sh scripts/ci/fake-docker/lib.sh @@ -77,23 +77,23 @@ cn-engine-1-parity assets/bloodtype_markers.tsv bin/cn_loci.tsv bin/og scripts/4 cn-guard-1-mapq0 bin/cn_loci.tsv bin/og modules/local/parascopy/* scripts/35-paralogs.sh cn-intervals-1-catalog assets/parascopy_models_v1.7.txt bin/cn_loci.tsv bin/og scripts/ci/build-cn-intervals.sh scripts/ci/fake-docker/lib.sh scripts/ci/lib/fetch-pinned.sh cn-intervals-2-hg002 assets/par_grch38.bed assets/paralog_loci.tsv bin/cn_loci.tsv bin/og modules/local/deepvariant/* modules/local/parascopy/* modules/local/vcf_precheck/* scripts/35-paralogs.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh -cn-report-1-tables assets/carrier_genes.tsv assets/par_grch38.bed bin/collect_summary.py bin/couple_report.py bin/family_report.py bin/og bin/paraphase_report.py bin/render_report.py bin/results_index.py scripts/24-html-report.sh scripts/39-couple.sh scripts/ci/fake-docker/lib.sh scripts/generate-report.sh +cn-report-1-tables assets/carrier_genes.tsv assets/par_grch38.bed bin/collect_summary.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py scripts/24-html-report.sh scripts/39-couple.sh scripts/ci/fake-docker/lib.sh scripts/generate-report.sh comphet-phasing-1-reads assets/construct_variants.tsv assets/stub/sample.bam assets/stub/sample.bam.bai bin/og modules/local/slivar/* modules/local/vcf_precheck/* modules/local/vep/* scripts/13-vep-annotation.sh scripts/31-slivar.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh rust/crates/og-dev/src/fixture.rs construct-scan-1-both assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/construct_variants.tsv assets/deep_intronic_sites.tsv assets/mito_confirmed.tsv assets/stub/sample.bam assets/stub/sample.bam.bai assets/stub/sample.vcf.gz bin/collect_summary.py bin/og bin/render_report.py bin/results_index.py modules/local/clinvar_screen/* modules/local/html_report/* modules/local/vcf_precheck/* scripts/06-clinvar-screen.sh scripts/24-html-report.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh consumer-export-1 assets/chip_genes.tsv assets/par_grch38.bed bin/og modules/local/chip/* modules/local/export_consumer/* modules/local/vcf_precheck/* scripts/40-export-consumer.sh scripts/49-chip.sh scripts/chip-to-vcf.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh tests/fixtures/consumer_export/sites.tsv.gz containers-software-versions scripts/ci/fake-docker/lib.sh scripts/ci/gen-containers-config.sh -couple-carrier-1 assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/construct_variants.tsv assets/deep_intronic_sites.tsv assets/families.example.tsv assets/mito_confirmed.tsv assets/par_grch38.bed assets/paralog_loci.tsv assets/pedigree.example.tsv assets/pgx_genes.tsv assets/str_extra_loci.json assets/stub/db/catalog.json assets/stub/db/hla.dat assets/stub/db/kir.dat assets/stub/pedigree.tsv assets/stub/sample.bam assets/stub/sample.bam.bai assets/stub/sample.vcf.gz bin/cn_loci.tsv bin/collect_summary.py bin/couple_report.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py modules/local/clinvar_screen/* modules/local/couple/* modules/local/delly/* modules/local/expansion_hunter/* modules/local/hla_typing/* modules/local/html_report/* modules/local/parascopy/* modules/local/somalier/* modules/local/t1k_build/* modules/local/vcf_precheck/* scripts/06-clinvar-screen.sh scripts/08-hla-typing.sh scripts/09-expansion-hunter.sh scripts/19-delly.sh scripts/24-html-report.sh scripts/32-pypgx.sh scripts/33-sample-qc.sh scripts/35-paralogs.sh scripts/36-pgx-consensus.sh scripts/38-family.sh scripts/39-couple.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh -couple-common-sv-1 assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/construct_variants.tsv assets/deep_intronic_sites.tsv assets/families.example.tsv assets/mito_confirmed.tsv assets/par_grch38.bed assets/pedigree.example.tsv assets/stub/pedigree.tsv assets/stub/sample.bam assets/stub/sample.bam.bai assets/stub/sample.vcf.gz bin/cn_loci.tsv bin/collect_summary.py bin/couple_report.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py modules/local/clinvar_screen/* modules/local/couple/* modules/local/delly/* modules/local/html_report/* modules/local/vcf_precheck/* scripts/06-clinvar-screen.sh scripts/19-delly.sh scripts/24-html-report.sh scripts/38-family.sh scripts/39-couple.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh scripts/validate-setup.sh +couple-carrier-1 assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/construct_variants.tsv assets/deep_intronic_sites.tsv assets/families.example.tsv assets/mito_confirmed.tsv assets/par_grch38.bed assets/paralog_loci.tsv assets/pedigree.example.tsv assets/pgx_genes.tsv assets/str_extra_loci.json assets/stub/db/catalog.json assets/stub/db/hla.dat assets/stub/db/kir.dat assets/stub/pedigree.tsv assets/stub/sample.bam assets/stub/sample.bam.bai assets/stub/sample.vcf.gz bin/cn_loci.tsv bin/collect_summary.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py modules/local/clinvar_screen/* modules/local/couple/* modules/local/delly/* modules/local/expansion_hunter/* modules/local/hla_typing/* modules/local/html_report/* modules/local/parascopy/* modules/local/somalier/* modules/local/t1k_build/* modules/local/vcf_precheck/* scripts/06-clinvar-screen.sh scripts/08-hla-typing.sh scripts/09-expansion-hunter.sh scripts/19-delly.sh scripts/24-html-report.sh scripts/32-pypgx.sh scripts/33-sample-qc.sh scripts/35-paralogs.sh scripts/36-pgx-consensus.sh scripts/38-family.sh scripts/39-couple.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh +couple-common-sv-1 assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/construct_variants.tsv assets/deep_intronic_sites.tsv assets/families.example.tsv assets/mito_confirmed.tsv assets/par_grch38.bed assets/pedigree.example.tsv assets/stub/pedigree.tsv assets/stub/sample.bam assets/stub/sample.bam.bai assets/stub/sample.vcf.gz bin/cn_loci.tsv bin/collect_summary.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py modules/local/clinvar_screen/* modules/local/couple/* modules/local/delly/* modules/local/html_report/* modules/local/vcf_precheck/* scripts/06-clinvar-screen.sh scripts/19-delly.sh scripts/24-html-report.sh scripts/38-family.sh scripts/39-couple.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh scripts/validate-setup.sh cpic-phenoconversion-1-medications assets/pgx_contraindications.tsv assets/pgx_genes.tsv assets/pgx_inhibitors.tsv bin/cn_loci.tsv bin/collect_summary.py bin/og modules/local/cpic_lookup/* modules/local/pharmcat/* modules/local/vcf_precheck/* scripts/07-pharmacogenomics.sh scripts/27-cpic-lookup.sh scripts/32-pypgx.sh scripts/36-pgx-consensus.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh cyp21a2-short-reads-1-hg002 bin/cn_loci.tsv bin/og modules/local/parascopy/* scripts/35-paralogs.sh exomiser-1 assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/families.example.tsv assets/mito_confirmed.tsv assets/par_grch38.bed assets/pedigree.example.tsv assets/pgx_genes.tsv assets/stub/db/hla.dat assets/stub/db/kir.dat assets/stub/pedigree.tsv assets/stub/sample.bam assets/stub/sample.bam.bai assets/stub/sample.vcf.gz assets/stub/sample.vcf.gz.tbi bin/cn_loci.tsv bin/collect_summary.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py modules/local/exomiser/* modules/local/hla_typing/* modules/local/html_report/* modules/local/t1k_build/* modules/local/vcf_precheck/* scripts/08-hla-typing.sh scripts/24-html-report.sh scripts/32-pypgx.sh scripts/36-pgx-consensus.sh scripts/38-family.sh scripts/48-exomiser.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh scripts/validate-setup.sh expansions-and-rfc1-1-motif assets/str_extra_loci.json assets/stub/db/catalog.json bin/og scripts/09-expansion-hunter.sh scripts/09b-stranger.sh scripts/ci/fake-docker/lib.sh scripts/generate-report.sh -families-file-1 assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/construct_variants.tsv assets/deep_intronic_sites.tsv assets/families.example.tsv assets/mito_confirmed.tsv assets/par_grch38.bed assets/pedigree.example.tsv assets/pgx_genes.tsv assets/stub/db/hla.dat assets/stub/db/kir.dat assets/stub/pedigree.tsv assets/stub/sample.bam assets/stub/sample.bam.bai assets/stub/sample.vcf.gz bin/cn_loci.tsv bin/collect_summary.py bin/couple_report.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py modules/local/align_minimap2/* modules/local/clinvar_screen/* modules/local/couple/* modules/local/deepvariant/* modules/local/fastp/* modules/local/hla_typing/* modules/local/html_report/* modules/local/t1k_build/* modules/local/vcf_precheck/* scripts/01b-fastp-qc.sh scripts/06-clinvar-screen.sh scripts/08-hla-typing.sh scripts/24-html-report.sh scripts/32-pypgx.sh scripts/36-pgx-consensus.sh scripts/38-family.sh scripts/39-couple.sh scripts/ci/check-images.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh tests/fixtures/families/stub_families.tsv +families-file-1 assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/construct_variants.tsv assets/deep_intronic_sites.tsv assets/families.example.tsv assets/mito_confirmed.tsv assets/par_grch38.bed assets/pedigree.example.tsv assets/pgx_genes.tsv assets/stub/db/hla.dat assets/stub/db/kir.dat assets/stub/pedigree.tsv assets/stub/sample.bam assets/stub/sample.bam.bai assets/stub/sample.vcf.gz bin/cn_loci.tsv bin/collect_summary.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py modules/local/align_minimap2/* modules/local/clinvar_screen/* modules/local/couple/* modules/local/deepvariant/* modules/local/fastp/* modules/local/hla_typing/* modules/local/html_report/* modules/local/t1k_build/* modules/local/vcf_precheck/* scripts/01b-fastp-qc.sh scripts/06-clinvar-screen.sh scripts/08-hla-typing.sh scripts/24-html-report.sh scripts/32-pypgx.sh scripts/36-pgx-consensus.sh scripts/38-family.sh scripts/39-couple.sh scripts/ci/check-images.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh tests/fixtures/families/stub_families.tsv family-joint-1 assets/construct_variants.tsv assets/deep_intronic_sites.tsv assets/families.example.tsv assets/par_grch38.bed assets/pedigree.example.tsv assets/stub/pedigree.tsv assets/stub/sample.bam assets/stub/sample.bam.bai bin/collect_summary.py bin/family_report.py bin/og modules/local/align_minimap2/* modules/local/clinvar_screen/* modules/local/deepvariant/* modules/local/fastp/* modules/local/roh/* modules/local/somalier/* modules/local/vcf_precheck/* scripts/01b-fastp-qc.sh scripts/06-clinvar-screen.sh scripts/11-roh-analysis.sh scripts/33-sample-qc.sh scripts/38-family.sh scripts/ci/check-images.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh fixitfelix-chr21-1 assets/callability_genes.tsv scripts/16b-mosdepth.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh followups-ci-3-sv-rule-regions assets/sv_rule_regions.tsv bin/og scripts/ci/build-sv-rule-regions.sh scripts/ci/fake-docker/lib.sh scripts/ci/lib/fetch-pinned.sh followups-clinvar-traits-1-rules-html assets/genotype_rules.tsv assets/traits.tsv bin/render_report.py scripts/42-traits.sh scripts/ci/check-rule-alleles.sh -followups-cn-1-couple-report assets/carrier_genes.tsv assets/par_grch38.bed assets/stub/pedigree.tsv bin/collect_summary.py bin/couple_report.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py modules/local/couple/* modules/local/html_report/* scripts/39-couple.sh scripts/ci/fake-docker/lib.sh +followups-cn-1-couple-report assets/carrier_genes.tsv assets/par_grch38.bed assets/stub/pedigree.tsv bin/collect_summary.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py modules/local/couple/* modules/local/html_report/* scripts/39-couple.sh scripts/ci/fake-docker/lib.sh followups-nf-1-nf-wiring assets/stub/* assets/test_samplesheet.csv assets/steps.tsv bin/collect_summary.py bin/render_report.py bin/results_index.py bin/run_state.py conf/test.config conf/test_all.config conf/containers.config modules/local/html_report/* modules/local/couple/* modules/local/parascopy/* modules/local/deepvariant/* modules/local/cpsr/* modules/local/clinvar_screen/* modules/local/locityper/* workflows/* tests/fixtures/consumer_export/sites.tsv.gz bin/og genome-lookup-1 bin/og scripts/ci/fake-docker/lib.sh scripts/owngenome-lookup.sh genotype-rule-rows-1-str-extra assets/str_extra_loci.json assets/stub/db/catalog.json scripts/09-expansion-hunter.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh @@ -108,23 +108,23 @@ hla-second-caller-2-nextflow assets/acmg_sf.tsv assets/callability_genes.tsv ass ibd-segments-1 assets/families.example.tsv assets/par_grch38.bed assets/pedigree.example.tsv assets/stub/pedigree.tsv bin/family_report.py bin/og scripts/38-family.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh live-server-1-weblog assets/live/* assets/viewer/index.html bin/live_results.py bin/owngenome_live.py bin/owngenome_live_results.py bin/render_report.py bin/run_state.py modules/local/roh/* modules/local/vcf_precheck/* scripts/11-roh-analysis.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh lpa-1 assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/mito_confirmed.tsv assets/par_grch38.bed assets/stub/sample.vcf.gz bin/cn_loci.tsv bin/collect_summary.py bin/og bin/render_report.py bin/results_index.py modules/local/deepvariant/* modules/local/html_report/* modules/local/lpa/* modules/local/vcf_precheck/* scripts/24-html-report.sh scripts/46-lpa.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh -mei-1 assets/mei_sites.tsv assets/par_grch38.bed assets/sv_rule_regions.tsv bin/cnvpytor_to_vcf.py bin/collect_summary.py bin/family_report.py bin/og modules/local/align_minimap2/* modules/local/annotsv/* modules/local/deepvariant/* modules/local/fastp/* modules/local/mei/* modules/local/vcf_precheck/* scripts/01b-fastp-qc.sh scripts/05-annotsv.sh scripts/15-duphold.sh scripts/18-cnvpytor.sh scripts/19-delly.sh scripts/50-mei.sh scripts/ci/check-images.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh scripts/validate-setup.sh tests/fixtures/annotsv/class45.sh +mei-1 assets/mei_sites.tsv assets/par_grch38.bed assets/sv_rule_regions.tsv bin/collect_summary.py bin/family_report.py bin/og modules/local/align_minimap2/* modules/local/annotsv/* modules/local/deepvariant/* modules/local/fastp/* modules/local/mei/* modules/local/vcf_precheck/* scripts/01b-fastp-qc.sh scripts/05-annotsv.sh scripts/15-duphold.sh scripts/18-cnvpytor.sh scripts/19-delly.sh scripts/50-mei.sh scripts/ci/check-images.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh scripts/validate-setup.sh tests/fixtures/annotsv/class45.sh mito-extended-1-deletions assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/construct_variants.tsv assets/deep_intronic_sites.tsv assets/mito_confirmed.tsv assets/stub/db/clinvar.vcf.gz assets/stub/db/clinvar.vcf.gz.tbi assets/stub/sample.bam assets/stub/sample.bam.bai assets/stub/sample.vcf.gz bin/collect_summary.py bin/og bin/render_report.py bin/results_index.py modules/local/clinvar_screen/* modules/local/html_report/* modules/local/mito_variants/* modules/local/vcf_precheck/* scripts/06-clinvar-screen.sh scripts/16b-mosdepth.sh scripts/20-mtoolbox.sh scripts/24-html-report.sh scripts/ci/build-mito-confirmed.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh mocha-1 assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/mito_confirmed.tsv assets/stub/sample.vcf.gz bin/collect_summary.py bin/og bin/render_report.py bin/results_index.py modules/local/html_report/* modules/local/mocha/* modules/local/vcf_precheck/* scripts/24-html-report.sh scripts/51-mocha.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh scripts/validate-setup.sh mosaic-loy-lox-1 assets/callability_genes.tsv bin/collect_summary.py bin/og scripts/16b-mosdepth.sh scripts/33-sample-qc.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh nextflow-from-fastq-1-bash assets/callability_genes.tsv assets/construct_variants.tsv assets/deep_intronic_sites.tsv assets/pgs_scores.tsv assets/pgx_genes.tsv assets/stub/db/hla.dat assets/stub/db/kir.dat bin/cn_loci.tsv bin/collect_summary.py bin/og scripts/01b-fastp-qc.sh scripts/06-clinvar-screen.sh scripts/07-pharmacogenomics.sh scripts/08-hla-typing.sh scripts/11-roh-analysis.sh scripts/16b-mosdepth.sh scripts/20-mtoolbox.sh scripts/25-prs.sh scripts/32-pypgx.sh scripts/36-pgx-consensus.sh scripts/ci/fake-docker/lib.sh scripts/ci/parity-diff.sh scripts/validate-setup.sh nextflow-from-fastq-2-nextflow assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/construct_variants.tsv assets/deep_intronic_sites.tsv assets/live/index.html assets/mito_confirmed.tsv assets/par_grch38.bed assets/pgs_scores.tsv assets/pgx_contraindications.tsv assets/pgx_genes.tsv assets/pgx_inhibitors.tsv assets/stub/db/hla.dat assets/stub/db/kir.dat assets/stub/sample.bam assets/stub/sample.bam.bai assets/stub/sample.vcf.gz assets/viewer/index.html bin/cn_loci.tsv bin/collect_summary.py bin/og bin/render_report.py bin/results_index.py modules/local/align_minimap2/* modules/local/clinvar_screen/* modules/local/cpic_lookup/* modules/local/cyrius/* modules/local/deepvariant/* modules/local/fastp/* modules/local/hla_typing/* modules/local/html_report/* modules/local/indexcov/* modules/local/mito_haplogroup/* modules/local/mito_variants/* modules/local/mosdepth/* modules/local/multiqc/* modules/local/pharmcat/* modules/local/prs/* modules/local/roh/* modules/local/t1k_build/* modules/local/telomere_hunter/* modules/local/vcf_precheck/* modules/local/vcfanno/* scripts/01b-fastp-qc.sh scripts/06-clinvar-screen.sh scripts/07-pharmacogenomics.sh scripts/08-hla-typing.sh scripts/10-telomere-hunter.sh scripts/11-roh-analysis.sh scripts/12-mito-haplogroup.sh scripts/16-indexcov.sh scripts/16b-mosdepth.sh scripts/20-mtoolbox.sh scripts/21-cyrius.sh scripts/24-html-report.sh scripts/25-prs.sh scripts/26-ancestry.sh scripts/27-cpic-lookup.sh scripts/28-multiqc.sh scripts/30-vcfanno.sh scripts/32-pypgx.sh scripts/36-pgx-consensus.sh scripts/ci/check-images.sh scripts/ci/fake-docker/lib.sh scripts/cyrius-constraints.txt scripts/validate-setup.sh nextflow-from-fastq-3-sexcheck assets/callability_genes.tsv assets/live/index.html assets/viewer/index.html bin/collect_summary.py modules/local/indexcov/* modules/local/mosdepth/* modules/local/vcf_precheck/* scripts/16-indexcov.sh scripts/16b-mosdepth.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh -nextflow-hardening-1-manta assets/par_grch38.bed assets/sv_rule_regions.tsv bin/cnvpytor_to_vcf.py bin/collect_summary.py bin/family_report.py bin/og scripts/04-manta.sh scripts/05-annotsv.sh scripts/15-duphold.sh scripts/18-cnvpytor.sh scripts/19-delly.sh scripts/ci/fake-docker/lib.sh -nextflow-hardening-2-nf assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/construct_variants.tsv assets/deep_intronic_sites.tsv assets/live/index.html assets/mito_confirmed.tsv assets/par_grch38.bed assets/pgx_genes.tsv assets/stub/sample.bam assets/stub/sample.bam.bai assets/stub/sample.vcf.gz assets/sv_rule_regions.tsv assets/viewer/index.html bin/cn_loci.tsv bin/cnvpytor_to_vcf.py bin/collect_summary.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py bin/yleaf_run.py modules/local/clinvar_screen/* modules/local/delly/* modules/local/html_report/* modules/local/indexcov/* modules/local/manta/* modules/local/mito_haplogroup/* modules/local/mosdepth/* modules/local/pgx_consensus/* modules/local/pharmcat/* modules/local/pypgx/* modules/local/survivor_merge/* modules/local/telomere_hunter/* modules/local/vcf_precheck/* modules/local/vcfanno/* modules/local/y_haplogroup/* scripts/04-manta.sh scripts/05-annotsv.sh scripts/06-clinvar-screen.sh scripts/07-pharmacogenomics.sh scripts/10-telomere-hunter.sh scripts/12-mito-haplogroup.sh scripts/15-duphold.sh scripts/16-indexcov.sh scripts/16b-mosdepth.sh scripts/18-cnvpytor.sh scripts/19-delly.sh scripts/20-mtoolbox.sh scripts/21-cyrius.sh scripts/22-survivor-merge.sh scripts/24-html-report.sh scripts/30-vcfanno.sh scripts/32-pypgx.sh scripts/36-pgx-consensus.sh scripts/37-y-haplogroup.sh scripts/ci/fake-docker/lib.sh scripts/ci/parity-diff.sh scripts/cyrius-constraints.txt scripts/setup.sh scripts/validate-setup.sh -nextflow-report-parity-1-sections assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/construct_variants.tsv assets/deep_intronic_sites.tsv assets/mito_confirmed.tsv assets/par_grch38.bed assets/pgx_genes.tsv assets/str_extra_loci.json assets/stub/db/catalog.json assets/stub/sample.bam assets/stub/sample.bam.bai assets/stub/sample.vcf.gz assets/sv_rule_regions.tsv bin/cn_loci.tsv bin/cnvpytor_to_vcf.py bin/collect_summary.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py modules/local/annotsv/* modules/local/clinvar_screen/* modules/local/expansion_hunter/* modules/local/export_consumer/* modules/local/html_report/* modules/local/mito_variants/* modules/local/pypgx/* modules/local/slivar/* modules/local/stranger/* modules/local/vcf_precheck/* modules/local/vep/* scripts/05-annotsv.sh scripts/06-clinvar-screen.sh scripts/09-expansion-hunter.sh scripts/09b-stranger.sh scripts/13-vep-annotation.sh scripts/15-duphold.sh scripts/16b-mosdepth.sh scripts/18-cnvpytor.sh scripts/19-delly.sh scripts/20-mtoolbox.sh scripts/24-html-report.sh scripts/31-slivar.sh scripts/32-pypgx.sh scripts/36-pgx-consensus.sh scripts/40-export-consumer.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh tests/fixtures/consumer_export/sites.tsv.gz +nextflow-hardening-1-manta assets/par_grch38.bed assets/sv_rule_regions.tsv bin/collect_summary.py bin/family_report.py bin/og scripts/04-manta.sh scripts/05-annotsv.sh scripts/15-duphold.sh scripts/18-cnvpytor.sh scripts/19-delly.sh scripts/ci/fake-docker/lib.sh +nextflow-hardening-2-nf assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/construct_variants.tsv assets/deep_intronic_sites.tsv assets/live/index.html assets/mito_confirmed.tsv assets/par_grch38.bed assets/pgx_genes.tsv assets/stub/sample.bam assets/stub/sample.bam.bai assets/stub/sample.vcf.gz assets/sv_rule_regions.tsv assets/viewer/index.html bin/cn_loci.tsv bin/collect_summary.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py bin/yleaf_run.py modules/local/clinvar_screen/* modules/local/delly/* modules/local/html_report/* modules/local/indexcov/* modules/local/manta/* modules/local/mito_haplogroup/* modules/local/mosdepth/* modules/local/pgx_consensus/* modules/local/pharmcat/* modules/local/pypgx/* modules/local/survivor_merge/* modules/local/telomere_hunter/* modules/local/vcf_precheck/* modules/local/vcfanno/* modules/local/y_haplogroup/* scripts/04-manta.sh scripts/05-annotsv.sh scripts/06-clinvar-screen.sh scripts/07-pharmacogenomics.sh scripts/10-telomere-hunter.sh scripts/12-mito-haplogroup.sh scripts/15-duphold.sh scripts/16-indexcov.sh scripts/16b-mosdepth.sh scripts/18-cnvpytor.sh scripts/19-delly.sh scripts/20-mtoolbox.sh scripts/21-cyrius.sh scripts/22-survivor-merge.sh scripts/24-html-report.sh scripts/30-vcfanno.sh scripts/32-pypgx.sh scripts/36-pgx-consensus.sh scripts/37-y-haplogroup.sh scripts/ci/fake-docker/lib.sh scripts/ci/parity-diff.sh scripts/cyrius-constraints.txt scripts/setup.sh scripts/validate-setup.sh +nextflow-report-parity-1-sections assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/construct_variants.tsv assets/deep_intronic_sites.tsv assets/mito_confirmed.tsv assets/par_grch38.bed assets/pgx_genes.tsv assets/str_extra_loci.json assets/stub/db/catalog.json assets/stub/sample.bam assets/stub/sample.bam.bai assets/stub/sample.vcf.gz assets/sv_rule_regions.tsv bin/cn_loci.tsv bin/collect_summary.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py modules/local/annotsv/* modules/local/clinvar_screen/* modules/local/expansion_hunter/* modules/local/export_consumer/* modules/local/html_report/* modules/local/mito_variants/* modules/local/pypgx/* modules/local/slivar/* modules/local/stranger/* modules/local/vcf_precheck/* modules/local/vep/* scripts/05-annotsv.sh scripts/06-clinvar-screen.sh scripts/09-expansion-hunter.sh scripts/09b-stranger.sh scripts/13-vep-annotation.sh scripts/15-duphold.sh scripts/16b-mosdepth.sh scripts/18-cnvpytor.sh scripts/19-delly.sh scripts/20-mtoolbox.sh scripts/24-html-report.sh scripts/31-slivar.sh scripts/32-pypgx.sh scripts/36-pgx-consensus.sh scripts/40-export-consumer.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh tests/fixtures/consumer_export/sites.tsv.gz nf-wiring-1-report-tables assets/acmg_sf.tsv assets/test_samplesheet.csv assets/stub/* bin/collect_summary.py bin/cpsr_sample_id bin/og bin/render_report.py bin/results_index.py conf/test_all.config conf/test.config modules/local/align_minimap2/* modules/local/clinical_filter/* modules/local/clinvar_screen/* modules/local/cpsr/* modules/local/html_report/* modules/local/slivar/* modules/local/vep/* scripts/24-html-report.sh tests/fixtures/consumer_export/sites.tsv.gz -nf-wiring-2-sv-str-tools bin/cnvpytor_to_vcf.py bin/family_report.py bin/og modules/local/cnvpytor/* modules/local/duphold/* modules/local/expansion_hunter/* modules/local/indexcov/* modules/local/manta/* modules/local/vcf_precheck/* +nf-wiring-2-sv-str-tools bin/family_report.py bin/og modules/local/cnvpytor/* modules/local/duphold/* modules/local/expansion_hunter/* modules/local/indexcov/* modules/local/manta/* modules/local/vcf_precheck/* output-contract-1-hg002 assets/* bin/* modules/* scripts/* paralog-catalog-1-gba assets/paralog_loci.tsv assets/parascopy_models_v1.7.txt bin/cn_loci.tsv bin/og modules/local/parascopy/* modules/local/vcf_precheck/* scripts/35-paralogs.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh scripts/validate-setup.sh -paralog-checks-and-doc-fixes-1-hba assets/par_grch38.bed assets/paralog_loci.tsv bin/cn_loci.tsv bin/collect_summary.py bin/og bin/paraphase_report.py modules/local/align_minimap2/* modules/local/deepvariant/* modules/local/fastp/* modules/local/paraphase/* modules/local/parascopy/* modules/local/vcf_precheck/* scripts/01b-fastp-qc.sh scripts/35-paralogs.sh scripts/35b-paraphase.sh scripts/ci/check-images.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh scripts/validate-setup.sh -paralog-rows-1 assets/paralog_loci.tsv assets/parascopy_models_v1.7.txt bin/cn_loci.tsv bin/collect_summary.py bin/og bin/paraphase_report.py bin/render_report.py scripts/35-paralogs.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh scripts/validate-setup.sh -paralogs-paraphase-1 assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/mito_confirmed.tsv assets/par_grch38.bed assets/stub/sample.vcf.gz bin/collect_summary.py bin/og bin/paraphase_report.py bin/render_report.py bin/results_index.py modules/local/align_minimap2/* modules/local/deepvariant/* modules/local/fastp/* modules/local/html_report/* modules/local/paraphase/* modules/local/vcf_precheck/* scripts/01b-fastp-qc.sh scripts/24-html-report.sh scripts/35b-paraphase.sh scripts/ci/check-images.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh +paralog-checks-and-doc-fixes-1-hba assets/par_grch38.bed assets/paralog_loci.tsv bin/cn_loci.tsv bin/collect_summary.py bin/og modules/local/align_minimap2/* modules/local/deepvariant/* modules/local/fastp/* modules/local/paraphase/* modules/local/parascopy/* modules/local/vcf_precheck/* scripts/01b-fastp-qc.sh scripts/35-paralogs.sh scripts/35b-paraphase.sh scripts/ci/check-images.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh scripts/validate-setup.sh +paralog-rows-1 assets/paralog_loci.tsv assets/parascopy_models_v1.7.txt bin/cn_loci.tsv bin/collect_summary.py bin/og bin/render_report.py scripts/35-paralogs.sh scripts/ci/fake-docker/lib.sh scripts/setup.sh scripts/validate-setup.sh +paralogs-paraphase-1 assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/mito_confirmed.tsv assets/par_grch38.bed assets/stub/sample.vcf.gz bin/collect_summary.py bin/og bin/render_report.py bin/results_index.py modules/local/align_minimap2/* modules/local/deepvariant/* modules/local/fastp/* modules/local/html_report/* modules/local/paraphase/* modules/local/vcf_precheck/* scripts/01b-fastp-qc.sh scripts/24-html-report.sh scripts/35b-paraphase.sh scripts/ci/check-images.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh paralogs-report-section-1-nf-report-tables assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/construct_variants.tsv assets/deep_intronic_sites.tsv assets/mito_confirmed.tsv assets/par_grch38.bed assets/pgx_genes.tsv assets/stub/sample.bam assets/stub/sample.bam.bai assets/stub/sample.vcf.gz bin/cn_loci.tsv bin/collect_summary.py bin/og bin/render_report.py bin/results_index.py modules/local/clinvar_screen/* modules/local/export_consumer/* modules/local/html_report/* modules/local/pypgx/* modules/local/slivar/* modules/local/vcf_precheck/* scripts/06-clinvar-screen.sh scripts/24-html-report.sh scripts/31-slivar.sh scripts/32-pypgx.sh scripts/36-pgx-consensus.sh scripts/40-export-consumer.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh tests/fixtures/consumer_export/sites.tsv.gz pgx-1-depth-check bin/og scripts/21-cyrius.sh scripts/32-pypgx.sh scripts/ci/alt-depth-ab.sh scripts/ci/fake-docker/lib.sh pgx-2-outside-calls assets/pgx_contraindications.tsv assets/pgx_genes.tsv assets/pgx_inhibitors.tsv bin/cn_loci.tsv bin/collect_summary.py bin/og scripts/07-pharmacogenomics.sh scripts/27-cpic-lookup.sh scripts/32-pypgx.sh scripts/36-pgx-consensus.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh @@ -147,7 +147,7 @@ qc-1-sample-qc bin/collect_summary.py bin/og scripts/28-multiqc.sh scripts/33-sa qc-2-nextflow-sample-qc assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/families.example.tsv assets/live/index.html assets/mito_confirmed.tsv assets/par_grch38.bed assets/pedigree.example.tsv assets/pgx_contraindications.tsv assets/pgx_genes.tsv assets/pgx_inhibitors.tsv assets/stub/db/hla.dat assets/stub/db/kir.dat assets/stub/pedigree.tsv assets/stub/sample.vcf.gz assets/viewer/index.html bin/cn_loci.tsv bin/collect_summary.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py modules/local/align_minimap2/* modules/local/cpic_lookup/* modules/local/deepvariant/* modules/local/fastp/* modules/local/hla_typing/* modules/local/html_report/* modules/local/indexcov/* modules/local/mito_haplogroup/* modules/local/mito_variants/* modules/local/mosdepth/* modules/local/pharmcat/* modules/local/pypgx/* modules/local/roh/* modules/local/somalier/* modules/local/t1k_build/* modules/local/telomere_hunter/* modules/local/vcf_precheck/* modules/local/verifybamid2/* scripts/01b-fastp-qc.sh scripts/07-pharmacogenomics.sh scripts/08-hla-typing.sh scripts/10-telomere-hunter.sh scripts/11-roh-analysis.sh scripts/12-mito-haplogroup.sh scripts/16-indexcov.sh scripts/16b-mosdepth.sh scripts/20-mtoolbox.sh scripts/24-html-report.sh scripts/27-cpic-lookup.sh scripts/32-pypgx.sh scripts/33-sample-qc.sh scripts/36-pgx-consensus.sh scripts/38-family.sh scripts/ci/check-images.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh qc-3-cram assets/callability_genes.tsv bin/collect_summary.py modules/local/cram_archive/* modules/local/mosdepth/* modules/local/vcf_precheck/* scripts/16b-mosdepth.sh scripts/34-cram-archive.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh reference-noalt scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh -report-followups-1-sections assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/genotype_rules.tsv assets/mito_confirmed.tsv assets/par_grch38.bed assets/str_extra_loci.json assets/stub/db/catalog.json assets/stub/sample.vcf.gz assets/sv_rule_regions.tsv assets/traits.tsv bin/cnvpytor_to_vcf.py bin/collect_summary.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py modules/local/annotsv/* modules/local/expansion_hunter/* modules/local/export_consumer/* modules/local/html_report/* modules/local/manta/* modules/local/traits/* modules/local/vcf_precheck/* scripts/04-manta.sh scripts/05-annotsv.sh scripts/09-expansion-hunter.sh scripts/15-duphold.sh scripts/18-cnvpytor.sh scripts/19-delly.sh scripts/24-html-report.sh scripts/40-export-consumer.sh scripts/42-traits.sh scripts/ci/fake-docker/lib.sh scripts/generate-report.sh scripts/validate-setup.sh tests/fixtures/consumer_export/sites.tsv.gz +report-followups-1-sections assets/acmg_sf.tsv assets/callability_genes.tsv assets/carrier_genes.tsv assets/genotype_rules.tsv assets/mito_confirmed.tsv assets/par_grch38.bed assets/str_extra_loci.json assets/stub/db/catalog.json assets/stub/sample.vcf.gz assets/sv_rule_regions.tsv assets/traits.tsv bin/collect_summary.py bin/family_report.py bin/og bin/render_report.py bin/results_index.py modules/local/annotsv/* modules/local/expansion_hunter/* modules/local/export_consumer/* modules/local/html_report/* modules/local/manta/* modules/local/traits/* modules/local/vcf_precheck/* scripts/04-manta.sh scripts/05-annotsv.sh scripts/09-expansion-hunter.sh scripts/15-duphold.sh scripts/18-cnvpytor.sh scripts/19-delly.sh scripts/24-html-report.sh scripts/40-export-consumer.sh scripts/42-traits.sh scripts/ci/fake-docker/lib.sh scripts/generate-report.sh scripts/validate-setup.sh tests/fixtures/consumer_export/sites.tsv.gz report-sections-mito-roh-telomere-cnv-1-mito assets/callability_genes.tsv bin/collect_summary.py scripts/10-telomere-hunter.sh scripts/16b-mosdepth.sh scripts/20-mtoolbox.sh scripts/ci/fake-docker/lib.sh scripts/generate-report.sh scripts/validate-setup.sh reports-and-pgx-correctness-clinical assets/construct_variants.tsv bin/og scripts/23-clinical-filter.sh scripts/31-slivar.sh scripts/ci/fake-docker/lib.sh reports-and-pgx-correctness-pgx assets/pgx_contraindications.tsv assets/pgx_genes.tsv assets/pgx_inhibitors.tsv bin/cn_loci.tsv bin/collect_summary.py bin/og scripts/27-cpic-lookup.sh scripts/32-pypgx.sh scripts/36-pgx-consensus.sh scripts/ci/fake-docker/lib.sh scripts/validate-setup.sh diff --git a/tests/demo/make_demo_sample.py b/tests/demo/make_demo_sample.py index c6efbb918..275d016ef 100755 --- a/tests/demo/make_demo_sample.py +++ b/tests/demo/make_demo_sample.py @@ -26,7 +26,7 @@ the pipeline's Linux containers); - step 33's mosaic rows come from og qc sex-loss, step 26b's table and painting from og ancestry-fine report, step 35b's table from - og paraphase table, step 39's from bin/couple_report.py and step 42's + og paraphase table, step 39's from og couple screen and step 42's from og traits table, each fed made-up inputs; step 46's table and step 35's HBA1/HBA2 table are what og cn call writes for made-up depths (HBA_TABLE and LPA_TABLE; tests/test_hba_copy_number.py and @@ -961,23 +961,37 @@ def region(total, rsi, **kw): def couple(d, rng): """Step 39 with an invented partner, DEMO-002: each carries one change in a different recessive gene of the carrier list, so no gene is shared and the - card names none. Rows by bin/couple_report.py's own screen_couple. Only - DEMO-001 carries the table: the family page reads one copy of it.""" + card names none. Rows by og couple screen, fed a made-up ClinVar screen of + each partner. Only DEMO-001 carries the table: the family page reads one + copy of it.""" if SAMPLE != "DEMO-001": return - import couple_report - genes = couple_report.read_genes(os.path.join(REPO, "assets", "carrier_genes.tsv")) + genes_tsv = os.path.join(REPO, "assets", "carrier_genes.tsv") + with open(genes_tsv) as f: + lines = [x.rstrip("\n").split("\t") for x in f if x.strip() and not x.startswith("#")] + genes = {c[0]: dict(zip(lines[0], c)) for c in lines[1:]} ar = sorted(g for g, v in genes.items() if v["inheritance"] == "AR" and "ACMG" in v["lists"]) - found = {} - for who, gene in zip((SAMPLE, "DEMO-002"), rng.sample(ar, 2)): - g = genes[gene] - pos = rng.randint(int(g["start"]), int(g["end"])) - ref, alt = rng.sample("ACGT", 2) - text = f"{g['chrom']}:{pos} {ref}>{alt} het, Pathogenic, 2 stars" - found[who] = [couple_report.finding(gene, text, 1)] - rows = couple_report.screen_couple(SAMPLE, "DEMO-002", {SAMPLE: SEX, "DEMO-002": "female"}, found, genes) - os.makedirs(os.path.join(d, "couple"), exist_ok=True) - couple_report.write_table(os.path.join(d, "couple", f"{SAMPLE}_couple_carrier.tsv"), rows) + with tempfile.TemporaryDirectory() as work: + args = [] + for who, gene in zip((SAMPLE, "DEMO-002"), rng.sample(ar, 2)): + g = genes[gene] + pos = rng.randint(int(g["start"]), int(g["end"])) + ref, alt = rng.sample("ACGT", 2) + put(os.path.join(work, f"{who}.vcf"), + "##fileformat=VCFv4.2\n#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\tFORMAT\tS\n" + f"{g['chrom']}\t{pos}\t.\t{ref}\t{alt}\t.\tPASS\tGENEINFO={gene}:1;CLNSIG=Pathogenic;" + "CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts\tGT\t0/1\n") + args += ["--clinvar", f"{who}={os.path.join(work, who + '.vcf')}"] + put(os.path.join(work, "pedigree.tsv"), "sample\tsex\tfather\tmother\tpartner\n" + f"{SAMPLE}\t{SEX}\t.\t.\tDEMO-002\nDEMO-002\tfemale\t.\t.\t{SAMPLE}\n") + r = subprocess.run([og_binary(), "couple", "screen", "--pedigree", os.path.join(work, "pedigree.tsv"), + "--genes", genes_tsv, "--par-bed", os.path.join(REPO, "assets", "par_grch38.bed"), + *args, "--out-dir", work], stdout=subprocess.DEVNULL) + if r.returncode != 0: + raise SystemExit(f"og couple screen failed (exit {r.returncode})") + os.makedirs(os.path.join(d, "couple"), exist_ok=True) + shutil.copyfile(os.path.join(work, f"{SAMPLE}_couple_carrier.tsv"), + os.path.join(d, "couple", f"{SAMPLE}_couple_carrier.tsv")) def consumer_export(d): diff --git a/tests/e2e/paralog-rows-1.sh b/tests/e2e/paralog-rows-1.sh index 0646a968a..d60c6b550 100755 --- a/tests/e2e/paralog-rows-1.sh +++ b/tests/e2e/paralog-rows-1.sh @@ -13,7 +13,7 @@ # table; control: without the HBA table the HBA line is gone; # 4. the pinned Paraphase image embeds data/38/config.yaml of its 4.1.0 # tag byte for byte, and its top-level regions number what -# docs/35-paralogs.md and tests/test_paraphase_report.py state. +# docs/35-paralogs.md and rust/crates/og-steps/tests/paraphase_report.rs state. # The stand-ins of paralog-catalog-1-gba apply (an N-filled chr11 in a copy of # the reference, background depth from 100 bp windows on the chr20 slice). A # model with a region on a chromosome the fixture lacks is not assessed. The @@ -208,7 +208,7 @@ check "the pinned image's paraphase embeds that config byte for byte" embedded " printf 'smn1:\n genes: X\n' > "${CASE_TMP}/other.yaml" check "control: another config is not found in the binary" sh -c "! python3 -c \"import sys; sys.exit(0 if open(sys.argv[2], 'rb').read() in open(sys.argv[1], 'rb').read() else 1)\" '$BIN' '${CASE_TMP}/other.yaml'" N=$(python3 -c "import re, sys; print(len(re.findall(r'^[A-Za-z0-9_]+:[ \t]*$', open(sys.argv[1]).read(), re.M)))" "$CFG") -check_eq "regions in the pinned config" "$N" "$(sed -n 's/^PARAPHASE_REGIONS = \([0-9]*\)$/\1/p' "${REPO}/tests/test_paraphase_report.py")" +check_eq "regions in the pinned config" "$N" "$(sed -n 's/^const PARAPHASE_REGIONS: usize = \([0-9]*\);$/\1/p' "${REPO}/rust/crates/og-steps/tests/paraphase_report.rs")" check "docs/35-paralogs.md states that count" grep -q "It covers ${N} GRCh38 regions" "${REPO}/docs/35-paralogs.md" rm -f "$BIN" "$REF" "${REF}.fai" diff --git a/tests/fake-docker/run-all-families.sh b/tests/fake-docker/run-all-families.sh index dcb4e2fe5..15726b1d4 100755 --- a/tests/fake-docker/run-all-families.sh +++ b/tests/fake-docker/run-all-families.sh @@ -15,7 +15,7 @@ # nextflow starts; # 4. the real 39-couple.sh given the families file writes family_b's own # rows to GENOME_DIR/family_b/pedigree.tsv and hands that file, not the -# two-family one, to bin/couple_report.py. +# two-family one, to og couple screen. # run-all.sh runs from a copy of the repository whose 38-family.sh and # 39-couple.sh only log their arguments; og family runs for real (bin/og, the # host build), through a hook on the fake docker. @@ -131,11 +131,11 @@ run_expect 0 couple "${REPO_ROOT}/scripts/39-couple.sh" family_b "$FAMS" [ "$(cut -f1 "${G}/family_b/pedigree.tsv" 2>/dev/null | tr '\n' ' ')" = "sample partner_x partner_y " ] \ || fail "family_b/pedigree.tsv is not family_b's rows: $(cat "${G}/family_b/pedigree.tsv" 2>/dev/null)" cmp -s "$FAMS" "${G}/family_b/families.tsv" || fail "the families file was not kept beside it as families.tsv" -docker_log_has '/pgp-bin/couple_report\.py screen --pedigree /genome/family_b/pedigree\.tsv ' \ - "couple_report.py was not given family_b's own pedigree" +docker_log_has '/pgp-bin/og couple screen --pedigree /genome/family_b/pedigree\.tsv ' \ + "og couple screen was not given family_b's own pedigree" docker_log_has '--clinvar partner_y=/genome/partner_y/clinvar/partner_y_clinvar_hits\.vcf' \ "step 39 did not hand partner_y's ClinVar hits over" -if grep 'couple_report' "$FAKE_DOCKER_LOG" | grep -q child_a; then fail "step 39 handed family_a's child_a over"; fi +if grep 'og couple screen' "$FAKE_DOCKER_LOG" | grep -q child_a; then fail "step 39 handed family_a's child_a over"; fi run_expect 2 nofam "${REPO_ROOT}/scripts/39-couple.sh" family_c "$FAMS" output_has nofam "has no family 'family_c'; its families are: family_a, family_b" echo "FAMILIES: the family steps waited for the second member, then ran on family_b's own rows." diff --git a/tests/parity/cases.tsv b/tests/parity/cases.tsv index 7fbfa6087..e8aeccb38 100644 --- a/tests/parity/cases.tsv +++ b/tests/parity/cases.tsv @@ -1126,3 +1126,40 @@ traits check gen:traits.sh check --table traits.tsv --rules rules.tsv - bytes PY traits bad-table gen:traits.sh check --table bad-table.tsv --rules rules.tsv - bytes PYTHON_IMAGE traits bad-rules gen:traits.sh check --table traits.tsv --rules bad-rules.tsv - bytes PYTHON_IMAGE traits shared-vocabulary gen:traits.sh table --table traits.tsv --rules shared-rules.tsv --genotypes shared.tsv --sample S --out traits-out.tsv --rules-out rules-out.tsv traits-out.tsv,rules-out.tsv tsv PYTHON_IMAGE +couple-screen shared-delly gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/exons.bed,couple-screen/A.vcf,couple-screen/B.vcf,couple-screen/A_sv.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --par-bed par.bed --clinvar A=A.vcf --clinvar B=B.vcf --delly A=A_sv.vcf --exons exons.bed --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen no-exons gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A.vcf,couple-screen/B.vcf,couple-screen/A_sv.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --par-bed par.bed --clinvar A=A.vcf --clinvar B=B.vcf --delly A=A_sv.vcf --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen hom-two gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A_hom.vcf,couple-screen/B_two.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar A=A_hom.vcf --clinvar B=B_two.vcf --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen x-linked-repeats gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A_eh.vcf,couple-screen/B_eh.vcf,couple-screen/B_dmd.vcf,couple-screen/A_none.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --par-bed par.bed --clinvar A=A_none.vcf --clinvar B=B_dmd.vcf --eh A=A_eh.vcf --eh B=B_eh.vcf --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen x-linked-female-hom gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A_full.vcf,couple-screen/B_eh_full.vcf,couple-screen/A_none.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --par-bed par.bed --clinvar A=A_full.vcf --clinvar B=A_none.vcf --eh B=B_eh_full.vcf --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen smn-shared gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A_none.vcf,couple-screen/A_smn.tsv,couple-screen/B_smn.tsv --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar A=A_none.vcf --clinvar B=A_none.vcf --smn A=A_smn.tsv --smn B=B_smn.tsv --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen smn-unresolved gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A_none.vcf,couple-screen/U_smn.tsv,couple-screen/B_smn.tsv --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar A=A_none.vcf --clinvar B=A_none.vcf --smn A=U_smn.tsv --smn B=B_smn.tsv --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen smn-not-assessed gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A_none.vcf,couple-screen/N_smn.tsv,couple-screen/Z_smn.tsv --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar A=A_none.vcf --clinvar B=A_none.vcf --smn A=N_smn.tsv --smn B=Z_smn.tsv --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen cyp21a2-not-assessed gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A_none.vcf,couple-screen/A_cyp.tsv,couple-screen/B_cyp.tsv --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar A=A_none.vcf --clinvar B=A_none.vcf --cyp21a2 A=A_cyp.tsv --cyp21a2 B=B_cyp.tsv --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen cyp21a2-called gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A_none.vcf,couple-screen/D_cyp.tsv,couple-screen/C_cyp.tsv --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar A=A_none.vcf --clinvar B=A_none.vcf --cyp21a2 A=D_cyp.tsv --cyp21a2 B=C_cyp.tsv --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen cyp21a2-bad-finding gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A_none.vcf,couple-screen/X_cyp.tsv --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar A=A_none.vcf --clinvar B=A_none.vcf --cyp21a2 A=X_cyp.tsv --out-dir out - bytes PYTHON_IMAGE +couple-screen delly-depth gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A_none.vcf,couple-screen/depth_exons.bed,couple-screen/A_depth.vcf,couple-screen/B_depth.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --par-bed par.bed --clinvar A=A_none.vcf --clinvar B=A_none.vcf --delly A=A_depth.vcf --delly B=B_depth.vcf --exons depth_exons.bed --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen benign-common gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A_none.vcf,couple-screen/common_exons.bed,couple-screen/A_len.vcf,couple-screen/benign_loss.bed --pedigree pedigree.tsv --genes carrier_genes.tsv --par-bed par.bed --clinvar A=A_none.vcf --clinvar B=A_none.vcf --delly A=A_len.vcf --exons common_exons.bed --benign-sv benign_loss.bed --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen benign-none gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A_none.vcf,couple-screen/common_exons.bed,couple-screen/A_len.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --par-bed par.bed --clinvar A=A_none.vcf --clinvar B=A_none.vcf --delly A=A_len.vcf --exons common_exons.bed --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen benign-rare-only gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A_none.vcf,couple-screen/common_exons.bed,couple-screen/A_len.vcf,couple-screen/benign_rare.bed --pedigree pedigree.tsv --genes carrier_genes.tsv --par-bed par.bed --clinvar A=A_none.vcf --clinvar B=A_none.vcf --delly A=A_len.vcf --exons common_exons.bed --benign-sv benign_rare.bed --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen benign-missing gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A_none.vcf,couple-screen/common_exons.bed,couple-screen/A_len.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --par-bed par.bed --clinvar A=A_none.vcf --clinvar B=A_none.vcf --delly A=A_len.vcf --exons common_exons.bed --benign-sv no_such.bed --out-dir out - bytes PYTHON_IMAGE +couple-screen red-empty-list gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A.vcf,couple-screen/B.vcf,couple-screen/empty_genes.tsv --pedigree pedigree.tsv --genes empty_genes.tsv --clinvar A=A.vcf --clinvar B=B.vcf --out-dir out - bytes PYTHON_IMAGE +couple-screen red-no-partners gen:couple-oracle.sh,couple-screen/lone.tsv,couple-screen/A.vcf --pedigree lone.tsv --genes carrier_genes.tsv --clinvar A=A.vcf --out-dir out - bytes PYTHON_IMAGE +couple-screen red-half gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar A=A.vcf --out-dir out - bytes PYTHON_IMAGE +couple-screen red-outside gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar C=A.vcf --out-dir out - bytes PYTHON_IMAGE +couple-screen red-twice gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar A=A.vcf --clinvar A=A.vcf --out-dir out - bytes PYTHON_IMAGE +couple-screen red-no-file gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar A=A.vcf --clinvar B=nothere.vcf --out-dir out - bytes PYTHON_IMAGE +couple-screen cn-intervals gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A.vcf,couple-screen/B.vcf,couple-screen/A_cn_intervals.tsv,couple-screen/B_cn_intervals.tsv,couple-screen/A_cnvs.vcf,couple-screen/B_cnvs.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar A=A.vcf --clinvar B=B.vcf --cn-intervals A=A_cn_intervals.tsv --cn-intervals B=B_cn_intervals.tsv --cnvpytor A=A_cnvs.vcf --cnvpytor B=B_cnvs.vcf --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen cn-intervals-one-side gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A.vcf,couple-screen/B.vcf,couple-screen/A_cn_intervals.tsv --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar A=A.vcf --clinvar B=B.vcf --cn-intervals A=A_cn_intervals.tsv --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen cn-shared gen:couple-oracle.sh,couple-screen/ped2.tsv,couple-screen/C.vcf,couple-screen/D.vcf,couple-screen/C_cn_intervals.tsv,couple-screen/D_cn_intervals.tsv --pedigree ped2.tsv --genes carrier_genes.tsv --clinvar C=C.vcf --clinvar D=D.vcf --cn-intervals C=C_cn_intervals.tsv --cn-intervals D=D_cn_intervals.tsv --out-dir out out/couple_C_D.tsv,out/couple_C_D.md,out/C_couple_carrier.tsv,out/D_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen cn-shared-dfnb1 gen:couple-oracle.sh,couple-screen/ped2.tsv,couple-screen/C.vcf,couple-screen/G.vcf,couple-screen/G_cn_intervals.tsv --pedigree ped2.tsv --genes carrier_genes.tsv --clinvar C=C.vcf --clinvar D=G.vcf --cn-intervals C=G_cn_intervals.tsv --out-dir out out/couple_C_D.tsv,out/couple_C_D.md,out/C_couple_carrier.tsv,out/D_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen cn-intervals-bad gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A.vcf,couple-screen/B.vcf,couple-screen/bad_cn_intervals.tsv --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar A=A.vcf --clinvar B=B.vcf --cn-intervals A=bad_cn_intervals.tsv --out-dir out - bytes PYTHON_IMAGE +couple-screen half-call gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/half.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar A=half.vcf --clinvar B=half.vcf --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen severity-alleles gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A_hypo.vcf,couple-screen/B_hypo.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar A=A_hypo.vcf --clinvar B=B_hypo.vcf --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen hypomorph-beside-null gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A_hypo.vcf,couple-screen/C_hypo.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --clinvar A=A_hypo.vcf --clinvar B=C_hypo.vcf --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen declared-sex-two-couples gen:couple-oracle.sh,couple-screen/ped3.tsv,couple-screen/B_dmd.vcf,couple-screen/A.vcf,couple-screen/B.vcf --pedigree ped3.tsv --genes carrier_genes.tsv --par-bed par.bed --declared-sex A=F --declared-sex B=1 --declared-sex E=unknown --clinvar A=B_dmd.vcf --clinvar B=A.vcf --clinvar E=B.vcf --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen declared-sex-clash gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/A.vcf,couple-screen/B.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --declared-sex A=male --clinvar A=A.vcf --clinvar B=B.vcf --out-dir out - bytes PYTHON_IMAGE +couple-screen all-or-nothing gen:couple-oracle.sh,couple-screen/ped4.tsv,couple-screen/A.vcf,couple-screen/B.vcf,couple-screen/C.vcf,couple-screen/D.vcf,couple-screen/X_cyp.tsv --pedigree ped4.tsv --genes carrier_genes.tsv --clinvar A=A.vcf --clinvar B=B.vcf --clinvar C=C.vcf --clinvar D=D.vcf --cyp21a2 C=X_cyp.tsv --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-screen par-and-haploid gen:couple-oracle.sh,couple-screen/pedigree.tsv,couple-screen/shox.vcf --pedigree pedigree.tsv --genes carrier_genes.tsv --par-bed par.bed --clinvar A=shox.vcf --clinvar B=shox.vcf --out-dir out out/couple_A_B.tsv,out/couple_A_B.md,out/A_couple_carrier.tsv,out/B_couple_carrier.tsv bytes PYTHON_IMAGE +couple-genes rebuild gen:couple-oracle.sh,couple-screen/g.gtf,couple-screen/p9.xml,couple-screen/p6.xml,couple-screen/seed.tsv --table seed.tsv --orphanet-genes p6.xml --orphanet-inheritance p9.xml --gtf g.gtf --par-bed par.bed --out new.tsv new.tsv bytes PYTHON_IMAGE +couple-genes panel-gene-missing gen:couple-oracle.sh,couple-screen/g.gtf,couple-screen/p9.xml,couple-screen/p6.xml,couple-screen/bad_seed.tsv --table bad_seed.tsv --orphanet-genes p6.xml --orphanet-inheritance p9.xml --gtf g.gtf --par-bed par.bed --out new.tsv - bytes PYTHON_IMAGE +couple-genes bad-header gen:couple-oracle.sh,couple-screen/g.gtf,couple-screen/p9.xml,couple-screen/p6.xml,couple-screen/bad_header.tsv --table bad_header.tsv --orphanet-genes p6.xml --orphanet-inheritance p9.xml --gtf g.gtf --par-bed par.bed --out new.tsv - bytes PYTHON_IMAGE diff --git a/tests/parity/gen/couple-oracle.sh b/tests/parity/gen/couple-oracle.sh new file mode 100755 index 000000000..e29f61917 --- /dev/null +++ b/tests/parity/gen/couple-oracle.sh @@ -0,0 +1,29 @@ +#!/usr/bin/env bash +# The oracle of og couple screen and og couple genes: bin/couple_report.py +# imports bin/collect_summary.py, bin/family_report.py, bin/paraphase_report.py +# and bin/cnvpytor_to_vcf.py, and oracle-diff.sh materialises one file per +# tool. This stages the four modules, the carrier list and the PAR file, at the +# commit tests/parity/oracle.ref names for couple-screen, and oracle.sh, which +# puts the program beside the modules under its own name and runs it. +set -euo pipefail +ROOT=$(cd "$(dirname "$0")/../../.." && pwd) +sha=$(awk -F'\t' '$1 == "couple-screen" { print $2 }' "${ROOT}/tests/parity/oracle.ref") +[ -n "$sha" ] || { echo "couple-oracle.sh: no couple-screen row in oracle.ref" >&2; exit 1; } +git -C "$ROOT" cat-file -e "${sha}^{commit}" 2> /dev/null || git -C "$ROOT" fetch -q --depth=1 origin "$sha" +for m in collect_summary family_report paraphase_report cnvpytor_to_vcf; do + git -C "$ROOT" show "${sha}:bin/${m}.py" > "${m}.py" +done +git -C "$ROOT" show "${sha}:assets/carrier_genes.tsv" > carrier_genes.tsv +git -C "$ROOT" show "${sha}:assets/par_grch38.bed" > par.bed +cat > oracle.sh <<'SH' +# sh ./oracle.sh PROG ARGS: PROG is couple_report.py; the modules are staged here. +prog=$1 +shift +d=$(mktemp -d) +cp ./collect_summary.py ./family_report.py ./paraphase_report.py ./cnvpytor_to_vcf.py "$d"/ +cp "$prog" "${d}/couple_report.py" +rc=0 +PYTHONDONTWRITEBYTECODE=1 python3 "${d}/couple_report.py" "$@" || rc=$? +rm -rf "$d" +exit "$rc" +SH diff --git a/tests/parity/golden/couple-genes/rebuild/new.tsv b/tests/parity/golden/couple-genes/rebuild/new.tsv new file mode 100644 index 000000000..ebb3eb3f2 --- /dev/null +++ b/tests/parity/golden/couple-genes/rebuild/new.tsv @@ -0,0 +1,27 @@ +# carrier_genes.tsv: the genes of the couple carrier screen (step 39, og couple screen). +# One row per gene. chrom, start and end: the gene's GRCh38 span (1-based, inclusive) from the +# gene lines of GENCODE release 99 (basic annotation). inheritance: AR (autosomal, or in a +# pseudoautosomal region) or XL (chrX outside the PARs). lists: where the gene comes from: +# ACMG Gregg et al., Genet Med 2021;23(10):1793-1806 (doi:10.1038/s41436-021-01203-z), +# tier 3: the 97 autosomal recessive genes of its tables 1 to 5 and the 16 X-linked +# genes of table 6; condition names from those tables +# ACOG the conditions of ACOG Committee Opinions 690 and 691 (2017): cystic fibrosis, spinal +# muscular atrophy, the hemoglobinopathies, fragile X and the Ashkenazi Jewish panel +# Orphanet every other gene of an Orphanet disorder with autosomal recessive or X-linked +# inheritance (Orphadata en_product6 and en_product9_ages of 2026-01-02, CC BY 4.0, +# https://www.orphadata.com), with a disease-causing germline association that +# Orphanet assessed; condition: the first such disorder by name +# severity: alleles of the gene that are not a full loss of function, separated by ";": each is +# hypomorph or pseudodeficiency, then chrom:pos:ref:alt (GRCh38), then a name; "." for none. Such +# an allele never makes a carrier finding on its own (the couple screen, step 39, and the +# carrier list of the sample report). With a called deletion of the gene it is a second hit (the +# two-hit lines of the sample report, og summary collect). In the couple screen a +# hypomorph beside a full loss of function in the other partner's same gene is a shared gene. +# Rebuilt with: og couple genes (docs/39-couple.md says how). +gene chrom start end inheritance lists condition severity +TWO1 chr1 70 80 AR Orphanet Two places . +AAA1 chr3 10 20 AR Orphanet Recessive & two; and 1 other pseudodeficiency chr3:15:C:T p.Y +C9orf72 chr9 1 2 AR Orphanet Upper case orf . +NAGA chr22 100 900 AR ACMG Schindler disease hypomorph chr22:500:A:G p.X +PARG1 chrX 20000 30000 AR Orphanet Pseudo . +XXL1 chrX 5000000 5000100 XL Orphanet X dominant; and 1 other . diff --git a/tests/parity/golden/couple-screen/all-or-nothing/out/A_couple_carrier.tsv.absent b/tests/parity/golden/couple-screen/all-or-nothing/out/A_couple_carrier.tsv.absent new file mode 100644 index 000000000..e69de29bb diff --git a/tests/parity/golden/couple-screen/all-or-nothing/out/B_couple_carrier.tsv.absent b/tests/parity/golden/couple-screen/all-or-nothing/out/B_couple_carrier.tsv.absent new file mode 100644 index 000000000..e69de29bb diff --git a/tests/parity/golden/couple-screen/all-or-nothing/out/couple_A_B.md.absent b/tests/parity/golden/couple-screen/all-or-nothing/out/couple_A_B.md.absent new file mode 100644 index 000000000..e69de29bb diff --git a/tests/parity/golden/couple-screen/all-or-nothing/out/couple_A_B.tsv.absent b/tests/parity/golden/couple-screen/all-or-nothing/out/couple_A_B.tsv.absent new file mode 100644 index 000000000..e69de29bb diff --git a/tests/parity/golden/couple-screen/all-or-nothing/stdout b/tests/parity/golden/couple-screen/all-or-nothing/stdout new file mode 100644 index 000000000..e69de29bb diff --git a/tests/parity/inputs/couple-screen/A.vcf b/tests/parity/inputs/couple-screen/A.vcf new file mode 100644 index 000000000..8212e9fd2 --- /dev/null +++ b/tests/parity/inputs/couple-screen/A.vcf @@ -0,0 +1,4 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chr22 42051896 90000 A G . PASS GENEINFO=NAGA:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 +chr19 44908684 90000 A G . PASS GENEINFO=APOE:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 diff --git a/tests/parity/inputs/couple-screen/A_cn_intervals.tsv b/tests/parity/inputs/couple-screen/A_cn_intervals.tsv new file mode 100644 index 000000000..485533e39 --- /dev/null +++ b/tests/parity/inputs/couple-screen/A_cn_intervals.tsv @@ -0,0 +1,7 @@ +locus name chrom start end status copies expected change estimate reason +GJB6_D13S1830 GJB6_D13S1830 name chr13 20223037 20531806 called 1 2 deletion . . +CFTR_dele2_3 CFTR_dele2_3 name chr7 117498312 117519392 called 2 2 no change . . +HBB_exon3_del HBB_exon3_del name chr11 5225254 5225875 not assessed . 2 . . between_counts +HBB_619bp_del HBB_619bp_del name chr11 5225388 5226007 called 2 2 no change . . +HBD_HBB_Sicilian_del HBD_HBB_Sicilian_del name chr11 5219877 5233280 called 2 2 no change . . +AZFa AZFa name chrY 12537649 12920478 not applicable . . . . no_y diff --git a/tests/parity/inputs/couple-screen/A_cnvs.vcf b/tests/parity/inputs/couple-screen/A_cnvs.vcf new file mode 100644 index 000000000..68d81478d --- /dev/null +++ b/tests/parity/inputs/couple-screen/A_cnvs.vcf @@ -0,0 +1,2 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO diff --git a/tests/parity/inputs/couple-screen/A_cyp.tsv b/tests/parity/inputs/couple-screen/A_cyp.tsv new file mode 100644 index 000000000..86753a216 --- /dev/null +++ b/tests/parity/inputs/couple-screen/A_cyp.tsv @@ -0,0 +1,6 @@ +metric value +status not assessed +cyp21a2_copies . +finding . +reason low_mapq0_share +message not assessed: the BAM has few or no multi-mapping reads here (reads of mapping quality 0 make up 0.0% of the depth over CYP21A2 and CYP21A1P, under 2%), the sign of an aligner that leaves out the reads that fit both copies diff --git a/tests/parity/inputs/couple-screen/A_depth.vcf b/tests/parity/inputs/couple-screen/A_depth.vcf new file mode 100644 index 000000000..1d902732b --- /dev/null +++ b/tests/parity/inputs/couple-screen/A_depth.vcf @@ -0,0 +1,6 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chr1 130238224 DEL1 N . PASS IMPRECISE;SVTYPE=DEL;END=180238224 GT:FT:RDCN 0/1:PASS:2 +chr12 77897649 DEL1 N . PASS IMPRECISE;SVTYPE=DEL;END=127897649 GT:FT:RDCN 0/1:PASS:1 +chr7 117501245 DEL1 N . PASS PRECISE;SVTYPE=DEL;END=117501845 GT:FT:RDCN 0/1:PASS:2 +chr11 5226429 DEL1 N . PASS IMPRECISE;SVTYPE=DEL;END=5228429 GT:FT:RDCN 0/1:PASS:. diff --git a/tests/parity/inputs/couple-screen/A_eh.vcf b/tests/parity/inputs/couple-screen/A_eh.vcf new file mode 100644 index 000000000..9b1c8ace4 --- /dev/null +++ b/tests/parity/inputs/couple-screen/A_eh.vcf @@ -0,0 +1,4 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT A +chrX 1 . C . PASS VARID=FMR1;REPID=FMR1 GT:REPCN 1/1:30/85 +chrX 1 . C . PASS VARID=FXN;REPID=FXN GT:REPCN 1/1:9/120 diff --git a/tests/parity/inputs/couple-screen/A_full.vcf b/tests/parity/inputs/couple-screen/A_full.vcf new file mode 100644 index 000000000..623598ac4 --- /dev/null +++ b/tests/parity/inputs/couple-screen/A_full.vcf @@ -0,0 +1,4 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chrX 38376115 90000 A G . PASS GENEINFO=OTC:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 1/1 +chrX 101400642 90000 A G . PASS GENEINFO=GLA:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 diff --git a/tests/parity/inputs/couple-screen/A_hom.vcf b/tests/parity/inputs/couple-screen/A_hom.vcf new file mode 100644 index 000000000..45a905049 --- /dev/null +++ b/tests/parity/inputs/couple-screen/A_hom.vcf @@ -0,0 +1,3 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chr22 42051896 90000 A G . PASS GENEINFO=NAGA:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 1/1 diff --git a/tests/parity/inputs/couple-screen/A_hypo.vcf b/tests/parity/inputs/couple-screen/A_hypo.vcf new file mode 100644 index 000000000..eef580a10 --- /dev/null +++ b/tests/parity/inputs/couple-screen/A_hypo.vcf @@ -0,0 +1,5 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chr15 72350584 . G A . PASS GENEINFO=HEXA:1;CLNSIG=Pathogenic;CLNREVSTAT=reviewed_by_expert_panel GT 0/1 +chr1 145927447 . C T . PASS GENEINFO=RBM8A:1;CLNSIG=Pathogenic;CLNREVSTAT=reviewed_by_expert_panel GT 0/1 +chr15 72358680 900011 A G . PASS GENEINFO=HEXA:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 diff --git a/tests/parity/inputs/couple-screen/A_len.vcf b/tests/parity/inputs/couple-screen/A_len.vcf new file mode 100644 index 000000000..319547885 --- /dev/null +++ b/tests/parity/inputs/couple-screen/A_len.vcf @@ -0,0 +1,11 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chr17 3487874 DEL1 N . PASS PRECISE;SVTYPE=DEL;END=3487904 GT:FT:RDCN 0/1:PASS:2 +chr15 72356169 DEL1 N . PASS IMPRECISE;SVTYPE=DEL;END=72361169 GT:FT:RDCN 0/1:PASS:1 +chr11 6390189 DEL1 N . PASS IMPRECISE;SVTYPE=DEL;END=6395189 GT:FT:RDCN 0/1:PASS:1 +chr19 7525810 DEL1 N . PASS IMPRECISE;SVTYPE=DEL;END=7530810 GT:FT:RDCN 0/1:PASS:1 +chr13 20187721 DEL1 N . PASS IMPRECISE;SVTYPE=DEL;END=20192721 GT:FT:RDCN 0/1:PASS:1 +chr11 6616083 DEL1 N . PASS PRECISE;SVTYPE=DEL;END=6616132 GT:FT:RDCN 0/1:PASS:2 +chr14 87915717 DEL1 N . PASS PRECISE;SVTYPE=DEL;END=87915767 GT:FT:RDCN 0/1:PASS:2 +chr18 23544076 DEL1 N . PASS IMPRECISE;SVTYPE=DEL;END=23549076 GT:FT:RDCN 0/1:PASS:1 +chr16 28482343 DEL1 N . PASS IMPRECISE;SVTYPE=DEL;END=28487343 GT:FT:RDCN 0/1:PASS:1 diff --git a/tests/parity/inputs/couple-screen/A_none.vcf b/tests/parity/inputs/couple-screen/A_none.vcf new file mode 100644 index 000000000..25cda745e --- /dev/null +++ b/tests/parity/inputs/couple-screen/A_none.vcf @@ -0,0 +1,2 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S diff --git a/tests/parity/inputs/couple-screen/A_smn.tsv b/tests/parity/inputs/couple-screen/A_smn.tsv new file mode 100644 index 000000000..b5e4d3622 --- /dev/null +++ b/tests/parity/inputs/couple-screen/A_smn.tsv @@ -0,0 +1,2 @@ +chrom start end locus agCN_filter agCN agCN_qual psCN_filter psCN psCN_qual homologous_regions +chr5 70951000 70953000 SMN1 PASS 3 40 PASS 1,2 45,40 chr5:70076000-70078000 diff --git a/tests/parity/inputs/couple-screen/A_sv.vcf b/tests/parity/inputs/couple-screen/A_sv.vcf new file mode 100644 index 000000000..1217670d2 --- /dev/null +++ b/tests/parity/inputs/couple-screen/A_sv.vcf @@ -0,0 +1,5 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chr6 32039309 DEL0 N . PASS SVTYPE=DEL;END=32041309 GT:FT 0/1:PASS +chr6 32097943 DEL0 N . PASS SVTYPE=DEL;END=32098543 GT:FT 0/1:PASS +chr6 32039309 DEL0 N . LowQual SVTYPE=DEL;END=32041309 GT:FT 0/1:PASS diff --git a/tests/parity/inputs/couple-screen/B.vcf b/tests/parity/inputs/couple-screen/B.vcf new file mode 100644 index 000000000..018adc0c4 --- /dev/null +++ b/tests/parity/inputs/couple-screen/B.vcf @@ -0,0 +1,6 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chr22 42051903 90007 A G . PASS GENEINFO=NAGA:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 +chr2 233766787 90000 A G . PASS GENEINFO=UGT1A1:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 +chr6 32040309 90000 A G . PASS GENEINFO=CYP21A2:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 +chr6 32098243 900018 A G . PASS GENEINFO=TNXB:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 diff --git a/tests/parity/inputs/couple-screen/B_cn_intervals.tsv b/tests/parity/inputs/couple-screen/B_cn_intervals.tsv new file mode 100644 index 000000000..ba17832ca --- /dev/null +++ b/tests/parity/inputs/couple-screen/B_cn_intervals.tsv @@ -0,0 +1,9 @@ +locus name chrom start end status copies expected change estimate reason +GJB6_D13S1830 GJB6_D13S1830 name chr13 20223037 20531806 called 2 2 no change . . +CFTR_dele2_3 CFTR_dele2_3 name chr7 117498312 117519392 called 2 2 no change . . +HBB_exon3_del HBB_exon3_del name chr11 5225254 5225875 called 1 2 deletion . . +HBB_619bp_del HBB_619bp_del name chr11 5225388 5226007 called 1 2 deletion . . +HBD_HBB_Sicilian_del HBD_HBB_Sicilian_del name chr11 5219877 5233280 called 1 2 deletion . . +AZFa AZFa name chrY 12537649 12920478 called 1 1 no change . . +AZFb AZFb name chrY 19702297 20593154 called 1 1 no change . . +AZFc_DAZ AZFc_DAZ name chrY 23129354 24907040 called 2 4 deletion . . diff --git a/tests/parity/inputs/couple-screen/B_cnvs.vcf b/tests/parity/inputs/couple-screen/B_cnvs.vcf new file mode 100644 index 000000000..6aa095574 --- /dev/null +++ b/tests/parity/inputs/couple-screen/B_cnvs.vcf @@ -0,0 +1,3 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO +chr7 117498001 CNV1 N . PASS SVTYPE=DEL;END=117520000 diff --git a/tests/parity/inputs/couple-screen/B_cyp.tsv b/tests/parity/inputs/couple-screen/B_cyp.tsv new file mode 100644 index 000000000..f0e544de1 --- /dev/null +++ b/tests/parity/inputs/couple-screen/B_cyp.tsv @@ -0,0 +1,5 @@ +metric value +status not assessed +cyp21a2_copies . +finding . +reason low_mapq0_share diff --git a/tests/parity/inputs/couple-screen/B_depth.vcf b/tests/parity/inputs/couple-screen/B_depth.vcf new file mode 100644 index 000000000..9b8e8aa15 --- /dev/null +++ b/tests/parity/inputs/couple-screen/B_depth.vcf @@ -0,0 +1,4 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chrX 31218643 DEL1 N . PASS IMPRECISE;SVTYPE=DEL;END=33218643 GT:FT:RDCN 1:PASS:1 +chrX 38373615 DEL1 N . PASS IMPRECISE;SVTYPE=DEL;END=38378615 GT:FT:RDCN 1:PASS:0 diff --git a/tests/parity/inputs/couple-screen/B_dmd.vcf b/tests/parity/inputs/couple-screen/B_dmd.vcf new file mode 100644 index 000000000..e19a40803 --- /dev/null +++ b/tests/parity/inputs/couple-screen/B_dmd.vcf @@ -0,0 +1,3 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chrX 32218643 90000 A G . PASS GENEINFO=DMD:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 1 diff --git a/tests/parity/inputs/couple-screen/B_eh.vcf b/tests/parity/inputs/couple-screen/B_eh.vcf new file mode 100644 index 000000000..916718200 --- /dev/null +++ b/tests/parity/inputs/couple-screen/B_eh.vcf @@ -0,0 +1,4 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chrX 1 . C . PASS VARID=FMR1;REPID=FMR1 GT:REPCN 1:29 +chrX 1 . C . PASS VARID=FXN;REPID=FXN GT:REPCN 1/1:12/700 diff --git a/tests/parity/inputs/couple-screen/B_eh_full.vcf b/tests/parity/inputs/couple-screen/B_eh_full.vcf new file mode 100644 index 000000000..b844b147b --- /dev/null +++ b/tests/parity/inputs/couple-screen/B_eh_full.vcf @@ -0,0 +1,3 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chrX 1 . C . PASS VARID=FMR1;REPID=FMR1 GT:REPCN 1:250 diff --git a/tests/parity/inputs/couple-screen/B_hypo.vcf b/tests/parity/inputs/couple-screen/B_hypo.vcf new file mode 100644 index 000000000..39f3aff4c --- /dev/null +++ b/tests/parity/inputs/couple-screen/B_hypo.vcf @@ -0,0 +1,4 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chr1 145927447 . C T . PASS GENEINFO=RBM8A:1;CLNSIG=Pathogenic;CLNREVSTAT=reviewed_by_expert_panel GT 0/1 +chr7 117501545 90000 A G . PASS GENEINFO=CFTR:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 diff --git a/tests/parity/inputs/couple-screen/B_smn.tsv b/tests/parity/inputs/couple-screen/B_smn.tsv new file mode 100644 index 000000000..b5e4d3622 --- /dev/null +++ b/tests/parity/inputs/couple-screen/B_smn.tsv @@ -0,0 +1,2 @@ +chrom start end locus agCN_filter agCN agCN_qual psCN_filter psCN psCN_qual homologous_regions +chr5 70951000 70953000 SMN1 PASS 3 40 PASS 1,2 45,40 chr5:70076000-70078000 diff --git a/tests/parity/inputs/couple-screen/B_two.vcf b/tests/parity/inputs/couple-screen/B_two.vcf new file mode 100644 index 000000000..bece1aff6 --- /dev/null +++ b/tests/parity/inputs/couple-screen/B_two.vcf @@ -0,0 +1,4 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chr22 42051903 90007 A G . PASS GENEINFO=NAGA:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 +chr22 42051905 90009 A G . PASS GENEINFO=NAGA:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 diff --git a/tests/parity/inputs/couple-screen/C.vcf b/tests/parity/inputs/couple-screen/C.vcf new file mode 100644 index 000000000..11d02737c --- /dev/null +++ b/tests/parity/inputs/couple-screen/C.vcf @@ -0,0 +1,3 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chr2 233766787 90000 A G . PASS GENEINFO=UGT1A1:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 diff --git a/tests/parity/inputs/couple-screen/C_cn_intervals.tsv b/tests/parity/inputs/couple-screen/C_cn_intervals.tsv new file mode 100644 index 000000000..8fecc5b5f --- /dev/null +++ b/tests/parity/inputs/couple-screen/C_cn_intervals.tsv @@ -0,0 +1,3 @@ +locus name chrom start end status copies expected change estimate reason +CFTR_dele2_3 CFTR_dele2_3 name chr7 117498312 117519392 called 1 2 deletion . . +HBB_exon3_del HBB_exon3_del name chr11 5225254 5225875 called 1 2 deletion . . diff --git a/tests/parity/inputs/couple-screen/C_cyp.tsv b/tests/parity/inputs/couple-screen/C_cyp.tsv new file mode 100644 index 000000000..612d4d3ff --- /dev/null +++ b/tests/parity/inputs/couple-screen/C_cyp.tsv @@ -0,0 +1,8 @@ +metric value +status called +cyp21a2_copies 0 +module_total 4 +expected_total 4 +finding conversion +conversion_sites PSV_P30L,PSV_I172N +reason . diff --git a/tests/parity/inputs/couple-screen/C_hypo.vcf b/tests/parity/inputs/couple-screen/C_hypo.vcf new file mode 100644 index 000000000..100b464ee --- /dev/null +++ b/tests/parity/inputs/couple-screen/C_hypo.vcf @@ -0,0 +1,3 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chr1 145924501 90000 A G . PASS GENEINFO=RBM8A:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 diff --git a/tests/parity/inputs/couple-screen/D.vcf b/tests/parity/inputs/couple-screen/D.vcf new file mode 100644 index 000000000..89de7b2f3 --- /dev/null +++ b/tests/parity/inputs/couple-screen/D.vcf @@ -0,0 +1,3 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chr11 5227429 90000 A G . PASS GENEINFO=HBB:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 diff --git a/tests/parity/inputs/couple-screen/D_cn_intervals.tsv b/tests/parity/inputs/couple-screen/D_cn_intervals.tsv new file mode 100644 index 000000000..b78232231 --- /dev/null +++ b/tests/parity/inputs/couple-screen/D_cn_intervals.tsv @@ -0,0 +1,2 @@ +locus name chrom start end status copies expected change estimate reason +CFTR_dele2_3 CFTR_dele2_3 name chr7 117498312 117519392 called 1 2 deletion . . diff --git a/tests/parity/inputs/couple-screen/D_cyp.tsv b/tests/parity/inputs/couple-screen/D_cyp.tsv new file mode 100644 index 000000000..3491d47bd --- /dev/null +++ b/tests/parity/inputs/couple-screen/D_cyp.tsv @@ -0,0 +1,7 @@ +metric value +status called +cyp21a2_copies 1 +module_total 3 +expected_total 4 +finding deletion +reason . diff --git a/tests/parity/inputs/couple-screen/G.vcf b/tests/parity/inputs/couple-screen/G.vcf new file mode 100644 index 000000000..bef6111d5 --- /dev/null +++ b/tests/parity/inputs/couple-screen/G.vcf @@ -0,0 +1,3 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chr13 20190221 90000 A G . PASS GENEINFO=GJB2:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 diff --git a/tests/parity/inputs/couple-screen/G_cn_intervals.tsv b/tests/parity/inputs/couple-screen/G_cn_intervals.tsv new file mode 100644 index 000000000..cf95021b8 --- /dev/null +++ b/tests/parity/inputs/couple-screen/G_cn_intervals.tsv @@ -0,0 +1,2 @@ +locus name chrom start end status copies expected change estimate reason +GJB6_D13S1830 GJB6_D13S1830 name chr13 20223037 20531806 called 1 2 deletion . . diff --git a/tests/parity/inputs/couple-screen/N_smn.tsv b/tests/parity/inputs/couple-screen/N_smn.tsv new file mode 100644 index 000000000..37f580ea2 --- /dev/null +++ b/tests/parity/inputs/couple-screen/N_smn.tsv @@ -0,0 +1,2 @@ +chrom start end locus agCN_filter agCN agCN_qual psCN_filter psCN psCN_qual homologous_regions +chr5 70951945 70951946 SMN1 not assessed: no read over chr5:70951946-70951946 . . not assessed: no read over chr5:70951946-70951946 . . . diff --git a/tests/parity/inputs/couple-screen/U_smn.tsv b/tests/parity/inputs/couple-screen/U_smn.tsv new file mode 100644 index 000000000..41dcd40d5 --- /dev/null +++ b/tests/parity/inputs/couple-screen/U_smn.tsv @@ -0,0 +1,2 @@ +chrom start end locus agCN_filter agCN agCN_qual psCN_filter psCN psCN_qual homologous_regions +chr5 70951000 70953000 SMN1 PASS 3 40 PASS 1,2 5,40 chr5:70076000-70078000 diff --git a/tests/parity/inputs/couple-screen/X_cyp.tsv b/tests/parity/inputs/couple-screen/X_cyp.tsv new file mode 100644 index 000000000..ebead9130 --- /dev/null +++ b/tests/parity/inputs/couple-screen/X_cyp.tsv @@ -0,0 +1,3 @@ +metric value +status called +finding weird diff --git a/tests/parity/inputs/couple-screen/Z_smn.tsv b/tests/parity/inputs/couple-screen/Z_smn.tsv new file mode 100644 index 000000000..2bb808511 --- /dev/null +++ b/tests/parity/inputs/couple-screen/Z_smn.tsv @@ -0,0 +1,2 @@ +chrom start end locus agCN_filter agCN agCN_qual psCN_filter psCN psCN_qual homologous_regions +chr5 70951000 70953000 SMN1 PASS 2 40 PASS 0,2 45,40 chr5:70076000-70078000 diff --git a/tests/parity/inputs/couple-screen/bad_cn_intervals.tsv b/tests/parity/inputs/couple-screen/bad_cn_intervals.tsv new file mode 100644 index 000000000..560de6caf --- /dev/null +++ b/tests/parity/inputs/couple-screen/bad_cn_intervals.tsv @@ -0,0 +1 @@ +locus name diff --git a/tests/parity/inputs/couple-screen/bad_header.tsv b/tests/parity/inputs/couple-screen/bad_header.tsv new file mode 100644 index 000000000..e6334388c --- /dev/null +++ b/tests/parity/inputs/couple-screen/bad_header.tsv @@ -0,0 +1 @@ +gene chrom diff --git a/tests/parity/inputs/couple-screen/bad_seed.tsv b/tests/parity/inputs/couple-screen/bad_seed.tsv new file mode 100644 index 000000000..e7af71e86 --- /dev/null +++ b/tests/parity/inputs/couple-screen/bad_seed.tsv @@ -0,0 +1,3 @@ +gene chrom start end inheritance lists condition +NOSUCH . 0 0 AR ACMG x +NAGA . 0 0 AR ACOG x diff --git a/tests/parity/inputs/couple-screen/benign_loss.bed b/tests/parity/inputs/couple-screen/benign_loss.bed new file mode 100644 index 000000000..8e445b86c --- /dev/null +++ b/tests/parity/inputs/couple-screen/benign_loss.bed @@ -0,0 +1,5 @@ +13 20187721 20192721 gnomAD-SV_fixture 13:20187721-20192721 0.0040 +15 72356269 72361369 gnomAD-SV_fixture 15:72356269-72361369 0.3100 +16 28482343 28492343 gnomAD-SV_fixture 16:28482343-28492343 0.2000 +18 23544076 23549076 gnomAD-SV_fixture 18:23544076-23549076 0.0100 +19 7518310 7538310 gnomAD-SV_fixture 19:7518310-7538310 0.2000 diff --git a/tests/parity/inputs/couple-screen/benign_rare.bed b/tests/parity/inputs/couple-screen/benign_rare.bed new file mode 100644 index 000000000..d1206f2cc --- /dev/null +++ b/tests/parity/inputs/couple-screen/benign_rare.bed @@ -0,0 +1 @@ +1 100 200 x 1:100-200 0.0001 diff --git a/tests/parity/inputs/couple-screen/common_exons.bed b/tests/parity/inputs/couple-screen/common_exons.bed new file mode 100644 index 000000000..ce3a45f38 --- /dev/null +++ b/tests/parity/inputs/couple-screen/common_exons.bed @@ -0,0 +1,9 @@ +chr11 6392639 6392739 +chr11 6616058 6616158 +chr13 20190171 20190271 +chr14 87915692 87915792 +chr15 72358619 72358719 +chr16 28484793 28484893 +chr17 3487839 3487939 +chr18 23546526 23546626 +chr19 7528260 7528360 diff --git a/tests/parity/inputs/couple-screen/depth_exons.bed b/tests/parity/inputs/couple-screen/depth_exons.bed new file mode 100644 index 000000000..d0b40f071 --- /dev/null +++ b/tests/parity/inputs/couple-screen/depth_exons.bed @@ -0,0 +1,6 @@ +chr1 155238174 155238274 +chr11 5227379 5227479 +chr12 102897599 102897699 +chr7 117501495 117501595 +chrX 32218593 32218693 +chrX 38376065 38376165 diff --git a/tests/parity/inputs/couple-screen/empty_genes.tsv b/tests/parity/inputs/couple-screen/empty_genes.tsv new file mode 100644 index 000000000..f0aa5c6d7 --- /dev/null +++ b/tests/parity/inputs/couple-screen/empty_genes.tsv @@ -0,0 +1,2 @@ +# emptied +gene chrom start end inheritance lists condition diff --git a/tests/parity/inputs/couple-screen/exons.bed b/tests/parity/inputs/couple-screen/exons.bed new file mode 100644 index 000000000..83ed34603 --- /dev/null +++ b/tests/parity/inputs/couple-screen/exons.bed @@ -0,0 +1,2 @@ +chr6 32040109 32040509 +chr6 32045309 32045409 diff --git a/tests/parity/inputs/couple-screen/g.gtf b/tests/parity/inputs/couple-screen/g.gtf new file mode 100644 index 000000000..fd04cd095 --- /dev/null +++ b/tests/parity/inputs/couple-screen/g.gtf @@ -0,0 +1,10 @@ +##description: evidence-based annotation of the human genome (GRCh38), version 99 +chr22 HAVANA gene 100 900 . + . gene_id "X"; gene_name "NAGA"; +chr3 HAVANA gene 10 20 . + . gene_id "X"; gene_name "AAA1"; +chrX HAVANA gene 5000000 5000100 . + . gene_id "X"; gene_name "XXL1"; +chrX HAVANA gene 20000 30000 . + . gene_id "X"; gene_name "PARG1"; +chrY HAVANA gene 20000 30000 . + . gene_id "X"; gene_name "PARG1"; +chrY HAVANA gene 9000000 9000100 . + . gene_id "X"; gene_name "YYY1"; +chr9 HAVANA gene 1 2 . + . gene_id "X"; gene_name "C9orf72"; +chr2 HAVANA gene 50 60 . + . gene_id "X"; gene_name "TWO1"; +chr1 HAVANA gene 70 80 . + . gene_id "X"; gene_name "TWO1"; diff --git a/tests/parity/inputs/couple-screen/half.vcf b/tests/parity/inputs/couple-screen/half.vcf new file mode 100644 index 000000000..062b10c15 --- /dev/null +++ b/tests/parity/inputs/couple-screen/half.vcf @@ -0,0 +1,5 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chr7 117501545 90000 A G . PASS GENEINFO=CFTR:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT ./1 +chr7 117501548 90003 A G . PASS GENEINFO=CFTR:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 1|. +chr12 102897649 90000 A G . PASS GENEINFO=PAH:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 diff --git a/tests/parity/inputs/couple-screen/lone.tsv b/tests/parity/inputs/couple-screen/lone.tsv new file mode 100644 index 000000000..434f9e829 --- /dev/null +++ b/tests/parity/inputs/couple-screen/lone.tsv @@ -0,0 +1,3 @@ +sample sex father mother partner +A female . . . +B male . . . diff --git a/tests/parity/inputs/couple-screen/p6.xml b/tests/parity/inputs/couple-screen/p6.xml new file mode 100644 index 000000000..94a59dadd --- /dev/null +++ b/tests/parity/inputs/couple-screen/p6.xml @@ -0,0 +1,2 @@ + +1Recessive oneDiseasea geneAAA1Disease-causing germline mutation(s) inAssessed1Recessive & twoDiseasea geneAAA1Disease-causing germline mutation(s) inAssessed1AnotherDiseasea geneAAA1Disease-causing germline mutation(s) inNot yet assessed2X oneDiseasea geneXXL1Disease-causing germline mutation(s) inAssessed4X dominantDiseasea geneXXL1Disease-causing germline mutation(s) inAssessed1PseudoDiseasea genePARG1Disease-causing germline mutation(s) inAssessed1On YDiseasea geneYYY1Disease-causing germline mutation(s) inAssessed3DominantDiseasea geneDOM1Disease-causing germline mutation(s) inAssessed1CandidateDiseasea geneAAA1Candidate gene tested inAssessed1Upper case orfDiseasea geneC9ORF72Disease-causing germline mutation(s) inAssessed1Two placesDiseasea geneTWO1Disease-causing germline mutation(s) inAssessed1Panel geneDiseasea geneNAGADisease-causing germline mutation(s) inAssessed \ No newline at end of file diff --git a/tests/parity/inputs/couple-screen/p9.xml b/tests/parity/inputs/couple-screen/p9.xml new file mode 100644 index 000000000..10224cd75 --- /dev/null +++ b/tests/parity/inputs/couple-screen/p9.xml @@ -0,0 +1,2 @@ + +1Autosomal recessive2X-linked recessive3Autosomal dominant4X-linked dominant \ No newline at end of file diff --git a/tests/parity/inputs/couple-screen/ped2.tsv b/tests/parity/inputs/couple-screen/ped2.tsv new file mode 100644 index 000000000..b2921dc5b --- /dev/null +++ b/tests/parity/inputs/couple-screen/ped2.tsv @@ -0,0 +1,3 @@ +sample sex father mother partner +C female . . D +D . . . C diff --git a/tests/parity/inputs/couple-screen/ped3.tsv b/tests/parity/inputs/couple-screen/ped3.tsv new file mode 100644 index 000000000..e83642890 --- /dev/null +++ b/tests/parity/inputs/couple-screen/ped3.tsv @@ -0,0 +1,6 @@ +sample sex father mother partner +A . . . B +B . . . A +E female . . F +F male . . E +G female . . . diff --git a/tests/parity/inputs/couple-screen/ped4.tsv b/tests/parity/inputs/couple-screen/ped4.tsv new file mode 100644 index 000000000..c1923e4cd --- /dev/null +++ b/tests/parity/inputs/couple-screen/ped4.tsv @@ -0,0 +1,5 @@ +sample sex father mother partner +A female . . B +B male . . A +C female . . D +D male . . C diff --git a/tests/parity/inputs/couple-screen/pedigree.tsv b/tests/parity/inputs/couple-screen/pedigree.tsv new file mode 100644 index 000000000..6692af83b --- /dev/null +++ b/tests/parity/inputs/couple-screen/pedigree.tsv @@ -0,0 +1,3 @@ +sample sex father mother partner +A female . . B +B male . . A diff --git a/tests/parity/inputs/couple-screen/seed.tsv b/tests/parity/inputs/couple-screen/seed.tsv new file mode 100644 index 000000000..69d05cb55 --- /dev/null +++ b/tests/parity/inputs/couple-screen/seed.tsv @@ -0,0 +1,5 @@ +# a seed +gene chrom start end inheritance lists condition severity +NAGA . 0 0 AR ACMG Schindler disease hypomorph chr22:500:A:G p.X +OLD1 chr1 1 2 AR Orphanet dropped . +AAA1 chr3 1 2 AR Orphanet x pseudodeficiency chr3:15:C:T p.Y diff --git a/tests/parity/inputs/couple-screen/shox.vcf b/tests/parity/inputs/couple-screen/shox.vcf new file mode 100644 index 000000000..f82ba975e --- /dev/null +++ b/tests/parity/inputs/couple-screen/shox.vcf @@ -0,0 +1,4 @@ +##fileformat=VCFv4.2 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT S +chrX 641877 90000 A G . PASS GENEINFO=SHOX:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 0/1 +chr7 117501545 90000 A G . PASS GENEINFO=CFTR:1;CLNSIG=Pathogenic;CLNREVSTAT=criteria_provided,_multiple_submitters,_no_conflicts GT 1 diff --git a/tests/parity/oracle.ref b/tests/parity/oracle.ref index 1c5a5e8e9..d6ec28a5b 100644 --- a/tests/parity/oracle.ref +++ b/tests/parity/oracle.ref @@ -96,3 +96,5 @@ dev-smoke-catalog 669a8196cf4c377200f9b4af9c235ef85fb774a1 file:scripts/ci/image dev-smoke-check 669a8196cf4c377200f9b4af9c235ef85fb774a1 file:tests/smoke/commands.tsv sh -c 'exec bash ./oracle.sh check "$0" "$@"' dev smoke check traits 669a8196cf4c377200f9b4af9c235ef85fb774a1 file:bin/traits_report.py bash ./oracle.sh traits roh-summary 7c1470bc50933f48a1a0dde3c0e0b2b87bc48718 file:scripts/11-roh-analysis.sh sh ./oracle.sh roh summary +couple-screen d4d3d4b629fc77a058bbbbd302c75bbfae1a01c2 file:bin/couple_report.py sh -c 'exec sh ./oracle.sh "$0" screen "$@"' couple screen +couple-genes d4d3d4b629fc77a058bbbbd302c75bbfae1a01c2 file:bin/couple_report.py sh -c 'exec sh ./oracle.sh "$0" genes "$@"' couple genes diff --git a/tests/parity/remnants.tsv b/tests/parity/remnants.tsv index 721483261..b77c24c8c 100644 --- a/tests/parity/remnants.tsv +++ b/tests/parity/remnants.tsv @@ -3,8 +3,6 @@ # names listed here and nothing else, that every name has a user, and that # the importers are exactly these (docs/rust.md). # filenamesimporterslane -bin/family_report.py COLUMNS,MISSING,SEX,NAME,BINS,die,missing,read_pedigree,build_members,bad_name,kinship_table,declared_relationship,degree,read_par,in_par bin/couple_report.py,bin/pedigree_svg.py,tests/test_family_report.py R4 +bin/family_report.py COLUMNS,MISSING,SEX,NAME,BINS,missing,read_pedigree,build_members,bad_name,kinship_table,declared_relationship,degree bin/pedigree_svg.py,tests/test_family_report.py R4 bin/genome_lookup.py GENE_KEYS,RSID_RE,norm_chrom,parse_query,names_of,walk_mentions,flat bin/results_index.py,tests/test_results_index.py R5c -bin/paraphase_report.py SMN1_EXON7,parascopy_smn1,compare_smn1 bin/couple_report.py,tests/test_paralog_loci.py,tests/test_paraphase_report.py R4 -bin/cnvpytor_to_vcf.py DEPTH_MIN_SIZE,delly_depth_contradicts bin/couple_report.py R4 -bin/collect_summary.py HERE,ASSETS_DIR,SECTIONS,og,collect,STARS,CALL_FLOOR,COMMON_AF,RUN_ALL_STEPS,SEVERITY_KINDS,Unreadable,open_text,vcf_records,info_map,read_tsv,clinvar_variants,clinvar_combined_note,low_confidence,half_call,clinvar_zygosity,clinvar_row,hla_quality,HLA_MAX_CANDIDATES,EXPLORE_DOCS,csq_rank,allele_key,parse_alleles bin/couple_report.py,bin/owngenome_live.py,bin/render_report.py,bin/results_index.py,tests/demo/make_demo_sample.py,tests/test_acmg_sf_rules.py,tests/test_ancestry_fine_report.py,tests/test_archaic_report.py,tests/test_callability.py,tests/test_chip_report.py,tests/test_collect_summary.py,tests/test_copy_number.py,tests/test_cross_engine_biallelic.py,tests/test_exomiser_report.py,tests/test_haplogroup_explore.py,tests/test_hla_report.py,tests/test_live_journal.py,tests/test_live_results.py,tests/test_locityper_report.py,tests/test_lpa_kiv2.py,tests/test_mei_report.py,tests/test_mito_extended.py,tests/test_mocha_report.py,tests/test_paralog_loci.py,tests/test_render_report.py,tests/test_results_index.py,tests/test_run_state.py,tests/test_traits_report.py,tests/test_viewer.py,tests/test_viral_report.py,tests/test_vntyper_report.py,tests/test_ystr_report.py R6b +bin/collect_summary.py HERE,ASSETS_DIR,SECTIONS,og,collect,STARS,COMMON_AF,RUN_ALL_STEPS,SEVERITY_KINDS,open_text,info_map,read_tsv,hla_quality,HLA_MAX_CANDIDATES,EXPLORE_DOCS,csq_rank,allele_key,parse_alleles bin/owngenome_live.py,bin/render_report.py,bin/results_index.py,tests/demo/make_demo_sample.py,tests/test_acmg_sf_rules.py,tests/test_ancestry_fine_report.py,tests/test_archaic_report.py,tests/test_callability.py,tests/test_chip_report.py,tests/test_collect_summary.py,tests/test_copy_number.py,tests/test_cross_engine_biallelic.py,tests/test_exomiser_report.py,tests/test_haplogroup_explore.py,tests/test_hla_report.py,tests/test_live_journal.py,tests/test_live_results.py,tests/test_locityper_report.py,tests/test_lpa_kiv2.py,tests/test_mei_report.py,tests/test_mito_extended.py,tests/test_mocha_report.py,tests/test_render_report.py,tests/test_results_index.py,tests/test_run_state.py,tests/test_traits_report.py,tests/test_viewer.py,tests/test_viral_report.py,tests/test_vntyper_report.py,tests/test_ystr_report.py R6b diff --git a/tests/test_acmg_sf_rules.py b/tests/test_acmg_sf_rules.py index b3b07f6bd..00d738a8d 100644 --- a/tests/test_acmg_sf_rules.py +++ b/tests/test_acmg_sf_rules.py @@ -45,6 +45,8 @@ class 5 deletion in MUTYH (no SV rule) is not; sys.path.insert(0, os.path.join(REPO, "bin")) import collect_summary # noqa: E402 import render_report # noqa: E402 +sys.path.insert(0, os.path.join(REPO, "tests")) +from og_binary import og_binary # noqa: E402 FAILS = [] @@ -240,29 +242,25 @@ def main(): ("HEXA", "chr15:72350584 G>A") not in lines and [x["kind"] for x in car.get("set_aside", [])] == ["pseudodeficiency"], car) check("carrier list: the other HEXA hit does", ("HEXA", "chr15:72346579 G>GGATA") in lines, car) - import couple_report - genes = couple_report.read_genes(os.path.join(REPO, "assets", "carrier_genes.tsv")) - aside = [] - try: - f, _ = couple_report.clinvar_findings(f"{d}/clinvar/S_clinvar_hits.vcf", genes, "female", {}, aside) - except TypeError as e: # the pre-fix signature: no set-aside list - f = [{"gene": str(e)}] - check("couple screen: the same pseudodeficiency allele is no carrier finding", - sorted(x["gene"] for x in f) == ["CFTR", "HEXA"] and len(aside) == 1 and "pseudodeficiency" in aside[0], - (f, aside)) - # The whole couple screen, with that set-aside allele in one partner. + # The whole couple screen (og couple screen), the sample in both partners. ped = put(f"{work}/couple/pedigree.tsv", "sample\tsex\tfather\tmother\tpartner\nA\tfemale\t.\t.\tB\n" "B\tmale\t.\t.\tA\n") - r = subprocess.run([sys.executable, os.path.join(REPO, "bin", "couple_report.py"), "screen", + r = subprocess.run([og_binary(), "couple", "screen", "--pedigree", ped, "--genes", os.path.join(REPO, "assets", "carrier_genes.tsv"), "--clinvar", f"A={d}/clinvar/S_clinvar_hits.vcf", "--clinvar", f"B={d}/clinvar/S_clinvar_hits.vcf", "--out-dir", f"{work}/couple/out"], capture_output=True, text=True) md = f"{work}/couple/out/couple_A_B.md" md_text = open(md).read() if os.path.isfile(md) else "" + tab = f"{work}/couple/out/couple_A_B.tsv" + with open(tab) if os.path.isfile(tab) else open(os.devnull) as f: + found = sorted(line.split("\t")[0] for line in list(f)[1:]) + aside = [x for x in md_text.splitlines() if "Set aside for A" in x] + check("couple screen: the same pseudodeficiency allele is no carrier finding", + found == ["CFTR", "HEXA"] and len(aside) == 1 and "pseudodeficiency" in aside[0], (found, aside)) check("couple screen run: a set-aside allele is a gap line, the screen still writes its table", r.returncode == 0 and "Set aside for A, not a carrier finding on its own" in md_text - and os.path.isfile(f"{work}/couple/out/couple_A_B.tsv"), (r.returncode, r.stderr[-800:])) + and os.path.isfile(tab), (r.returncode, r.stderr[-800:])) try: collect_summary.parse_alleles("hypomorph", kinds=True) err = None diff --git a/tests/test_collect_summary.py b/tests/test_collect_summary.py index 2a762dabe..1845e088e 100644 --- a/tests/test_collect_summary.py +++ b/tests/test_collect_summary.py @@ -100,7 +100,7 @@ probable CYP2D6 call of pypgx alone in both reports, and none after a failed depth check, beside a usable Cyrius call, or from a summary written before the evidence columns. - 20. step 39's couple table (bin/couple_report.py's columns): the partner, + 20. step 39's couple table (og couple screen's columns): the partner, the shared and X-linked genes with each side's findings from this sample's point of view, the one-partner count; a table naming another couple, or without a column, is unreadable; a table without rows names @@ -2935,15 +2935,17 @@ def strec(rep, cn, so, ci, adsp, st, nmax="20", pmin="40"): validate.validate(schema, json.loads(json.dumps(summ_e)))) # 20. step 39, the couple table - import couple_report + # the columns og couple screen writes (og-couple prose::TABLE_COLUMNS) + couple_columns = ("gene", "inheritance", "lists", "condition", "result", "offspring_risk", + "partner_a", "findings_a", "partner_b", "findings_b", "explanation") c_ = os.path.join(work, "couple", "B") - head = "\t".join(couple_report.TABLE_COLUMNS) + "\n" + head = "\t".join(couple_columns) + "\n" def crow(gene, result, risk, fa, fb): r = {"gene": gene, "inheritance": "AR", "lists": "ACMG", "condition": f"{gene} disease", "result": result, "offspring_risk": risk, "partner_a": "A", "findings_a": fa, "partner_b": "B", "findings_b": fb, "explanation": "x"} - return "\t".join(r[k] for k in couple_report.TABLE_COLUMNS) + "\n" + return "\t".join(r[k] for k in couple_columns) + "\n" put(f"{c_}/couple/B_couple_carrier.tsv", head + crow("NAGA", "shared", "1 in 4 per pregnancy", "a-snv", "b-snv") + crow("FMR1", "x_linked", "A: sons 1 in 2", "a-repeat", ".") + crow("UGT1A1", "one_partner", "none shared", ".", "b-only")) summ_c = collect_summary.collect("B", c_) diff --git a/tests/test_copy_number.py b/tests/test_copy_number.py index c4f493616..92870a44b 100644 --- a/tests/test_copy_number.py +++ b/tests/test_copy_number.py @@ -1020,7 +1020,6 @@ def cyp_call(r, bedcov_text, pileup_text, mapq0=0.1): def psv(cat, read): - import couple_report r = cat["CYP21A2"] names = [n for n, *_ in r["_psv"]] check("CYP21A2: six PSV sites, In2G and I172N among them, a call psv row with a reading per finding", @@ -1197,45 +1196,60 @@ def psv(cat, read): check("step 35 CYP21A2 block with a failed mpileup: the rows of a called table but the sites'", list(rd("fail")) == [k for k in nl if not k.startswith("psv_")], (list(rd("fail")), list(nl))) - # the couple screen - genes = {"CYP21A2": {"gene": "CYP21A2"}} - got = {c: couple_report.cyp21a2_finding(p, genes) for c, p in tabs.items() if os.path.exists(p)} - f = got.get("deletion", ([], ""))[0] - check("couple screen: the deletion table is a CYP21A2 finding on one copy (the chimeric deletion)", - len(f) == 1 and f[0]["gene"] == "CYP21A2" and f[0]["copies"] == 1 and "chimeric deletion" in f[0]["text"], f) - f = got.get("conversion", ([], ""))[0] + # the couple screen (og couple screen) reads each table + ped = os.path.join(t, "ped.tsv") + open(ped, "w").write("sample\tsex\tfather\tmother\tpartner\nA\tfemale\t.\t.\tB\nB\tmale\t.\t.\tA\n") + vcf = os.path.join(t, "none.vcf") + open(vcf, "w").write("##fileformat=VCFv4.2\n#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\tFORMAT\tS\n") + carrier = os.path.join(REPO, "assets", "carrier_genes.tsv") + + def couple(name, extra, genes=carrier): + """og couple screen of two partners with no ClinVar hit: (exit, CYP21A2 row or None, md or stderr).""" + od = os.path.join(t, "couple-" + name) + out = subprocess.run([OG or "og", "couple", "screen", "--pedigree", ped, "--genes", genes, + "--clinvar", f"A={vcf}", "--clinvar", f"B={vcf}", "--out-dir", od] + extra, + capture_output=True, text=True) + if out.returncode != 0: + return out.returncode, None, out.stderr + with open(os.path.join(od, "couple_A_B.tsv")) as f: + head = f.readline().rstrip("\n").split("\t") + row = next((dict(zip(head, x.rstrip("\n").split("\t"))) for x in f if x.startswith("CYP21A2\t")), None) + return 0, row, open(os.path.join(od, "couple_A_B.md")).read() + have = lambda c: os.path.exists(tabs[c]) # noqa: E731 + rc, row, md = couple("deletion", ["--cyp21a2", f"A={tabs['deletion']}", "--cyp21a2", f"B={tabs['deletion']}"]) \ + if have("deletion") else (1, None, "") + check("couple screen: the deletion table is a CYP21A2 finding on one copy (the chimeric deletion; both: 1 in 4)", + rc == 0 and row is not None and row["result"] == "shared" and row["offspring_risk"] == "1 in 4 per pregnancy" + and "chimeric deletion" in row["findings_a"], (rc, row, md[-600:])) + rc, row, md = couple("conversion", ["--cyp21a2", f"A={tabs['conversion']}"]) if have("conversion") else (1, None, "") check("couple screen: the conversion table is a possible conversion at In2G", - len(f) == 1 and "possible CYP21A2 conversion at In2G" in f[0]["text"], f) - check("couple screen: the unmodified table is no finding, 2 copies read", - got.get("normal", (["x"], ""))[0] == [] and "CYP21A2 2 copies" in got.get("normal", ([], ""))[1], - got.get("normal")) - check("couple screen: the table without MAPQ 0 reads is no finding and says not assessed (low_mapq0_share)", - got.get("no_mapq0", (["x"], ""))[0] == [] and got.get("no_mapq0", ([], ""))[1] - == "CYP21A2 not assessed (low_mapq0_share)", got.get("no_mapq0")) + rc == 0 and row is not None and "possible CYP21A2 conversion at In2G" in row["findings_a"], (rc, row)) + gap = "CYP21A2 deletion and conversions of A: " + rc, row, md = couple("normal", ["--cyp21a2", f"A={tabs['normal']}"]) if have("normal") else (1, None, "") + check("couple screen: the unmodified table is no finding and no gap line", + rc == 0 and row is None and gap not in md, (rc, row, md[-600:])) + rc, row, md = couple("no_mapq0", ["--cyp21a2", f"A={tabs['no_mapq0']}"]) if have("no_mapq0") else (1, None, "") + check("couple screen: the table without MAPQ 0 reads is no finding and says not assessed (its message)", + rc == 0 and row is None and gap + "CYP21A2 not assessed: the BAM has few or no multi-mapping reads" in md, + (rc, row, md[-600:])) + rc, row, md = couple("fail", ["--cyp21a2", f"A={tabs['fail']}"]) if have("fail") else (1, None, "") check("couple screen: the failed table is no finding and says not assessed", - got.get("fail", (["x"], ""))[0] == [] and got.get("fail", ([], ""))[1].startswith("CYP21A2 not assessed"), - got.get("fail")) - if os.path.exists(tabs["normal"]): + rc == 0 and row is None and gap + "CYP21A2 not assessed" in md, (rc, row, md[-600:])) + if have("normal"): bad = os.path.join(t, "bad.tsv") open(bad, "w").write(open(tabs["normal"]).read().replace("finding\tnone", "finding\tlost")) - try: - couple_report.cyp21a2_finding(bad, genes) - got = "read" - except SystemExit as e: - got = f"exit {e.code}" - check("couple screen: a called table with an unknown finding stops the screen (exit 2)", got == "exit 2", got) - check("couple screen: a CYP21A2 finding needs CYP21A2 in the carrier list", - couple_report.cyp21a2_finding(tabs["deletion"], {})[0] == [] if os.path.exists(tabs["deletion"]) else False) + rc, row, md = couple("bad", ["--cyp21a2", f"A={bad}"]) + check("couple screen: a called table with an unknown finding stops the screen (exit 2)", rc == 2, (rc, md)) + no_cyp = os.path.join(t, "no_cyp21a2.tsv") + open(no_cyp, "w").write("".join(x for x in open(carrier) if not x.startswith("CYP21A2\t"))) + rc, row, md = couple("no-list", ["--cyp21a2", f"A={tabs['deletion']}"], no_cyp) if have("deletion") else (1, 0, "") + check("couple screen: a CYP21A2 finding needs CYP21A2 in the carrier list", rc == 0 and row is None, (rc, row)) # A partner without a CYP21A2 table gets a gap line, also when no partner has one (step 39). - ped = os.path.join(t, "ped.tsv") - open(ped, "w").write("sample\tsex\tfather\tmother\tpartner\nA\tfemale\t.\t.\tB\nB\tmale\t.\t.\tA\n") - vcf = os.path.join(t, "none.vcf") - open(vcf, "w").write("##fileformat=VCFv4.2\n#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\tFORMAT\tS\n") for desc, extra, want in (("no partner has one", [], {"A", "B"}), ("one partner has one", ["--cyp21a2", f"A={tabs['normal']}"], {"B"})): od = os.path.join(t, "couple-" + str(len(extra))) - out = subprocess.run([sys.executable, os.path.join(REPO, "bin", "couple_report.py"), "screen", - "--pedigree", ped, "--genes", os.path.join(REPO, "assets", "carrier_genes.tsv"), + out = subprocess.run([OG or "og", "couple", "screen", + "--pedigree", ped, "--genes", carrier, "--clinvar", f"A={vcf}", "--clinvar", f"B={vcf}", "--out-dir", od] + extra, capture_output=True, text=True) md = open(os.path.join(od, "couple_A_B.md")).read() if out.returncode == 0 else out.stderr diff --git a/tests/test_couple_report.py b/tests/test_couple_report.py deleted file mode 100644 index 10f469ed9..000000000 --- a/tests/test_couple_report.py +++ /dev/null @@ -1,583 +0,0 @@ -#!/usr/bin/env python3 -"""bin/couple_report.py (step 39 and the Nextflow COUPLE_CARRIER process) on -synthetic step outputs at the real coordinates of assets/carrier_genes.tsv. - -Checks: - 1. the carrier list: every ACMG tier 3 gene (97 autosomal recessive, 16 - X-linked) is in it, the ACOG genes are marked, every row has a GRCh38 - span on chr1 to chrX, and a chrX gene outside the PARs is X-linked; - 2. one variant in the same recessive gene in each partner is one shared - gene (1 in 4 per pregnancy), a variant in another gene is one partner - only, and a hit in a gene outside the list (APOE) is left out; - 3. a Delly deletion over an exon of a gene where the other partner has a - SNV counts as shared; a deletion inside an intron, one that failed - Delly's filter and one without the exon list do not; - a Delly deletion longer than 1,000 bp counts only when its RDCN (read - depth) is below a normal region's copies: a 50 Mb PASS het deletion - with RDCN 2 and a 2 kb one without an estimate are set aside, the same - 50 Mb deletion with RDCN 1 counts, a 600 bp precise one counts on split - reads alone, and on a male's chrX RDCN 1 is set aside and RDCN 0 counts; - a Delly deletion shorter than 50 bp is not counted, nor one matching a - common deletion of AnnotSV's benign set (1% or more, 50% reciprocal - overlap); a 5 kb one with no common match, one inside a much longer - common record and one matching a record below 1% still count; without - the benign set the common one counts and the report says so; - 4. a homozygous hit gives 1 in 2, two het hits in one partner say the - chance can be higher; - 5. X-linked: a female's FMR1 premutation (ExpansionHunter) gives sons 1 in - 2 with the premutation note; a male's DMD hit makes every daughter a - carrier; FXN expansions in both partners are shared; - 6. SMN1: one copy in each partner (Parascopy) is shared; an unresolved call - is listed as not assessed; - 7. a partner without Delly, Parascopy or ExpansionHunter is named in the - residual-risk lines; the partner tables are the couple table; - 8. red controls: an emptied gene list stops the screen (exit 2) and writes - no table; a pedigree without partners exits 1; a couple where one - partner has no ClinVar screen is not screened; - 9. the same inputs give the same bytes; - 10. genes: the list is rebuilt from a small Orphanet and GENCODE extract, - keeping the ACMG rows, adding an autosomal and an X-linked Orphanet gene, - a PAR gene as autosomal, leaving out chrY, and stopping on a panel gene - GENCODE does not have; - 11. carrier deletion alleles and AZF (step 35's interval table): each allele - of each partner is listed as present, absent or not assessable; the - male partner's AZF deletions are listed by that name (absent on a - normal male), the female's are not applicable; the HBB 619 bp and the - Sicilian (delta-beta)0 deletions are two of the alleles; - where CNVpytor (step 18) and the depth call disagree, both are printed; - without --cn-intervals the section is not written; - 12. a split half call (./1) is het with one copy, never hom. - -Run: python3 tests/test_couple_report.py -""" -import os -import subprocess -import sys -import tempfile - -REPO = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) -SCRIPT = os.path.join(REPO, "bin", "couple_report.py") -GENES = os.path.join(REPO, "assets", "carrier_genes.tsv") -PAR = os.path.join(REPO, "assets", "par_grch38.bed") -sys.path.insert(0, os.path.join(REPO, "bin")) -import couple_report as cr # noqa: E402 - -FAILS = [] - -ACMG = """HBB XPC TYR CYP21A2 PAH CFTR TNXB HEXA GJB2 DHCR7 ATP7B ASPA ACADM NPHS1 PMM2 FKTN SLC26A4 ERCC2 -DYNC2H1 CEP290 GBE1 GAA CHRNE G6PC1 OCA2 COL7A1 ABCC8 ALDOB FANCC GRIP1 BCKDHB ANO10 NAGA SMPD1 USH2A MMUT CPT2 -AHI1 DHDDS SLC19A3 GALT CYP11A1 TF MMACHC ABCA3 GBA1 MCOLN1 GNPTAB AGA PCDH15 FAH AIRE BBS2 CYP27A1 CCDC88C FMO3 -TMEM216 CNGB3 MCPH1 SLC37A4 PRF1 SCO2 AGXT ACADVL ASL EVC2 ARSA MVK PKHD1 BTD ALPL BBS1 CLCN1 CYP27B1 POLG MCCC2 -MLC1 ACAT1 CC2D2A SLC26A2 CBS LRP2 IDUA FKRP RNASEH2B RARS2 HBA1 HBA2 SMN1 HPS1 HPS3 ELP1 FXN DLD NEB CLRN1 -BLM""".split() -ACMG_XL = "ABCD1 AFF2 ARX DMD F8 F9 FMR1 GLA L1CAM MID1 NR0B1 OTC PLP1 RPGR RS1 SLC6A8".split() -ACOG = "CFTR SMN1 HBB HBA1 HBA2 FMR1 HEXA ASPA ELP1 BLM ABCC8 FANCC GBA1 G6PC1 TMEM216 BCKDHB MCOLN1 SMPD1 PCDH15 CLRN1".split() - - -def check(desc, ok, detail=""): - print(("PASS " if ok else "FAIL ") + desc + ("" if ok else " " + str(detail))) - if not ok: - FAILS.append(desc) - - -def run(*args): - p = subprocess.run([sys.executable, SCRIPT] + list(args), capture_output=True, text=True) - return p.returncode, p.stdout + p.stderr - - -def put(path, text): - os.makedirs(os.path.dirname(path), exist_ok=True) - with open(path, "w") as f: - f.write(text) - return path - - -GENE_ROWS = cr.read_genes(GENES) - - -def mid(gene, off=0): - g = GENE_ROWS[gene] - return g["chrom"], (g["start"] + g["end"]) // 2 + off - - -HEAD = "##fileformat=VCFv4.2\n#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\tFORMAT\tS\n" - - -def hit(gene, gt="0/1", off=0, gid="1", rev="criteria_provided,_multiple_submitters,_no_conflicts", at=None): - c, p = at or mid(gene, off) - return (f"{c}\t{p}\t9000{off % 97}\tA\tG\t.\tPASS\tGENEINFO={gene}:{gid};CLNSIG=Pathogenic;" - f"CLNREVSTAT={rev}\tGT\t{gt}\n") - - -def deletion(chrom, start, end, gt="0/1", filt="PASS"): - return f"{chrom}\t{start}\tDEL0\tN\t\t.\t{filt}\tSVTYPE=DEL;END={end}\tGT:FT\t{gt}:PASS\n" - - -def deldepth(chrom, start, end, rdcn, gt="0/1", precise="IMPRECISE"): - """A Delly 2.x deletion with its read-depth copy number (FORMAT RDCN).""" - return (f"{chrom}\t{start}\tDEL1\tN\t\t.\tPASS\t{precise};SVTYPE=DEL;END={end}\t" - f"GT:FT:RDCN\t{gt}:PASS:{rdcn}\n") - - -def eh(locus, alleles): - """An ExpansionHunter record; alleles: the repeat count of each allele (invented).""" - gt = "/".join("1" for _ in alleles) - sizes = "/".join(str(a) for a in alleles) - return f"chrX\t1\t.\tC\t\t.\tPASS\tVARID={locus};REPID={locus}\tGT:REPCN\t{gt}:{sizes}\n" - - -def smn(cn, qual="45", filt="PASS"): - return ("chrom\tstart\tend\tlocus\tagCN_filter\tagCN\tagCN_qual\tpsCN_filter\tpsCN\tpsCN_qual\thomologous_regions\n" - f"chr5\t70951000\t70953000\tSMN1\tPASS\t{cn + 2}\t40\t{filt}\t{cn},2\t{qual},40\tchr5:70076000-70078000\n") - - -def rows(path): - with open(path) as f: - head = f.readline().rstrip("\n").split("\t") - return [dict(zip(head, line.rstrip("\n").split("\t"))) for line in f] - - -def main(): - # 1. the carrier list - acmg = {g for g, r in GENE_ROWS.items() if "ACMG" in r["lists"]} - check("all 113 ACMG tier 3 genes are in the list", acmg == set(ACMG) | set(ACMG_XL), - sorted(acmg ^ (set(ACMG) | set(ACMG_XL)))) - check("97 of them autosomal recessive, 16 X-linked", - sum(GENE_ROWS[g]["inheritance"] == "AR" for g in ACMG) == 97 - and all(GENE_ROWS[g]["inheritance"] == "XL" for g in ACMG_XL)) - check("the ACOG genes are marked", {g for g, r in GENE_ROWS.items() if "ACOG" in r["lists"]} == set(ACOG)) - check("every row has a span on chr1 to chrX", - all(r["chrom"] in cr.PRIMARY[:-1] and 0 < r["start"] <= r["end"] for r in GENE_ROWS.values())) - par = cr.family_report.read_par(PAR) - check("a chrX gene outside the PARs is X-linked, inside a PAR autosomal", - all((r["inheritance"] == "XL") == (r["chrom"] == "chrX" and not cr.family_report.in_par(par, "chrX", r["start"])) - for r in GENE_ROWS.values())) - check("more than the panel: the Orphanet genes are there", len(GENE_ROWS) > 3000, len(GENE_ROWS)) - - with tempfile.TemporaryDirectory() as t: - ped = put(f"{t}/pedigree.tsv", "sample\tsex\tfather\tmother\tpartner\nA\tfemale\t.\t.\tB\nB\tmale\t.\t.\tA\n") - cx, cy = mid("CYP21A2") - exons = put(f"{t}/exons.bed", f"{cx}\t{cy - 200}\t{cy + 200}\n{cx}\t{cy + 5000}\t{cy + 5100}\n") - tx, ty = mid("TNXB", 20000) - a_hits = put(f"{t}/A.vcf", HEAD + hit("NAGA") + hit("APOE", at=("chr19", 44908684))) - b_hits = put(f"{t}/B.vcf", HEAD + hit("NAGA", off=7) + hit("UGT1A1") + hit("CYP21A2") + hit("TNXB", off=20000)) - a_sv = put(f"{t}/A_sv.vcf", HEAD + deletion(cx, cy - 1000, cy + 1000) - + deletion(tx, ty - 300, ty + 300) # intron of TNXB: no exon in the list - + deletion(cx, cy - 1000, cy + 1000, filt="LowQual")) - base = ["screen", "--pedigree", ped, "--genes", GENES, "--par-bed", PAR, - "--clinvar", f"A={a_hits}", "--clinvar", f"B={b_hits}"] - out = f"{t}/out" - rc, log = run(*base, "--delly", f"A={a_sv}", "--exons", exons, "--out-dir", out) - check("screen exits 0", rc == 0, log) - tab = rows(f"{out}/couple_A_B.tsv") - res = {r["gene"]: r for r in tab} - # 2. - check("NAGA, one variant in each partner: shared, 1 in 4 per pregnancy", - res.get("NAGA", {}).get("result") == "shared" and res["NAGA"]["offspring_risk"] == "1 in 4 per pregnancy", res.get("NAGA")) - check("UGT1A1, a variant in one partner only: one_partner", res.get("UGT1A1", {}).get("result") == "one_partner", res.get("UGT1A1")) - check("APOE (not in the list) is left out", "APOE" not in res and "APOE" not in cr.read_genes(GENES)) - # 3. - check("a deletion over a CYP21A2 exon and the other partner's SNV: shared", - res.get("CYP21A2", {}).get("result") == "shared" and "deletion" in res["CYP21A2"]["findings_a"] - and "1 exon of the gene (Delly)" in res["CYP21A2"]["findings_a"], res.get("CYP21A2")) - check("the filtered copy of the deletion is not counted", res["CYP21A2"]["findings_a"].count("deletion") == 1, - res["CYP21A2"]["findings_a"]) - check("a deletion inside a TNXB intron does not count: TNXB is one partner's only", - res.get("TNXB", {}).get("result") == "one_partner" and res["TNXB"]["findings_a"] == ".", res.get("TNXB")) - check("shared genes come first", [r["result"] for r in tab][:2] == ["shared", "shared"], [r["gene"] for r in tab]) - check("the partner tables are the couple table", - open(f"{out}/A_couple_carrier.tsv").read() == open(f"{out}/couple_A_B.tsv").read() - == open(f"{out}/B_couple_carrier.tsv").read()) - md = open(f"{out}/couple_A_B.md").read() - check("the report names NAGA as shared and points to a genetic counsellor", - "**NAGA**" in md.split("## X-linked")[0] and "genetic counsellor" in md) - # 7. - check("B's missing Delly calls, both partners' Parascopy and ExpansionHunter are named", - "Deletions of B: no Delly calls" in md and "SMN1 copy number of A: no Parascopy" in md - and "FMR1 and FXN repeats of B: no ExpansionHunter" in md, md) - check("stdout says the counts", "A and B: 2 shared genes" in log, log) - # 9. - out2 = f"{t}/out2" - run(*base, "--delly", f"A={a_sv}", "--exons", exons, "--out-dir", out2) - check("the same inputs give the same bytes", - all(open(f"{out}/{n}").read() == open(f"{out2}/{n}").read() for n in ("couple_A_B.tsv", "couple_A_B.md"))) - # 3. without the exon list - rc, log = run(*base, "--delly", f"A={a_sv}", "--out-dir", f"{t}/noexons") - r3 = {r["gene"]: r for r in rows(f"{t}/noexons/couple_A_B.tsv")} - check("without the exon list the deletion is not used, and the report says so", - r3["CYP21A2"]["result"] == "one_partner" - and "without the GENCODE exon list" in open(f"{t}/noexons/couple_A_B.md").read(), r3.get("CYP21A2")) - - # 4. homozygous, and two hets in one partner - a_hom = put(f"{t}/A_hom.vcf", HEAD + hit("NAGA", gt="1/1")) - b_two = put(f"{t}/B_two.vcf", HEAD + hit("NAGA", off=7) + hit("NAGA", off=9)) - run("screen", "--pedigree", ped, "--genes", GENES, "--clinvar", f"A={a_hom}", "--clinvar", f"B={b_two}", - "--out-dir", f"{t}/hom") - r4 = rows(f"{t}/hom/couple_A_B.tsv")[0] - check("a homozygous partner: 1 in 2 per pregnancy", r4["offspring_risk"] == "1 in 2 per pregnancy", r4) - check("two het changes of B: the chance can be higher", "B has two changes in the gene" in r4["explanation"], r4) - - # 5. X-linked and repeats - a_eh = put(f"{t}/A_eh.vcf", HEAD.replace("\tS\n", "\tA\n") + eh("FMR1", [30, 85]) + eh("FXN", [9, 120])) - b_eh = put(f"{t}/B_eh.vcf", HEAD + eh("FMR1", [29]) + eh("FXN", [12, 700])) - b_dmd = put(f"{t}/B_dmd.vcf", HEAD + hit("DMD", gt="1")) - a_none = put(f"{t}/A_none.vcf", HEAD) - run("screen", "--pedigree", ped, "--genes", GENES, "--par-bed", PAR, "--clinvar", f"A={a_none}", - "--clinvar", f"B={b_dmd}", "--eh", f"A={a_eh}", "--eh", f"B={b_eh}", "--out-dir", f"{t}/xl") - r5 = {r["gene"]: r for r in rows(f"{t}/xl/couple_A_B.tsv")} - check("FMR1 alleles of 30 and 85 in the female partner: X-linked, sons 1 in 2, premutation note", - r5.get("FMR1", {}).get("result") == "x_linked" and r5["FMR1"]["offspring_risk"] == "A: sons 1 in 2" - and "premutation (55 to 200)" in r5["FMR1"]["findings_a"] - and "grow into a full mutation" in r5["FMR1"]["explanation"], r5.get("FMR1")) - check("the male partner's FMR1 allele of 29 is no finding", r5.get("FMR1", {}).get("findings_b") == ".", r5.get("FMR1")) - check("DMD in the male partner: every daughter a carrier", - r5.get("DMD", {}).get("offspring_risk") == "B: daughters carriers" and "hemizygous" in r5["DMD"]["findings_b"], - r5.get("DMD")) - check("FXN expanded in both: shared", r5.get("FXN", {}).get("result") == "shared", r5.get("FXN")) - - # 6. SMN1 - sa, sb, su = put(f"{t}/A_smn.tsv", smn(1)), put(f"{t}/B_smn.tsv", smn(1)), put(f"{t}/U_smn.tsv", smn(1, qual="5")) - run("screen", "--pedigree", ped, "--genes", GENES, "--clinvar", f"A={a_none}", "--clinvar", f"B={a_none}", - "--smn", f"A={sa}", "--smn", f"B={sb}", "--out-dir", f"{t}/smn") - r6 = {r["gene"]: r for r in rows(f"{t}/smn/couple_A_B.tsv")} - check("SMN1 one copy in each partner: shared", r6.get("SMN1", {}).get("result") == "shared", r6) - run("screen", "--pedigree", ped, "--genes", GENES, "--clinvar", f"A={a_none}", "--clinvar", f"B={a_none}", - "--smn", f"A={su}", "--smn", f"B={sb}", "--out-dir", f"{t}/smnu") - md6 = open(f"{t}/smnu/couple_A_B.md").read() - check("an SMN1 call of quality 5 is not a finding and is named as not resolved", - [r["findings_a"] for r in rows(f"{t}/smnu/couple_A_B.tsv") if r["gene"] == "SMN1"] == ["."] - and "SMN1 copy number of A: SMN1 copy number 1 (quality 5, filter PASS), not resolved" in md6, md6) - sn = put(f"{t}/N_smn.tsv", smn(1).split("\n")[0] + "\n" - "chr5\t70951945\t70951946\tSMN1\tnot assessed: no read over chr5:70951946-70951946\t.\t.\t" - "not assessed: no read over chr5:70951946-70951946\t.\t.\t.\n") - run("screen", "--pedigree", ped, "--genes", GENES, "--clinvar", f"A={a_none}", "--clinvar", f"B={a_none}", - "--smn", f"A={sn}", "--smn", f"B={sb}", "--out-dir", f"{t}/smnn") - md6n = open(f"{t}/smnn/couple_A_B.md").read() - check("a not-assessed SMN1 row (step 35) is named with its reason, not as empty values", - [r["findings_a"] for r in rows(f"{t}/smnn/couple_A_B.tsv") if r["gene"] == "SMN1"] == ["."] - and "SMN1 copy number of A: SMN1 not assessed: no read over chr5:70951946-70951946; copy number not resolved." in md6n, md6n) - - # 6b. CYP21A2 not assessed: the table's message, the reason code for an older table - why = ("not assessed: the BAM has few or no multi-mapping reads here (reads of mapping quality 0 make up " - "0.0% of the depth over CYP21A2 and CYP21A1P, under 2%), the sign of an aligner that leaves out the " - "reads that fit both copies") - na = "metric\tvalue\nstatus\tnot assessed\ncyp21a2_copies\t.\nfinding\t.\nreason\tlow_mapq0_share\n" - ca, cb = put(f"{t}/A_cyp.tsv", na + f"message\t{why}\n"), put(f"{t}/B_cyp.tsv", na) - run("screen", "--pedigree", ped, "--genes", GENES, "--clinvar", f"A={a_none}", "--clinvar", f"B={a_none}", - "--cyp21a2", f"A={ca}", "--cyp21a2", f"B={cb}", "--out-dir", f"{t}/cyp") - md6c = open(f"{t}/cyp/couple_A_B.md").read() if os.path.exists(f"{t}/cyp/couple_A_B.md") else "" - check("CYP21A2 not assessed: the not-assessed list prints the table's message (the aligner stopped the call)", - f"CYP21A2 deletion and conversions of A: CYP21A2 {why}." in md6c, md6c) - check("CYP21A2 not assessed in a table without the message row: the reason code", - "CYP21A2 deletion and conversions of B: CYP21A2 not assessed (low_mapq0_share)." in md6c, md6c) - - # 3b. read depth: a long Delly deletion counts only when RDCN shows the loss - genes_mid = {g: mid(g) for g in ("GBA1", "PAH", "CFTR", "HBB", "DMD", "OTC")} - dexons = put(f"{t}/depth_exons.bed", "".join( - f"{c}\t{p - 50}\t{p + 50}\n" for c, p in sorted(genes_mid.values()))) - mb = 25000000 - (gc, gp), (pc, pp), (fc, fp) = genes_mid["GBA1"], genes_mid["PAH"], genes_mid["CFTR"] - (hc, hp), (dc, dp), (oc, op) = genes_mid["HBB"], genes_mid["DMD"], genes_mid["OTC"] - a_depth = put(f"{t}/A_depth.vcf", HEAD - + deldepth(gc, gp - mb, gp + mb, 2) # 50 Mb, depth shows 2 copies - + deldepth(pc, pp - mb, pp + mb, 1) # 50 Mb, depth shows 1 copy - + deldepth(fc, fp - 300, fp + 300, 2, precise="PRECISE") # 600 bp, split reads alone - + deldepth(hc, hp - 1000, hp + 1000, ".")) # 2 kb, no depth estimate - b_depth = put(f"{t}/B_depth.vcf", HEAD - + deldepth(dc, dp - 1000000, dp + 1000000, 1, gt="1") # male chrX: 1 copy is normal - + deldepth(oc, op - 2500, op + 2500, 0, gt="1")) # male chrX: 0 copies, a loss - empty_hits = put(f"{t}/none_hits.vcf", HEAD) - rc, log = run("screen", "--pedigree", ped, "--genes", GENES, "--par-bed", PAR, - "--clinvar", f"A={empty_hits}", "--clinvar", f"B={empty_hits}", - "--delly", f"A={a_depth}", "--delly", f"B={b_depth}", "--exons", dexons, - "--out-dir", f"{t}/depth") - rd = {r["gene"]: r for r in rows(f"{t}/depth/couple_A_B.tsv")} if rc == 0 else {} - check("read depth: the screen exits 0", rc == 0, log) - check("a 50 Mb PASS het deletion with RDCN 2 over GBA1 is set aside", "GBA1" not in rd, rd.get("GBA1")) - check("a 50 Mb PASS het deletion with RDCN 1 over PAH still counts", - rd.get("PAH", {}).get("result") == "one_partner" - and "(50000.0 kb) het, 1 exon of the gene (Delly)" in rd["PAH"]["findings_a"], rd.get("PAH")) - check("a 600 bp precise deletion counts on split reads alone, whatever its RDCN", - rd.get("CFTR", {}).get("result") == "one_partner" and "(600 bp) het" in rd["CFTR"]["findings_a"], - rd.get("CFTR")) - check("a 2 kb deletion without a depth estimate (RDCN .) is set aside", "HBB" not in rd, rd.get("HBB")) - check("a male's chrX deletion with RDCN 1 (his normal copy) is set aside", "DMD" not in rd, rd.get("DMD")) - check("a male's chrX deletion with RDCN 0 counts, hemizygous", - rd.get("OTC", {}).get("result") == "x_linked" and "hemizygous" in rd["OTC"]["findings_b"], rd.get("OTC")) - mdd = open(f"{t}/depth/couple_A_B.md").read() if rc == 0 else "" - check("the report says how many long deletions read depth set aside", - "| A | 0 / 0 | 2 over exons of listed genes; 2 longer than 1000 bp set aside, read depth does not confirm the loss |" in mdd - and "| B | 0 / 0 | 1 over exons of listed genes; 1 longer than 1000 bp set aside, read depth does not confirm the loss |" in mdd, - mdd) - - # 3c. length and frequency: a Delly deletion shorter than 50 bp is the - # small-variant caller's; one matching a common deletion of AnnotSV's - # benign set (1% or more, 50% reciprocal overlap) is no carrier finding. - cmid = {g: mid(g) for g in ("ASPA", "HEXA", "SMPD1", "MCOLN1", "GJB2", "TPP1", "GALC", "NPC1", "CLN3")} - cexons = put(f"{t}/common_exons.bed", "".join( - f"{c}\t{p - 50}\t{p + 50}\n" for c, p in sorted(cmid.values()))) - (ac, ap), (hc, hp), (sc, sp) = cmid["ASPA"], cmid["HEXA"], cmid["SMPD1"] - (mc, mp), (jc, jp) = cmid["MCOLN1"], cmid["GJB2"] - (tc, tp), (lc, lp) = cmid["TPP1"], cmid["GALC"] - (nc, np_), (kc, kp) = cmid["NPC1"], cmid["CLN3"] - a_len = put(f"{t}/A_len.vcf", HEAD - + deldepth(ac, ap - 15, ap + 15, 2, precise="PRECISE") # 30 bp over an ASPA exon - + deldepth(hc, hp - 2500, hp + 2500, 1) # 5 kb, a common deletion - + deldepth(sc, sp - 2500, sp + 2500, 1) # 5 kb, no common match - + deldepth(mc, mp - 2500, mp + 2500, 1) # 5 kb inside a 20 kb common one - + deldepth(jc, jp - 2500, jp + 2500, 1) # 5 kb, a rare benign record - + deldepth(tc, tp - 25, tp + 24, 2, precise="PRECISE") # 49 bp, one short of an SV - + deldepth(lc, lp - 25, lp + 25, 2, precise="PRECISE") # 50 bp, the smallest SV - + deldepth(nc, np_ - 2500, np_ + 2500, 1) # 5 kb, a record of exactly 1% - + deldepth(kc, kp - 2500, kp + 2500, 1)) # 5 kb, exactly half a 10 kb common one - # The benign set as AnnotSV writes it: chromosome without "chr", 0-based - # start, source, coordinates, frequency. - benign = put(f"{t}/benign_Loss_SV_GRCh38.sorted.bed", "".join( - f"{c[3:]}\t{s}\t{e}\tgnomAD-SV_fixture\t{c[3:]}:{s}-{e}\t{af}\n" for c, s, e, af in sorted(( - (hc, hp - 2400, hp + 2700, "0.3100"), # the HEXA deletion, breakpoints 100-200 bp off - (mc, mp - 10000, mp + 10000, "0.2000"), # covers MCOLN1's deletion, 25% of itself - (jc, jp - 2500, jp + 2500, "0.0040"), # GJB2's exactly, but below 1% - (nc, np_ - 2500, np_ + 2500, "0.0100"), # NPC1's exactly, at 1% - (kc, kp - 2500, kp + 7500, "0.2000"))))) # CLN3's 5 kb is 50% of this 10 kb record - common_args = ["screen", "--pedigree", ped, "--genes", GENES, "--par-bed", PAR, - "--clinvar", f"A={empty_hits}", "--clinvar", f"B={empty_hits}", - "--delly", f"A={a_len}", "--exons", cexons] - rc, log = run(*common_args, "--benign-sv", benign, "--out-dir", f"{t}/common") - rc_ = {r["gene"]: r for r in rows(f"{t}/common/couple_A_B.tsv")} if rc == 0 else {} - mdc = open(f"{t}/common/couple_A_B.md").read() if rc == 0 else "" - check("common: the screen exits 0", rc == 0, log) - check("a 30 bp PASS Delly deletion over an ASPA exon is not reported", "ASPA" not in rc_, rc_.get("ASPA")) - check("a 49 bp PASS Delly deletion over a TPP1 exon is not reported", "TPP1" not in rc_, rc_.get("TPP1")) - check("a 50 bp PASS Delly deletion over a GALC exon is reported", - rc_.get("GALC", {}).get("result") == "one_partner" and "(50 bp) het" in rc_["GALC"]["findings_a"], - rc_.get("GALC")) - check("a 5 kb deletion matching a common benign deletion (HEXA) is not reported", "HEXA" not in rc_, - rc_.get("HEXA")) - check("a deletion matching a benign record of exactly 1% is not reported (NPC1)", "NPC1" not in rc_, - rc_.get("NPC1")) - check("a deletion that is exactly 50% of a common record is not reported (CLN3)", "CLN3" not in rc_, - rc_.get("CLN3")) - check("a 5 kb RDCN-supported deletion with no common match (SMPD1) is still reported", - rc_.get("SMPD1", {}).get("result") == "one_partner" and "(5.0 kb) het" in rc_["SMPD1"]["findings_a"], - rc_.get("SMPD1")) - check("a 5 kb deletion inside a 20 kb common one (25% of it) is still reported (MCOLN1)", - rc_.get("MCOLN1", {}).get("result") == "one_partner", rc_.get("MCOLN1")) - check("a benign record below 1% does not set a deletion aside (GJB2)", - rc_.get("GJB2", {}).get("result") == "one_partner", rc_.get("GJB2")) - check("the report counts what was set aside and says the frequency filter was on", - "| A | 0 / 0 | 4 over exons of listed genes; 2 shorter than 50 bp set aside; 3 set aside as common deletions |" in mdc - and "a deletion matching one of 1% or more in AnnotSV's benign set (4 records, 50% reciprocal overlap) is set aside" in mdc, - mdc) - rc, log = run(*common_args, "--out-dir", f"{t}/nobenign") - rn = {r["gene"]: r for r in rows(f"{t}/nobenign/couple_A_B.tsv")} if rc == 0 else {} - mdn = open(f"{t}/nobenign/couple_A_B.md").read() if rc == 0 else "" - check("without a benign set the 30 bp deletion is still not reported", rc == 0 and "ASPA" not in rn, (rc, log)) - check("red: without a benign set the common HEXA deletion is reported", - rn.get("HEXA", {}).get("result") == "one_partner", rn.get("HEXA")) - check("without a benign set the report says the frequency filter was off", - "Common deletions: not filtered, no benign SV set was given" in mdn - and "Common deletions of A: not filtered" in mdn, mdn) - rc, log = run(*common_args, "--benign-sv", f"{t}/no_such.bed", "--out-dir", f"{t}/nobed") - check("a --benign-sv file that is not there stops the screen (exit 2)", rc == 2 and "no_such.bed" in log, (rc, log)) - - # 8. red controls - empty = put(f"{t}/empty.tsv", "# emptied\n" + "\t".join(cr.GENE_COLUMNS) + "\n") - rc, log = run("screen", "--pedigree", ped, "--genes", empty, "--clinvar", f"A={a_hits}", - "--clinvar", f"B={b_hits}", "--out-dir", f"{t}/red") - check("red: an emptied gene list stops the screen (exit 2) and writes no table", - rc == 2 and "holds no gene" in log and not os.path.exists(f"{t}/red/couple_A_B.tsv"), (rc, log)) - lone = put(f"{t}/lone.tsv", "sample\tsex\tfather\tmother\tpartner\nA\tfemale\t.\t.\t.\nB\tmale\t.\t.\t.\n") - rc, log = run("screen", "--pedigree", lone, "--genes", GENES, "--clinvar", f"A={a_hits}", "--out-dir", f"{t}/lone") - check("a pedigree without partners exits 1", rc == 1 and "no two people as partners" in log, (rc, log)) - rc, log = run("screen", "--pedigree", ped, "--genes", GENES, "--clinvar", f"A={a_hits}", "--out-dir", f"{t}/half") - check("a couple where one partner has no ClinVar screen is not screened (exit 1)", - rc == 1 and "B has no ClinVar screen" in log and not os.path.exists(f"{t}/half/couple_A_B.tsv"), (rc, log)) - rc, log = run("screen", "--pedigree", ped, "--genes", GENES, "--clinvar", f"C={a_hits}", "--out-dir", f"{t}/c") - check("an input for a sample outside the pedigree stops it (exit 2)", rc == 2 and "'C' is not in the pedigree" in log, log) - - # 11. carrier deletion alleles and AZF - ivh = "locus\tname\tchrom\tstart\tend\tstatus\tcopies\texpected\tchange\testimate\treason\n" - - def ivrow(locus, chrom, s, e, status="called", copies="2", expected="2", change="no change", reason="."): - return f"{locus}\t{locus} name\t{chrom}\t{s}\t{e}\t{status}\t{copies}\t{expected}\t{change}\t.\t{reason}\n" - a_iv = put(f"{t}/A_cn_intervals.tsv", ivh + ivrow("GJB6_D13S1830", "chr13", 20223037, 20531806, copies="1", - change="deletion") - + ivrow("CFTR_dele2_3", "chr7", 117498312, 117519392) - + ivrow("HBB_exon3_del", "chr11", 5225254, 5225875, status="not assessed", copies=".", - change=".", reason="between_counts") - + ivrow("HBB_619bp_del", "chr11", 5225388, 5226007) - + ivrow("HBD_HBB_Sicilian_del", "chr11", 5219877, 5233280) - + ivrow("AZFa", "chrY", 12537649, 12920478, status="not applicable", copies=".", expected=".", - change=".", reason="no_y")) - b_iv = put(f"{t}/B_cn_intervals.tsv", ivh + ivrow("GJB6_D13S1830", "chr13", 20223037, 20531806) - + ivrow("CFTR_dele2_3", "chr7", 117498312, 117519392) - + ivrow("HBB_exon3_del", "chr11", 5225254, 5225875, copies="1", change="deletion") - + ivrow("HBB_619bp_del", "chr11", 5225388, 5226007, copies="1", change="deletion") - + ivrow("HBD_HBB_Sicilian_del", "chr11", 5219877, 5233280, copies="1", change="deletion") - + ivrow("AZFa", "chrY", 12537649, 12920478, copies="1", expected="1") - + ivrow("AZFb", "chrY", 19702297, 20593154, copies="1", expected="1") - + ivrow("AZFc_DAZ", "chrY", 23129354, 24907040, copies="2", expected="4", change="deletion")) - # CNVpytor: no call over A's GJB6 deletion, a deletion over B's CFTRdele2,3 (absent by depth) - b_cnv = put(f"{t}/B_cnvs.vcf", "##fileformat=VCFv4.2\n#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\n" - "chr7\t117498001\tCNV1\tN\t\t.\tPASS\tSVTYPE=DEL;END=117520000\n") - a_cnv = put(f"{t}/A_cnvs.vcf", "##fileformat=VCFv4.2\n#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\n") - rc, log = run("screen", "--pedigree", ped, "--genes", GENES, "--clinvar", f"A={a_hits}", "--clinvar", - f"B={b_hits}", "--cn-intervals", f"A={a_iv}", "--cn-intervals", f"B={b_iv}", - "--cnvpytor", f"A={a_cnv}", "--cnvpytor", f"B={b_cnv}", "--out-dir", f"{t}/cn") - md = open(f"{t}/cn/couple_A_B.md").read() if os.path.exists(f"{t}/cn/couple_A_B.md") else "" - lines = [x for x in md.splitlines() if x.startswith("- A,") or x.startswith("- B,")] - check("cn alleles: each of the five alleles of each partner has one of the three states", - rc == 0 and all(sum(f"- {p}, {n}: **{st}**" in md for st in ("present", "absent", "not assessable")) == 1 - for p in "AB" for n in ("del(GJB6-D13S1830)", "CFTRdele2,3", "HBB exon 3 deletion", - "HBB 619 bp deletion", "Sicilian (delta-beta)0 deletion")), - (rc, log, lines)) - check("cn alleles: A's GJB6 deletion present, A's HBB not assessable with its reason, B's CFTR absent", - "- A, del(GJB6-D13S1830): **present** (read depth, step 35: 1 of 2 copies)" in md - and "- A, HBB exon 3 deletion: **not assessable** (read depth, step 35: not assessed (between_counts))" in md - and "- B, CFTRdele2,3: **absent**" in md, lines) - check("cn alleles: B's Sicilian and 619 bp deletions present, A's absent", - "- B, Sicilian (delta-beta)0 deletion: **present** (read depth, step 35: 1 of 2 copies)" in md - and "- B, HBB 619 bp deletion: **present** (read depth, step 35: 1 of 2 copies)" in md - and "- A, Sicilian (delta-beta)0 deletion: **absent** (read depth, step 35: 2 of 2 copies)" in md, lines) - check("cn alleles: where CNVpytor and the depth call disagree, both are printed", - "- A, del(GJB6-D13S1830): **present** (read depth, step 35: 1 of 2 copies); " - "CNVpytor (step 18) calls no deletion here" in md - and "- B, CFTRdele2,3: **absent** (read depth, step 35: 2 of 2 copies); CNVpytor (step 18) calls a " - "deletion here" in md - and "- B, GJB6_D13S1830" not in md and "- B, del(GJB6-D13S1830): **absent** (read depth, step 35: 2 of 2 " - "copies)\n" in md + "\n", lines) - check("cn alleles: no CNVpytor note under two of its 1 kb bins (B's 619 bp, 621 bp); the 13.4 kb Sicilian gets it", - "- B, HBB 619 bp deletion: **present** (read depth, step 35: 1 of 2 copies)\n" in md - and "- B, HBB exon 3 deletion: **present** (read depth, step 35: 1 of 2 copies)\n" in md - and "- B, Sicilian (delta-beta)0 deletion: **present** (read depth, step 35: 1 of 2 copies); " - "CNVpytor (step 18) calls no deletion here" in md, lines) - check("cn alleles: the male partner's AZF regions, AZFc a deletion; the female's not applicable", - "- B, AZFc deletion (DAZ copies; gr/gr and b2/b3 leave two of four): **present** (read depth, step 35: " - "2 of 4 copies)" in md and "- B, AZFa deletion: **absent** (read depth, step 35: 1 of 1 copies)" in md - and "- A, AZF regions: not applicable (no Y chromosome)" in md and "- A, AZFa" not in md, lines) - rc, log = run("screen", "--pedigree", ped, "--genes", GENES, "--clinvar", f"A={a_hits}", "--clinvar", - f"B={b_hits}", "--out-dir", f"{t}/nocn") - check("cn alleles: without --cn-intervals no allele section is written", - rc == 0 and "Carrier deletion alleles" not in open(f"{t}/nocn/couple_A_B.md").read()) - - # 11b. a read-depth allele in both partners, or one beside the other's - # finding in the same gene, is a possible shared risk the headline names - c_hits = put(f"{t}/C.vcf", HEAD + hit("UGT1A1")) - d_hits = put(f"{t}/D.vcf", HEAD + hit("HBB")) - c_iv = put(f"{t}/C_cn_intervals.tsv", ivh + ivrow("CFTR_dele2_3", "chr7", 117498312, 117519392, copies="1", - change="deletion") - + ivrow("HBB_exon3_del", "chr11", 5225254, 5225875, copies="1", change="deletion")) - d_iv = put(f"{t}/D_cn_intervals.tsv", ivh + ivrow("CFTR_dele2_3", "chr7", 117498312, 117519392, copies="1", - change="deletion")) - ped2 = put(f"{t}/ped2.tsv", "sample\tsex\tfather\tmother\tpartner\nC\tfemale\t.\t.\tD\nD\tmale\t.\t.\tC\n") - - def screen2(civ, div, out): - rc, log = run("screen", "--pedigree", ped2, "--genes", GENES, "--clinvar", f"C={c_hits}", "--clinvar", - f"D={d_hits}", "--cn-intervals", f"C={civ}", "--cn-intervals", f"D={div}", "--out-dir", out) - p = f"{out}/couple_C_D.md" - return rc, log, open(p).read() if os.path.exists(p) else "", rows(f"{out}/couple_C_D.tsv") if os.path.exists( - f"{out}/couple_C_D.tsv") else [] - rc, log, md, tab = screen2(c_iv, d_iv, f"{t}/cn2") - head = md.split("## Shared risk", 1)[-1].split("## X-linked", 1)[0] - check("cn shared: no gene-table row is shared, and the headline says read depth adds a possible shared risk", - rc == 0 and not any(r["result"] == "shared" for r in tab) - and "No gene of the list where both partners carry a change in the gene table; read depth (step 35) " - "adds a possible shared risk, below." in head, (rc, log, head)) - check("cn shared: CFTRdele2,3 present in both partners is named under the headline", - "- **CFTR**: C: CFTRdele2,3 present (read depth, step 35: 1 of 2 copies); D: CFTRdele2,3 present " - "(read depth, step 35: 1 of 2 copies). Both partners may carry a change in CFTR" in head, head) - check("cn shared: an HBB deletion of one partner beside the other's ClinVar HBB hit is named too", - "- **HBB**: C: HBB exon 3 deletion present (read depth, step 35: 1 of 2 copies); D: " in head - and "possibly shared, from read depth: CFTR" in log and "possibly shared, from read depth: HBB" in log, - (head, log)) - none_iv = put(f"{t}/N_cn_intervals.tsv", ivh + ivrow("CFTR_dele2_3", "chr7", 117498312, 117519392)) - rc, log, md, _ = screen2(none_iv, d_iv, f"{t}/cn3") - head = md.split("## Shared risk", 1)[-1].split("## X-linked", 1)[0] - check("cn shared, red: with C's CFTRdele2,3 absent and no HBB deletion the plain negative line stays", - rc == 0 and "No gene of the list where both partners carry a change.\n" in head - and "Possible shared risk" not in head and "possibly shared" not in log, head) - # DFNB1: one partner's del(GJB6-D13S1830) beside the other's GJB2 hit - g_hits = put(f"{t}/G.vcf", HEAD + hit("GJB2")) - g_iv = put(f"{t}/G_cn_intervals.tsv", ivh + ivrow("GJB6_D13S1830", "chr13", 20223037, 20531806, copies="1", - change="deletion")) - rc, log = run("screen", "--pedigree", ped2, "--genes", GENES, "--clinvar", f"C={c_hits}", "--clinvar", - f"D={g_hits}", "--cn-intervals", f"C={g_iv}", "--out-dir", f"{t}/cn4") - md = open(f"{t}/cn4/couple_C_D.md").read() if os.path.exists(f"{t}/cn4/couple_C_D.md") else "" - head = md.split("## Shared risk", 1)[-1].split("## X-linked", 1)[0] - check("cn shared: C's del(GJB6-D13S1830) beside D's GJB2 hit is a possible DFNB1 shared risk naming both", - rc == 0 and "- **GJB2/GJB6 (DFNB1)**: C: del(GJB6-D13S1830) present (read depth, step 35: 1 of 2 " - "copies); D: " in head and "GJB2" in head.split("; D: ", 1)[-1], (rc, log, head)) - # A carrier list without CFTR: CFTRdele2,3 in both is no shared risk; HBB still is - no_cftr = put(f"{t}/no_cftr.tsv", "".join(ln for ln in open(GENES) if not ln.startswith("CFTR\t"))) - rc, log = run("screen", "--pedigree", ped2, "--genes", no_cftr, "--clinvar", f"C={c_hits}", "--clinvar", - f"D={d_hits}", "--cn-intervals", f"C={c_iv}", "--cn-intervals", f"D={d_iv}", "--out-dir", f"{t}/cn5") - md = open(f"{t}/cn5/couple_C_D.md").read() if os.path.exists(f"{t}/cn5/couple_C_D.md") else "" - head = md.split("## Shared risk", 1)[-1].split("## X-linked", 1)[0] - check("cn shared: a carrier list without CFTR gives no CFTR shared risk, HBB stays", - rc == 0 and "**CFTR**" not in head and "- **HBB**: C: HBB exon 3 deletion present" in head - and "possibly shared, from read depth: CFTR" not in log, (rc, log, head)) - - # 10. genes - gtf = put(f"{t}/g.gtf", "##description: evidence-based annotation of the human genome (GRCh38), version 99\n" + "".join( - f'{c}\tHAVANA\tgene\t{s}\t{e}\t.\t+\t.\tgene_id "X"; gene_name "{g}";\n' - for g, c, s, e in (("NAGA", "chr22", 100, 900), ("AAA1", "chr3", 10, 20), ("XXL1", "chrX", 5000000, 5000100), - ("PARG1", "chrX", 20000, 30000), ("PARG1", "chrY", 20000, 30000), ("YYY1", "chrY", 9000000, 9000100), - ("C9orf72", "chr9", 1, 2)))) - p9 = put(f"{t}/p9.xml", "" + "".join( - f"{c}{m}" - "" - for c, m in (("1", "Autosomal recessive"), ("2", "X-linked recessive"), ("3", "Autosomal dominant"))) + "") - - def dis(code, name, sym, kind="Disease-causing germline mutation(s) in"): - return (f"{code}{name}" - f"{sym}{kind}" - "Assessed" - "") - p6 = put(f"{t}/p6.xml", '' - + dis("1", "Recessive one", "AAA1") + dis("2", "X one", "XXL1") + dis("1", "Pseudo", "PARG1") - + dis("1", "On Y", "YYY1") + dis("3", "Dominant", "DOM1") + dis("1", "Candidate", "AAA1", "Candidate gene tested in") - + dis("1", "Upper case orf", "C9ORF72") + "") - seed = put(f"{t}/seed.tsv", "\t".join(cr.GENE_COLUMNS) + "\nNAGA\t.\t0\t0\tAR\tACMG\tSchindler disease\n" - "OLD1\tchr1\t1\t2\tAR\tOrphanet\tdropped\n") - rc, log = run("genes", "--table", seed, "--orphanet-genes", p6, "--orphanet-inheritance", p9, "--gtf", gtf, - "--par-bed", PAR, "--out", f"{t}/new.tsv") - new = cr.read_genes(f"{t}/new.tsv") if rc == 0 else {} - check("genes: the ACMG row is kept with its GENCODE span", new.get("NAGA", {}).get("start") == 100 - and new["NAGA"]["condition"] == "Schindler disease", (rc, log, new.get("NAGA"))) - check("genes: an autosomal Orphanet gene is AR, a chrX one XL, a PAR one AR, chrY and dominant left out", - new.get("AAA1", {}).get("inheritance") == "AR" and new.get("XXL1", {}).get("inheritance") == "XL" - and new.get("PARG1", {}).get("inheritance") == "AR" and new.get("PARG1", {}).get("chrom") == "chrX" - and "YYY1" not in new and "DOM1" not in new, sorted(new)) - check("genes: an old Orphanet row is made again, not kept; an upper-case orf symbol is matched", - "OLD1" not in new and "C9orf72" in new and new["AAA1"]["condition"] == "Recessive one", sorted(new)) - check("genes: the header names the releases", - "release 99" in open(f"{t}/new.tsv").read() and "2026-01-02" in open(f"{t}/new.tsv").read()) - bad = put(f"{t}/bad.tsv", "\t".join(cr.GENE_COLUMNS) + "\nNOSUCH\t.\t0\t0\tAR\tACMG\tx\n") - rc, log = run("genes", "--table", bad, "--orphanet-genes", p6, "--orphanet-inheritance", p9, "--gtf", gtf, - "--par-bed", PAR, "--out", f"{t}/bad_out.tsv") - check("genes: a panel gene GENCODE does not have stops it", rc == 2 and "NOSUCH" in log, (rc, log)) - - # 12. a split half call (./1, the GT 1/2 record step 06 splits) is one copy: - # the missing allele still counts in the ploidy, so it is never hom - check("zygosity: ./1 and 1|. on an autosome are het (one copy), not hom", - cr.zygosity("./1", "chr7", "female", False) == "het" - and cr.zygosity("1|.", "chr7", "male", False) == "het", - (cr.zygosity("./1", "chr7", "female", False), cr.zygosity("1|.", "chr7", "male", False))) - with tempfile.TemporaryDirectory() as t: - v = put(f"{t}/half.vcf", HEAD + hit("CFTR", gt="./1")) - f, _ = cr.clinvar_findings(v, GENE_ROWS, "female", cr.family_report.read_par(PAR)) - check("a ./1 CFTR hit is one copy, worded as the other reports word a half call", - len(f) == 1 and f[0]["copies"] == 1 and " one copy, other copy not called ref (./1), " in f[0]["text"], f) - check("zygosity: 1/1 is hom, a haploid 1 on chrX is hemizygous, ./. and ./0 are no call", - cr.zygosity("1/1", "chr7", "female", False) == "hom" - and cr.zygosity("1", "chrX", "female", False) == "hemizygous" - and cr.zygosity("./1", "chrX", "male", False) == "hemizygous" - and cr.zygosity("./.", "chr7", "female", False) is None - and cr.zygosity("./0", "chr7", "female", False) is None) - - print("\nRESULT:", "ALL PASS" if not FAILS else "%d FAILED" % len(FAILS)) - return 1 if FAILS else 0 - - -if __name__ == "__main__": - sys.exit(main()) diff --git a/tests/test_cross_engine_biallelic.py b/tests/test_cross_engine_biallelic.py index 2b89415be..f1b4f9d6d 100644 --- a/tests/test_cross_engine_biallelic.py +++ b/tests/test_cross_engine_biallelic.py @@ -42,8 +42,9 @@ REPO = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(0, os.path.join(REPO, "bin")) import collect_summary # noqa: E402 -import couple_report # noqa: E402 import render_report # noqa: E402 +sys.path.insert(0, os.path.join(REPO, "tests")) +from og_binary import og_binary # noqa: E402 FAILS = [] @@ -250,34 +251,43 @@ def main(): txt[-3000:]) check("HTML report: the SF row carries the two-hit detail", "biallelic with DEL chr1:45335000-45337000" in html) - # 9. the couple screen: hypomorph x null is a shared gene, hypomorph x hypomorph is not - genes = couple_report.read_genes(os.path.join(REPO, "assets", "carrier_genes.tsv")) + # 9. the couple screen (og couple screen): hypomorph x null is a shared gene, hypomorph x hypomorph is not tar = sample(work, "couple_tar", [hit(TAR_ALLELE, "RBM8A", "0/1")]) - fa, _ = couple_report.clinvar_findings(f"{tar}/clinvar/S_clinvar_hits.vcf", genes, "female", {}, []) - null = couple_report.finding("RBM8A", "deletion chr1:145700000-146000000 (300.0 kb) het, 6 exons of the " - "gene (Delly)", 1) - sexes = {"A": "female", "B": "male"} - rows = couple_report.screen_couple("A", "B", sexes, {"A": fa, "B": [null]}, genes) - r = [x for x in rows if x["gene"] == "RBM8A"] + empty = sample(work, "couple_empty", []) + cw = f"{work}/couple_run" + ped = put(f"{cw}/pedigree.tsv", "sample\tsex\tfather\tmother\tpartner\nA\tfemale\t.\t.\tB\n" + "B\tmale\t.\t.\tA\n") + # B's null allele: a 300 kb Delly deletion over RBM8A's exons (no RDCN, so read depth is no question) + null_sv = put(f"{cw}/B_sv.vcf", "##fileformat=VCFv4.2\n#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\t" + "FORMAT\tS\nchr1\t145700000\tDEL0\tN\t\t.\tPASS\tSVTYPE=DEL;END=146000000\tGT\t0/1\n") + exons = put(f"{cw}/exons.bed", "".join(f"chr1\t{s_}\t{s_ + 100}\n" for s_ in range(145921000, 145928000, 1200))) + + def couple(name, b_hits, *extra): + out = f"{cw}/{name}" + r = subprocess.run([og_binary(), "couple", "screen", "--pedigree", ped, + "--genes", os.path.join(REPO, "assets", "carrier_genes.tsv"), + "--clinvar", f"A={tar}/clinvar/S_clinvar_hits.vcf", + "--clinvar", f"B={b_hits}/clinvar/S_clinvar_hits.vcf", *extra, "--out-dir", out], + capture_output=True, text=True) + rows, md_text = [], "" + if r.returncode == 0: + with open(f"{out}/couple_A_B.tsv") as f: + head = f.readline().rstrip("\n").split("\t") + rows = [dict(zip(head, x.rstrip("\n").split("\t"))) for x in f] + with open(f"{out}/couple_A_B.md") as f: + md_text = f.read() + return r, rows, md_text + r, rows, _ = couple("null", empty, "--delly", f"B={null_sv}", "--exons", exons) + x = [y for y in rows if y["gene"] == "RBM8A"] check("couple: RBM8A allele in A + RBM8A deletion in B is a shared gene, 1 in 4", - len(r) == 1 and r[0]["result"] == "shared" and r[0]["offspring_risk"] == "1 in 4 per pregnancy" - and "rs139428292" in r[0]["findings_a"] and "hypomorph" in r[0]["explanation"], rows) - rows = couple_report.screen_couple("A", "B", sexes, {"A": fa, "B": list(fa)}, genes) + len(x) == 1 and x[0]["result"] == "shared" and x[0]["offspring_risk"] == "1 in 4 per pregnancy" + and "rs139428292" in x[0]["findings_a"] and "hypomorph" in x[0]["explanation"], (r.stderr[-500:], rows)) + r, rows, _ = couple("both", tar) check("couple: the RBM8A allele in both partners is set aside, no row", - not [x for x in rows if x["gene"] == "RBM8A"], rows) - rows = couple_report.screen_couple("A", "B", sexes, {"A": fa, "B": []}, genes) + r.returncode == 0 and not [y for y in rows if y["gene"] == "RBM8A"], (r.stderr[-500:], rows)) + r, rows, md_text = couple("one", empty) check("couple: the RBM8A allele in one partner alone is set aside, no row", - not [x for x in rows if x["gene"] == "RBM8A"], rows) - ped = put(f"{work}/couple_run/pedigree.tsv", "sample\tsex\tfather\tmother\tpartner\nA\tfemale\t.\t.\tB\n" - "B\tmale\t.\t.\tA\n") - empty = sample(work, "couple_empty", []) - r = subprocess.run([sys.executable, os.path.join(REPO, "bin", "couple_report.py"), "screen", "--pedigree", ped, - "--genes", os.path.join(REPO, "assets", "carrier_genes.tsv"), - "--clinvar", f"A={tar}/clinvar/S_clinvar_hits.vcf", - "--clinvar", f"B={empty}/clinvar/S_clinvar_hits.vcf", - "--out-dir", f"{work}/couple_run/out"], capture_output=True, text=True) - md = f"{work}/couple_run/out/couple_A_B.md" - md_text = open(md).read() if os.path.isfile(md) else "" + r.returncode == 0 and not [y for y in rows if y["gene"] == "RBM8A"], (r.stderr[-500:], rows)) check("couple run: the RBM8A allele counts as no finding of the listed genes (0 / 1) and is a gap line", r.returncode == 0 and "| A | 0 / 1 |" in md_text and "Set aside for A" in md_text, (r.returncode, r.stderr[-500:], md_text[-1500:])) diff --git a/tests/test_paralog_loci.py b/tests/test_paralog_loci.py deleted file mode 100755 index 58c9c2ac0..000000000 --- a/tests/test_paralog_loci.py +++ /dev/null @@ -1,337 +0,0 @@ -#!/usr/bin/env python3 -"""assets/paralog_loci.tsv against the models of assets/parascopy_models_v1.7.txt. - -Step 35 runs `parascopy cn-using` once per row of the catalog, with the model -file the row names. The models are the genes of -assets/parascopy_models_v1.7.txt (every region of each model of Parascopy's -pinned data, models_GRCh38_1KGP_v1.7.tar.gz, Zenodo record 15019940), each as -.gz, the file name list.txt gives it (the e2e case paralog-catalog-1-gba -compares the two names lists for the five populations). - 1. the model list: 167 genes, each with exactly one main region, each name - .gz; - 2. the catalog: its columns in order, and every row valid: a model on the - list, a GRCh38 region, pscn_reliable yes or no, a known tag, a table - name used once, a source; the SMN1 row writes the table `smn` the reports - read; - 3. controls: a catalog naming a model not on the list (GBA1.gz, where the - model file is GBA.gz; CYP21A2.gz, which the data has no model for), a bad - region, a region outside its model's main region, a repeated table name - and a catalog without the SMN1 row are each refused; - 5. one owner per locus: no catalog model's regions (main or copy) overlap - the targets or controls of a bin/cn_loci.tsv row the depth engine owns - (owner cn-depth), except RHCE, whose model covers RHD as a cross-check - of the RHD row (the exemption is needed: without it RHCE is refused); - every catalog gene assets/callability_genes.tsv lists has the owner - parascopy there (a planted '.' owner is refused), and the catalog - genes it does not list are the 17 of NOT_IN_CALLABILITY; - 4. the report readers: the not-assessed row step 35 writes (its own lines, - cut from scripts/35-paralogs.sh and run) gives a reading that names the - reason in the summary (og summary collect), and in bin/paraphase_report.py and - bin/couple_report.py (the Paraphase side-by-side and the couple screen), - and a called table still reads as before. Control: the old row with "." - for its place is not found over SMN1 exon 7 there. A catalog table - without agCN_filter or agCN_qual is unreadable, not "not resolved" - (control: the same table with every column is called). - -Run: python3 tests/test_paralog_loci.py -""" -import os -import re -import subprocess -import sys -import tempfile - -REPO = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) -MODELS = os.path.join(REPO, "assets", "parascopy_models_v1.7.txt") -CATALOG = os.path.join(REPO, "assets", "paralog_loci.tsv") -COLUMNS = ["model", "genes", "region", "reading", "pscn_reliable", "tag", "cross_check", "table", "source"] -TAGS = {"carrier", "SF", "disease", "PGx", "trait"} -CROSS_CHECKS = {"paraphase", "cn-depth", "none"} -CN_LOCI = os.path.join(REPO, "bin", "cn_loci.tsv") -CALLABILITY = os.path.join(REPO, "assets", "callability_genes.tsv") -# The one catalog model allowed to overlap a cn-depth row of bin/cn_loci.tsv: -# RHCE's model covers most of RHD, and the catalog reads it as a cross-check. -CN_DEPTH_EXEMPT = {("RHCE.gz", "RHD")} -CONTIGS = {f"chr{c}" for c in list(range(1, 23)) + ["X", "Y"]} -# The catalog genes assets/callability_genes.tsv does not list. build-callability.sh takes its -# genes from GIAB's CMRG list and genome stratifications only, never from this catalog (it says -# why): seven are pseudogenes, which it leaves out as not protein-coding, and none of its -# reasons applies to the other ten. Step 35's own section gives their reading. A new catalog gene missing -# there, or one of these listed, changes this set and goes red: rebuild, or extend the set. -NOT_IN_CALLABILITY = {"CELP", "GBAP1", "NCF1B", "NCF1C", "OTOAP1", "PMS2CL", "STRCP1", - "ABCC6", "CFH", "CFHR4", "CHRNA7", "DEFA3", "KRT86", "NEB", "PIK3CA", "PLG", "VWF"} - -FAILS = 0 - - -def check(desc, ok, detail=""): - global FAILS - print(f"[{'PASS' if ok else 'FAIL'}] {desc}" + ("" if ok else f" -- {detail}")) - if not ok: - FAILS += 1 - - -def read_models(path): - """One .gz per main line of the region file.""" - with open(path) as f: - rows = [line.rstrip("\n").split("\t") for line in f if line.strip() and not line.startswith("#")] - return [r[0] + ".gz" for r in rows if len(r) == 3 and r[2] == "main"] - - -def span(text): - """'chr1:10-20' -> ('chr1', 10, 20), 1-based and inclusive; None if it is not one.""" - m = re.fullmatch(r"(chr[0-9XY]+):(\d+)-(\d+)", text) - return (m.group(1), int(m.group(2)), int(m.group(3))) if m else None - - -def model_regions(path): - """.gz -> [(chrom, start, end, kind)] of every region of the model, 1-based.""" - out = {} - with open(path) as f: - for line in f: - if line.strip() and not line.startswith("#"): - g, r, kind = line.rstrip("\n").split("\t") - m = re.fullmatch(r"([^:]+):(\d+)-(\d+)", r) - out.setdefault(g + ".gz", []).append((m.group(1), int(m.group(2)), int(m.group(3)), kind)) - return out - - -def table_rows(path): - with open(path) as f: - lines = [x.rstrip("\n").split("\t") for x in f if x.strip() and not x.startswith("#")] - return [dict(zip(lines[0], r)) for r in lines[1:]] - - -def cn_depth_parts(path): - """[(locus, chrom, start, end)] of every target and control of the cn_loci rows - the depth engine owns, 1-based inclusive (the file is BED: 0-based, end exclusive).""" - out = [] - for r in table_rows(path): - if r["owner"] != "cn-depth": - continue - for part in (r["targets"] + ";" + r["controls"]).split(";"): - c = part.split(":") - if len(c) >= 2 and "-" in c[1]: - s, e = c[1].split("-") - out.append((r["locus"], r["chrom"], int(s) + 1, int(e))) - return out - - -def owner_problems(catalog_models, regions, cn_parts, exempt): - """Every overlap of a catalog model's region with a cn-depth row's target or - control that the exemptions do not name.""" - out = [] - for model in catalog_models: - for c, s, e, kind in regions.get(model, []): - for locus, cc, cs, ce in cn_parts: - if c == cc and s <= ce and cs <= e and (model, locus) not in exempt: - out.append(f"{model} ({kind} {c}:{s}-{e}) overlaps cn_loci row {locus} ({cc}:{cs}-{ce})") - return out - - -def callability_problems(catalog_genes, rows): - """Every catalog gene the callability catalog lists without the owner parascopy.""" - return [f"{r['gene']} has owner {r['owner']}" for r in rows - if r["gene"] in catalog_genes and r["owner"] != "parascopy"] - - -def problems(lines, models, regions=None): - """Every problem of a catalog (its lines, comments included), as text.""" - out = [] - rows = [line.rstrip("\n").split("\t") for line in lines if line.strip() and not line.startswith("#")] - if not rows or rows[0] != COLUMNS: - return [f"header is {rows[0] if rows else None}, want {COLUMNS}"] - tables = set() - for n, r in enumerate(rows[1:], 2): - if len(r) != len(COLUMNS): - out.append(f"row {n}: {len(r)} columns") - continue - c = dict(zip(COLUMNS, r)) - if c["model"] not in models: - out.append(f"row {n}: model {c['model']} is not in the pinned model list") - m = re.fullmatch(r"(chr[0-9XY]+):(\d+)-(\d+)", c["region"]) - if not m or m.group(1) not in CONTIGS or int(m.group(2)) < 1 or int(m.group(2)) > int(m.group(3)): - out.append(f"row {n}: region {c['region']} is not chrom:start-end on GRCh38") - elif regions is not None and c["model"] in regions: - r = span(c["region"]) - if not any(k == "main" and ch == r[0] and s <= r[1] and r[2] <= e for ch, s, e, k in regions[c["model"]]): - out.append(f"row {n}: region {c['region']} is not inside the main region of {c['model']}") - if c["cross_check"] not in CROSS_CHECKS: - out.append(f"row {n}: cross_check {c['cross_check']}") - if c["pscn_reliable"] not in ("yes", "no"): - out.append(f"row {n}: pscn_reliable {c['pscn_reliable']}") - if c["tag"] not in TAGS: - out.append(f"row {n}: tag {c['tag']}") - # model, region and table reach a shell loop and file names: the - # patterns of scripts/35-paralogs.sh (a table is never "." or "..") - for k, pat in (("model", r"[A-Za-z0-9._-]+\.gz"), ("region", r"chr[0-9XY]+:[1-9][0-9]*-[1-9][0-9]*"), - ("table", r"[A-Za-z0-9][A-Za-z0-9_-]*")): - if not re.fullmatch(pat, c[k]): - out.append(f"row {n}: {k} {c[k]!r} is not what the step accepts") - if c["table"] in tables or c["table"] in ("hba", "paraphase"): - out.append(f"row {n}: table {c['table']} is used twice") - tables.add(c["table"]) - for k in ("genes", "reading", "source"): - if not c[k].strip(): - out.append(f"row {n}: empty {k}") - if not any(r[:1] == ["SMN1.gz"] and len(r) == len(COLUMNS) and r[7] == "smn" for r in rows[1:]): - out.append("no SMN1.gz row writing the table smn, which the reports read") - return out - - -def main(): - # 1. the model list - models = read_models(MODELS) - with open(MODELS) as f: - genes = {line.split("\t")[0] for line in f if line.strip() and not line.startswith("#")} - check("the model list has 167 names", len(models) == 167, len(models)) - check("each model has exactly one main region", len(set(models)) == len(models) == len(genes), - (len(set(models)), len(models), len(genes))) - check("each name is .gz", all(re.fullmatch(r"[A-Za-z0-9._-]+\.gz", m) for m in models), - [m for m in models if not m.endswith(".gz")]) - check("SMN1.gz and GBA.gz are on the list", {"SMN1.gz", "GBA.gz"} <= set(models)) - models = set(models) - regions = model_regions(MODELS) - - # 2. the catalog - with open(CATALOG) as f: - lines = f.readlines() - found = problems(lines, models, regions) - check("assets/paralog_loci.tsv: every row is valid", not found, "; ".join(found)) - rows = table_rows(CATALOG) - check("the catalog has the SMN1 row and 36 more", len(rows) == 37, len(rows)) - - # 3. controls: each planted fault is refused - head = "\t".join(COLUMNS) + "\n" - smn = "SMN1.gz\tSMN1,SMN2\tchr5:70951946-70951946\tx\tyes\tcarrier\tparaphase\tsmn\ts\n" - check("control: the SMN1 row alone is valid", not problems([head, smn], models), problems([head, smn], models)) - planted = { - "a model not on the list (GBA1.gz)": "GBA1.gz\tGBA1\tchr1:155234452-155244699\tx\tno\tcarrier\tnone\tgba\ts\n", - "a model the data does not have (CYP21A2.gz)": - "CYP21A2.gz\tCYP21A2\tchr6:32038265-32041670\tx\tno\tcarrier\tnone\tcyp21a2\ts\n", - "a region outside its model's main region": "GBA.gz\tGBA1\tchr5:70951946-70951946\tx\tno\tcarrier\tnone\tgba\ts\n", - "an unknown cross_check": "GBA.gz\tGBA1\tchr1:155234452-155244699\tx\tno\tcarrier\tgauchian\tgba\ts\n", - "a region on no GRCh38 contig": "GBA.gz\tGBA1\tchr1_alt:1-2\tx\tno\tcarrier\tnone\tgba\ts\n", - "a region that ends before it starts": "GBA.gz\tGBA1\tchr1:20-10\tx\tno\tcarrier\tnone\tgba\ts\n", - "a repeated table name": "GBA.gz\tGBA1\tchr1:155234452-155244699\tx\tno\tcarrier\tnone\tsmn\ts\n", - "a table name with a space": "GBA.gz\tGBA1\tchr1:155234452-155244699\tx\tno\tcarrier\tnone\tg a\ts\n", - "a table name the step refuses (gba:2)": "GBA.gz\tGBA1\tchr1:155234452-155244699\tx\tno\tcarrier\tnone\tgba:2\ts\n", - "a table name that is a path (..)": "GBA.gz\tGBA1\tchr1:155234452-155244699\tx\tno\tcarrier\tnone\t..\ts\n", - "an unknown tag": "GBA.gz\tGBA1\tchr1:155234452-155244699\tx\tno\tcancer\tnone\tgba\ts\n", - } - for desc, row in planted.items(): - check(f"control: {desc} is refused", bool(problems([head, smn, row], models, regions))) - check("control: a catalog without the SMN1 row is refused", - bool(problems([head, "GBA.gz\tGBA1\tchr1:155234452-155244699\tx\tno\tcarrier\tnone\tgba\ts\n"], models))) - - # 5. one owner per locus - cn_parts = cn_depth_parts(CN_LOCI) - check("bin/cn_loci.tsv has cn-depth rows to compare with (HBA, RHD among them)", - {"HBA", "RHD"} <= {x[0] for x in cn_parts}, sorted({x[0] for x in cn_parts})) - catalog_models = [r["model"] for r in rows] - found = owner_problems(catalog_models, regions, cn_parts, CN_DEPTH_EXEMPT) - check("no catalog model overlaps a cn-depth row of bin/cn_loci.tsv but the RHCE cross-check", not found, - "; ".join(found[:5])) - check("control: without the exemption RHCE's model is refused (it covers RHD)", - any("RHCE.gz" in x and "RHD" in x for x in owner_problems(catalog_models, regions, cn_parts, set()))) - planted_regions = dict(regions, **{"HBAX.gz": [("chr16", 172000, 178000, "main")]}) - check("control: a model over HBA1 and HBA2 is refused", - bool(owner_problems(["HBAX.gz"], planted_regions, cn_parts, CN_DEPTH_EXEMPT))) - rhce = next((r for r in rows if r["model"] == "RHCE.gz"), {}) - check("the RHCE row says it cross-checks the depth engine, and does not list RHD", - rhce.get("cross_check") == "cn-depth" and "RHD" not in rhce.get("genes", "").split(","), rhce) - catalog_genes = {g for r in rows for g in r["genes"].split(",")} - cal = table_rows(CALLABILITY) - found = callability_problems(catalog_genes, cal) - check("every catalog gene assets/callability_genes.tsv lists has the owner parascopy", not found, "; ".join(found)) - check("the callability catalog lists catalog genes (GBA1, C4A, AMY1C, SMN1 among them)", - {"GBA1", "C4A", "AMY1C", "SMN1"} <= {r["gene"] for r in cal if r["gene"] in catalog_genes}) - def unlisted(cal_rows): - return catalog_genes - {r["gene"] for r in cal_rows} - absent = unlisted(cal) - check("the catalog genes the callability catalog does not list are the 17 known ones", - absent == NOT_IN_CALLABILITY, sorted(absent ^ NOT_IN_CALLABILITY)) - planted_neb = cal + [dict(cal[0], gene="NEB", owner="parascopy")] - check("control: a callability row for NEB, one of the 17, makes the set differ", - "NEB" in NOT_IN_CALLABILITY and unlisted(planted_neb) != NOT_IN_CALLABILITY, - sorted(unlisted(planted_neb) ^ NOT_IN_CALLABILITY)) - planted_cal = [dict(r, owner=".") if r["gene"] == "C4A" else r for r in cal] - check("control: a catalog gene without the owner parascopy is refused", - bool(callability_problems(catalog_genes, planted_cal))) - - # 4. the report reader on step 35's tables - sys.path.insert(0, os.path.join(REPO, "bin")) - import collect_summary # noqa: E402 - - def parascopy(d): - """Step 35's section of the summary og summary collect writes for folder D.""" - return collect_summary.collect("S", d)["sections"]["parascopy"]["data"] - - def gba1(d): - """The gba1 catalog row of that section.""" - return next(x for x in parascopy(d)["loci"] if x["table"] == "gba1") - - head11 = ("chrom\tstart\tend\tlocus\tagCN_filter\tagCN\tagCN_qual\tpsCN_filter\tpsCN\tpsCN_qual\t" - "homologous_regions\n") - with tempfile.TemporaryDirectory() as d: - os.makedirs(os.path.join(d, "paralogs")) - t = os.path.join(d, "paralogs", "S_smn_copy_number.tsv") - # the lines of step 35 that write a not-assessed table, run as they are - with open(os.path.join(REPO, "scripts", "35-paralogs.sh")) as f: - src = f.read() - m = re.search(r"\n( chrom=\$\{region%%:\*\}.*?\n \} > \"\$out\"\n)", src, re.S) - check("step 35 holds the lines that write a not-assessed table", m is not None) - reason = "no read over chr5:70951946-70951946" - snippet = ("header() { printf 'chrom\\tstart\\tend\\tlocus\\tagCN_filter\\tagCN\\tagCN_qual\\t" - "psCN_filter\\tpsCN\\tpsCN_qual\\thomologous_regions\\n'; }\n" + (m.group(1) if m else "false\n")) - subprocess.run(["bash", "-c", snippet], check=False, env=dict( - os.environ, region="chr5:70951946-70951946", model="SMN1.gz", reason=reason, out=t)) - import paraphase_report # noqa: E402 - import couple_report # noqa: E402 - data = parascopy(d) - check("report: a not-assessed SMN table reads as not assessed, with the reason", - data["reading"] == f"SMN1 and SMN2 not assessed: {reason}: no carrier reading" - and data["smn1"]["cn"] is None, data.get("reading")) - p = paraphase_report.parascopy_smn1(t) - check("Paraphase side-by-side: a not-assessed SMN table gives no SMN1 copy number, with the reason", - p["cn"] is None and reason in p["text"], p) - found, txt = couple_report.smn_finding(t, {"SMN1"}) - check("couple screen: a not-assessed SMN table is a gap that names the reason, not a carrier", - found == [] and reason in txt and "not resolved" in txt, txt) - with open(t, "w") as f: - f.write(head11 + f".\t.\t.\tSMN1\tnot assessed: {reason}\t.\t.\t.\t.\t.\t.\n") - check("control: the old not-assessed row, with . for its place, loses the reason there", - reason not in paraphase_report.parascopy_smn1(t)["text"]) - with open(t, "w") as f: - f.write(head11 + "chr5\t70925000\t70953000\tSMN1\tPASS\t4\t40\tPASS\t1,3\t35,30\t" - "chr5:70049000-70077000:-\n") - data = parascopy(d) - check("report: a called SMN table still reads one SMN1 copy as a carrier", - data["smn1"]["cn"] == 1 and "carrier" in data["reading"] and "not assessed" not in data["reading"], - data.get("reading")) - # a catalog table without agCN_filter or agCN_qual: unreadable, never "not resolved" (which - # would say Parascopy ran and gave no whole copy number) - g = os.path.join(d, "paralogs", "S_gba1_copy_number.tsv") - for drop in ("agCN_filter", "agCN_qual"): - cols = [c for c in head11.rstrip("\n").split("\t") if c != drop] - vals = {"chrom": "chr1", "start": "155231478", "end": "155244699", "locus": "GBA", "agCN_filter": "PASS", - "agCN": "4", "agCN_qual": "40", "psCN_filter": "PASS", "psCN": "2,2", "psCN_qual": "30,30", - "homologous_regions": "*"} - with open(g, "w") as f: - f.write("\t".join(cols) + "\n" + "\t".join(vals[c] for c in cols) + "\n") - loc = gba1(d) - check(f"report: a catalog table without {drop} is unreadable, not 'not resolved'", - loc["status"] == "unreadable" and loc["cn"] is None, loc) - with open(g, "w") as f: - f.write(head11 + "chr1\t155231478\t155244699\tGBA\tPASS\t4\t40\tPASS\t2,2\t30,30\t*\n") - loc = gba1(d) - check("control: the same table with every column is called", loc["status"] == "called" and loc["cn"] == 4, loc) - - if FAILS: - print(f"{FAILS} check(s) failed") - sys.exit(1) - print("all checks passed") - - -if __name__ == "__main__": - main() diff --git a/tests/test_paraphase_report.py b/tests/test_paraphase_report.py deleted file mode 100755 index f2f03d8cb..000000000 --- a/tests/test_paraphase_report.py +++ /dev/null @@ -1,454 +0,0 @@ -#!/usr/bin/env python3 -# og-leg: OG_REQUIRED -"""og paraphase: step 35b's read-group check and its two tables. - -Checks: - 1. check-bam: a BAM whose read groups all say PL:PACBIO passes (exit 0); one - with PL:ILLUMINA, one with no @RG line, one with a PacBio and an Oxford - Nanopore read group, and a file that is not a BAM stop (exit 3, or 1 for - the file that cannot be read), each saying why; - 2. table, on a JSON shaped like Paraphase 4.1.0's: SMN1, SMN2 and the SMN - exon 7-8 deletion from the smn1 region, a null SMN2 as 'no call'; PMS2, - STRC and NCF1 from gene_cn; HBA1 and HBA2 counted from the haplotype - names (a two-copy haplotype twice), the genotype with its number of - alpha-globin genes, the 4.2 kb deletion named and HBA2 one copy short; a - '--' allele said to be a large deletion that cannot be told apart; the - RCCX copies with the CYP21A2 alleles; GBA1 and OTOA counted from their - gene1 haplotypes (Paraphase 4.1.0's labels), not the family's total; a - region without gene labels as the whole family's copy number; - 3. the variant table: one row per record a haplotype carries, with the - haplotypes and their reads (ALT reads / depth); records no haplotype - carries are left out; - 4. SMN1 from step 35's Parascopy table: from the row holding SMN1 exon 7, - or from its homologous region on a row in SMN2; a quality under 20 or a - filter other than PASS is not a call; a row with fewer fields than the - header is skipped, or read as not resolved, never a crash; the - comparison says agree, disagree, or nothing when one side has no call; - 5. the region catalog, assets/paraphase_genes.tsv: it holds the rows this - test expects (a dropped row goes red), the old eight regions give the - table byte for byte as the hard-coded table before the catalog wrote it - (a one-field change in the JSON goes red), a synthetic JSON of every new - entry (F8 intron 22, OPN1LW/OPN1MW, IKBKG, the NEB repeat, CYP11B1, - TPSAB1, AMY1A, the CFH cluster) parses into its rows, and a region - without the field its row reads is "not assessed", except HBA's - genotype and RCCX's annotated_alleles, whose rows keep their copy - number; a catalog row reading either field on another region stops - the table; - 6. the region count: docs/35-paralogs.md and scripts/35b-paraphase.sh state - PARAPHASE_REGIONS, the number of regions of the pinned Paraphase - 4.1.0's data/38/config.yaml (the e2e case paralog-rows-1 counts them in - the image); a planted other number goes red; - 7. og's own fixes: a header that announces a negative or huge text length - is refused without reading on, a JSON object where a copy number belongs - stops the table and names the field, and the copy-number table is not - left behind when the variant table cannot be written. - -The tables come from og paraphase; the SMN1 rule of section 4 is still -bin/paraphase_report.py's, which the summary and the couple report import. - -Run: python3 tests/test_paraphase_report.py (OG names og, else -tests/og_binary.py finds the build) -""" -import gzip -import json -import os -import re -import shutil -import struct -import subprocess -import sys -import tempfile - -REPO = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) -sys.path.insert(0, os.path.join(REPO, "bin")) -import paraphase_report as pr # noqa: E402 -sys.path.insert(0, os.path.join(REPO, "tests")) -from og_binary import og_binary # noqa: E402 - -OG = og_binary() -GENES_TSV = os.path.join(REPO, "assets", "paraphase_genes.tsv") -GENES_COLUMNS = ["region", "gene", "field", "reading", "source"] - -FAILS = 0 - - -def check(desc, ok, detail=""): - global FAILS - print(f"[{'PASS' if ok else 'FAIL'}] {desc}{'' if ok else ' -- ' + str(detail)[:600]}") - if not ok: - FAILS += 1 - - -def bam(path, header, l_text=None): - """A BAM with this header and no reference or read (one gzip member, as - BGZF); l_text: the text length it announces, when not the real one.""" - text = header.encode() - with gzip.open(path, "wb") as f: - f.write(b"BAM\x01" + struct.pack(" max(order.index(k) for k in ("hba", "smn1", "OTOA")), - order) - v = rows(var) - check("variants: the record two haplotypes carry, with their reads; not the one none carries", - len(v) == 1 and v[0]["pos"] == "5970000" and v[0]["haplotypes"] == "pms2_pms2hap1,pms2_pms2clhap1" - and v[0]["support"] == "pms2_pms2hap1:19/20,pms2_pms2clhap1:17/18" and v[0]["region"] == "pms2", v) - - data = json.loads(json.dumps(PARAPHASE_JSON)) - data["hba"]["region_specific_info"] = {"genotype": "--/aa", "sv_called": {}} - data["hba"]["final_haplotypes"] = {"1": "hba_hba1hap1", "2": "hba_hba2hap1"} - t = {(x[0], x[1]): x for x in cn_table(data)} - check("HBA '--/aa': one HBA1 and one HBA2, and a large deletion that cannot be told apart", - "large deletion such as --SEA" in t[("hba", "HBA2")][4] and "(2 alpha-globin genes)" in t[("hba", "HBA2")][4] - and t[("hba", "HBA1")][2] == "1" and t[("hba", "HBA2")][2] == "1", t.get(("hba", "HBA2"))) - data["hba"]["region_specific_info"] = {"genotype": "aa/aa", "sv_called": {}} - data["hba"]["two_copy_haplotypes"] = ["hba_hba1hap1", "hba_hba2hap1"] - t = {(x[0], x[1]): x for x in cn_table(data)} - check("HBA 'aa/aa' with identical copies: each two-copy haplotype counted twice, no deletion found", - t[("hba", "HBA1")][2] == "2" and t[("hba", "HBA2")][2] == "2" - and "no 3.7 kb or 4.2 kb deletion or duplication found" in t[("hba", "HBA2")][4], t.get(("hba", "HBA2"))) - - # 4. SMN1 from Parascopy - p = os.path.join(work, "smn.tsv") - with open(p, "w") as f: - f.write(PARASCOPY_HEAD + "chr5\t70925000\t70953000\tSMN1\tPASS\t4\t40\tPASS\t2,2\t35,30\t" - "chr5:70049000-70077000:-\n") - s1 = pr.parascopy_smn1(p) - check("Parascopy SMN1 from the row in SMN1 (first psCN)", s1["cn"] == 2 and "quality 35" in s1["text"], s1) - with open(p, "w") as f: - f.write(PARASCOPY_HEAD + "chr5\t70049000\t70077000\tSMN1\tPASS\t4\t40\tPASS\t3,1\t30,25\t" - "chr5:70925000-70953000:-\n") - s2 = pr.parascopy_smn1(p) - check("Parascopy SMN1 from the homologous region of a row in SMN2 (second psCN)", s2["cn"] == 1, s2) - with open(p, "w") as f: - f.write(PARASCOPY_HEAD + "chr5\t70925000\t70953000\tSMN1\tPASS\t4\t40\tPASS\t2,2\t12,30\t*\n") - s3 = pr.parascopy_smn1(p) - check("quality 12 is not a call", s3["cn"] is None and "not resolved" in s3["text"], s3) - with open(p, "w") as f: - f.write(PARASCOPY_HEAD + "chr5\t70925000\t70953000\tSMN1\tPASS\t4\t40\tFewReliable\t2,2\t35,30\t*\n") - check("a filter other than PASS is not a call", pr.parascopy_smn1(p)["cn"] is None) - # A short row (fewer fields than the header, as a cut-off file leaves) is - # skipped, not a crash, and the next row is still read; a short row that - # does reach SMN1 exon 7 is "not resolved", never a copy number. - with open(p, "w") as f: - f.write(PARASCOPY_HEAD + "chr5\n" + "chr5\t70925000\n" - + "chr5\t70925000\t70953000\tSMN1\tPASS\t4\t40\tPASS\t2,2\t35,30\t*\n") - try: - s4 = pr.parascopy_smn1(p) - except Exception as e: # noqa: BLE001 - the crash is what this case catches - s4 = {"cn": None, "text": f"crash: {type(e).__name__}: {e}"} - check("Parascopy: short rows are skipped and the next row still read", s4["cn"] == 2, s4) - with open(p, "w") as f: - f.write(PARASCOPY_HEAD + "chr5\t70925000\t70953000\n") - try: - s5 = pr.parascopy_smn1(p) - except Exception as e: # noqa: BLE001 - s5 = {"cn": None, "text": f"crash: {type(e).__name__}: {e}"} - check("Parascopy: a short row over exon 7 is not resolved, not a crash", - s5["cn"] is None and "not resolved" in s5["text"], s5) - check("compare: agree, disagree, no comparison", - (pr.compare_smn1(2, s1), pr.compare_smn1(2, s2), pr.compare_smn1(None, s1), pr.compare_smn1(2, s3)) - == ("agree", "disagree", None, None)) - # 5. the region catalog - genes = load_genes() - got = [(r, g) for r, entries in genes.items() for g, _ in entries] - check("the catalog holds the expected rows, in order", got == EXPECTED_ROWS, got) - no_neb = os.path.join(work, "genes-no-neb.tsv") - with open(GENES_TSV) as f, open(no_neb, "w") as g: - g.writelines(x for x in f if not x.startswith("neb\t")) - dropped = [(r, g) for r, entries in load_genes(no_neb).items() for g, _ in entries] - check("control: the catalog with its NEB row dropped is not the expected one", - dropped != EXPECTED_ROWS and len(dropped) == len(EXPECTED_ROWS) - 1, len(dropped)) - rc, out = run("table", "--sample", "S", "--json", j, "--out-cn", cn, "--out-variants", var, "--genes", GENES_TSV) - with open(cn) as f: - table = f.read() - check("the old eight regions give the table byte for byte as before the catalog", rc == 0 and table == GOLDEN_OLD8, - table) - moved = json.loads(json.dumps(PARAPHASE_JSON)) - moved["pms2"]["region_specific_info"]["gene_cn"] = 3 - check("control: one changed field in the JSON is not the old table", - "".join("\t".join(map(str, x)) + "\n" for x in cn_table(moved)) not in GOLDEN_OLD8) - new = {k: dict(v[0], genome_depth=30, region_depth={"median": 60}) for k, v in NEW_REGIONS.items()} - t = cn_table(new) - for name, (_, want) in NEW_REGIONS.items(): - rows_ = [x for x in t if x[0] == name] - ok = len(rows_) == len(want) and all( - (x[1], x[2], x[3]) == w[:3] and w[3] in x[4] for x, w in zip(rows_, want)) - check(f"{name}: the synthetic JSON gives its catalog rows", ok, rows_) - both = {"TPSAB1": dict(NEW_REGIONS["TPSAB1"][0], region_specific_info={"gene_cn": 2})} - rows_ = cn_table(both) - check("TPSAB1: a total_cn row gives the whole family even beside a gene_cn", - [x[2] for x in rows_] == ["5"] and "whole gene family" in rows_[0][4], rows_) - check("the new regions with a field of their own are listed first", - [x[0] for x in t][:4] == ["CFHclust", "CYP11B1", "f8", "ikbkg"], [x[0] for x in t]) - for name in ("f8", "opn1lw", "ikbkg", "neb", "CYP11B1", "CFHclust"): - bare = {name: dict(NEW_REGIONS[name][0], region_specific_info={})} - rows_ = cn_table(bare) - check(f"{name}: without its field, not assessed and no copy number", - rows_ and all(x[2] == "." and x[3] == "not assessed" and "Paraphase wrote no" in x[4] for x in rows_), - rows_) - bad = os.path.join(work, "genes.tsv") - with open(bad, "w") as f: - f.write("region\tgene\tfield\n") - rc, out = run("table", "--sample", "S", "--json", j, "--out-cn", cn, "--out-variants", var, "--genes", bad) - check("a catalog with the wrong columns stops the table (exit 1)", rc == 1 and "header" in out, (rc, out)) - # genotype is read by HBA's code and annotated_alleles by RCCX's: on another region the row - # would count no hba1hap haplotype, or show RCCX's detail, so the catalog is refused. - head = "\t".join(GENES_COLUMNS) + "\n" - for region, field in (("smn1", "genotype"), ("pms2", "annotated_alleles")): - moved_row = os.path.join(work, f"genes-{field}.tsv") - with open(moved_row, "w") as f: - f.write(head + f"{region}\tX\t{field}\tr\ts\n") - rc, out = run("table", "--sample", "S", "--json", j, "--out-cn", cn, "--out-variants", var, - "--genes", moved_row) - check(f"a catalog row reading {field} on region {region} stops the table (exit 1)", - rc == 1 and f"field {field} on region {region}" in out, (rc, out)) - own = os.path.join(work, "genes-own.tsv") - with open(own, "w") as f: - f.write(head + "hba\tHBA1\tgenotype\tr\ts\nrccx\tCYP21A2 (RCCX)\tannotated_alleles\tr\ts\n") - rc, out = run("table", "--sample", "S", "--json", j, "--out-cn", cn, "--out-variants", var, "--genes", own) - check("control: the same fields on their own regions load", rc == 0, (rc, out)) - # The two exceptions to "a field Paraphase did not write is not assessed": the copy number - # does not come from the field, so the rows keep it. - bare = {"hba": dict(PARAPHASE_JSON["hba"], region_specific_info={}), - "rccx": dict(PARAPHASE_JSON["rccx"], region_specific_info={})} - got = {x[1]: (x[2], x[3], x[4]) for x in cn_table(bare)} - check("HBA without a genotype keeps its gene counts and is no call, not not assessed", - got.get("HBA1", ("",))[:2] == ("2", "no call") and got.get("HBA2", ("",))[:2] == ("1", "no call") - and "could not resolve the alleles" in got["HBA1"][2], got) - check("RCCX without annotated_alleles keeps the module's copies and lists no allele", - got.get("CYP21A2 (RCCX)", ("",))[:2] == ("4", "called") and "alleles:" not in got["CYP21A2 (RCCX)"][2], - got) - - # 6. the region count in the docs and the step - for path in (os.path.join(REPO, "docs", "35-paralogs.md"), os.path.join(REPO, "scripts", "35b-paraphase.sh")): - with open(path) as f: - text = f.read() - said = region_counts(text) - check(f"{os.path.relpath(path, REPO)} states {PARAPHASE_REGIONS} Paraphase regions", - said and set(said) == {PARAPHASE_REGIONS}, said) - check("control: a planted 162 is caught", 162 in region_counts("It covers 162 GRCh38 regions.")) - - # 7. og's own fixes - for n in (-1, (1 << 30) + 1): - bam(b, "@RG\tID:a\tPL:PACBIO\n", l_text=n) - rc, out = run("check-bam", b) - check(f"check-bam: a header announcing {n} bytes of text is refused (exit 1)", - rc == 1 and "not a BAM header" in out, (rc, out)) - bad_json = os.path.join(work, "bad.json") - with open(bad_json, "w") as f: - json.dump({"pms2": {"total_cn": 4, "region_specific_info": {"gene_cn": {"a": 1}}}}, f) - rc, out = run("table", "--sample", "S", "--json", bad_json, "--out-cn", cn, "--out-variants", var, - "--genes", GENES_TSV) - check("an object where a copy number belongs stops the table and names the field", - rc == 1 and "pms2.gene_cn is not a number" in out, (rc, out)) - os.remove(cn) - rc, out = run("table", "--sample", "S", "--json", j, "--out-cn", cn, - "--out-variants", os.path.join(work, "no-such-dir", "var.tsv"), "--genes", GENES_TSV) - check("the variant table cannot be written: exit 1, and no copy-number table left", - rc == 1 and not os.path.exists(cn), (rc, out)) - finally: - shutil.rmtree(work) - print("\nRESULT:", "ALL PASS" if FAILS == 0 else f"{FAILS} FAILED") - return 1 if FAILS else 0 - - -if __name__ == "__main__": - sys.exit(main()) diff --git a/tests/test_render_report.py b/tests/test_render_report.py index d8ce8fdf8..8d2543ba5 100644 --- a/tests/test_render_report.py +++ b/tests/test_render_report.py @@ -80,7 +80,7 @@ 12. the raw-data export (step 40): both reports show how many chip sites got a genotype, the '--' reasons, the two files and the privacy note; without the step's table there is no card and no text section. - 13. the couple card (step 39), from a table bin/couple_report.py wrote: + 13. the couple card (step 39), from a table og couple screen wrote: both reports name the partner, the shared gene with its chance for a child and both partners' findings, and point to a genetic counsellor; without the table there is no card and no text section. @@ -997,10 +997,9 @@ def mosaic_table(rows): collect_summary.collect("S", d)["sections"]["traits"]["state"] == "ok") # 13. couple card (step 39) - import couple_report - genes = couple_report.read_genes(os.path.join(REPO, "assets", "carrier_genes.tsv")) - g = genes["NAGA"] - pos = (g["start"] + g["end"]) // 2 + with open(os.path.join(REPO, "assets", "carrier_genes.tsv")) as f: + g = next(x.split("\t") for x in f if x.startswith("NAGA\t")) + pos = (int(g[2]) + int(g[3])) // 2 cv = ("##fileformat=VCFv4.2\n#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\tFORMAT\tS\n" "chr22\t%d\t1\tA\tG\t.\tPASS\tGENEINFO=NAGA:4668;CLNSIG=Pathogenic;" "CLNREVSTAT=reviewed_by_expert_panel\tGT\t0/1\n") @@ -1008,8 +1007,9 @@ def mosaic_table(rows): put(f"{c}/ped.tsv", "sample\tsex\tfather\tmother\tpartner\nP1\tfemale\t.\t.\tP2\nP2\tmale\t.\t.\tP1\n") put(f"{c}/P1.vcf", cv % pos) put(f"{c}/P2.vcf", cv % (pos + 5)) - couple_report.main(["screen", "--pedigree", f"{c}/ped.tsv", "--genes", os.path.join(REPO, "assets", "carrier_genes.tsv"), - "--clinvar", f"P1={c}/P1.vcf", "--clinvar", f"P2={c}/P2.vcf", "--out-dir", f"{c}/out"]) + subprocess.run([og_binary(), "couple", "screen", "--pedigree", f"{c}/ped.tsv", "--genes", + os.path.join(REPO, "assets", "carrier_genes.tsv"), "--clinvar", f"P1={c}/P1.vcf", + "--clinvar", f"P2={c}/P2.vcf", "--out-dir", f"{c}/out"], check=True, stdout=subprocess.DEVNULL) d = f"{c}/P2" put(f"{d}/couple/P2_couple_carrier.tsv", open(f"{c}/out/P2_couple_carrier.tsv").read()) summ = collect_summary.collect("P2", d) From 9d4e9e0e2dbe32326efc096692fc664eb5704c56 Mon Sep 17 00:00:00 2001 From: GeiserX <9169332+GeiserX@users.noreply.github.com> Date: Sun, 15 Nov 2026 20:02:09 +0100 Subject: [PATCH 2/5] fix(couple): say when a change can affect a child, and mark weak calls The couple screen told the carrier of a BRCA1, MLH1 or LDLR change that a child "can be a carrier, not affected", gave MECP2 and PCDH19 the recessive "daughters are carriers" wording, read a male's PAR1 call as hemizygous when no PAR file was given, read a haploid autosome call as homozygous, and counted a GQ 1, DP 1 call like any other. - carrier_genes.tsv gets a dominant column: AD or SD from the ACMG secondary findings list, XLD on X-linked genes with an X-linked dominant disorder (females can show signs). - inheritance XLD under rule (y): every X-linked disorder dominant, or CDKL5, IKBKG, MECP2, OFD1. GJB1, GLA, PLP1 and FMR1 stay XL. - built-in GRCh38 PARs without --par-bed; a haploid autosome call is one copy; a call below the floor is marked and its row says to confirm it; each ClinVar finding names CLNDN. Every new test in tests/inheritance_and_confidence.rs fails on the parity commit. Parity goldens: par-and-haploid, couple-genes rebuild and bad-header. Bead: clin-20 Bead: clin-21 Bead: clin-16 Bead: clin-31 Bead: D1 Bead: D14 --- CHANGELOG.md | 8 + assets/carrier_genes.tsv | 6597 +++++++++-------- docs/39-couple.md | 24 +- rust/crates/og-couple/src/findings.rs | 151 +- rust/crates/og-couple/src/genes.rs | 116 +- rust/crates/og-couple/src/list.rs | 85 +- rust/crates/og-couple/src/prose.rs | 97 +- rust/crates/og-couple/src/screen.rs | 18 +- rust/crates/og-couple/tests/common/mod.rs | 4 + rust/crates/og-couple/tests/couple_report.rs | 4 +- .../tests/inheritance_and_confidence.rs | 422 ++ .../golden/couple-genes/bad-header/stderr | 1 + .../golden/couple-genes/rebuild/new.tsv | 25 +- .../par-and-haploid/out/A_couple_carrier.tsv | 3 + .../par-and-haploid/out/B_couple_carrier.tsv | 3 + .../par-and-haploid/out/couple_A_B.md | 55 + .../par-and-haploid/out/couple_A_B.tsv | 3 + .../couple-screen/par-and-haploid/stdout | 3 + 18 files changed, 4250 insertions(+), 3369 deletions(-) create mode 100644 rust/crates/og-couple/tests/inheritance_and_confidence.rs create mode 100644 tests/parity/golden/couple-genes/bad-header/stderr create mode 100644 tests/parity/golden/couple-screen/par-and-haploid/out/A_couple_carrier.tsv create mode 100644 tests/parity/golden/couple-screen/par-and-haploid/out/B_couple_carrier.tsv create mode 100644 tests/parity/golden/couple-screen/par-and-haploid/out/couple_A_B.md create mode 100644 tests/parity/golden/couple-screen/par-and-haploid/out/couple_A_B.tsv create mode 100644 tests/parity/golden/couple-screen/par-and-haploid/stdout diff --git a/CHANGELOG.md b/CHANGELOG.md index b24573840..f4a319c3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ Each release's notes. From 1.0.0 on, a major or minor release has hand-written n ## Unreleased +- The couple carrier screen (step 39) now says when a change can affect a child, not only make a carrier, and when a call is weak. Before, it told the carrier of a BRCA1, MLH1 or LDLR change that a child "can be a carrier, not affected", gave a MECP2 or PCDH19 change the recessive "daughters are carriers" wording, read a male's call in PAR1 as hemizygous when no PAR file was given, read a haploid autosome call as homozygous, and counted a GQ 1, DP 1 call like any other. Now: + - `assets/carrier_genes.tsv` gets a `dominant` column: `AD` or `SD` on the 43 genes the ACMG secondary findings list gives as dominant, and `XLD` on the 28 X-linked genes that also have an X-linked dominant disorder (GLA, PLP1, FMR1 and GJB1 among them). A one-partner row in an `AD` or `SD` gene reads that a child who inherits the change can be affected, 1 in 2 per child; its `offspring_risk` is `each child 1 in 2, dominant` instead of `none shared`. An `XLD`-marked gene keeps the X-linked recessive wording and adds that females can show signs. + - The `inheritance` column gets the value `XLD` for 28 X-linked genes whose main disorder is dominant: every X-linked disorder Orphanet gives them is dominant, or they are CDKL5, IKBKG, MECP2 or OFD1. Their rows read that a daughter or a son who inherits the change can be affected. `og couple genes` writes both columns. + - Without `--par-bed`, `og couple screen` uses GRCh38's pseudoautosomal regions, the rows of `assets/par_grch38.bed`. Both callers pass the file, so a pipeline run does not change. + - A haploid call on an autosome (genotype `1`) is one copy: "one copy, a haploid call (1)". Beside a partner's het call it gives 1 in 4, not 1 in 2. + - A ClinVar call below step 06's floor (GQ 30 and DP 10, or the hits file's `##PGP_CALL_FLOOR` line) is marked "low-confidence call (GQ .., DP ..): check the reads". It still counts, and its row says to confirm it before reading the chance; the report's table counts these calls. + - Each ClinVar finding ends with the condition ClinVar names for the allele (`CLNDN`, without "not provided"). + No column is renamed or removed. Part of #411. - Step 39's couple carrier screen now runs in the Rust `og` binary: `og couple screen` in `scripts/39-couple.sh` and the Nextflow `COUPLE_CARRIER` process, and `og couple genes` to rebuild `assets/carrier_genes.tsv`. They replace `bin/couple_report.py`, which is gone, with the two modules only it still used, `bin/cnvpytor_to_vcf.py` and `bin/paraphase_report.py`. Their tests (`tests/test_couple_report.py`, `test_paraphase_report.py` and `test_paralog_loci.py`) are now cargo tests in og-couple and og-steps. The outputs are the same, byte for byte, on the 37 parity cases, except for the two changes below. No option, output file or column changes. On a synthetic couple with 200,000 ClinVar hits and 100,000 Delly deletions each, the screen takes 3.0-3.5 s and 206 MB, where the Python took 25.5-28.8 s and 327-329 MB. Rebuilding the carrier list takes 6.5 s and 40 MB instead of 8.7 s and 320 MB. What changes on purpose: - The screen reads and computes every couple before it writes a file. The Python wrote each couple's files as it went, so an error on the second couple left the first couple's files new and the second's old or missing. Now an error stops the step with nothing written. - The header lines of `assets/carrier_genes.tsv` name `og couple screen`, `og summary collect` and `og couple genes` where they named the Python files. The gene rows do not change. diff --git a/assets/carrier_genes.tsv b/assets/carrier_genes.tsv index f0dba200a..cd0d7daba 100644 --- a/assets/carrier_genes.tsv +++ b/assets/carrier_genes.tsv @@ -1,7 +1,9 @@ # carrier_genes.tsv: the genes of the couple carrier screen (step 39, og couple screen). # One row per gene. chrom, start and end: the gene's GRCh38 span (1-based, inclusive) from the # gene lines of GENCODE release 50 (basic annotation). inheritance: AR (autosomal, or in a -# pseudoautosomal region) or XL (chrX outside the PARs). lists: where the gene comes from: +# pseudoautosomal region), XL (chrX outside the PARs) or XLD (X-linked with a dominant main +# disorder: every X-linked disorder Orphanet gives the gene is dominant, or the gene is CDKL5, +# IKBKG, MECP2 or OFD1). lists: where the gene comes from: # ACMG Gregg et al., Genet Med 2021;23(10):1793-1806 (doi:10.1038/s41436-021-01203-z), # tier 3: the 97 autosomal recessive genes of its tables 1 to 5 and the 16 X-linked # genes of table 6; condition names from those tables @@ -10,3304 +12,3309 @@ # Orphanet every other gene of an Orphanet disorder with autosomal recessive or X-linked # inheritance (Orphadata en_product6 and en_product9_ages of 2026-06-23, CC BY 4.0, # https://www.orphadata.com), with a disease-causing germline association that -# Orphanet assessed; condition: the first such disorder by name +# Orphanet assessed; condition: the first such disorder by name (for XLD, the first +# X-linked dominant one) # severity: alleles of the gene that are not a full loss of function, separated by ";": each is # hypomorph or pseudodeficiency, then chrom:pos:ref:alt (GRCh38), then a name; "." for none. Such # an allele never makes a carrier finding on its own (the couple screen, step 39, and the # carrier list of the sample report). With a called deletion of the gene it is a second hit (the # two-hit lines of the sample report, og summary collect). In the couple screen a # hypomorph beside a full loss of function in the other partner's same gene is a shared gene. +# dominant: a dominant condition of the gene besides the one it is listed for. AD or SD: the +# gene's condition on the ACMG secondary findings list (assets/acmg_sf.tsv) is autosomal +# dominant or semidominant, written by hand; XLD: an XL gene with an Orphanet X-linked dominant +# disorder, so females who carry a change can show signs; "." for none. # Rebuilt with: og couple genes (docs/39-couple.md says how). -gene chrom start end inheritance lists condition severity -ISG15 chr1 1001138 1014540 AR Orphanet Mendelian susceptibility to mycobacterial diseases due to complete ISG15 deficiency . -AGRN chr1 1020069 1056119 AR Orphanet Congenital myasthenic syndrome due to defects in endplate development and maintenance . -TNFRSF4 chr1 1211326 1214153 AR Orphanet Combined immunodeficiency due to OX40 deficiency . -B3GALT6 chr1 1232237 1235041 AR Orphanet B3GALT6-related spondylodysplastic Ehlers-Danlos syndrome; and 1 other . -VWA1 chr1 1434861 1446012 AR Orphanet Young adult-onset distal hereditary motor neuropathy . -ATAD3A chr1 1512118 1534689 AR Orphanet Lethal pontocerebellar hypoplasia-hypotonia-respiratory insufficiency syndrome due to a point mutation . -CFAP74 chr1 1921951 2003837 AR Orphanet Primary ciliary dyskinesia . -PEX10 chr1 2403784 2413797 AR Orphanet Autosomal recessive ataxia due to PEX10 deficiency; and 3 others . -PRDM16 chr1 3069003 3438621 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . -CEP104 chr1 3812086 3857723 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . -NPHP4 chr1 5862804 5993455 AR Orphanet Juvenile nephronophthisis; and 1 other . -CHD5 chr1 6101787 6180356 AR Orphanet Non-specific syndromic intellectual disability . -ESPN chr1 6424770 6461367 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . -PLEKHG5 chr1 6467122 6520074 AR Orphanet Autosomal recessive intermediate Charcot-Marie-Tooth disease type C; and 1 other . -TNFRSF9 chr1 7915871 7943165 AR Orphanet EBV-induced lymphoproliferative disease due to CD137 deficiency . -PARK7 chr1 7952654 7985991 AR Orphanet Young-onset Parkinson disease . -SLC45A1 chr1 8318081 8344296 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -H6PD chr1 9234739 9278217 AR Orphanet Hyperandrogenism due to cortisone reductase deficiency . -PIK3CD chr1 9629889 9730119 AR Orphanet Autosomal non-syndromic agammaglobulinemia . -NMNAT1 chr1 9943428 9996898 AR Orphanet Cone rod dystrophy; and 1 other . -PEX14 chr1 10472288 10630758 AR Orphanet Infantile Refsum disease; and 2 others . -TARDBP chr1 11012344 11037991 AR Orphanet Amyotrophic lateral sclerosis; and 1 other . -MASP2 chr1 11022009 11047273 AR Orphanet Immunodeficiency due to MASP-2 deficiency . -MAD2L2 chr1 11657230 11692605 AR Orphanet Fanconi anemia . -MTHFR chr1 11785723 11806455 AR Orphanet Homocystinuria due to methylene tetrahydrofolate reductase deficiency . -PLOD1 chr1 11934205 11975542 AR Orphanet Kyphoscoliotic Ehlers-Danlos syndrome due to lysyl hydroxylase 1 deficiency . -MFN2 chr1 11980181 12015211 AR Orphanet Hereditary motor and sensory neuropathy type 6; and 2 others . -VPS13D chr1 12230007 12512047 AR Orphanet Autosomal recessive cerebellar ataxia-movement disorder syndrome . -CLCNKA chr1 16018146 16034109 AR Orphanet Bartter syndrome type 4 . -CLCNKB chr1 16040252 16057367 AR Orphanet Bartter syndrome type 3; and 2 others . -EPHA2 chr1 16124337 16156141 AR Orphanet Early-onset nuclear cataract; and 2 others . -ATP13A2 chr1 16985958 17011986 AR Orphanet Autosomal recessive spastic paraplegia type 78; and 3 others . -SDHB chr1 17018664 17054210 AR Orphanet Isolated succinate-CoQ reductase deficiency . -PADI3 chr1 17249093 17284233 AR Orphanet Uncombable hair syndrome . -PADI6 chr1 17372196 17401699 AR Orphanet Female infertility due to oocyte meiotic arrest . -ALDH4A1 chr1 18871425 18902799 AR Orphanet Hyperprolinemia type 2 . -EMC1 chr1 19215660 19251552 AR Orphanet Global developmental delay-visual anomalies-progressive cerebellar atrophy-truncal hypotonia syndrome . -PLA2G5 chr1 20028179 20091911 AR Orphanet Familial benign flecked retina . -PINK1 chr1 20633436 20652231 AR Orphanet Young-onset Parkinson disease . -DDOST chr1 20647467 20661544 AR Orphanet DDOST-CDG . -ALPL chr1 21508813 21579441 AR ACMG Hypophosphatasia . -HSPG2 chr1 21820593 21937318 AR Orphanet Dyssegmental dysplasia, Silverman-Handmaker type; and 1 other . -WNT4 chr1 22117313 22143969 AR Orphanet SERKAL syndrome . -C1QA chr1 22635057 22640201 AR Orphanet Immunodeficiency due to a classical component pathway complement deficiency . -C1QC chr1 22642558 22648122 AR Orphanet Immunodeficiency due to a classical component pathway complement deficiency . -C1QB chr1 22652713 22661637 AR Orphanet Immunodeficiency due to a classical component pathway complement deficiency . -GALE chr1 23795599 23800804 AR Orphanet Erythrocyte galactose epimerase deficiency; and 1 other . -HMGCL chr1 23801877 23838620 AR Orphanet 3-hydroxy-3-methylglutaric aciduria . -FUCA1 chr1 23845077 23868361 AR Orphanet Fucosidosis . -RHD chr1 25272393 25330445 AR Orphanet Rh deficiency syndrome . -RHCE chr1 25362249 25430192 AR Orphanet Rh deficiency syndrome . -LDLRAP1 chr1 25543550 25591296 AR Orphanet Homozygous familial hypercholesterolemia . -SELENON chr1 25800180 25818221 AR Orphanet Classic multiminicore myopathy; and 3 others . -DHDDS chr1 26432273 26471322 AR ACMG Congenital disorder of glycosylation type 1; retinitis pigmentosa 59 . -PIGV chr1 26787054 26800659 AR Orphanet Hyperphosphatasia-intellectual disability syndrome . -SLC9A1 chr1 27098809 27166981 AR Orphanet Progressive autosomal recessive ataxia-deafness syndrome . -TMEM222 chr1 27322139 27336401 AR Orphanet Non-specific syndromic intellectual disability . -FCN3 chr1 27369108 27374920 AR Orphanet Immunodeficiency due to ficolin3 deficiency . -EPB41 chr1 28887073 29120052 AR Orphanet Hereditary elliptocytosis . -MECR chr1 29192657 29230958 AR Orphanet Autosomal recessive isolated optic atrophy; and 1 other . -LCK chr1 32251244 32286170 AR Orphanet Combined immunodeficiency due to LCK deficiency . -YARS1 chr1 32774776 32818031 AR Orphanet YARS1-related multisystemic disease . -HPCA chr1 32881498 32898441 AR Orphanet Primary dystonia, DYT2 type . -AK2 chr1 33006560 33080996 AR Orphanet Reticular dysgenesis . -GJB4 chr1 34759740 34763724 AR Orphanet Erythrokeratodermia variabilis . -GJB3 chr1 34781175 34786369 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . -NCDN chr1 35557442 35567274 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -AGO1 chr1 35869808 35930532 AR Orphanet Non-specific syndromic intellectual disability . -ADPRS chr1 36088873 36095461 AR Orphanet Childhood-onset stress-induced neurodegenerative ataxia-seizure syndrome . -CSF3R chr1 36465669 36483322 AR Orphanet Autosomal recessive severe congenital neutropenia due to CSF3R deficiency . -DNALI1 chr1 37556918 37566857 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -RSPO1 chr1 37610802 37635604 AR Orphanet Palmoplantar keratoderma-XX sex reversal-predisposition to squamous cell carcinoma syndrome . -YRDC chr1 37802945 37808216 AR Orphanet Galloway-Mowat syndrome . -MFSD2A chr1 39955112 39972134 AR Orphanet Autosomal recessive primary microcephaly . -PPT1 chr1 40072710 40097267 AR Orphanet Adult CLN1 disease; and 3 others . -ZMPSTE24 chr1 40258041 40294199 AR Orphanet Hutchinson-Gilford progeria syndrome; and 2 others . -COL9A2 chr1 40300487 40317813 AR Orphanet Autosomal recessive Stickler syndrome . -CTPS1 chr1 40979300 41056384 AR Orphanet EBV-induced lymphoproliferative disease due to CTPS1 deficiency . -PPCS chr1 42456117 42473417 AR Orphanet Familial isolated dilated cardiomyopathy . -CLDN19 chr1 42733093 42740286 AR Orphanet Primary hypomagnesemia with hypercalciuria and nephrocalcinosis with severe ocular involvement . -P3H1 chr1 42746335 42767084 AR Orphanet Osteogenesis imperfecta type 2; and 1 other . -SVBP chr1 42788324 42824810 AR Orphanet Non-specific syndromic intellectual disability . -SLC2A1 chr1 42925353 42958904 AR Orphanet Classic glucose transporter type 1 deficiency syndrome . -MPL chr1 43337808 43354466 AR Orphanet Congenital amegakaryocytic thrombocytopenia-MPL . -CDC20 chr1 43358907 43363212 AR Orphanet Female infertility due to oocyte meiotic arrest . -SZT2 chr1 43389882 43454247 AR Orphanet Non-specific early-onset epileptic encephalopathy . -PTPRF chr1 43525086 43626579 AR Orphanet Isolated congenital breast hypoplasia/aplasia . -ST3GAL3 chr1 43705824 43931167 AR Orphanet ST3GAL3-CDG . -DPH2 chr1 43969975 43973373 AR Orphanet Craniofacial dysplasia-short stature-ectodermal anomalies-intellectual disability syndrome . -SLC6A9 chr1 43989353 44031767 AR Orphanet Infantile glycine encephalopathy . -TMEM53 chr1 44635237 44674619 AR Orphanet Craniotubular dysplasia, Ikegawa type . -EIF2B3 chr1 44850464 44986722 AR Orphanet Congenital or early infantile CACH syndrome; and 4 others . -UROD chr1 45010950 45015577 AR Orphanet Hepatoerythropoietic porphyria . -HPDL chr1 45326895 45328710 AR Orphanet Autosomal recessive spastic paraplegia type 83; and 1 other . -MUTYH chr1 45329163 45340893 AR Orphanet MUTYH-related polyposis . -TOE1 chr1 45339938 45345623 AR Orphanet Pontocerebellar hypoplasia type 7 . -MMACHC chr1 45500186 45513382 AR ACMG Methylmalonic aciduria and homocystinuria, cblC type . -POMGNT1 chr1 46188681 46220305 AR Orphanet Congenital muscular dystrophy with cerebellar involvement; and 4 others . -STIL chr1 47250139 47314892 AR Orphanet Autosomal recessive primary microcephaly . -FOXE3 chr1 47416285 47418052 AR Orphanet Congenital primary aphakia; and 1 other . -ORC1 chr1 52370994 52404492 AR Orphanet Ear-patella-short stature syndrome . -SCP2 chr1 52927255 53051708 AR Orphanet Leukoencephalopathy-dystonia-motor neuropathy syndrome . -CPT2 chr1 53196770 53214197 AR ACMG Carnitine palmitoyltransferase II deficiency . -PARS2 chr1 54756591 54764549 AR Orphanet Non-specific early-onset epileptic encephalopathy . -DHCR24 chr1 54832262 54887224 AR Orphanet Desmosterolosis . -BSND chr1 54998906 55017172 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . -PCSK9 chr1 55039445 55064852 AR Orphanet Homozygous familial hypercholesterolemia . -C8A chr1 56854752 56918223 AR Orphanet Immunodeficiency due to a late component of complement deficiency . -C8B chr1 56928282 56974383 AR Orphanet Immunodeficiency due to a late component of complement deficiency . -TACSTD2 chr1 58575433 58577252 AR Orphanet Gelatinous drop-like corneal dystrophy . -MYSM1 chr1 58643440 58700108 AR Orphanet Congenital progressive bone marrow failure-B-cell immunodeficiency-skeletal dysplasia syndrome . -DOCK7 chr1 62454298 62688549 AR Orphanet Early-onset epileptic encephalopathy-cortical blindness-intellectual disability-facial dysmorphism syndrome . -ANGPTL3 chr1 62597464 62607699 AR Orphanet Familial combined hypolipidemia . -ALG6 chr1 63321730 63440448 AR Orphanet ALG6-CDG . -PGM1 chr1 63593151 63660245 AR Orphanet PGM1-CDG . -ROR1 chr1 63773987 64181625 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -JAK1 chr1 64833223 65067754 AR Orphanet Mendelian susceptibility to mycobacterial diseases due to partial JAK1 deficiency . -DNAJC6 chr1 65248219 65415871 AR Orphanet Atypical juvenile parkinsonism; and 1 other . -LEPR chr1 65420543 65641559 AR Orphanet Obesity due to leptin receptor gene deficiency . -SLC35D1 chr1 66945905 67054400 AR Orphanet Schneckenbecken dysplasia . -RPE65 chr1 68428822 68451103 AR Orphanet Leber congenital amaurosis; and 2 others . -CTH chr1 70406194 70443519 AR Orphanet Cystathioninuria . -ACADM chr1 75724431 75787575 AR ACMG Medium-chain acyl-CoA dehydrogenase deficiency . -MSH4 chr1 75796882 75913242 AR Orphanet 46,XX gonadal dysgenesis . -NEXN chr1 77888174 77943898 AR Orphanet Familial isolated dilated cardiomyopathy . -PRKACB chr1 84077949 84239680 AR Orphanet Ellis-Van Creveld syndrome . -HS2ST1 chr1 86914617 87110761 AR Orphanet Non-specific syndromic intellectual disability . -ABCA4 chr1 93992834 94121177 AR Orphanet Cone rod dystrophy; and 2 others . -ABCD3 chr1 94418039 94519349 AR Orphanet Oculopharyngodistal myopathy . -ALG14 chr1 94974405 95072983 AR Orphanet Congenital myasthenic syndrome with glycosylation defect . -DPYD chr1 97077743 97995000 AR Orphanet Dihydropyrimidine dehydrogenase deficiency . -AGL chr1 99849777 99924427 AR Orphanet Glycogen storage disease due to glycogen debranching enzyme deficiency . -SLC35A3 chr1 99969351 100035634 AR Orphanet Autism spectrum disorder-epilepsy-arthrogryposis syndrome . -SASS6 chr1 100083563 100132955 AR Orphanet Autosomal recessive primary microcephaly . -DBT chr1 100182222 100249873 AR Orphanet Classic maple syrup urine disease; and 3 others . -CDC14A chr1 100325629 100520564 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -COL11A1 chr1 102876467 103108872 AR Orphanet Fibrochondrogenesis; and 1 other . -RNPC3 chr1 103525672 103555239 AR Orphanet Isolated growth hormone deficiency type IA . -NTNG1 chr1 107139969 107484923 AR Orphanet Non-specific syndromic intellectual disability . -SLC25A24 chr1 108128729 108200877 AR Orphanet Gorlin-Chaudhry-Moss syndrome . -GPSM2 chr1 108875350 108934545 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . -TAF13 chr1 109062489 109076014 AR Orphanet Autosomal recessive primary microcephaly . -SARS1 chr1 109213844 109239456 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . -GNAI3 chr1 109548582 109600195 AR Orphanet Auriculocondylar syndrome . -GNAT2 chr1 109601407 109619929 AR Orphanet Achromatopsia; and 1 other . -AMPD2 chr1 109616104 109632055 AR Orphanet Autosomal recessive spastic paraplegia type 63; and 1 other . -ALX3 chr1 110059870 110070677 AR Orphanet Frontorhiny . -SLC6A17 chr1 110150482 110202202 AR Orphanet Progressive essential tremor-speech impairment-facial dysmorphism-intellectual disability-abnormal behavior syndrome . -KCNA2 chr1 110519837 110631474 AR Orphanet Non-specific early-onset epileptic encephalopathy . -DRAM2 chr1 111114206 111140225 AR Orphanet Cone rod dystrophy . -WNT2B chr1 112466541 112530165 AR Orphanet Congenital diarrhea-chronic gastrointestinal inflammation-ocular dysgenesis syndrome . -SLC16A1 chr1 112904043 112957593 AR Orphanet Ketoacidosis due to monocarboxylate transporter-1 deficiency . -LRIG2 chr1 113073168 113132260 AR Orphanet Urofacial syndrome . -AP4B1 chr1 113894194 113905722 AR Orphanet Severe intellectual disability and progressive spastic paraplegia . -TRIM33 chr1 114392781 114511244 AR Orphanet Dislocation of the hip-dysmorphism syndrome . -AMPD1 chr1 114673090 114695620 AR Orphanet Adenosine monophosphate deaminase deficiency . -NRAS chr1 114704468 114716775 AR Orphanet Noonan syndrome . -TSHB chr1 115029826 115034302 AR Orphanet Isolated thyroid-stimulating hormone deficiency . -NGF chr1 115285904 115338770 AR Orphanet Hereditary sensory and autonomic neuropathy type 5 . -CASQ2 chr1 115697988 115837921 AR Orphanet CASQ2-related catecholaminergic polymorphic ventricular tachycardia . -NHLH2 chr1 115836377 115843917 AR Orphanet Normosmic congenital hypogonadotropic hypogonadism . -IGSF3 chr1 116574393 116667820 AR Orphanet Familial congenital nasolacrimal duct obstruction . -SPAG17 chr1 117953222 118185244 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation; and 1 other . -TBX15 chr1 118883046 118989556 AR Orphanet Pelviscapular dysplasia . -WARS2 chr1 119029164 119140679 AR Orphanet Infantile dystonia-parkinsonism; and 1 other . -HSD3B2 chr1 119413725 119453802 AR Orphanet Congenital adrenal hyperplasia due to 3-beta-hydroxysteroid dehydrogenase deficiency . -PHGDH chr1 119648411 119744227 AR Orphanet 3-phosphoglycerate dehydrogenase deficiency, infantile/juvenile form; and 1 other . -HMGCS2 chr1 119747979 119769092 AR Orphanet 3-hydroxy-3-methylglutaryl-CoA synthase deficiency . -PEX11B chr1 145911348 145918747 AR Orphanet Infantile Refsum disease; and 2 others . -RBM8A chr1 145920935 145928067 AR Orphanet Thrombocytopenia-absent radius syndrome hypomorph chr1:145927447:C:T c.-21G>A (rs139428292), a low-expression allele: TAR syndrome with a null allele such as the 1q21.1 deletion on the other copy; hypomorph chr1:145927328:C:G c.67+32G>C (rs201779890), the other low-expression allele of TAR syndrome -HJV chr1 146017468 146036746 AR Orphanet HJV or HAMP-related hemochromatosis . -GJA8 chr1 147902795 147909269 AR Orphanet Cataract-microcornea syndrome; and 3 others . -NOTCH2NLC chr1 149390534 149471833 AR Orphanet Oculopharyngodistal myopathy . -SF3B4 chr1 149923317 149928268 AR Orphanet Acrofacial dysostosis, Rodríguez type; and 1 other . -VPS45 chr1 150067279 150145329 AR Orphanet Congenital neutropenia-myelofibrosis-nephromegaly syndrome . -PRPF3 chr1 150321476 150353341 AR Orphanet Retinitis pigmentosa . -TARS2 chr1 150487325 150507614 AR Orphanet Combined oxidative phosphorylation defect type 21 . -ECM1 chr1 150507989 150515000 AR Orphanet Lipoid proteinosis . -ADAMTSL4 chr1 150549369 150560937 AR Orphanet Isolated ectopia lentis . -CTSK chr1 150794880 150809577 AR Orphanet Pycnodysostosis . -PRUNE1 chr1 151008408 151035714 AR Orphanet PRUNE1-related neurological syndrome . -RFX5 chr1 151340640 151347339 AR Orphanet Immunodeficiency by defective expression of MHC class II . -SELENBP1 chr1 151364157 151372716 AR Orphanet Autosomal recessive extra-oral halitosis . -RORC chr1 151806021 151831845 AR Orphanet Mendelian susceptibility to mycobacterial diseases due to complete RORgamma receptor deficiency . -FLG2 chr1 152348735 152360006 AR Orphanet Peeling skin syndrome type A . -TPM3 chr1 154155308 154194648 AR Orphanet Congenital fiber-type disproportion myopathy; and 1 other . -HAX1 chr1 154272326 154275882 AR Orphanet Kostmann syndrome . -IL6R chr1 154405141 154469450 AR Orphanet Autosomal recessive combined immunodeficiency due to IL6R deficiency . -ADAR chr1 154581695 154628013 AR Orphanet Aicardi-Goutières syndrome; and 1 other . -KCNN3 chr1 154697455 154870340 AR Orphanet Zimmermann-Laband syndrome . -FLAD1 chr1 154983311 154993111 AR Orphanet Multiple acyl-CoA dehydrogenase deficiency, mild type; and 1 other . -DPM3 chr1 155138457 155140595 AR Orphanet DPM3-CDG . -GBA1 chr1 155231270 155245178 AR ACMG,ACOG Gaucher disease . -PKLR chr1 155289265 155301443 AR Orphanet Hemolytic anemia due to red cell pyruvate kinase deficiency . -YY1AP1 chr1 155659446 155689334 AR Orphanet Grange syndrome . -DAP3 chr1 155687833 155740132 AR Orphanet Perrault syndrome type 1 . -RIT1 chr1 155897808 155911408 AR Orphanet Noonan syndrome . -LAMTOR2 chr1 156053916 156058817 AR Orphanet Primary immunodeficiency syndrome due to P14/LAMTOR2 deficiency . -LMNA chr1 156082572 156140085 AR Orphanet Autosomal recessive Emery-Dreifuss muscular dystrophy; and 6 others . -SEMA4A chr1 156147366 156178869 AR Orphanet Cone rod dystrophy; and 1 other . -NAXE chr1 156591738 156609507 AR Orphanet NAD(P)HX epimerase deficiency . -NTRK1 chr1 156815636 156881850 AR Orphanet Hereditary sensory and autonomic neuropathy type 4 . -SPTA1 chr1 158610704 158686715 AR Orphanet Hereditary elliptocytosis; and 1 other . -KCNJ10 chr1 159998651 160070483 AR Orphanet EAST syndrome; and 1 other . -PIGM chr1 160024953 160031990 AR Orphanet Hypercoagulability syndrome due to glycosylphosphatidylinositol deficiency . -ATP1A2 chr1 160115755 160143605 AR Orphanet Non-specific early-onset epileptic encephalopathy . -PEX19 chr1 160266229 160286348 AR Orphanet Infantile Refsum disease; and 2 others . -NECTIN4 chr1 161070988 161090045 AR Orphanet Ectodermal dysplasia-pili torti-cutaneous syndactyly syndrome . -NIT1 chr1 161118082 161125812 AR Orphanet NIT1-related cerebral small vessel disease . -NDUFS2 chr1 161197104 161214723 AR Orphanet Isolated complex I deficiency . -MPZ chr1 161304735 161309974 AR Orphanet Dejerine-Sottas syndrome . -FCGR3A chr1 161541738 161550968 AR Orphanet Autosomal recessive primary immunodeficiency with defective spontaneous natural killer cell cytotoxicity . -ATF6 chr1 161766243 161977574 AR Orphanet Achromatopsia; and 1 other . -DDR2 chr1 162630857 162787405 AR Orphanet Spondyloepimetaphyseal dysplasia-short limb-abnormal calcification syndrome . -TMCO1 chr1 165723729 165827755 AR Orphanet Cerebrofaciothoracic dysplasia . -CD247 chr1 167425027 167518640 AR Orphanet T-B+NK+ severe combined immunodeficiency due to CD3delta/CD3epsilon/CD3zeta deficiency . -GPR161 chr1 168079542 168137685 AR Orphanet Pituitary stalk interruption syndrome . -TBX19 chr1 168280877 168314426 AR Orphanet Congenital isolated ACTH deficiency . -NME7 chr1 169132528 169367975 AR Orphanet Situs inversus totalis . -SLC19A2 chr1 169463539 169485988 AR Orphanet Thiamine-responsive megaloblastic anemia syndrome . -F5 chr1 169511951 169586699 AR Orphanet Congenital factor V deficiency . -GORAB chr1 170531819 170553834 AR Orphanet Geroderma osteodysplastica . -PRRX1 chr1 170662728 170739421 AR Orphanet Agnathia-holoprosencephaly-situs inversus syndrome . -FMO3 chr1 171085113 171118675 AR ACMG Trimethylaminuria . -MYOC chr1 171635417 171652742 AR Orphanet Congenital glaucoma . -PIGC chr1 172370189 172444148 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -FASLG chr1 172658990 172666891 AR Orphanet Autoimmune lymphoproliferative syndrome . -DARS2 chr1 173824540 173858808 AR Orphanet Leukoencephalopathy with brain stem and spinal cord involvement-high lactate syndrome . -NPHS2 chr1 179550494 179575954 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -TOR1AIP1 chr1 179882042 179921442 AR Orphanet Congenital myasthenic syndrome due to defective nuclear membrane protein; and 1 other . -LHX4 chr1 180228787 180278984 AR Orphanet Combined pituitary hormone deficiencies, genetic forms; and 2 others . -XPR1 chr1 180632006 180890279 AR Orphanet Bilateral striopallidodentate calcinosis . -CACNA1E chr1 181317690 181813262 AR Orphanet Early infantile developmental and epileptic encephalopathy . -GLUL chr1 182378098 182392206 AR Orphanet Congenital brain dysgenesis due to glutamine synthetase deficiency . -LAMC2 chr1 183186057 183245127 AR Orphanet Intermediate generalized junctional epidermolysis bullosa; and 1 other . -NCF2 chr1 183554461 183593499 AR Orphanet Chronic granulomatous disease . -TSEN15 chr1 184051629 184123978 AR Orphanet Pontocerebellar hypoplasia type 2 . -EDEM3 chr1 184690237 184754907 AR Orphanet EDEM3-CDG . -RNF2 chr1 185044865 185102850 AR Orphanet Non-specific syndromic intellectual disability . -PRG4 chr1 186296222 186314567 AR Orphanet Camptodactyly-arthropathy-coxa-vara-pericarditis syndrome . -TPR chr1 186311188 186375693 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -PLA2G4A chr1 186828949 186989902 AR Orphanet Cryptogenic multifocal ulcerous stenosing enteritis; and 1 other . -CFH chr1 196651754 196753075 AR Orphanet Dense deposit disease; and 1 other . -CFHR1 chr1 196819314 196837159 AR Orphanet Dense deposit disease . -CFHR5 chr1 196975010 197009678 AR Orphanet Dense deposit disease . -F13B chr1 197038737 197067267 AR Orphanet Congenital factor XIII deficiency . -ASPM chr1 197084121 197146699 AR Orphanet Autosomal recessive primary microcephaly . -CRB1 chr1 197268195 197478455 AR Orphanet Isolated complete colobomatous microphthalmia; and 2 others . -PTPRC chr1 198629900 198759346 AR Orphanet T-B+NK+ severe combined immunodeficiency due to CD45 deficiency . -KIF14 chr1 200551497 200620776 AR Orphanet Autosomal recessive primary microcephaly; and 1 other . -DDX59 chr1 200623896 200670049 AR Orphanet Orofaciodigital syndrome type 5 . -PKP1 chr1 201283452 201332993 AR Orphanet Ectodermal dysplasia-skin fragility syndrome . -TNNT2 chr1 201356606 201379773 AR Orphanet Familial isolated dilated cardiomyopathy; and 2 others . -LMOD1 chr1 201896456 201946594 AR Orphanet Megacystis-microcolon-intestinal hypoperistalsis syndrome . -UBE2T chr1 202328714 202341984 AR Orphanet Fanconi anemia . -SYT2 chr1 202590596 202710526 AR Orphanet Autosomal recessive congenital myasthenic syndrome due to defective synaptic vesicles exocytosis . -KDM5B chr1 202724495 202808526 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -SNRPE chr1 203861496 203871152 AR Orphanet Hypotrichosis simplex . -REN chr1 204154815 204190324 AR Orphanet Renal tubular dysgenesis of genetic origin . -KISS1 chr1 204190337 204196638 AR Orphanet Normosmic congenital hypogonadotropic hypogonadism . -PPP1R15B chr1 204396492 204411887 AR Orphanet Primary microcephaly-mild intellectual disability-young-onset diabetes syndrome . -DSTYK chr1 205142505 205211741 AR Orphanet Autosomal recessive spastic paraplegia type 23 . -IL10 chr1 206767602 206774541 AR Orphanet Immune dysregulation-inflammatory bowel disease-arthritis-recurrent infections syndrome . -CD55 chr1 207321171 207386804 AR Orphanet Complement hyperactivation-angiopathic thrombosis-protein-losing enteropathy syndrome . -CR2 chr1 207453024 207489895 AR Orphanet Common variable immunodeficiency phenotype due to CD21 deficiency . -LAMB3 chr1 209614870 209653146 AR Orphanet Hypoplastic amelogenesis imperfecta; and 2 others . -HSD11B1 chr1 209686174 209745624 AR Orphanet Hyperandrogenism due to cortisone reductase deficiency . -IRF6 chr1 209784984 209806217 AR Orphanet Oligodontia . -SYT14 chr1 209900923 210171389 AR Orphanet Autosomal recessive cerebellar ataxia-psychomotor delay syndrome . -HHAT chr1 210328252 210677385 AR Orphanet Chondrodysplasia-difference of sex development syndrome . -KCNH1 chr1 210676823 211134183 AR Orphanet Zimmermann-Laband syndrome . -RD3 chr1 211476522 211492490 AR Orphanet Leber congenital amaurosis . -NEK2 chr1 211658251 211675663 AR Orphanet Retinitis pigmentosa . -FLVCR1 chr1 212858230 212899363 AR Orphanet Posterior column ataxia-retinitis pigmentosa syndrome . -PTPN14 chr1 214348700 214552449 AR Orphanet Lymphedema-posterior choanal atresia syndrome . -CENPF chr1 214603172 214664574 AR Orphanet Lethal fetal brain malformation-duodenal atresia-bilateral renal hypoplasia syndrome; and 1 other . -USH2A chr1 215621576 216423448 AR ACMG Usher syndrome type 2A . -TGFB2 chr1 218345336 218444619 AR Orphanet Loeys-Dietz syndrome . -SLC30A10 chr1 219685427 219959018 AR Orphanet Cirrhosis-dystonia-polycythemia-hypermanganesemia syndrome . -IARS2 chr1 220094086 220148043 AR Orphanet Cataract-growth hormone deficiency-sensory neuropathy-sensorineural hearing loss-skeletal dysplasia syndrome; and 1 other . -RAB3GAP2 chr1 220148293 220272529 AR Orphanet Autosomal recessive spastic paraplegia type 69; and 2 others . -HLX chr1 220879431 220886046 AR Orphanet Diaphragmatic hernia-short bowel-asplenia syndrome . -TAF1A chr1 222557901 222590162 AR Orphanet Familial isolated dilated cardiomyopathy . -FBXO28 chr1 224114086 224162047 AR Orphanet Non-specific early-onset epileptic encephalopathy . -LBR chr1 225400900 225428925 AR Orphanet Greenberg dysplasia; and 1 other . -EPHX1 chr1 225810048 225845567 AR Orphanet Familial hypercholanemia . -PYCR2 chr1 225914982 225924340 AR Orphanet Autosomal recessive primary microcephaly; and 1 other . -PSEN2 chr1 226870184 226927726 AR Orphanet Familial isolated dilated cardiomyopathy . -COQ8A chr1 226938143 226987569 AR Orphanet Autosomal recessive ataxia due to ubiquinone deficiency . -ARF1 chr1 228081841 228099212 AR Orphanet Periventricular nodular heterotopia . -GJC2 chr1 228149891 228159826 AR Orphanet Autosomal recessive spastic paraplegia type 44; and 1 other . -IBA57 chr1 228165777 228182257 AR Orphanet Autosomal recessive spastic paraplegia type 74; and 1 other . -OBSCN chr1 228208026 228378876 AR Orphanet Genetic recurrent myoglobinuria . -ACTA1 chr1 229430365 229434789 AR Orphanet Congenital fiber-type disproportion myopathy; and 4 others . -NUP133 chr1 229439673 229508376 AR Orphanet Galloway-Mowat syndrome; and 1 other . -COG2 chr1 230642440 230693985 AR Orphanet COG2-CDG . -AGT chr1 230690776 230745576 AR Orphanet Renal tubular dysgenesis of genetic origin . -GNPAT chr1 231241184 231277973 AR Orphanet Rhizomelic chondrodysplasia punctata type 2 . -SPRTN chr1 231337104 231375416 AR Orphanet Progeroid features-hepatocellular carcinoma predisposition syndrome . -COA6 chr1 234373438 234385080 AR Orphanet Fatal infantile cytochrome C oxidase deficiency . -GGPS1 chr1 235327350 235344544 AR Orphanet Perrault syndrome type 1; and 1 other . -TBCE chr1 235367360 235452443 AR Orphanet Autosomal recessive Kenny-Caffey syndrome; and 2 others . -B3GALNT2 chr1 235447161 235504512 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 2 others . -LYST chr1 235661041 235883724 AR Orphanet Attenuated Chédiak-Higashi syndrome; and 1 other . -EDARADD chr1 236348257 236502915 AR Orphanet Autosomal recessive hypohidrotic ectodermal dysplasia; and 1 other . -ACTN2 chr1 236664141 236764631 AR Orphanet Autosomal recessive ACTN2-related distal myopathy; and 1 other . -MTR chr1 236795260 236921278 AR Orphanet Methylcobalamin deficiency type cblG . -FMN2 chr1 240014348 240475190 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -GREM2 chr1 240489573 240612162 AR Orphanet Oligodontia . -FH chr1 241497098 241519799 AR Orphanet Fumaric aciduria . -SDCCAG8 chr1 243255349 243517961 AR Orphanet Bardet-Biedl syndrome; and 1 other . -COX20 chr1 244835301 244845480 AR Orphanet Isolated cytochrome C oxidase deficiency . -TPO chr2 1373933 1543711 AR Orphanet Familial thyroid dyshormonogenesis . -PXDN chr2 1630844 1744852 AR Orphanet Congenital cataract microcornea with corneal opacity . -TRAPPC12 chr2 3379669 3485094 AR Orphanet Early-onset progressive encephalopathy-hearing loss-pons hypoplasia-brain atrophy syndrome . -COLEC11 chr2 3592791 3646144 AR Orphanet 3MC syndrome . -CMPK2 chr2 6840570 6866635 AR Orphanet Bilateral striopallidodentate calcinosis . -CPSF3 chr2 9423623 9473117 AR Orphanet Non-specific syndromic intellectual disability . -ADAM17 chr2 9488482 9556732 AR Orphanet Neonatal erythroderma-autoinflammation-inflammatory bowel disease syndrome . -LPIN1 chr2 11677539 11828185 AR Orphanet Genetic recurrent myoglobinuria . -NBAS chr2 15166913 15561340 AR Orphanet Fever-associated acute infantile liver failure syndrome; and 1 other . -WDR35 chr2 19910260 19990162 AR Orphanet Cranioectodermal dysplasia; and 2 others . -MATN3 chr2 19992052 20012824 AR Orphanet Spondyloepimetaphyseal dysplasia, matrilin-3 type . -APOB chr2 21001305 21044075 AR Orphanet APOB-related familial hypobetalipoproteinemia; and 1 other . -POMC chr2 25160361 25168952 AR Orphanet Obesity due to pro-opiomelanocortin deficiency . -HADHA chr2 26189833 26245044 AR Orphanet Long chain 3-hydroxyacyl-CoA dehydrogenase deficiency; and 1 other . -HADHB chr2 26243170 26290473 AR Orphanet Mitochondrial trifunctional protein deficiency . -SELENOI chr2 26308547 26395885 AR Orphanet Autosomal recessive complex spastic paraplegia due to Kennedy pathway dysfunction . -DRC1 chr2 26401908 26456717 AR Orphanet Non-syndromic male infertility due to sperm motility disorder; and 1 other . -OTOF chr2 26457203 26558756 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -KCNK3 chr2 26692713 26733420 AR Orphanet Heritable pulmonary arterial hypertension . -DPYSL5 chr2 26847747 26950351 AR Orphanet 3C syndrome; and 1 other . -AGBL5 chr2 27042364 27070622 AR Orphanet Retinitis pigmentosa . -KHK chr2 27086723 27100777 AR Orphanet Essential fructosuria . -CAD chr2 27217345 27245683 AR Orphanet CAD-CDG . -MPV17 chr2 27309486 27325680 AR Orphanet Navajo neurohepatopathy . -EIF2B4 chr2 27363420 27370466 AR Orphanet Congenital or early infantile CACH syndrome; and 4 others . -ZNF513 chr2 27377235 27380790 AR Orphanet Retinitis pigmentosa . -IFT172 chr2 27444374 27489839 AR Orphanet Bardet-Biedl syndrome; and 3 others . -PCARE chr2 29060976 29074566 AR Orphanet Retinitis pigmentosa . -XDH chr2 31334320 31414756 AR Orphanet Xanthinuria type I . -SRD5A2 chr2 31522480 31580943 AR Orphanet 46,XY difference of sex development due to 5-alpha-reductase 2 deficiency . -LTBP1 chr2 32946472 33400509 AR Orphanet Autosomal recessive cutis laxa type 1 . -CYP1B1 chr2 38066973 38109902 AR Orphanet Congenital glaucoma; and 1 other . -GALM chr2 38665906 38766049 AR Orphanet Galactose mutarotase deficiency . -SOS1 chr2 38962206 39124345 AR Orphanet Noonan syndrome . -HAAO chr2 42765709 42792941 AR Orphanet Congenital vertebral-cardiac-renal anomalies syndrome . -ZFP36L2 chr2 43221825 43226612 AR Orphanet Female infertility due to oocyte meiotic arrest . -DYNC2LI1 chr2 43774011 43828352 AR Orphanet Ellis-Van Creveld syndrome; and 1 other . -ABCG5 chr2 43806213 43838865 AR Orphanet Sitosterolemia . -ABCG8 chr2 43831942 43882988 AR Orphanet Sitosterolemia . -LRPPRC chr2 43886224 43996226 AR Orphanet Congenital lactic acidosis, Saguenay-Lac-Saint-Jean type . -SLC3A1 chr2 44275458 44322674 AR Orphanet Cystinuria type A . -PREPL chr2 44316185 44361862 AR Orphanet Congenital myasthenic syndrome due to defective synthesis or recycling of acetylcholine . -CRIPT chr2 46616416 46685037 AR Orphanet Rothmund-Thomson syndrome type 3 . -MCFD2 chr2 46895793 46941855 AR Orphanet Combined deficiency of factor V and factor VIII . -TTC7A chr2 46915869 47076137 AR Orphanet Combined immunodeficiency-multiple intestinal atresia . -EPCAM chr2 47345158 47387601 AR Orphanet Congenital tufting enteropathy . -MSH2 chr2 47403067 47663146 AR Orphanet Constitutional mismatch repair deficiency syndrome . -MSH6 chr2 47695530 47810109 AR Orphanet Constitutional mismatch repair deficiency syndrome . -FBXO11 chr2 47785204 47906554 AR Orphanet Non-specific syndromic intellectual disability . -LHCGR chr2 48686774 48755731 AR Orphanet Leydig cell hypoplasia due to complete LH resistance; and 1 other . -FSHR chr2 48962157 49154527 AR Orphanet 46,XX gonadal dysgenesis . -NRXN1 chr2 49918503 51225575 AR Orphanet NRXN1-related severe neurodevelopmental disorder-motor stereotypies-chronic constipation-sleep-wake cycle disturbance . -SPTBN1 chr2 54456266 54671446 AR Orphanet Non-specific syndromic intellectual disability . -CCDC88A chr2 55287363 55420042 AR Orphanet PEHO-like syndrome . -PNPT1 chr2 55634061 55693863 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . -FANCL chr2 58159243 58241410 AR Orphanet Fanconi anemia . -REL chr2 60881491 60940021 AR Orphanet Combined immunodeficiency due to c-REL deficiency . -PEX13 chr2 61017058 61062516 AR Orphanet Infantile Refsum disease; and 2 others . -XPO1 chr2 61476032 61538753 AR Orphanet Non-specific syndromic intellectual disability . -FAM161A chr2 61824848 61854143 AR Orphanet Retinitis pigmentosa . -WDPCP chr2 63119559 63827843 AR Orphanet Bardet-Biedl syndrome; and 1 other . -SLC1A4 chr2 64988477 65023865 AR Orphanet Spastic tetraplegia-thin corpus callosum-progressive postnatal microcephaly syndrome . -SPRED2 chr2 65310851 65432682 AR Orphanet Noonan syndrome . -ANTXR1 chr2 69013085 69249327 AR Orphanet GAPO syndrome . -GFPT1 chr2 69319616 69387313 AR Orphanet Congenital myasthenic syndrome with glycosylation defect . -NFU1 chr2 69396072 69437665 AR Orphanet Multiple mitochondrial dysfunctions syndrome type 1 . -ASPRV1 chr2 69960089 69961631 AR Orphanet Lamellar ichthyosis . -TGFA chr2 70447284 70554193 AR Orphanet Oligodontia . -FIGLA chr2 70777310 70790643 AR Orphanet 46,XX gonadal dysgenesis . -ATP6V1B1 chr2 70935771 70965431 AR Orphanet Autosomal recessive distal renal tubular acidosis . -MCEE chr2 71108926 71130279 AR Orphanet Methylmalonic acidemia due to methylmalonyl-CoA epimerase deficiency . -DYSF chr2 71453495 71686763 AR Orphanet Congenital myopathy, Paradas type; and 3 others . -CYP26B1 chr2 72129238 72148430 AR Orphanet Lethal occipital encephalocele-skeletal dysplasia syndrome . -EXOC6B chr2 72170079 72826055 AR Orphanet EXOC6B-related spondyloepimetaphyseal dysplasia with joint laxity . -SPR chr2 72887374 72892158 AR Orphanet Dopa-responsive dystonia due to sepiapterin reductase deficiency . -ALMS1 chr2 73385758 73625166 AR Orphanet Alström syndrome; and 2 others . -TPRKB chr2 73709704 73737421 AR Orphanet Galloway-Mowat syndrome . -STAMBP chr2 73828916 73873670 AR Orphanet Microcephaly-capillary malformation syndrome . -ACTG2 chr2 73892232 73919865 AR Orphanet Megacystis-microcolon-intestinal hypoperistalsis syndrome . -DGUOK chr2 73926794 73958961 AR Orphanet Adult-onset multiple mitochondrial DNA deletion syndrome due to DGUOK deficiency; and 1 other . -TET3 chr2 73984910 74108177 AR Orphanet Intellectual disability-facial dysmorphism-joint hypermobility-hearing loss syndrome . -BOLA3 chr2 74133333 74147977 AR Orphanet Multiple mitochondrial dysfunctions syndrome type 2 . -MOGS chr2 74461057 74465415 AR Orphanet MOGS-CDG . -HTRA2 chr2 74529274 74533966 AR Orphanet 3-methylglutaconic aciduria type 8 . -LOXL3 chr2 74531716 74555718 AR Orphanet Autosomal recessive Stickler syndrome . -SUCLG1 chr2 84423526 84460045 AR Orphanet Fatal infantile lactic acidosis with methylmalonic aciduria . -ELMOD3 chr2 85354394 85391752 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -GGCX chr2 85544720 85561838 AR Orphanet Body skin hyperlaxity due to vitamin K-dependent coagulation factor deficiency; and 2 others . -SFTPB chr2 85655154 85668741 AR Orphanet Neonatal acute respiratory distress syndrome due to SP-B deficiency . -ST3GAL5 chr2 85837120 85905199 AR Orphanet GM3 synthase deficiency . -POLR1A chr2 86020216 86106155 AR Orphanet Burn-McKeown syndrome . -CD8A chr2 86784455 86808396 AR Orphanet Susceptibility to respiratory infections associated with CD8alpha chain mutation . -EIF2AK3 chr2 88556741 88691518 AR Orphanet Wolcott-Rallison syndrome . -RPIA chr2 88691642 88750935 AR Orphanet Ribose-5-P isomerase deficiency . -MAL chr2 95025677 95054942 AR Orphanet Pelizaeus-Merzbacher-like disease . -CIAO1 chr2 96266159 96274173 AR Orphanet Progressive muscle weakness-respiratory insufficiency-learning difficulty syndrome . -SNRNP200 chr2 96274336 96321271 AR Orphanet Retinitis pigmentosa . -LMAN2L chr2 96704824 96740087 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -CNNM4 chr2 96760858 96811888 AR Orphanet Jalili syndrome . -ZAP70 chr2 97713190 97744327 AR Orphanet Combined immunodeficiency due to ZAP70 deficiency . -CNGA3 chr2 98346188 98399797 AR Orphanet Achromatopsia; and 1 other . -COA5 chr2 98598242 98608542 AR Orphanet Fatal infantile cytochrome C oxidase deficiency . -LIPT1 chr2 99154955 99163199 AR Orphanet Lipoyl transferase 1 deficiency . -FHL2 chr2 105352159 105438585 AR Orphanet Familial isolated dilated cardiomyopathy . -SLC5A7 chr2 107986516 108014213 AR Orphanet Congenital myasthenic syndrome due to defective synthesis or recycling of acetylcholine . -EDAR chr2 108894471 108989372 AR Orphanet Autosomal recessive hypohidrotic ectodermal dysplasia . -NPHP1 chr2 110122311 110205071 AR Orphanet Bardet-Biedl syndrome; and 3 others . -BUB1 chr2 110635468 110678098 AR Orphanet Mosaic variegated aneuploidy syndrome . -ANAPC1 chr2 111611639 111884690 AR Orphanet Rothmund-Thomson syndrome type 1 . -MERTK chr2 111898456 112040637 AR Orphanet Retinitis pigmentosa . -POLR1B chr2 112541915 112579818 AR Orphanet Treacher-Collins syndrome . -CKAP2L chr2 112736349 112764664 AR Orphanet Filippi syndrome . -IL36RN chr2 113058638 113065382 AR Orphanet Acrodermatitis continua of Hallopeau; and 3 others . -IL1RN chr2 113099315 113134016 AR Orphanet Sterile multifocal osteomyelitis with periostitis and pustulosis . -CFAP221 chr2 119544167 119662251 AR Orphanet Primary ciliary dyskinesia . -GLI2 chr2 120735623 120992653 AR Orphanet Combined pituitary hormone deficiencies, genetic forms . -RNU4ATAC chr2 121530880 121531009 AR Orphanet Lowry-Wood syndrome; and 2 others . -GYPC chr2 126655839 126696670 AR Orphanet Hereditary elliptocytosis . -BIN1 chr2 127048017 127107556 AR Orphanet Autosomal recessive centronuclear myopathy . -ERCC3 chr2 127257285 127294188 AR Orphanet Trichothiodystrophy; and 2 others . -PROC chr2 127415933 127429762 AR Orphanet Severe hereditary thrombophilia due to congenital protein C deficiency . -HS6ST1 chr2 128236716 128319093 AR Orphanet Kallmann syndrome; and 1 other . -SMPD4 chr2 130150745 130183922 AR Orphanet Congenital arthrogryposis-microcephaly-facial dysmorphism-severe neurodevelopmental delay syndrome . -VMA22 chr2 130337922 130342699 AR Orphanet CCDC115-CDG . -RAB3GAP1 chr2 135052265 135176667 AR Orphanet Cataract-intellectual disability-hypogonadism syndrome; and 1 other . -LCT chr2 135787850 135837184 AR Orphanet Congenital lactase deficiency . -DARS1 chr2 135904936 135986100 AR Orphanet Hypomyelination with brain stem and spinal cord involvement and leg spasticity . -CXCR4 chr2 136114349 136119177 AR Orphanet WHIM syndrome . -HNMT chr2 137963988 138016818 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -KYNU chr2 142811826 143055833 AR Orphanet Congenital vertebral-cardiac-renal anomalies syndrome; and 1 other . -ORC4 chr2 147930396 148021784 AR Orphanet Ear-patella-short stature syndrome . -MMADHC chr2 149564526 149587812 AR Orphanet Methylcobalamin deficiency type cblDv1; and 2 others . -NEB chr2 151485336 151734515 AR ACMG Nemaline myopathy 2 . -ITGB6 chr2 160099661 160271888 AR Orphanet Alopecia-intellectual disability syndrome; and 2 others . -TBR1 chr2 161416206 161425870 AR Orphanet Non-specific syndromic intellectual disability . -SLC4A10 chr2 161424332 161985329 AR Orphanet Neurodevelopmental disorder-slit-like lateral ventricles-intellectual disability syndrome . -IFIH1 chr2 162267074 162318684 AR Orphanet Aicardi-Goutières syndrome . -SCN3A chr2 165087516 165204093 AR Orphanet Non-specific early-onset epileptic encephalopathy . -SCN2A chr2 165194993 165392310 AR Orphanet Early infantile developmental and epileptic encephalopathy; and 2 others . -GALNT3 chr2 165747339 165846201 AR Orphanet Familial hyperphosphatemic tumoral calcinosis/Hyperphosphatemic hyperostosis syndrome . -TTC21B chr2 165857475 165953851 AR Orphanet Infantile nephronophthisis; and 1 other . -SCN1A chr2 165984641 166182806 AR Orphanet Epilepsy of infancy with migrating focal seizures; and 1 other . -SCN9A chr2 166195185 166376001 AR Orphanet Congenital insensitivity to pain-anosmia-neuropathic arthropathy; and 1 other . -ABCB11 chr2 168915498 169031332 AR Orphanet Benign recurrent intrahepatic cholestasis type 2; and 1 other . -LRP2 chr2 169127109 169362780 AR ACMG Donnai-Barrow syndrome . -BBS5 chr2 169479480 169509452 AR Orphanet Bardet-Biedl syndrome . -KLHL41 chr2 169509684 169526262 AR Orphanet Intermediate nemaline myopathy; and 2 others . -METTL5 chr2 169810081 169824931 AR Orphanet Autosomal recessive primary microcephaly . -GAD1 chr2 170813213 170861151 AR Orphanet Inherited congenital spastic tetraplegia . -DCAF17 chr2 171434217 171491318 AR Orphanet Woodhouse-Sakati syndrome . -SLC25A12 chr2 171781168 171999859 AR Orphanet Epileptic encephalopathy with global cerebral demyelination . -ITGA6 chr2 172234216 172506565 AR Orphanet Junctional epidermolysis bullosa with pyloric atresia . -MAP3K20 chr2 173057181 173268909 AR Orphanet Congenital fiber-type disproportion myopathy; and 1 other . -CDCA7 chr2 173354818 173368997 AR Orphanet ICF syndrome . -WIPF1 chr2 174559563 174682916 AR Orphanet Congenital thrombocytopenia-recurrent infections syndrome due to WIP deficiency . -CHRNA1 chr2 174747592 174787935 AR Orphanet Congenital myasthenic syndrome with primary acetylcholine receptor deficiency; and 3 others . -CHN1 chr2 174797579 175005405 AR Orphanet Duane retraction syndrome . -MTX2 chr2 176269395 176338025 AR Orphanet Mandibuloacral dysplasia associated to MTX2 . -AGPS chr2 177392576 177567024 AR Orphanet Rhizomelic chondrodysplasia punctata type 3 . -PRKRA chr2 178431292 178451512 AR Orphanet Dystonia 16 . -PJVK chr2 178451346 178462408 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -TTN chr2 178525989 178830802 AR Orphanet Autosomal recessive centronuclear myopathy; and 7 others . -CCDC141 chr2 178829757 179051697 AR Orphanet Kallmann syndrome . -CERKL chr2 181535041 181680665 AR Orphanet Retinitis pigmentosa . -NCKAP1 chr2 182909115 183038858 AR Orphanet Non-specific syndromic intellectual disability . -FSIP2 chr2 185738788 185833290 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -COL3A1 chr2 188974371 189012746 AR Orphanet Vascular Ehlers-Danlos syndrome; and 1 other . -HIBCH chr2 190189735 190344193 AR Orphanet Neurodegeneration due to 3-hydroxyisobutyryl-CoA hydrolase deficiency . -GLS chr2 190880322 190965552 AR Orphanet Neonatal epileptic encephalopathy due to glutaminase deficiency . -STAT1 chr2 190908460 191020960 AR Orphanet Susceptibility to viral and mycobacterial infections due to STAT1 deficiency . -DNAH7 chr2 195737524 196068848 AR Orphanet Primary ciliary dyskinesia . -PGAP1 chr2 196833004 196927796 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . -HSPD1 chr2 197485928 197516737 AR Orphanet Pelizaeus-Merzbacher-like disease due to HSPD1 mutation . -MARS2 chr2 197705369 197708395 AR Orphanet Autosomal recessive spastic ataxia with leukoencephalopathy; and 1 other . -NDUFB3 chr2 201071433 201085757 AR Orphanet Isolated complex I deficiency . -CASP10 chr2 201182693 201229428 AR Orphanet Autoimmune lymphoproliferative syndrome . -CASP8 chr2 201233443 201361836 AR Orphanet Autoimmune lymphoproliferative syndrome-recurrent viral infections due to CASP8 deficiency . -CATSPERT chr2 201487421 201619179 AR Orphanet Male infertility due to globozoospermia . -TMEM237 chr2 201620184 201643570 AR Orphanet Isolated Joubert syndrome; and 3 others . -ALS2 chr2 201700267 201782112 AR Orphanet Infantile-onset ascending hereditary spastic paralysis; and 2 others . -BMPR2 chr2 202375835 202567751 AR Orphanet Heritable pulmonary arterial hypertension . -ICOS chr2 203936757 203961577 AR Orphanet Late-onset combined immunodeficiency due to ICOS deficiency . -NDUFS1 chr2 206114817 206159524 AR Orphanet Isolated complex I deficiency . -EEF1B2 chr2 206159575 206164806 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -FASTKD2 chr2 206765357 206796189 AR Orphanet FASTKD2-related infantile mitochondrial encephalomyopathy . -CRYGD chr2 208121607 208124595 AR Orphanet Cataract-microcornea syndrome; and 2 others . -CRYGC chr2 208128137 208129828 AR Orphanet Cataract-microcornea syndrome; and 2 others . -CRYGB chr2 208142573 208146163 AR Orphanet Total early-onset cataract . -UNC80 chr2 209771569 209999300 AR Orphanet Hypotonia-speech impairment-severe cognitive delay syndrome due to UNC80 deficiency . -MYL1 chr2 210290145 210315180 AR Orphanet Congenital myopathy with reduced type 2 muscle fibers . -CPS1 chr2 210477641 210679109 AR Orphanet Carbamoyl-phosphate synthetase 1 deficiency . -ERBB4 chr2 211375717 212539266 AR Orphanet Amyotrophic lateral sclerosis . -IKZF2 chr2 212999691 213152427 AR Orphanet Combined immunodeficiency due to HELIOS deficiency . -ABCA12 chr2 214931542 215138626 AR Orphanet Congenital ichthyosiform erythroderma; and 2 others . -ATIC chr2 215311956 215352251 AR Orphanet AICA-ribosiduria . -SMARCAL1 chr2 216412383 216483056 AR Orphanet Schimke immuno-osseous dysplasia . -CXCR2 chr2 218125269 218137251 AR Orphanet Autosomal recessive severe congenital neutropenia due to CXCR2 deficiency . -CATIP chr2 218356838 218369962 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -ZNF142 chr2 218633329 218659655 AR Orphanet Non-specific syndromic intellectual disability . -BCS1L chr2 218658764 218668759 AR Orphanet Björnstad syndrome; and 3 others . -STK36 chr2 218672027 218702717 AR Orphanet Primary ciliary dyskinesia . -CYP27A1 chr2 218781688 218825335 AR ACMG Cerebrotendinous xanthomatosis . -WNT10A chr2 218880852 218899581 AR Orphanet Autosomal recessive hypohidrotic ectodermal dysplasia; and 3 others . -CRYBA2 chr2 218990189 218994270 AR Orphanet Early-onset nuclear cataract . -CFAP65 chr2 219002846 219041527 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -IHH chr2 219054424 219061064 AR Orphanet Acrocapitofemoral dysplasia . -NHEJ1 chr2 219069355 219160869 AR Orphanet Cernunnos-XLF deficiency . -ABCB6 chr2 219209765 219219012 AR Orphanet Dyschromatosis universalis hereditaria; and 1 other . -ANKZF1 chr2 219229769 219236679 AR Orphanet Early-onset inflammatory bowel disease-ulcerative skin lesions-immunodeficiency syndrome . -DNAJB2 chr2 219279308 219286900 AR Orphanet DNAJB2-related Charcot-Marie-Tooth disease type 2; and 1 other . -DES chr2 219417474 219426740 AR Orphanet Congenital myasthenic syndrome due to defective structural molecule at the neuromuscular junction; and 2 others . -SPEG chr2 219434471 219493629 AR Orphanet Autosomal recessive centronuclear myopathy . -GMPPA chr2 219498618 219513898 AR Orphanet Triple A syndrome . -OBSL1 chr2 219550727 219572076 AR Orphanet 3M syndrome . -PAX3 chr2 222199887 222299011 AR Orphanet Waardenburg syndrome type 3 . -FARSB chr2 222566899 222656313 AR Orphanet Interstitial lung disease-brain calcification syndrome . -AP1S3 chr2 223667680 223838027 AR Orphanet Acrodermatitis continua of Hallopeau; and 2 others . -MRPL44 chr2 223957386 223969078 AR Orphanet Infantile hypertrophic cardiomyopathy due to MRPL44 deficiency . -COL4A4 chr2 227002713 227164559 AR Orphanet Autosomal recessive Alport syndrome; and 1 other . -COL4A3 chr2 227164509 227314792 AR Orphanet Autosomal recessive Alport syndrome; and 1 other . -MFF chr2 227325151 227361188 AR Orphanet MFF-related encephalopathy due to mitochondrial and peroxisomal fission defect . -SLC19A3 chr2 227683763 227718088 AR ACMG Biotin-responsive basal ganglia disease . -DAW1 chr2 227870931 227924344 AR Orphanet Primary ciliary dyskinesia . -TRIP12 chr2 229763835 229923239 AR Orphanet Non-specific syndromic intellectual disability . -SP110 chr2 230165186 230225729 AR Orphanet Hepatic veno-occlusive disease-immunodeficiency syndrome . -ARMC9 chr2 231198546 231376848 AR Orphanet Isolated Joubert syndrome . -PDE6D chr2 231732354 231786272 AR Orphanet Isolated Joubert syndrome; and 1 other . -DIS3L2 chr2 231961245 232344350 AR Orphanet Perlman syndrome . -ALPI chr2 232456125 232460753 AR Orphanet ALPI-related inflammatory bowel disease . -ECEL1 chr2 232479825 232489045 AR Orphanet Distal arthrogryposis type 5D . -PRSS56 chr2 232520388 232525716 AR Orphanet Isolated complete colobomatous microphthalmia . -CHRND chr2 232525993 232536667 AR Orphanet Congenital myasthenic syndrome due to acetylcholine receptor clustering defect; and 4 others . -CHRNG chr2 232539692 232548115 AR Orphanet Autosomal recessive multiple pterygium syndrome; and 1 other . -KCNJ13 chr2 232765802 232776566 AR Orphanet Leber congenital amaurosis; and 1 other . -SAG chr2 233307816 233347055 AR Orphanet Oguchi disease; and 1 other . -UGT1A1 chr2 233760262 233773313 AR Orphanet Crigler-Najjar syndrome type 1; and 1 other . -COL6A3 chr2 237324003 237414409 AR Orphanet Bethlem muscular dystrophy; and 3 others . -MLPH chr2 237485428 237555322 AR Orphanet Griscelli syndrome type 3 . -TWIST2 chr2 238848031 238910548 AR Orphanet Focal facial dermal dysplasia type III . -KIF1A chr2 240713761 240824320 AR Orphanet Autosomal spastic paraplegia type 30; and 1 other . -AGXT chr2 240868543 240881531 AR ACMG Primary hyperoxaluria type 1 . -D2HGDH chr2 241734589 241768816 AR Orphanet D-2-hydroxyglutaric aciduria . -TRNT1 chr3 3126364 3153435 AR Orphanet Congenital sideroblastic anemia-B-cell immunodeficiency-periodic fever-developmental delay syndrome . -CRBN chr3 3144628 3179733 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -SUMF1 chr3 3700814 4467278 AR Orphanet Multiple sulfatase deficiency . -ITPR1 chr3 4493345 4847518 AR Orphanet Aniridia-cerebellar ataxia-intellectual disability syndrome; and 1 other . -GRM7 chr3 6770001 7741567 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . -SSUH2 chr3 8619386 8745040 AR Orphanet Dentin dysplasia type I . -CAV3 chr3 8733781 8841808 AR Orphanet Rippling muscle disease . -SETD5 chr3 9397609 9479240 AR Orphanet Non-specific syndromic intellectual disability . -CIDEC chr3 9864169 9891008 AR Orphanet CIDEC-related familial partial lipodystrophy . -JAGN1 chr3 9890569 9894349 AR Orphanet Severe congenital neutropenia due to JAGN1 deficiency . -IL17RC chr3 9917040 9933630 AR Orphanet Chronic mucocutaneous candidiasis . -FANCD2 chr3 10026370 10101937 AR Orphanet Fanconi anemia . -VHL chr3 10141764 10153676 AR Orphanet Chuvash erythrocytosis . -PPARG chr3 12287368 12455622 AR Orphanet PPARG-associated congenital generalized lipodystrophy . -TSEN2 chr3 12480529 12541549 AR Orphanet Pontocerebellar hypoplasia type 2 . -RAF1 chr3 12582101 12664201 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . -IQSEC1 chr3 12897043 13283281 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -WNT7A chr3 13816157 13880104 AR Orphanet Fuhrmann syndrome; and 1 other . -XPC chr3 14145145 14178767 AR ACMG Xeroderma pigmentosum . -CCDC174 chr3 14651746 14674940 AR Orphanet Severe hypotonia-psychomotor developmental delay-strabismus-cardiac septal defect syndrome . -RBSN chr3 15068565 15099163 AR Orphanet Progressive hypotonia-intellectual disability-facial dysmorphism syndrome due to FYVE-defective RBSN; and 1 other . -COLQ chr3 15450132 15521928 AR Orphanet Synaptic congenital myasthenic syndrome . -BTD chr3 15601341 15722522 AR ACMG Biotinidase deficiency hypomorph chr3:15645186:G:C p.Asp444His (p.Asp424His on NM_001370658.1), partial biotinidase deficiency -SGO1 chr3 20155363 20186800 AR Orphanet Chronic atrial and intestinal dysrhythmia syndrome . -THRB chr3 24117153 24495756 AR Orphanet Resistance to thyroid hormone due to a mutation in thyroid hormone receptor beta . -RARB chr3 24687887 25597932 AR Orphanet Microphthalmia-motor delay-language delay-brain anomalies-diaphragmatic hernia syndrome . -NGLY1 chr3 25718698 25790039 AR Orphanet Alacrimia-choreoathetosis-liver dysfunction syndrome . -NEK10 chr3 27106484 27369460 AR Orphanet Primary ciliary dyskinesia . -EOMES chr3 27715949 27722711 AR Orphanet Microcephaly-polymicrogyria-corpus callosum agenesis syndrome . -TGFBR2 chr3 30606478 30694249 AR Orphanet Loeys-Dietz syndrome . -STT3B chr3 31532190 31638548 AR Orphanet STT3B-CDG . -TRIM71 chr3 32817017 32897824 AR Orphanet Congenital communicating hydrocephalus . -GLB1 chr3 32961103 33097436 AR Orphanet GM1 gangliosidosis type 1; and 3 others . -CRTAP chr3 33113912 33147773 AR Orphanet Cole-Carpenter syndrome; and 3 others . -PDCD6IP chr3 33798318 33869707 AR Orphanet Autosomal recessive primary microcephaly . -MLH1 chr3 36992834 37051505 AR Orphanet Constitutional mismatch repair deficiency syndrome . -PLCD1 chr3 38007496 38029680 AR Orphanet Leukonychia totalis . -MYD88 chr3 38138552 38143024 AR Orphanet Transient predisposition to invasive pyogenic bacterial infection . -SCN5A chr3 38548057 38649743 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . -WDR48 chr3 39051991 39096671 AR Orphanet Autosomal recessive spastic paraplegia type 60 . -TTC21A chr3 39107194 39140973 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -SLC25A38 chr3 39383292 39397426 AR Orphanet Autosomal recessive sideroblastic anemia . -CTNNB1 chr3 41194741 41260096 AR Orphanet Familial exudative vitreoretinopathy . -TRAK1 chr3 42013624 42225890 AR Orphanet Non-specific early-onset epileptic encephalopathy . -KLHL40 chr3 42685447 42695071 AR Orphanet Severe congenital nemaline myopathy . -POMGNT2 chr3 43079229 43106098 AR Orphanet Walker-Warburg syndrome . -ANO10 chr3 43354859 43691594 AR ACMG Spinocerebellar ataxia, recessive 10 . -ABHD5 chr3 43690108 43734371 AR Orphanet Neutral lipid storage disease with ichthyosis . -LARS2 chr3 45388516 45554726 AR Orphanet Perrault syndrome type 1; and 1 other . -LZTFL1 chr3 45823316 45916042 AR Orphanet Bardet-Biedl syndrome . -FYCO1 chr3 45917903 45995845 AR Orphanet Early-onset nuclear cataract; and 1 other . -TMIE chr3 46694528 46710886 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -PTH1R chr3 46877706 46903799 AR Orphanet Blomstrand lethal chondrodysplasia; and 1 other . -NBEAL2 chr3 46979660 47009707 AR Orphanet Gray platelet syndrome . -PTPN23 chr3 47381011 47413442 AR Orphanet Non-specific syndromic intellectual disability . -ATRIP chr3 48446710 48467645 AR Orphanet Seckel syndrome . -TREX1 chr3 48465811 48467645 AR Orphanet Aicardi-Goutières syndrome . -COL7A1 chr3 48564073 48595596 AR ACMG Recessive dystrophic epidermolysis bullosa . -SLC25A20 chr3 48856926 48898993 AR Orphanet Carnitine-acylcarnitine translocase deficiency . -P4HTM chr3 48989858 49007153 AR Orphanet HIDEA syndrome . -DALRD3 chr3 49015474 49022293 AR Orphanet Non-specific early-onset epileptic encephalopathy . -NDUFAF3 chr3 49020459 49027593 AR Orphanet Isolated complex I deficiency . -QARS1 chr3 49095932 49105130 AR Orphanet Diffuse cerebral and cerebellar atrophy-intractable seizures-progressive microcephaly syndrome; and 1 other . -LAMB2 chr3 49121113 49133118 AR Orphanet Pierson syndrome; and 1 other . -AMT chr3 49416771 49422685 AR Orphanet Infantile glycine encephalopathy; and 1 other . -DAG1 chr3 49468649 49535624 AR Orphanet Alpha-dystroglycan-related limb-girdle muscular dystrophy R16; and 2 others . -GMPPB chr3 49716844 49723988 AR Orphanet Congenital muscular dystrophy with cerebellar involvement; and 4 others . -TRAIP chr3 49828595 49856597 AR Orphanet Seckel syndrome . -GNAT1 chr3 50191586 50197696 AR Orphanet Congenital stationary night blindness, Riggs type . -SLC38A3 chr3 50202871 50221504 AR Orphanet Non-specific early-onset epileptic encephalopathy . -HYAL1 chr3 50299883 50312890 AR Orphanet Hyaluronidase deficiency . -ZMYND10 chr3 50341110 50345746 AR Orphanet Primary ciliary dyskinesia . -DOCK3 chr3 50674875 51384198 AR Orphanet Non-specific syndromic intellectual disability . -ACY1 chr3 51983047 51989457 AR Orphanet Aminoacylase 1 deficiency . -POC1A chr3 52074590 52154746 AR Orphanet Short stature-onychodysplasia-facial dysmorphism-hypotrichosis syndrome . -GLYCTK chr3 52286945 52295273 AR Orphanet D-glyceric aciduria . -DNAH1 chr3 52316319 52400492 AR Orphanet Non-syndromic male infertility due to sperm motility disorder; and 1 other . -BAP1 chr3 52398585 52410038 AR Orphanet Non-specific syndromic intellectual disability . -TNNC1 chr3 52451082 52454071 AR Orphanet Familial isolated dilated cardiomyopathy . -RFT1 chr3 53048135 53130661 AR Orphanet RFT1-CDG . -PRKCD chr3 53156009 53192717 AR Orphanet EBV-induced lymphoproliferative disease due to PRKCD deficiency . -TKT chr3 53223040 53256055 AR Orphanet Transketolase deficiency . -CACNA1D chr3 53328963 53813733 AR Orphanet Sinoatrial node dysfunction and deafness . -IL17RD chr3 57089982 57170306 AR Orphanet Kallmann syndrome . -HESX1 chr3 57182073 57227621 AR Orphanet Combined pituitary hormone deficiencies, genetic forms; and 4 others . -FLNB chr3 58008398 58172251 AR Orphanet Spondylocarpotarsal synostosis . -DNASE1L3 chr3 58191375 58214697 AR Orphanet Autosomal systemic lupus erythematosus; and 1 other . -PDHB chr3 58425143 58434012 AR Orphanet Pyruvate dehydrogenase E1-beta deficiency . -ADAMTS9 chr3 64515652 64688264 AR Orphanet Juvenile nephronophthisis . -SLC25A26 chr3 66133610 66388116 AR Orphanet Neonatal severe cardiopulmonary failure due to mitochondrial methylation defect . -EOGT chr3 68975217 69013719 AR Orphanet Adams-Oliver syndrome . -LMOD3 chr3 69106065 69123032 AR Orphanet Severe congenital nemaline myopathy; and 1 other . -MITF chr3 69738536 69968336 AR Orphanet Waardenburg-Shah syndrome . -PROK2 chr3 71770940 71785419 AR Orphanet Kallmann syndrome; and 1 other . -ROBO1 chr3 78595957 79768025 AR Orphanet Pituitary stalk interruption syndrome . -GBE1 chr3 81489161 81761840 AR ACMG Glycogen storage disease type IV . -CHMP2B chr3 87227258 87259944 AR Orphanet Amyotrophic lateral sclerosis . -POU1F1 chr3 87259404 87276584 AR Orphanet Combined pituitary hormone deficiencies, genetic forms; and 1 other . -PROS1 chr3 93873038 93980003 AR Orphanet Severe hereditary thrombophilia due to congenital protein S deficiency . -ARL13B chr3 93980128 94055678 AR Orphanet Isolated Joubert syndrome . -ARL6 chr3 97764521 97801229 AR Orphanet Bardet-Biedl syndrome; and 1 other . -CPOX chr3 98579438 98593712 AR Orphanet Harderoporphyria . -TFG chr3 100709295 100793279 AR Orphanet Autosomal recessive spastic paraplegia type 57 . -IMPG2 chr3 101222546 101320575 AR Orphanet Retinitis pigmentosa . -TRMT10C chr3 101561834 101566446 AR Orphanet Combined oxidative phosphorylation defect type 30 . -IFT57 chr3 108160812 108222560 AR Orphanet Orofaciodigital syndrome type 18 . -RMP64 chr3 113001460 113019861 AR Orphanet Anauxetic dysplasia . -CFAP44 chr3 113286930 113441610 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -ATP6V1A chr3 113746296 113812251 AR Orphanet Autosomal recessive cutis laxa type 2, classic type; and 1 other . -ARHGAP31 chr3 119294031 119420824 AR Orphanet Adams-Oliver syndrome . -POGLUT1 chr3 119468791 119494708 AR Orphanet POGLUT1-related limb-girdle muscular dystrophy R21 . -TIMMDC1 chr3 119498515 119525090 AR Orphanet Isolated complex I deficiency . -HGD chr3 120628165 120682398 AR Orphanet Alkaptonuria . -IQCB1 chr3 121769398 121835093 AR Orphanet Leber congenital amaurosis; and 1 other . -ILDR1 chr3 121987322 122022282 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -CASR chr3 122183665 122291629 AR Orphanet Neonatal severe primary hyperparathyroidism . -CSTA chr3 122325238 122359856 AR Orphanet Acral peeling skin syndrome; and 1 other . -ADCY5 chr3 123282296 123449795 AR Orphanet Familial dyskinesia and facial myokymia . -MYLK chr3 123610049 123884375 AR Orphanet Megacystis-microcolon-intestinal hypoperistalsis syndrome . -UMPS chr3 124730433 124749384 AR Orphanet Hereditary orotic aciduria . -UROC1 chr3 126481165 126517778 AR Orphanet Urocanic aciduria . -PLXNA1 chr3 126982693 127037389 AR Orphanet Non-specific syndromic intellectual disability . -ACAD9 chr3 128879494 128924003 AR Orphanet Acyl-CoA dehydrogenase 9 deficiency . -GP9 chr3 129060774 129062435 AR Orphanet Bernard-Soulier syndrome . -COPG1 chr3 129249575 129278068 AR Orphanet Combined immunodeficiency due to COPG1 deficiency . -IFT122 chr3 129429607 129520510 AR Orphanet Cranioectodermal dysplasia . -MBD4 chr3 129430282 129440543 AR Orphanet MBD4-related tumor predisposition syndrome . -RHO chr3 129528637 129535344 AR Orphanet Congenital stationary night blindness, Riggs type; and 1 other . -MRPL3 chr3 131459128 131502995 AR Orphanet Combined oxidative phosphorylation defect type 9 . -UBA5 chr3 132654446 132679794 AR Orphanet Non-specific early-onset epileptic encephalopathy . -NPHP3 chr3 132680608 132722498 AR Orphanet Infantile nephronophthisis; and 4 others . -BFSP2 chr3 133400056 133475222 AR Orphanet Pulverulent cataract . -TF chr3 133745862 133796641 AR ACMG Atransferrinemia . -SLCO2A1 chr3 133930258 134052184 AR Orphanet Chronic enteropathy associated with SLCO2A1 gene; and 1 other . -CEP63 chr3 134485699 134587789 AR Orphanet Seckel syndrome . -KY chr3 134599923 134651677 AR Orphanet Kyphoscoliosis-lateral tongue atrophy-hereditary spastic paraplegia syndrome; and 1 other . -MSL2 chr3 135995448 136197241 AR Orphanet Non-specific syndromic intellectual disability . -PCCB chr3 136250314 136351450 AR Orphanet Propionic acidemia . -DZIP1L chr3 138029828 138115857 AR Orphanet Autosomal recessive polycystic kidney disease . -DBR1 chr3 138160988 138174953 AR Orphanet Trichothiodystrophy . -MRAS chr3 138347648 138405535 AR Orphanet Noonan syndrome . -FOXL2 chr3 138944224 138947137 AR Orphanet Blepharophimosis-ptosis-epicanthus inversus syndrome type 1 . -MRPS22 chr3 139005806 139360497 AR Orphanet 46,XX gonadal dysgenesis; and 1 other . -COPB2 chr3 139353942 139389736 AR Orphanet Autosomal recessive primary microcephaly . -RASA2 chr3 141486967 141615362 AR Orphanet Noonan syndrome . -ATR chr3 142449007 142578868 AR Orphanet Seckel syndrome . -PLOD2 chr3 146035022 146163725 AR Orphanet Bruck syndrome . -AGTR1 chr3 148697784 148743045 AR Orphanet Renal tubular dysgenesis of genetic origin . -GYG1 chr3 148991332 149031775 AR Orphanet Glycogen storage disease with severe cardiomyopathy due to glycogenin deficiency; and 1 other . -HPS3 chr3 149129602 149173732 AR ACMG Hermansky-Pudlak syndrome 3 . -CP chr3 149162410 149222049 AR Orphanet Aceruloplasminemia . -CLRN1 chr3 150926163 150972727 AR ACMG,ACOG Usher syndrome type 3A . -MED12L chr3 151085286 151437072 AR Orphanet Non-specific syndromic intellectual disability . -P2RY12 chr3 151336843 151384765 AR Orphanet Bleeding disorder due to P2Y12 defect . -MME chr3 155024124 155183813 AR Orphanet Charcot-Marie-Tooth disease type 2T; and 1 other . -SLC33A1 chr3 155821024 155854563 AR Orphanet Congenital cataract-hearing loss-severe developmental delay syndrome . -RSRC1 chr3 158105675 158545734 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -GFM1 chr3 158644516 158695836 AR Orphanet Hepatoencephalopathy due to combined oxidative phosphorylation defect type 1 . -IFT80 chr3 160256986 160400357 AR Orphanet Jeune syndrome; and 2 others . -SI chr3 164978898 165078496 AR Orphanet Congenital sucrase-isomaltase deficiency . -BCHE chr3 165772900 165837462 AR Orphanet Hereditary butyrylcholinesterase deficiency . -TERC chr3 169764610 169765060 AR Orphanet Dyskeratosis congenita; and 1 other . -SLC7A14 chr3 170459548 170586149 AR Orphanet Retinitis pigmentosa . -SLC2A2 chr3 170994621 171026775 AR Orphanet Fanconi-Bickel syndrome . -TNIK chr3 171058414 171460473 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -GHSR chr3 172442551 172448456 AR Orphanet Short stature due to GHSR deficiency . -SPATA16 chr3 172889357 173141235 AR Orphanet Male infertility due to globozoospermia . -ACTL6A chr3 179562886 179588462 AR Orphanet Non-specific syndromic intellectual disability . -CCDC39 chr3 180602858 180684942 AR Orphanet Primary ciliary dyskinesia . -DNAJC19 chr3 180939429 180989843 AR Orphanet Dilated cardiomyopathy with ataxia . -SOX2 chr3 181711925 181714436 AR Orphanet Isolated colobomatous microphthalmia; and 2 others . -MCCC1 chr3 183015218 183116075 AR Orphanet 3-methylcrotonyl-CoA carboxylase deficiency . -EIF2B5 chr3 184134986 184146127 AR Orphanet Congenital or early infantile CACH syndrome; and 4 others . -ALG3 chr3 184242301 184249571 AR Orphanet ALG3-CDG . -CLCN2 chr3 184346185 184363274 AR Orphanet Leukoencephalopathy with mild cerebellar ataxia and white matter edema . -THPO chr3 184367389 184381968 AR Orphanet Congenital amegakaryocytic thrombocytopenia-THPO . -EHHADH chr3 185190624 185281990 AR Orphanet Bifunctional enzyme deficiency; and 1 other . -LIPH chr3 185506262 185552617 AR Orphanet Hypotrichosis simplex; and 1 other . -AHSG chr3 186612776 186627803 AR Orphanet Alopecia-intellectual disability syndrome . -KNG1 chr3 186717329 186744736 AR Orphanet Congenital high-molecular-weight kininogen deficiency . -EIF4A2 chr3 186783205 186789901 AR Orphanet Non-specific syndromic intellectual disability . -RFC4 chr3 186789866 186807058 AR Orphanet Motor incoordination-myopathy-respiratory insufficiency-progressive cerebellar atrophy syndrome . -MASP1 chr3 187216086 187292278 AR Orphanet 3MC syndrome . -TP63 chr3 189631252 189897276 AR Orphanet Isolated split hand-split foot malformation . -P3H2 chr3 189956728 190122437 AR Orphanet Rare isolated myopia . -CLDN1 chr3 190305706 190322977 AR Orphanet Neonatal ichthyosis-sclerosing cholangitis syndrome . -CLDN16 chr3 190322522 190412460 AR Orphanet Primary hypomagnesemia with hypercalciuria and nephrocalcinosis without severe ocular involvement . -FGF12 chr3 192139245 192767764 AR Orphanet Non-specific early-onset epileptic encephalopathy . -OPA1 chr3 193593102 193697947 AR Orphanet Behr syndrome . -ATP13A3 chr3 194402672 194498364 AR Orphanet Heritable pulmonary arterial hypertension . -TNK2 chr3 195863364 195911945 AR Orphanet TNK2-related epilepsy with severe cognitive regression . -TFRC chr3 196012511 196082162 AR Orphanet Combined immunodeficiency due to TFRC deficiency . -PCYT1A chr3 196214222 196287957 AR Orphanet Leber congenital amaurosis; and 1 other . -RNF168 chr3 196468783 196503824 AR Orphanet RIDDLE syndrome . -CEP19 chr3 196706268 196712603 AR Orphanet Bardet-Biedl syndrome; and 1 other . -PAK2 chr3 196739743 196832647 AR Orphanet Knobloch syndrome . -RUBCN chr3 197668867 197749727 AR Orphanet Autosomal recessive cerebellar ataxia-epilepsy-intellectual disability syndrome due to RUBCN deficiency . -ZNF141 chr4 337762 384868 AR Orphanet Postaxial polydactyly type A . -PIGG chr4 499195 541173 AR Orphanet Early-onset epilepsy-intellectual disability-brain anomalies syndrome . -PDE6B chr4 625559 670782 AR Orphanet Congenital stationary night blindness, Riggs type; and 1 other . -CPLX1 chr4 784957 827043 AR Orphanet Myoclonic epilepsy of infancy . -IDUA chr4 986997 1008344 AR ACMG Mucopolysaccharidosis type I (Hurler and Hurler-Scheie) . -RNF212 chr4 1056247 1113697 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -UVSSA chr4 1345691 1395989 AR Orphanet UV-sensitive syndrome . -FGFR3 chr4 1793286 1808873 AR Orphanet Camptodactyly-tall stature-scoliosis-hearing loss syndrome . -SH3BP2 chr4 2793015 2841291 AR Orphanet Cherubism . -HTT chr4 3041363 3243957 AR Orphanet Non-specific syndromic intellectual disability . -DOK7 chr4 3463190 3501540 AR Orphanet Congenital myasthenic syndrome due to defects in endplate development and maintenance; and 1 other . -LRPAP1 chr4 3503612 3532446 AR Orphanet Rare isolated myopia . -MSX1 chr4 4859665 4863936 AR Orphanet Oligodontia . -EVC2 chr4 5542772 5709548 AR ACMG Ellis-van Creveld syndrome (chondroectodermal dysplasia) . -EVC chr4 5711172 5814305 AR Orphanet Ellis-Van Creveld syndrome . -WFS1 chr4 6269832 6303265 AR Orphanet Early-onset nuclear cataract; and 1 other . -MAN2B2 chr4 6575130 6623362 AR Orphanet MAN2B2-CDG . -HMX1 chr4 8846076 8872012 AR Orphanet Oculoauricular syndrome, Schorderet type . -SLC2A9 chr4 9771148 10054936 AR Orphanet Hereditary renal hypouricemia . -WDR1 chr4 10068089 10116988 AR Orphanet Periodic fever-immunodeficiency-thrombocytopenia syndrome . -RAB28 chr4 13245110 13484365 AR Orphanet Cone rod dystrophy . -NKX3-2 chr4 13540830 13545038 AR Orphanet Spondylo-megaepiphyseal-metaphyseal dysplasia . -CC2D2A chr4 15469865 15602097 AR ACMG Joubert syndrome 9; Meckel syndrome 6 . -PROM1 chr4 15963076 16084378 AR Orphanet Cone rod dystrophy; and 2 others . -TAPT1 chr4 16160505 16227606 AR Orphanet Complex lethal osteochondrodysplasia . -QDPR chr4 17460261 17512257 AR Orphanet Dihydropteridine reductase deficiency . -SEPSECS chr4 25119291 25160550 AR Orphanet Pontocerebellar hypoplasia type 2; and 1 other . -SLC34A2 chr4 25648011 25679132 AR Orphanet Pulmonary alveolar microlithiasis . -RBPJ chr4 26163455 26435131 AR Orphanet Adams-Oliver syndrome . -WDR19 chr4 39182463 39285810 AR Orphanet Cranioectodermal dysplasia; and 3 others . -RFC1 chr4 39287455 39366400 AR Orphanet Cerebellar ataxia with neuropathy and bilateral vestibular areflexia syndrome . -LIAS chr4 39459004 39485109 AR Orphanet Lipoic acid synthetase deficiency . -RHOH chr4 40191011 40246967 AR Orphanet T-cell immunodeficiency with epidermodysplasia verruciformis . -UCHL1 chr4 41256413 41268567 AR Orphanet Early-onset progressive neurodegeneration-blindness-ataxia-spasticity syndrome . -SLC30A9 chr4 41990492 42099369 AR Orphanet Psychomotor regression-oculomotor apraxia-movement disorder-nephropathy syndrome . -GRXCR1 chr4 42892713 43030658 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -GUF1 chr4 44678403 44703060 AR Orphanet Infantile epileptic spasms syndrome . -GABRA2 chr4 46243548 46475230 AR Orphanet Non-specific early-onset epileptic encephalopathy . -CNGA1 chr4 47935128 48017301 AR Orphanet Retinitis pigmentosa . -SGCB chr4 52020697 52038305 AR Orphanet Beta-sarcoglycan-related limb-girdle muscular dystrophy R4 . -GSX2 chr4 54099523 54102498 AR Orphanet Diencephalic-mesencephalic junction dysplasia . -SRD5A3 chr4 55346073 55373100 AR Orphanet SRD5A3-CDG . -TMEM165 chr4 55395624 55453888 AR Orphanet TMEM165-CDG . -CEP135 chr4 55948819 56033361 AR Orphanet Autosomal recessive primary microcephaly . -PAICS chr4 56435058 56464578 AR Orphanet PAICS deficiency . -SPINK2 chr4 56809857 56821869 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -IGFBP7 chr4 56986181 57110921 AR Orphanet Familial retinal arterial macroaneurysm . -TECRL chr4 64275255 64409578 AR Orphanet TECRL-related catecholaminergic polymorphic ventricular tachycardia . -GNRHR chr4 67737118 67754403 AR Orphanet Normosmic congenital hypogonadotropic hypogonadism . -AMTN chr4 70518569 70532743 AR Orphanet Hypocalcified amelogenesis imperfecta . -AMBN chr4 70592256 70607288 AR Orphanet Hypoplastic amelogenesis imperfecta . -ENAM chr4 70628744 70646824 AR Orphanet Hypoplastic amelogenesis imperfecta . -SLC4A4 chr4 71062644 71572087 AR Orphanet Autosomal recessive proximal renal tubular acidosis . -ADAMTS3 chr4 72280969 72569365 AR Orphanet Hennekam syndrome . -ALB chr4 73397114 73426607 AR Orphanet Congenital analbuminemia . -AFP chr4 73431138 73456174 AR Orphanet Congenital deficiency in alpha-fetoprotein . -ODAPH chr4 75556028 75565997 AR Orphanet Hypomaturation amelogenesis imperfecta . -NUP54 chr4 76107562 76148509 AR Orphanet Familial infantile bilateral striatal necrosis . -SCARB2 chr4 76158723 76234536 AR Orphanet Action myoclonus-renal failure syndrome; and 1 other . -FRAS1 chr4 78056961 78544458 AR Orphanet Fraser syndrome . -ANTXR2 chr4 79901146 80125454 AR Orphanet Infantile systemic hyalinosis; and 1 other . -PRDM8 chr4 80183879 80260318 AR Orphanet PRDM8-related progressive myoclonus epilepsy . -FGF5 chr4 80266639 80336680 AR Orphanet Familial isolated trichomegaly . -WDFY3 chr4 84668765 84966924 AR Orphanet Non-specific syndromic intellectual disability . -ARHGAP24 chr4 85475113 86002668 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -DMP1 chr4 87650278 87664361 AR Orphanet Autosomal recessive hypophosphatemic rickets . -PPM1K chr4 88257620 88284769 AR Orphanet Intermediate maple syrup urine disease . -PIGY chr4 88520986 88523776 AR Orphanet Hyperphosphatasia-intellectual disability syndrome . -SNCA chr4 89700345 89838321 AR Orphanet Parkinsonian-pyramidal syndrome . -GRID2 chr4 92303966 93810157 AR Orphanet Autosomal recessive congenital cerebellar ataxia due to GRID2 deficiency . -ATOH1 chr4 93828753 93830964 AR Orphanet Sensorineural hearing loss-brainstem malformation-motor delay-balance impairment syndrome . -BMPR1B chr4 94757937 95158449 AR Orphanet Acromesomelic dysplasia, Grebe type; and 1 other . -PDHA2 chr4 95840093 95841464 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -TRMT10A chr4 99546700 99564070 AR Orphanet Primary microcephaly-mild intellectual disability-young-onset diabetes syndrome . -MTTP chr4 99564081 99623997 AR Orphanet Abetalipoproteinemia . -PPP3CA chr4 101023409 101348278 AR Orphanet Non-specific early-onset epileptic encephalopathy . -SLC39A8 chr4 102251037 102431258 AR Orphanet SLC39A8-CDG . -MANBA chr4 102630770 102761000 AR Orphanet Beta-mannosidosis . -CISD2 chr4 102868738 102903259 AR Orphanet Wolfram syndrome . -CENPE chr4 103105349 103198463 AR Orphanet Autosomal recessive primary microcephaly; and 1 other . -TACR3 chr4 103585817 103719986 AR Orphanet Kallmann syndrome; and 1 other . -TET2 chr4 105145875 105279816 AR Orphanet EBV-induced lymphoproliferative disease due to TET2 deficiency . -TBCK chr4 106041599 106316683 AR Orphanet TBCK-related encephalopathy-severe hypotonia-craniofacial dysmorphism syndrome . -AIMP1 chr4 106315544 106349836 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . -CYP2U1 chr4 107931324 107953465 AR Orphanet Autosomal recessive spastic paraplegia type 56 . -HADH chr4 107989683 108035241 AR Orphanet Hyperinsulinism due to short chain 3-hydroxylacyl-CoA dehydrogenase deficiency . -COL25A1 chr4 108808725 109302830 AR Orphanet Congenital fibrosis of extraocular muscles; and 1 other . -CFI chr4 109730868 109802200 AR Orphanet Immunodeficiency with factor I anomaly . -LRIT3 chr4 109846013 109872315 AR Orphanet Complete congenital stationary night blindness, Schubert-Bornschein type . -EGF chr4 109912878 110013948 AR Orphanet EGF-related primary hypomagnesemia with intellectual disability . -LARP7 chr4 112636990 112657861 AR Orphanet Alazami syndrome . -PRSS12 chr4 118280038 118353230 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -SEC24D chr4 118722572 118838683 AR Orphanet Cole-Carpenter syndrome . -PRDM5 chr4 120684919 120923089 AR Orphanet Brittle cornea syndrome . -NDNF chr4 121029310 121074085 AR Orphanet Kallmann syndrome . -EXOSC9 chr4 121801318 121817023 AR Orphanet Pontocerebellar hypoplasia type 1 . -BBS7 chr4 121824329 121870502 AR Orphanet Bardet-Biedl syndrome . -BLTP1 chr4 122152327 122364167 AR Orphanet KIAA1109-related early lethal congenital brain malformations-arthrogryposis syndrome . -IL21 chr4 122610108 122621066 AR Orphanet IL21-related infantile inflammatory bowel disease . -BBS12 chr4 122732653 122746078 AR Orphanet Bardet-Biedl syndrome . -AFG2A chr4 122923070 123319433 AR Orphanet Microcephaly-intellectual disability-sensorineural hearing loss-epilepsy-abnormal muscle tone syndrome . -FAT4 chr4 125314918 125492932 AR Orphanet Cerebrofacioarticular syndrome; and 1 other . -PLK4 chr4 127880890 127899224 AR Orphanet Autosomal recessive chorioretinopathy-microcephaly syndrome; and 1 other . -MFSD8 chr4 127917799 127966034 AR Orphanet Cone rod dystrophy . -SCLT1 chr4 128864921 129093622 AR Orphanet Bardet-Biedl syndrome . -NAA15 chr4 139301446 139420033 AR Orphanet Non-specific syndromic intellectual disability . -RAB33B chr4 139453232 139483974 AR Orphanet Smith-McCort dysplasia . -MMAA chr4 145599042 145660033 AR Orphanet Vitamin B12-responsive methylmalonic acidemia type cblA . -TTC29 chr4 146703989 146945882 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -LRBA chr4 150264430 151015755 AR Orphanet Syndromic autoimmune enteropathy due to LRBA deficiency . -MAB21L2 chr4 150582151 150584693 AR Orphanet Colobomatous microphthalmia-rhizomelic dysplasia syndrome . -FBXW7 chr4 152320544 152536353 AR Orphanet Non-specific syndromic intellectual disability . -TRIM2 chr4 153152163 153339319 AR Orphanet Charcot-Marie-Tooth disease type 2R . -FGB chr4 154562952 154572807 AR Orphanet Familial afibrinogenemia . -FGA chr4 154581966 154590751 AR Orphanet Familial afibrinogenemia . -FGG chr4 154604058 154612967 AR Orphanet Familial afibrinogenemia . -LRAT chr4 154626945 154753158 AR Orphanet Leber congenital amaurosis; and 2 others . -GUCY1A1 chr4 155666697 155737059 AR Orphanet Moyamoya disease with early-onset achalasia . -TDO2 chr4 155854738 155921470 AR Orphanet Hypertryptophanemia . -GLRB chr4 157076094 157172097 AR Orphanet Hereditary hyperekplexia . -ETFDH chr4 158671968 158710758 AR Orphanet Multiple acyl-CoA dehydrogenase deficiency, mild type; and 1 other . -MSMO1 chr4 165327660 165343318 AR Orphanet Microcephaly-congenital cataract-psoriasiform dermatitis syndrome . -CPE chr4 165361194 165499352 AR Orphanet CPE-related Prader-Willi-like syndrome . -NEK1 chr4 169369704 169612646 AR Orphanet Orofaciodigital syndrome type 2; and 1 other . -CLCN3 chr4 169612438 169723673 AR Orphanet Non-specific syndromic intellectual disability . -HAND2 chr4 173524969 173530229 AR Orphanet Familial isolated dilated cardiomyopathy . -HPGD chr4 174453668 174523154 AR Orphanet Cranio-osteoarthropathy; and 2 others . -AGA chr4 177430127 177442450 AR ACMG Aspartylglucosaminuria . -TENM3 chr4 182143918 182803024 AR Orphanet Isolated colobomatous microphthalmia . -TRAPPC11 chr4 183659267 183714419 AR Orphanet Intellectual disability-hyperkinetic movement-truncal ataxia syndrome; and 2 others . -SLC25A4 chr4 185143233 185150393 AR Orphanet Congenital cataract-hypertrophic cardiomyopathy-mitochondrial myopathy syndrome . -UFSP2 chr4 185397598 185425987 AR Orphanet Non-specific early-onset epileptic encephalopathy . -CYP4V2 chr4 186191258 186215245 AR Orphanet Bietti crystalline dystrophy . -KLKB1 chr4 186225424 186258476 AR Orphanet Congenital prekallikrein deficiency . -F11 chr4 186260159 186291745 AR Orphanet Congenital factor XI deficiency . -SDHA chr5 218206 257084 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . -SLC9A3 chr5 470456 524450 AR Orphanet Congenital sodium diarrhea . -TRIP13 chr5 892849 919357 AR Orphanet Mosaic variegated aneuploidy syndrome . -SLC6A19 chr5 1201595 1225111 AR Orphanet Hartnup disease . -TERT chr5 1253147 1295086 AR Orphanet Dyskeratosis congenita; and 1 other . -SLC6A3 chr5 1392794 1445514 AR Orphanet Infantile dystonia-parkinsonism . -NDUFS6 chr5 1801363 1816051 AR Orphanet Isolated complex I deficiency . -NSUN2 chr5 6599237 6633332 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -MTRR chr5 7851186 7906025 AR Orphanet Methylcobalamin deficiency type cblE . -CCT5 chr5 10249929 10266389 AR Orphanet Mutilating hereditary sensory neuropathy with spastic paraplegia . -DNAH5 chr5 13690328 14011818 AR Orphanet Primary ciliary dyskinesia . -OTULIN chr5 14664664 14716529 AR Orphanet Infantile-onset periodic fever-panniculitis-dermatosis syndrome . -ANKH chr5 14704800 14871949 AR Orphanet Craniometaphyseal dysplasia . -RETREG1 chr5 16473038 16617194 AR Orphanet Hereditary sensory and autonomic neuropathy type 2 . -ZFR chr5 32354344 32444766 AR Orphanet Autosomal recessive spastic paraplegia type 71 . -NPR3 chr5 32689070 32791724 AR Orphanet Tall stature-long halluces-multiple extra-epiphyses syndrome . -TARS1 chr5 33440696 33471929 AR Orphanet Trichothiodystrophy . -SLC45A2 chr5 33943530 33986124 AR Orphanet Oculocutaneous albinism type 4 . -AMACR chr5 33986165 34010219 AR Orphanet Congenital bile acid synthesis defect type 4 . -DNAJC21 chr5 34929525 34958964 AR Orphanet Shwachman-Diamond syndrome . -SPEF2 chr5 35617839 35814611 AR Orphanet Non-syndromic male infertility due to sperm motility disorder; and 1 other . -IL7R chr5 35852695 35879603 AR Orphanet Omenn syndrome; and 1 other . -LMBRD2 chr5 36098327 36151976 AR Orphanet Non-specific syndromic intellectual disability . -NADK2 chr5 36191555 36242279 AR Orphanet Progressive encephalopathy with leukodystrophy due to DECR deficiency . -CPLANE1 chr5 37105973 37249410 AR Orphanet Isolated Joubert syndrome; and 1 other . -LIFR chr5 38474668 38608354 AR Orphanet Stüve-Wiedemann syndrome . -FYB1 chr5 39105251 39274528 AR Orphanet Congenital autosomal recessive small-platelet thrombocytopenia . -C9 chr5 39283911 39371365 AR Orphanet Immunodeficiency due to a late component of complement deficiency . -C7 chr5 40909416 41020216 AR Orphanet Immunodeficiency due to a late component of complement deficiency . -C6 chr5 41140236 41261561 AR Orphanet Immunodeficiency due to a late component of complement deficiency . -OXCT1 chr5 41729460 41870590 AR Orphanet Succinyl-CoA:3-oxoacid CoA transferase deficiency . -GHR chr5 42423439 42721878 AR Orphanet Laron syndrome . -NNT chr5 43602584 43707405 AR Orphanet Familial glucocorticoid deficiency . -HCN1 chr5 45254948 45696498 AR Orphanet Non-specific early-onset epileptic encephalopathy . -MOCS2 chr5 53094141 53113016 AR Orphanet Sulfite oxidase deficiency due to molybdenum cofactor deficiency type B . -NDUFS4 chr5 53560633 53683340 AR Orphanet Isolated complex I deficiency . -MCIDAS chr5 55218790 55227315 AR Orphanet Primary ciliary dyskinesia . -CCNO chr5 55231152 55233649 AR Orphanet Primary ciliary dyskinesia . -IL6ST chr5 55935095 55995022 AR Orphanet Autosomal recessive combined immunodeficiency due to complete IL6ST deficiency; and 1 other . -MAP3K1 chr5 56815381 56896152 AR Orphanet 46,XY complete gonadal dysgenesis; and 1 other . -ERCC8 chr5 60866454 60945078 AR Orphanet Cockayne syndrome type 1; and 3 others . -NDUFAF2 chr5 60945117 61154531 AR Orphanet Isolated complex I deficiency . -CWC27 chr5 64766368 65102412 AR Orphanet Brachydactyly-short stature-retinitis pigmentosa syndrome . -PIK3R1 chr5 68215740 68301821 AR Orphanet Autosomal non-syndromic agammaglobulinemia . -MARVELD2 chr5 69415065 69444330 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -OCLN chr5 69492184 69558114 AR Orphanet Pseudo-TORCH syndrome type 1 . -SMN1 chr5 70925030 70953942 AR ACMG,ACOG Spinal muscular atrophy . -BDP1 chr5 71455639 71567820 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -MCCC2 chr5 71579531 71658706 AR ACMG 3-methylcrotonyl-CoA carboxylase 2 deficiency . -MAP1B chr5 72107234 72209565 AR Orphanet Periventricular nodular heterotopia . -HEXB chr5 74640023 74722647 AR Orphanet Sandhoff disease, adult form; and 2 others . -GFM2 chr5 74721206 74767155 AR Orphanet Combined oxidative phosphorylation defect type 39 . -HMGCR chr5 75336329 75364241 AR Orphanet Autosomal recessive limb-girdle muscular dystrophy, type 28 . -CERT1 chr5 75356345 75512138 AR Orphanet Non-specific syndromic intellectual disability . -AP3B1 chr5 77991640 78294762 AR Orphanet Hermansky-Pudlak syndrome due to AP3B1 deficiency . -ARSB chr5 78777209 78986087 AR Orphanet Mucopolysaccharidosis type 6, rapidly progressing; and 1 other . -DMGDH chr5 78996960 79236038 AR Orphanet Dimethylglycine dehydrogenase deficiency . -DHFR chr5 80626226 80655002 AR Orphanet Constitutional megaloblastic anemia with severe neurologic disease . -MSH3 chr5 80654613 80880295 AR Orphanet MSH3-related polyposis . -XRCC4 chr5 83077498 83370453 AR Orphanet Microcephalic primordial dwarfism-insulin resistance syndrome . -VCAN chr5 83471618 83585130 AR Orphanet Wagner disease . -ADGRV1 chr5 90529344 91171299 AR Orphanet Usher syndrome type 2 . -KIAA0825 chr5 94150851 94618616 AR Orphanet Postaxial polydactyly type A . -SKIC3 chr5 95461755 95555050 AR Orphanet Trichohepatoenteric syndrome . -ARSK chr5 95555081 95607966 AR Orphanet Mucopolysaccharidosis type 10 . -CAST chr5 95962001 96631085 AR Orphanet Peeling skin-leukonychia-acral punctate keratoses-cheilitis-knuckle pads syndrome . -PCSK1 chr5 96390333 96434143 AR Orphanet Obesity due to prohormone convertase I deficiency . -PPIP5K2 chr5 103120149 103212799 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -SLC25A46 chr5 110738136 110765173 AR Orphanet Hereditary motor and sensory neuropathy type 6; and 1 other . -APC chr5 112707452 112846239 AR Orphanet Attenuated familial adenomatous polyposis; and 2 others . -HSD17B4 chr5 119452465 119637199 AR Orphanet Bifunctional enzyme deficiency; and 2 others . -CEP120 chr5 123344888 123423592 AR Orphanet Isolated Joubert syndrome; and 2 others . -ALDH7A1 chr5 126531200 126595362 AR Orphanet Pyridoxine-dependent-developmental and epileptic encephalopathy . -MEGF10 chr5 127290796 127465737 AR Orphanet Early-onset myopathy-areflexia-respiratory distress-dysphagia syndrome . -SLC12A2 chr5 128083165 128189687 AR Orphanet SLC12A2-related autosomal recessive neonatal-developmental delay-intellectual disability-feeding difficulty-sensorineural deafness syndrome . -MINAR2 chr5 129748094 129766732 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -HINT1 chr5 131155383 131224468 AR Orphanet Autosomal recessive axonal neuropathy with neuromyotonia . -LYRM7 chr5 131170845 131205428 AR Orphanet Isolated complex III deficiency . -FNIP1 chr5 131641714 131797041 AR Orphanet Agammaglobulinemia-early-onset hypertrophic cardiomyopathy-neutropenia syndrome . -SLC22A5 chr5 132369493 132395615 AR Orphanet Systemic primary carnitine deficiency . -IRF1 chr5 132440440 132508719 AR Orphanet Severe mendelian susceptibility to mycobacterial diseases due to complete IRF1 deficiency . -RAD50 chr5 132556019 132646349 AR Orphanet Nijmegen breakage syndrome-like disorder . -UQCRQ chr5 132866623 132868847 AR Orphanet Isolated complex III deficiency . -SAR1B chr5 134601149 134649271 AR Orphanet Chylomicron retention disease . -TXNDC15 chr5 134874308 134902952 AR Orphanet Meckel syndrome . -KLHL3 chr5 137617500 137736221 AR Orphanet Pseudohypoaldosteronism type 2D . -NME5 chr5 138114412 138139443 AR Orphanet Primary ciliary dyskinesia . -KIF20A chr5 138178715 138188171 AR Orphanet Familial isolated restrictive cardiomyopathy . -REEP2 chr5 138438976 138446969 AR Orphanet Autosomal spastic paraplegia type 72 . -HSPA9 chr5 138553756 138575675 AR Orphanet Autosomal recessive sideroblastic anemia; and 1 other . -SIL1 chr5 138886914 139293557 AR Orphanet Marinesco-Sjögren syndrome . -MATR3 chr5 139273752 139332518 AR Orphanet Amyotrophic lateral sclerosis . -NDUFA2 chr5 140638740 140647823 AR Orphanet Cystic leukoencephalopathy without megalencephaly . -HARS1 chr5 140673035 140691537 AR Orphanet Usher syndrome type 3 . -HARS2 chr5 140691422 140699315 AR Orphanet Perrault syndrome type 1; and 1 other . -PCDHGC4 chr5 141484997 141512977 AR Orphanet Non-specific syndromic intellectual disability . -DIAPH1 chr5 141515016 141619194 AR Orphanet Moyamoya disease; and 1 other . -PCDH12 chr5 141943581 141969741 AR Orphanet Diencephalic-mesencephalic junction dysplasia . -SPRY4 chr5 142310420 142326455 AR Orphanet Kallmann syndrome; and 1 other . -NR3C1 chr5 143277931 143435512 AR Orphanet Generalized glucocorticoid resistance syndrome . -YIPF5 chr5 144158161 144170714 AR Orphanet Primary microcephaly-epilepsy-permanent neonatal diabetes syndrome . -GRXCR2 chr5 145858521 145937126 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -LARS1 chr5 146110566 146182696 AR Orphanet Acute infantile liver failure-multisystemic involvement syndrome . -SPINK1 chr5 147824572 147831679 AR Orphanet Autosomal recessive hereditary chronic pancreatitis . -SPINK5 chr5 148025683 148141031 AR Orphanet Netherton syndrome . -SH3TC2 chr5 148923639 149063163 AR Orphanet Charcot-Marie-Tooth disease type 4C . -PDE6A chr5 149857953 149945287 AR Orphanet Retinitis pigmentosa . -SLC26A2 chr5 149960748 149993455 AR ACMG Multiple epiphyseal dysplasia 4; achondrogenesis Ib . -CSF1R chr5 150053291 150113372 AR Orphanet Early-onset calcifying leukoencephalopathy-skeletal dysplasia . -PDGFRB chr5 150113839 150186363 AR Orphanet Bilateral striopallidodentate calcinosis; and 1 other . -ARSI chr5 150296343 150339307 AR Orphanet Autosomal recessive spastic paraplegia type 66 . -TCOF1 chr5 150357629 150400510 AR Orphanet Treacher-Collins syndrome . -NDST1 chr5 150485405 150558211 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -GM2A chr5 151212150 151281466 AR Orphanet GM2 gangliosidosis, AB variant . -SLC36A2 chr5 151314972 151347602 AR Orphanet Iminoglycinuria . -SPARC chr5 151661096 151687352 AR Orphanet Osteogenesis imperfecta type 4 . -GLRA1 chr5 151822513 151924851 AR Orphanet Hereditary hyperekplexia . -GRIA1 chr5 153489615 153813869 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -GEMIN5 chr5 154886740 154938242 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -SGCD chr5 155870344 156767788 AR Orphanet Delta-sarcoglycan-related limb-girdle muscular dystrophy R6; and 1 other . -ITK chr5 157142933 157255185 AR Orphanet Combined immunodeficiency due to ITK deficiency . -CYFIP2 chr5 157266079 157395595 AR Orphanet Non-specific early-onset epileptic encephalopathy . -NIPAL4 chr5 157460213 157474723 AR Orphanet Congenital ichthyosiform erythroderma; and 1 other . -LSM11 chr5 157743706 157760709 AR Orphanet Aicardi-Goutières syndrome . -IL12B chr5 159314780 159330863 AR Orphanet Mendelian susceptibility to mycobacterial diseases due to complete IL12B deficiency . -GABRB2 chr5 161288418 161549044 AR Orphanet Non-specific early-onset epileptic encephalopathy . -GABRG2 chr5 162000057 162162977 AR Orphanet Non-specific early-onset epileptic encephalopathy . -RARS1 chr5 168486447 168519325 AR Orphanet RARS-related autosomal recessive hypomyelinating leukodystrophy . -DOCK2 chr5 169637224 170083382 AR Orphanet Combined immunodeficiency due to DOCK2 deficiency . -FOXI1 chr5 170105893 170109734 AR Orphanet Autosomal recessive distal renal tubular acidosis; and 1 other . -LCP2 chr5 170246233 170297845 AR Orphanet T-B+NK+ severe combined immunodeficiency due to LCP2 deficiency . -NPM1 chr5 171387086 171411952 AR Orphanet Dyskeratosis congenita . -FBXW11 chr5 171844094 172006907 AR Orphanet Non-specific syndromic intellectual disability . -SH3PXD2B chr5 172323171 172454536 AR Orphanet Frank-Ter Haar syndrome . -ERGIC1 chr5 172834251 172952792 AR Orphanet Neurogenic arthrogryposis multiplex congenita . -NSD1 chr5 177131787 177300213 AR Orphanet Sotos syndrome . -SLC34A1 chr5 177379235 177398848 AR Orphanet Autosomal recessive infantile hypercalcemia; and 2 others . -F12 chr5 177402133 177416583 AR Orphanet Congenital factor XII deficiency . -B4GALT7 chr5 177600081 177611056 AR Orphanet B4GALT7-related spondylodysplastic Ehlers-Danlos syndrome . -PROP1 chr5 177992235 177996242 AR Orphanet Combined pituitary hormone deficiencies, genetic forms; and 2 others . -NHP2 chr5 178139872 178153968 AR Orphanet Dyskeratosis congenita . -GRM6 chr5 178977587 178996206 AR Orphanet Complete congenital stationary night blindness, Schubert-Bornschein type . -ADAMTS2 chr5 179110853 179345506 AR Orphanet Dermatosparaxis Ehlers-Danlos syndrome . -SQSTM1 chr5 179806398 179838078 AR Orphanet Amyotrophic lateral sclerosis . -FOXC1 chr6 1609915 1613897 AR Orphanet Peters anomaly . -SERPINB6 chr6 2944468 2972375 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -RIPK1 chr6 3063824 3115188 AR Orphanet Immune dysregulation-inflammatory bowel disease-arthritis-recurrent infections-lymphopenia syndrome . -TUBB2B chr6 3223324 3231730 AR Orphanet Congenital fibrosis of extraocular muscles; and 1 other . -LYRM4 chr6 5065297 5261431 AR Orphanet Severe neonatal lactic acidosis due to NFS1-ISD11 complex deficiency . -FARS2 chr6 5261007 5829192 AR Orphanet Autosomal recessive spastic paraplegia type 77; and 1 other . -F13A1 chr6 6144080 6321013 AR Orphanet Congenital factor XIII deficiency . -DSP chr6 7541320 7586717 AR Orphanet Carvajal syndrome; and 4 others . -BMP6 chr6 7726049 7881730 AR Orphanet Symptomatic form of HFE-related hemochromatosis . -BLOC1S5 chr6 8012317 8064419 AR Orphanet Hermansky-Pudlak syndrome due to BLOC-1 deficiency . -GCNT2 chr6 10492223 10629377 AR Orphanet Total early-onset cataract . -MAK chr6 10762723 10838553 AR Orphanet Retinitis pigmentosa . -GCM2 chr6 10873223 10882041 AR Orphanet Familial isolated hypoparathyroidism due to agenesis of parathyroid gland . -EDN1 chr6 12287459 12297194 AR Orphanet Auriculocondylar syndrome . -PHACTR1 chr6 12716312 13290446 AR Orphanet Infantile epileptic spasms syndrome . -TBC1D7 chr6 13266536 13328583 AR Orphanet Isolated megalencephaly . -JARID2 chr6 15244937 15522042 AR Orphanet Non-specific syndromic intellectual disability . -DTNBP1 chr6 15520284 15663066 AR Orphanet Hermansky-Pudlak syndrome due to BLOC-1 deficiency . -CAP2 chr6 17393315 17558250 AR Orphanet Familial isolated dilated cardiomyopathy . -NHLRC1 chr6 18120440 18122677 AR Orphanet Lafora disease . -DCDC2 chr6 24171747 24383300 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 2 others . -ALDH5A1 chr6 24494788 24544150 AR Orphanet Succinic semialdehyde dehydrogenase deficiency . -TDP2 chr6 24649917 24667052 AR Orphanet Autosomal recessive cerebellar ataxia-epilepsy-intellectual disability syndrome due to TUD deficiency . -GMNN chr6 24774892 24788205 AR Orphanet Ear-patella-short stature syndrome . -RIPOR2 chr6 24803362 25042170 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -SCGN chr6 25652201 25701792 AR Orphanet SCGN-related severe early-onset hereditary ulcerative colitis . -HFE chr6 26087226 26098343 AR Orphanet Symptomatic form of HFE-related hemochromatosis . -ZFP57 chr6 29672482 29681174 AR Orphanet Transient neonatal diabetes mellitus . -TUBB chr6 30717435 30725538 AR Orphanet Multiple benign circumferential skin creases on limbs . -VARS2 chr6 30914205 30928614 AR Orphanet Combined oxidative phosphorylation defect type 20 . -CDSN chr6 31115087 31120446 AR Orphanet Peeling skin syndrome type B . -CSNK2B chr6 31665227 31670343 AR Orphanet Poirier-Bienvenu neurodevelopmental syndrome . -ABHD16A chr6 31686954 31703391 AR Orphanet Autosomal recessive spastic paraplegia type 86 . -MPIG6B chr6 31718594 31726714 AR Orphanet Congenital macrothrombocytopenia with focal myelofibrosis . -MSH5 chr6 31739677 31762678 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -NEU1 chr6 31857063 31862905 AR Orphanet Congenital sialidosis type 2; and 2 others . -C2 chr6 31897785 31945677 AR Orphanet Immunodeficiency due to a classical component pathway complement deficiency . -SKIC2 chr6 31959025 31969852 AR Orphanet Trichohepatoenteric syndrome . -C4A chr6 31981991 32005247 AR Orphanet Immunodeficiency due to a classical component pathway complement deficiency . -C4B chr6 32014725 32035975 AR Orphanet Immunodeficiency due to a classical component pathway complement deficiency . -CYP21A2 chr6 32038297 32042321 AR ACMG Congenital adrenal hyperplasia due to 21-hydroxylase deficiency . -TNXB chr6 32041153 32115334 AR ACMG Ehlers-Danlos-like syndrome due to tenascin-X deficiency . -TAP2 chr6 32821833 32838802 AR Orphanet Immunodeficiency by defective expression of MHC class I . -PSMB8 chr6 32840717 32844679 AR Orphanet Proteasome-associated autoinflammatory syndrome . -TAP1 chr6 32845204 32854026 AR Orphanet Immunodeficiency by defective expression of MHC class I . -COL11A2 chr6 33162681 33192802 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 2 others . -SLC39A7 chr6 33200305 33204439 AR Orphanet Agammaglobulinemia-skin involvement-failure to thrive syndrome . -TAPBP chr6 33299694 33314284 AR Orphanet Immunodeficiency by defective expression of MHC class I . -ITPR3 chr6 33620331 33696575 AR Orphanet ITPR3-related combined immunodeficiency-ectodermal dysplasia syndrome . -UQCC2 chr6 33690635 33711748 AR Orphanet Isolated complex III deficiency . -LEMD2 chr6 33771202 33789173 AR Orphanet Early-onset posterior subcapsular cataract; and 1 other . -FANCE chr6 35452315 35467106 AR Orphanet Fanconi anemia . -TULP1 chr6 35497874 35512941 AR Orphanet Leber congenital amaurosis; and 1 other . -ARMC12 chr6 35737028 35749079 AR Orphanet Male infertility due to large-headed multiflagellar polyploid spermatozoa . -LHFPL5 chr6 35797206 35845397 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -SLC26A8 chr6 35943516 36028767 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -PNPLA1 chr6 36243203 36313955 AR Orphanet Congenital ichthyosiform erythroderma . -DAAM2 chr6 39792298 39904877 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -MOCS1 chr6 39899578 39934551 AR Orphanet Sulfite oxidase deficiency due to molybdenum cofactor deficiency type A . -TREM2 chr6 41158488 41163203 AR Orphanet Nasu-Hakola disease . -GUCA1A chr6 42173364 42181338 AR Orphanet Cone rod dystrophy; and 1 other . -GUCA1B chr6 42183284 42194956 AR Orphanet Retinitis pigmentosa . -PRPH2 chr6 42696598 42722621 AR Orphanet Cone rod dystrophy; and 4 others . -CNPY3 chr6 42928975 42940217 AR Orphanet Infantile epileptic spasms syndrome . -PEX6 chr6 42959717 42979249 AR Orphanet Autosomal recessive spinocerebellar ataxia-blindness-deafness syndrome; and 4 others . -GNMT chr6 42960268 42970699 AR Orphanet Hypermethioninemia due to glycine N-methyltransferase deficiency . -CUL7 chr6 43037617 43053943 AR Orphanet 3M syndrome . -POLR1C chr6 43509702 43562419 AR Orphanet Hypomyelination-hypogonadotropic hypogonadism-hypodontia syndrome; and 1 other . -POLH chr6 43575537 43628361 AR Orphanet Xeroderma pigmentosum variant . -RSPH9 chr6 43644229 43674358 AR Orphanet Primary ciliary dyskinesia . -MYMX chr6 44192822 44218236 AR Orphanet Carey-Fineman-Ziter syndrome . -AARS2 chr6 44298726 44313376 AR Orphanet Combined oxidative phosphorylation defect type 8; and 1 other . -CLIC5 chr6 45880827 46080348 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -CD2AP chr6 47477732 47627275 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -MMUT chr6 49430360 49463321 AR ACMG Methylmalonic aciduria (methylmalonyl-CoA mutase deficiency) . -RHAG chr6 49605157 49636839 AR Orphanet Rh deficiency syndrome . -PKHD1 chr6 51615299 52087618 AR ACMG Autosomal recessive polycystic kidney disease . -IL17F chr6 52236681 52245689 AR Orphanet Chronic mucocutaneous candidiasis . -CILK1 chr6 53001279 53061896 AR Orphanet Endocrine-cerebro-osteodysplasia syndrome . -GCLC chr6 53497341 53616970 AR Orphanet Glutamate-cysteine ligase deficiency . -DST chr6 56457981 56955274 AR Orphanet Epidermolysis bullosa simplex due to BP230 deficiency; and 1 other . -RAB23 chr6 57186103 57222848 AR Orphanet Carpenter syndrome . -EYS chr6 63719847 65707226 AR Orphanet Retinitis pigmentosa . -LMBRD1 chr6 69672757 69867236 AR Orphanet Methylmalonic acidemia with homocystinuria type cblF . -COL9A1 chr6 70216035 70303084 AR Orphanet Autosomal recessive Stickler syndrome . -RIMS1 chr6 71886550 72403150 AR Orphanet Cone rod dystrophy . -KHDC3L chr6 73362653 73364173 AR Orphanet Complete hydatidiform mole . -SLC17A5 chr6 73593364 73654106 AR Orphanet Free sialic acid storage disease, infantile form; and 2 others . -COL12A1 chr6 75084326 75206267 AR Orphanet Bethlem muscular dystrophy; and 2 others . -MYO6 chr6 75748788 75919537 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -IMPG1 chr6 75921114 76072678 AR Orphanet Retinitis pigmentosa . -LCA5 chr6 79484991 79545138 AR Orphanet Leber congenital amaurosis; and 1 other . -ELOVL4 chr6 79913808 79947701 AR Orphanet Congenital ichthyosis-intellectual disability-spastic quadriplegia syndrome; and 1 other . -BCKDHB chr6 80106626 80384773 AR ACMG,ACOG Maple syrup urine disease . -TENT5A chr6 81491439 81752774 AR Orphanet Osteogenesis imperfecta type 3 . -PGM3 chr6 83147324 83194005 AR Orphanet PGM3-CDG . -RIPPLY2 chr6 83853360 83857515 AR Orphanet Autosomal recessive spondylocostal dysostosis . -NT5E chr6 85449584 85547684 AR Orphanet Hereditary arterial and articular multiple calcification syndrome . -SNX14 chr6 85504776 85594156 AR Orphanet Intellectual disability-coarse face-macrocephaly-cerebellar hypotrophy syndrome . -SYNCRIP chr6 85607390 85644063 AR Orphanet Non-specific syndromic intellectual disability . -ZNF292 chr6 87151803 87300928 AR Orphanet Non-specific syndromic intellectual disability . -RARS2 chr6 87513459 87590028 AR ACMG Pontocerebellar hypoplasia type 6 . -NDUFAF4 chr6 96889311 96897897 AR Orphanet Isolated complex I deficiency . -FBXL4 chr6 98868535 98948006 AR Orphanet Mitochondrial DNA depletion syndrome, encephalomyopathic form with variable craniofacial anomalies . -USP45 chr6 99432325 99521728 AR Orphanet Leber congenital amaurosis . -PRDM13 chr6 99606774 99615578 AR Orphanet Pontocerebellar hypoplasia type 17 . -SIM1 chr6 100385009 100464946 AR Orphanet Obesity due to SIM1 deficiency . -GRIK2 chr6 100962701 102081622 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . -HACE1 chr6 104728093 104859947 AR Orphanet Spastic paraplegia-severe developmental delay-epilepsy syndrome . -POPDC1 chr6 105096822 105137237 AR Orphanet BVES-related limb-girdle muscular dystrophy . -RTN4IP1 chr6 106559393 106629503 AR Orphanet Autosomal recessive isolated optic atrophy . -QRSL1 chr6 106629566 106669870 AR Orphanet QRSL1-related combined oxidative phosphorylation defect . -SOBP chr6 107489897 107661306 AR Orphanet Anterior maxillary protrusion-strabismus-intellectual disability syndrome . -OSTM1 chr6 108029245 108165854 AR Orphanet Autosomal recessive malignant osteopetrosis . -ARMC2 chr6 108841937 108974551 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -ZBTB24 chr6 109460632 109483273 AR Orphanet ICF syndrome . -AK9 chr6 109492855 109691229 AR Orphanet Congenital myasthenic syndrome due to acetylcholine receptor clustering defect; and 1 other . -FIG4 chr6 109690609 109878098 AR Orphanet Amyotrophic lateral sclerosis; and 3 others . -WASF1 chr6 110099581 110180032 AR Orphanet Non-specific syndromic intellectual disability . -CDK19 chr6 110609978 110815958 AR Orphanet Non-specific early-onset epileptic encephalopathy . -TRAF3IP2 chr6 111555381 111606910 AR Orphanet Chronic mucocutaneous candidiasis . -CCN6 chr6 112043815 112069686 AR Orphanet Progressive pseudorheumatoid dysplasia . -LAMA4 chr6 112106077 112254939 AR Orphanet Familial isolated dilated cardiomyopathy . -DSE chr6 116253604 116444861 AR Orphanet Musculocontractural Ehlers-Danlos syndrome . -TSPYL1 chr6 116267760 116279930 AR Orphanet Sudden infant death-dysgenesis of the testes syndrome . -RSPH4A chr6 116616474 116634765 AR Orphanet Primary ciliary dyskinesia . -RFX6 chr6 116877212 116933069 AR Orphanet Hypoplastic pancreas-intestinal atresia-hypoplastic gallbladder syndrome . -NUS1 chr6 117675469 117710727 AR Orphanet Non-specific early-onset epileptic encephalopathy . -PLN chr6 118506292 118562853 AR Orphanet Familial isolated dilated cardiomyopathy . -MCM9 chr6 118813260 118935170 AR Orphanet 46,XX ovarian dysgenesis-short stature syndrome . -TBC1D32 chr6 121079494 121334745 AR Orphanet Orofaciodigital syndrome type 9 . -GJA1 chr6 121435577 121449739 AR Orphanet Craniometaphyseal dysplasia; and 2 others . -TRDN chr6 123215088 123637316 AR Orphanet TRDN-related catecholaminergic polymorphic ventricular tachycardia . -LAMA2 chr6 128883075 129517185 AR Orphanet Laminin subunit alpha 2-related congenital muscular dystrophy; and 1 other . -ARG1 chr6 131470832 131584332 AR Orphanet Argininemia . -MED23 chr6 131572244 131628313 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -ENPP1 chr6 131807993 131895160 AR Orphanet Autosomal recessive hypophosphatemic rickets; and 2 others . -AHI1 chr6 135283407 135498434 AR ACMG Joubert syndrome 3 . -PEX7 chr6 136822546 136914598 AR Orphanet Adult Refsum disease; and 1 other . -IFNGR1 chr6 137197483 137219449 AR Orphanet Autosomal recessive mendelian susceptibility to mycobacterial diseases due to partial IFNgammaR1 deficiency; and 1 other . -PEX3 chr6 143450778 143492183 AR Orphanet Infantile Refsum disease; and 2 others . -PLAGL1 chr6 143940300 144064714 AR Orphanet Transient neonatal diabetes mellitus . -HYMAI chr6 144004916 144008262 AR Orphanet Transient neonatal diabetes mellitus . -STX11 chr6 144149970 144191939 AR Orphanet Familial hemophagocytic lymphohistiocytosis . -EPM2A chr6 145382535 145736023 AR Orphanet Lafora disease . -GRM1 chr6 146027646 146437601 AR Orphanet Autosomal recessive congenital cerebellar ataxia due to MGLUR1 deficiency . -SASH1 chr6 148272304 148552044 AR Orphanet Pigmentation defects-palmoplantar keratoderma-skin carcinoma syndrome . -IYD chr6 150368892 150405969 AR Orphanet Familial thyroid dyshormonogenesis . -RMND1 chr6 151398824 151452181 AR Orphanet Combined oxidative phosphorylation defect type 11; and 2 others . -ESR1 chr6 151651284 152129619 AR Orphanet Estrogen resistance syndrome . -SYNE1 chr6 152121687 152637801 AR Orphanet Autosomal recessive ataxia, Beauce type; and 2 others . -SERAC1 chr6 158109515 158168295 AR Orphanet MEGDEL syndrome . -GTF2H5 chr6 158167749 158199344 AR Orphanet Trichothiodystrophy . -EZR chr6 158765738 158819418 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -RSPH3 chr6 158968232 159000238 AR Orphanet Primary ciliary dyskinesia . -PNLDC1 chr6 159800249 159820704 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -PLG chr6 160702105 160754469 AR Orphanet Hypoplasminogenemia . -PRKN chr6 161347417 162727775 AR Orphanet Young-onset Parkinson disease . -PDE10A chr6 165327287 165988117 AR Orphanet Infantile-onset generalized dyskinesia with orofacial involvement . -TBXT chr6 166157656 166168815 AR Orphanet Sacral agenesis-abnormal ossification of the vertebral bodies-persistent notochordal canal syndrome . -MPC1 chr6 166364916 166383002 AR Orphanet Mitochondrial pyruvate carrier deficiency . -RNASET2 chr6 166922113 166957448 AR Orphanet Cystic leukoencephalopathy without megalencephaly . -SMOC2 chr6 168440656 168673445 AR Orphanet Atypical dentin dysplasia due to SMOC2 deficiency . -ERMARD chr6 169751567 169781600 AR Orphanet Periventricular nodular heterotopia . -FAM20C chr7 192034 260773 AR Orphanet Osteosclerotic bone dysplasia . -DNAAF5 chr7 726687 790035 AR Orphanet Primary ciliary dyskinesia . -LFNG chr7 2512529 2529177 AR Orphanet Autosomal recessive spondylocostal dysostosis . -BRAT1 chr7 2537784 2555782 AR Orphanet Lethal neonatal spasticity-epileptic encephalopathy syndrome . -IQCE chr7 2558903 2614733 AR Orphanet Postaxial polydactyly type A . -CARD11 chr7 2905881 3044228 AR Orphanet Combined immunodeficiency due to CARD11 deficiency . -AP5Z1 chr7 4775610 4794397 AR Orphanet Autosomal recessive spastic paraplegia type 48 . -WIPI2 chr7 5190182 5233855 AR Orphanet Global developmental delay-nystagmus-short stature-corpus callosum hypoplasia-white matter abnormalities syndrome . -RNF216 chr7 5620047 5781696 AR Orphanet Cerebellar ataxia-hypogonadism syndrome . -PMS2 chr7 5970925 6009130 AR Orphanet Constitutional mismatch repair deficiency syndrome . -CRPPA chr7 16087525 16502504 AR Orphanet Congenital muscular dystrophy without intellectual disability; and 3 others . -AGR2 chr7 16791387 16833433 AR Orphanet AGR2-related infantile-onset inflammatory bowel disease . -AHR chr7 16916359 17346152 AR Orphanet Retinitis pigmentosa . -DNAH11 chr7 21543014 21902262 AR Orphanet Primary ciliary dyskinesia . -HYCC1 chr7 22889371 23014148 AR Orphanet Hypomyelination-congenital cataract syndrome . -KLHL7 chr7 23105729 23177914 AR Orphanet Cold-induced sweating syndrome; and 4 others . -GPNMB chr7 23235967 23275111 AR Orphanet Amyloidosis cutis dyschromia . -CYCS chr7 25080179 25125367 AR Orphanet Autosomal isolated thrombocytopenia with normal platelets size . -SNX10 chr7 26291851 26374383 AR Orphanet Autosomal recessive malignant osteopetrosis . -HOXA1 chr7 27092993 27096039 AR Orphanet Athabaskan brainstem dysgenesis syndrome; and 1 other . -HOXA2 chr7 27099978 27102686 AR Orphanet Bilateral microtia-deafness-cleft palate syndrome; and 1 other . -FKBP14 chr7 30004406 30026716 AR Orphanet Kyphoscoliotic Ehlers-Danlos syndrome due to FKBP22 deficiency . -GHRHR chr7 30938669 30993254 AR Orphanet Isolated growth hormone deficiency type IV . -NT5C3A chr7 33014078 33062837 AR Orphanet Hemolytic anemia due to pyrimidine 5' nucleotidase deficiency . -RP9 chr7 33094797 33109601 AR Orphanet Retinitis pigmentosa . -BBS9 chr7 33109557 33877180 AR Orphanet Bardet-Biedl syndrome . -BMPER chr7 33904308 34156427 AR Orphanet Diaphanospondylodysostosis . -TBX20 chr7 35202430 35254100 AR Orphanet Left ventricular noncompaction . -ANLN chr7 36389727 36453791 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -NME8 chr7 37848597 37900397 AR Orphanet Primary ciliary dyskinesia . -SFRP4 chr7 37903004 38025695 AR Orphanet Pyle disease . -VPS41 chr7 38722221 38932394 AR Orphanet Autosomal recessive cerebellar ataxia-movement disorder syndrome . -RALA chr7 39623445 39708217 AR Orphanet Non-specific syndromic intellectual disability . -MPLKIP chr7 40092207 40134877 AR Orphanet Trichothiodystrophy . -SUGCT chr7 40134044 40861613 AR Orphanet Glutaric acidemia type 3 . -GLI3 chr7 41929597 42264265 AR Orphanet Acrocallosal syndrome; and 2 others . -BLVRA chr7 43758009 43808868 AR Orphanet Hyperbiliverdinemia . -PGAM2 chr7 44062724 44065736 AR Orphanet Glycogen storage disease due to phosphoglycerate mutase deficiency . -AEBP1 chr7 44104286 44114565 AR Orphanet Classical-like Ehlers-Danlos syndrome type 2 . -POLD2 chr7 44114631 44124407 AR Orphanet Combined immunodeficiency due to polymerase delta deficiency . -GCK chr7 44143213 44198170 AR Orphanet Isolated permanent neonatal diabetes mellitus . -NUDCD3 chr7 44379119 44490919 AR Orphanet Omenn syndrome . -OGDH chr7 44606496 44710116 AR Orphanet Oxoglutaric aciduria . -ADCY1 chr7 45574140 45723126 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -PKD1L1 chr7 47740202 47948518 AR Orphanet Situs inversus totalis . -ZPBP chr7 49850421 50121329 AR Orphanet Male infertility due to globozoospermia . -DDC chr7 50458436 50565468 AR Orphanet Aromatic L-amino acid decarboxylase deficiency . -PSPH chr7 56010119 56051609 AR Orphanet 3-phosphoserine phosphatase deficiency, infantile/juvenile form; and 1 other . -GUSB chr7 65960677 65982704 AR Orphanet Mucopolysaccharidosis type 7 . -ASL chr7 66075800 66094697 AR ACMG Argininosuccinic aciduria . -KCTD7 chr7 66628865 66649067 AR Orphanet CLN14 disease; and 1 other . -SBDS chr7 66987679 66995693 AR Orphanet SBDS-related severe neonatal spondylometaphyseal dysplasia; and 1 other . -NCF1 chr7 74773975 74790135 AR Orphanet Chronic granulomatous disease . -POR chr7 75899200 75986855 AR Orphanet Antley-Bixler syndrome with genital anomaly and disorder of steroidogenesis; and 1 other . -YWHAG chr7 76326799 76359022 AR Orphanet Non-specific early-onset epileptic encephalopathy . -ZP3 chr7 76397497 76442071 AR Orphanet Female infertility due to zona pellucida defect . -MAGI2 chr7 78017055 79453845 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -HGF chr7 81699010 81770438 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -CACNA2D1 chr7 81946444 82444194 AR Orphanet Non-specific early-onset epileptic encephalopathy . -PCLO chr7 82754012 83162930 AR Orphanet Pontocerebellar hypoplasia type 3 . -SEMA3A chr7 83902491 84492939 AR Orphanet Kallmann syndrome . -ABCB4 chr7 87400393 87480435 AR Orphanet Low phospholipid-associated cholelithiasis; and 1 other . -CFAP69 chr7 90245161 90311063 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -CYP51A1 chr7 92084502 92134803 AR Orphanet Congenital cataract-severe neonatal hepatopathy-global developmental delay syndrome . -GATAD1 chr7 92447448 92460075 AR Orphanet Familial isolated dilated cardiomyopathy . -PEX1 chr7 92487020 92528663 AR Orphanet Deafness-enamel hypoplasia-nail defects syndrome; and 3 others . -CDK6 chr7 92604921 92837004 AR Orphanet Autosomal recessive primary microcephaly . -SAMD9 chr7 93099513 93118042 AR Orphanet Familial normophosphatemic tumoral calcinosis . -COL1A2 chr7 94394360 94431227 AR Orphanet Cardiac-valvular Ehlers-Danlos syndrome; and 3 others . -SLC25A13 chr7 96120218 96322181 AR Orphanet Citrullinemia type II; and 1 other . -DLX6 chr7 97005553 97011040 AR Orphanet Isolated split hand-split foot malformation . -DLX5 chr7 97020105 97024950 AR Orphanet Isolated split hand-split foot malformation; and 1 other . -ASNS chr7 97850162 97893143 AR Orphanet Congenital microcephaly-severe encephalopathy-progressive cerebral atrophy syndrome . -KPNA7 chr7 99173572 99250075 AR Orphanet Female infertility due to oocyte meiotic arrest; and 1 other . -ARPC1B chr7 99374226 99398124 AR Orphanet Immunodeficiency-congenital thrombocytopenia-hypereosinophilia-colitis-vasculitis syndrome . -MCM7 chr7 100092233 100101940 AR Orphanet Autosomal recessive primary microcephaly . -AP4M1 chr7 100100841 100110345 AR Orphanet Severe intellectual disability and progressive spastic paraplegia . -TAF6 chr7 100106876 100127187 AR Orphanet Alazami-Yuan syndrome . -TRAPPC14 chr7 100154420 100158737 AR Orphanet Autosomal recessive primary microcephaly . -STAG3 chr7 100177563 100214387 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -TFR2 chr7 100620416 100642779 AR Orphanet TFR2-related hemochromatosis . -ACTL6B chr7 100643097 100656458 AR Orphanet Non-specific early-onset epileptic encephalopathy; and 1 other . -GNB2 chr7 100673477 100679174 AR Orphanet Hereditary sick sinus syndrome; and 1 other . -SERPINE1 chr7 101122158 101139263 AR Orphanet Congenital plasminogen activator inhibitor type 1 deficiency . -AP1S1 chr7 101154352 101161596 AR Orphanet MEDNIK syndrome . -PMPCB chr7 103295717 103342067 AR Orphanet Multiple mitochondrial dysfunctions syndrome type 6 . -SLC26A5 chr7 103352730 103446212 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -RELN chr7 103471381 103989669 AR Orphanet Lissencephaly syndrome, Norman-Roberts type . -KMT2E chr7 104940943 105116242 AR Orphanet Non-specific syndromic intellectual disability . -PUS7 chr7 105439661 105522272 AR Orphanet Non-specific syndromic intellectual disability . -RINT1 chr7 105532116 105569207 AR Orphanet Fever-associated acute infantile liver failure syndrome . -COG5 chr7 107198800 107564515 AR Orphanet COG5-CDG . -SLC26A4 chr7 107660594 107717809 AR ACMG Pendred syndrome; hearing loss, recessive 4 . -SLC26A3 chr7 107764219 107803630 AR Orphanet Congenital chloride diarrhea . -DLD chr7 107891136 107931730 AR ACMG Dihydrolipoamide dehydrogenase deficiency . -LAMB1 chr7 107921975 108004434 AR Orphanet Cobblestone lissencephaly without muscular or ocular involvement . -NRCAM chr7 108147623 108456717 AR Orphanet Non-specific syndromic intellectual disability . -CAV1 chr7 116524985 116561179 AR Orphanet Congenital generalized lipodystrophy type 3; and 1 other . -MET chr7 116672051 116798391 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -CFTR chr7 117287120 117715971 AR ACMG,ACOG Cystic fibrosis . -TSPAN12 chr7 120786660 120858402 AR Orphanet Familial exudative vitreoretinopathy . -AASS chr7 122064583 122144489 AR Orphanet Hyperlysinemia; and 1 other . -FEZF1 chr7 122301303 122310735 AR Orphanet Kallmann syndrome . -LMOD2 chr7 123655858 123665864 AR Orphanet Familial isolated dilated cardiomyopathy . -LEP chr7 128241222 128257629 AR Orphanet Obesity due to congenital leptin deficiency . -RBM28 chr7 128278493 128343971 AR Orphanet ANE syndrome . -IMPDH1 chr7 128392277 128410009 AR Orphanet Leber congenital amaurosis; and 1 other . -FLNC chr7 128830292 128859275 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . -SMO chr7 129188501 129213546 AR Orphanet Hirschsprung disease . -CEP41 chr7 130393771 130442433 AR Orphanet Isolated Joubert syndrome; and 1 other . -PODXL chr7 131500254 131558217 AR Orphanet Atypical juvenile parkinsonism; and 1 other . -BPGM chr7 134646784 134682319 AR Orphanet Autosomal recessive secondary erythrocytosis not associated with VHL gene; and 1 other . -NUP205 chr7 135557700 135648757 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -AKR1D1 chr7 138002324 138118306 AR Orphanet Congenital bile acid synthesis defect type 2 . -ATP6V0A4 chr7 138706289 138799672 AR Orphanet Autosomal recessive distal renal tubular acidosis . -KIAA1549 chr7 138831381 138982084 AR Orphanet Retinitis pigmentosa . -TBXAS1 chr7 139777051 140020325 AR Orphanet Ghosal hematodiaphyseal dysplasia . -BRAF chr7 140719327 140925199 AR Orphanet Noonan syndrome . -AGK chr7 141551278 141657486 AR Orphanet Congenital cataract-hypertrophic cardiomyopathy-mitochondrial myopathy syndrome; and 1 other . -WEE2 chr7 141702227 141731271 AR Orphanet Female infertility due to oocyte meiotic arrest . -TRPV6 chr7 142871208 142885781 AR Orphanet Neonatal severe primary hyperparathyroidism . -CLCN1 chr7 143316111 143353744 AR ACMG Congenital myotonia, recessive form . -TPK1 chr7 144451941 144836419 AR Orphanet Childhood encephalopathy due to thiamine pyrophosphokinase deficiency . -CNTNAP2 chr7 146116002 148420998 AR Orphanet CNTNAP2-related developmental and epileptic encephalopathy . -XRCC2 chr7 152644771 152676201 AR Orphanet Fanconi anemia; and 1 other . -SHH chr7 155799980 155812463 AR Orphanet Isolated partial colobomatous microphthalmia; and 1 other . -LMBR1 chr7 156668946 156893225 AR Orphanet Isolated acheiropodia; and 1 other . -DYNC2I1 chr7 158856546 158956747 AR Orphanet Jeune syndrome; and 1 other . -CLN8 chr8 1755778 1801711 AR Orphanet Late infantile CLN8 disease; and 1 other . -MCPH1 chr8 6406592 6648508 AR ACMG Primary microcephaly 1 . -RP1L1 chr8 10606349 10712187 AR Orphanet Retinitis pigmentosa . -GATA4 chr8 11676785 11763223 AR Orphanet 46,XY partial gonadal dysgenesis . -FDFT1 chr8 11795565 11846085 AR Orphanet Squalene synthase deficiency . -TUSC3 chr8 15417215 15789603 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -FGF20 chr8 16992166 17002352 AR Orphanet Renal agenesis, bilateral . -VPS37A chr8 17246896 17333474 AR Orphanet Autosomal recessive spastic paraplegia type 53 . -SLC7A2-IT1 chr8 17500012 17500605 AR Orphanet Ravine syndrome . -ASAH1 chr8 18055992 18084998 AR Orphanet Farber disease; and 1 other . -CSGALNACT1 chr8 19404156 19758030 AR Orphanet Desbuquois syndrome . -LPL chr8 19901717 19967653 AR Orphanet Familial lipoprotein lipase deficiency . -ATP6V1B2 chr8 20197323 20233400 AR Orphanet DOORS syndrome; and 1 other . -FGF17 chr8 22042388 22048809 AR Orphanet Kallmann syndrome; and 1 other . -HR chr8 22114042 22133393 AR Orphanet Alopecia universalis; and 1 other . -BMP1 chr8 22164899 22212326 AR Orphanet Osteogenesis imperfecta type 3 . -SLC39A14 chr8 22366727 22434129 AR Orphanet Dystonia-parkinsonism-hypermanganesemia syndrome . -RHOBTB2 chr8 22987222 23020723 AR Orphanet Early infantile developmental and epileptic encephalopathy . -NEFL chr8 24950955 24956721 AR Orphanet Charcot-Marie-Tooth disease type 2B5 . -GNRH1 chr8 25419258 25424654 AR Orphanet Normosmic congenital hypogonadotropic hypogonadism . -ESCO2 chr8 27771949 27812640 AR Orphanet Juberg-Hayward syndrome; and 1 other . -EXTL3 chr8 28600469 28756561 AR Orphanet Skeletal dysplasia-T-cell immunodeficiency-developmental delay syndrome . -GTF2E2 chr8 30578318 30660846 AR Orphanet Trichothiodystrophy . -GSR chr8 30678061 30727977 AR Orphanet Hemolytic anemia due to glutathione reductase deficiency . -TEX15 chr8 30831425 30913024 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -WRN chr8 31033761 31176138 AR Orphanet Werner syndrome . -TTI2 chr8 33473386 33513185 AR Orphanet Severe intellectual disability-short stature-behavioral abnormalities-facial dysmorphism syndrome . -ERLIN2 chr8 37736587 37758422 AR Orphanet Autosomal spastic paraplegia type 18; and 2 others . -PLPBP chr8 37762580 37782218 AR Orphanet Pyridoxine-dependent-developmental and epileptic encephalopathy . -STAR chr8 38138571 38151102 AR Orphanet Classic congenital lipoid adrenal hyperplasia due to STAR deficency; and 1 other . -DDHD2 chr8 38225218 38283357 AR Orphanet Autosomal recessive spastic paraplegia type 54 . -FGFR1 chr8 38400215 38468834 AR Orphanet Hartsfield syndrome; and 4 others . -ADAM9 chr8 38996754 39105447 AR Orphanet Cone rod dystrophy . -ANK1 chr8 41653220 41896812 AR Orphanet Hereditary spherocytosis . -PLAT chr8 42174718 42207709 AR Orphanet Lethal hydranencephaly-diaphragmatic hernia syndrome . -IKBKB chr8 42271302 42332460 AR Orphanet Combined immunodeficiency due to IKBKB deficiency . -SLC20A2 chr8 42416449 42542530 AR Orphanet Bilateral striopallidodentate calcinosis . -RNF170 chr8 42849637 42897309 AR Orphanet Autosomal recessive spastic paraplegia type 85 . -POMK chr8 43093498 43132733 AR Orphanet Congenital muscular dystrophy with cerebellar involvement; and 2 others . -HGSNAT chr8 43140374 43202855 AR Orphanet Retinitis pigmentosa; and 1 other . -SPIDR chr8 47260568 47737022 AR Orphanet 46,XX gonadal dysgenesis . -PRKDC chr8 47772970 47960182 AR Orphanet T-B-NK+ severe combined immunodeficiency due to DNA-PKcs deficiency . -MCM4 chr8 47960185 47979181 AR Orphanet Primary immunodeficiency with natural-killer cell deficiency and adrenal insufficiency . -CLXN chr8 48710789 48735311 AR Orphanet Primary ciliary dyskinesia . -RP1 chr8 54509422 54871720 AR Orphanet Retinitis pigmentosa . -MOS chr8 56112942 56113982 AR Orphanet Female infertility due to oocyte meiotic arrest . -BPNT2 chr8 56957931 56993893 AR Orphanet Chondrodysplasia with joint dislocations, gPAPP type . -CA8 chr8 60185412 60281573 AR Orphanet Dysequilibrium syndrome . -CHD7 chr8 60678715 60868031 AR Orphanet Kallmann syndrome; and 2 others . -ASPH chr8 61491715 61714822 AR Orphanet Facial dysmorphism-lens dislocation-anterior segment abnormalities-spontaneous filtering blebs syndrome . -TTPA chr8 63048139 63086197 AR Orphanet Ataxia with vitamin E deficiency . -CYP7B1 chr8 64586581 64799145 AR Orphanet Autosomal recessive spastic paraplegia type 5A; and 1 other . -CSPP1 chr8 67062381 67196778 AR Orphanet Isolated Joubert syndrome; and 2 others . -TMEM70 chr8 73972437 73986514 AR Orphanet TMEM70-related mitochondrial encephalo-cardio-myopathy . -GDAP1 chr8 74320613 74518007 AR Orphanet Autosomal recessive Charcot-Marie-Tooth disease with hoarseness; and 2 others . -PEX2 chr8 76978798 77001044 AR Orphanet Autosomal recessive ataxia due to PEX2 deficiency; and 3 others . -IL7 chr8 78675743 78805527 AR Orphanet Inherited epidermodysplasia verruciformis . -IMPA1 chr8 81656687 81686848 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -SLC10A5 chr8 81693631 81695058 AR Orphanet Familial hypercholanemia . -CA2 chr8 85463860 85481493 AR Orphanet Osteopetrosis with renal tubular acidosis . -CNGB3 chr8 86553977 86743675 AR ACMG Achromatopsia 3 . -NBN chr8 89924515 90003228 AR Orphanet Nijmegen breakage syndrome . -OTUD6B chr8 91070196 91087095 AR Orphanet Early-onset seizures-distal limb anomalies-facial dysmorphism-global developmental delay syndrome . -CIBAR1 chr8 93698561 93732882 AR Orphanet Postaxial polydactyly type A . -TMEM67 chr8 93754840 93819234 AR Orphanet Isolated Joubert syndrome; and 4 others . -PDP1 chr8 93857788 93926068 AR Orphanet Pyruvate dehydrogenase phosphatase deficiency . -NDUFAF6 chr8 94895533 95116455 AR Orphanet Primary Fanconi renotubular syndrome . -CFAP418 chr8 95243176 95269430 AR Orphanet Bardet-Biedl syndrome; and 2 others . -GDF6 chr8 96142333 96160813 AR Orphanet Isolated Klippel-Feil syndrome; and 1 other . -UQCRB chr8 96222947 96235621 AR Orphanet Isolated complex III deficiency . -POP1 chr8 98117286 98160177 AR Orphanet Anauxetic dysplasia . -VPS13B chr8 99013254 99877580 AR Orphanet Cohen syndrome . -FBXO43 chr8 100133351 100145826 AR Orphanet Female infertility due to oocyte meiotic arrest; and 1 other . -SPAG1 chr8 100157853 100259278 AR Orphanet Primary ciliary dyskinesia . -GRHL2 chr8 101492421 101669727 AR Orphanet Nail and teeth abnormalities-marginal palmoplantar keratoderma-oral hyperpigmentation syndrome . -RRM2B chr8 102204502 102239382 AR Orphanet Kearns-Sayre syndrome; and 2 others . -FZD6 chr8 103298433 103332866 AR Orphanet Autosomal recessive nail dysplasia . -SLC25A32 chr8 103398635 103415189 AR Orphanet Multiple acyl-CoA dehydrogenase deficiency, mild type . -DPYS chr8 104327415 104467111 AR Orphanet Dihydropyrimidinuria . -LRP12 chr8 104487485 104589292 AR Orphanet Amyotrophic lateral sclerosis; and 1 other . -ZFPM2 chr8 104590733 105805813 AR Orphanet 46,XY partial gonadal dysgenesis . -RSPO2 chr8 107899316 108083791 AR Orphanet Tetraamelia-multiple malformations syndrome . -TRHR chr8 109086585 109121565 AR Orphanet Resistance to thyrotropin-releasing hormone syndrome . -TNFRSF11B chr8 118923557 118952251 AR Orphanet Juvenile Paget disease . -COLEC10 chr8 118995452 119113619 AR Orphanet 3MC syndrome . -TAF2 chr8 119730772 119832863 AR Orphanet Microcephaly-thin corpus callosum-intellectual disability syndrome . -NDUFB9 chr8 124539098 124580648 AR Orphanet Isolated complex I deficiency . -WASHC5 chr8 125024260 125091819 AR Orphanet 3C syndrome . -NSMCE2 chr8 125091673 125368070 AR Orphanet Microcephalic primordial dwarfism-insulin resistance syndrome; and 1 other . -DNAAF11 chr8 132570133 132675622 AR Orphanet Primary ciliary dyskinesia . -TG chr8 132866953 133134903 AR Orphanet Familial thyroid dyshormonogenesis . -NDRG1 chr8 133237171 133302022 AR Orphanet Charcot-Marie-Tooth disease type 4D . -TRAPPC9 chr8 139726939 140458579 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . -AGO2 chr8 140520156 140635695 AR Orphanet Non-specific syndromic intellectual disability . -SLURP1 chr8 142740941 142742414 AR Orphanet Mal de Meleda . -CYP11B1 chr8 142871305 142880000 AR Orphanet Congenital adrenal hyperplasia due to 11-beta-hydroxylase deficiency . -CYP11B2 chr8 142910424 142917943 AR Orphanet Early-onset familial hypoaldosteronism . -GPIHBP1 chr8 143213019 143217172 AR Orphanet Familial GPIHBP1 deficiency . -PLEC chr8 143915152 143977039 AR Orphanet Aplasia cutis congenita; and 3 others . -OPLAH chr8 144051265 144064091 AR Orphanet 5-oxoprolinase deficiency . -GPAA1 chr8 144082337 144093149 AR Orphanet Neurodevelopmental delay-seizures-ophthalmic anomalies-osteopenia-cerebellar atrophy syndrome . -CYC1 chr8 144095039 144097525 AR Orphanet Isolated complex III deficiency . -DGAT1 chr8 144314584 144326916 AR Orphanet Congenital chronic diarrhea with protein-losing enteropathy . -SLC52A2 chr8 144333957 144361447 AR Orphanet RFVT2-related riboflavin transporter deficiency . -SLC39A4 chr8 144409742 144416894 AR Orphanet Acrodermatitis enteropathica . -TONSL chr8 144428763 144444488 AR Orphanet SPONASTRIME dysplasia . -RECQL4 chr8 144511284 144517890 AR Orphanet Baller-Gerold syndrome; and 2 others . -DOCK8 chr9 214676 465530 AR Orphanet Combined immunodeficiency due to DOCK8 deficiency . -KANK1 chr9 470289 746105 AR Orphanet Inherited congenital spastic tetraplegia . -VLDLR chr9 2621182 2660056 AR Orphanet Dysequilibrium syndrome . -KCNV2 chr9 2717510 2730037 AR Orphanet Cone dystrophy with supernormal rod response . -GLIS3 chr9 3824127 4348392 AR Orphanet Neonatal diabetes-congenital hypothyroidism-congenital glaucoma-hepatic fibrosis-polycystic kidneys syndrome . -SLC1A1 chr9 4490207 4587469 AR Orphanet Dicarboxylic aminoaciduria . -GLDC chr9 6532464 6645734 AR Orphanet Infantile glycine encephalopathy; and 1 other . -TYRP1 chr9 12333995 12710597 AR Orphanet Oculocutaneous albinism type 3 . -MPDZ chr9 13100471 13279790 AR Orphanet Congenital communicating hydrocephalus . -FREM1 chr9 14734671 14910995 AR Orphanet BNAR syndrome; and 1 other . -BNC2 chr9 16409503 16871942 AR Orphanet Posterior urethral valve . -PLAA chr9 26903359 26947495 AR Orphanet PLAA-associated neurodevelopmental disorder . -IFT74 chr9 26947039 27066198 AR Orphanet Bardet-Biedl syndrome; and 2 others . -TEK chr9 27109030 27232092 AR Orphanet Congenital glaucoma . -C9orf72 chr9 27535640 27573895 AR Orphanet Amyotrophic lateral sclerosis . -TOPORS chr9 32540544 32552611 AR Orphanet Orofaciodigital syndrome type 6; and 1 other . -APTX chr9 32886601 33025176 AR Orphanet Ataxia-oculomotor apraxia type 1 . -B4GALT1 chr9 33100493 33167399 AR Orphanet B4GALT1-CDG . -NUDT2 chr9 34329496 34343713 AR Orphanet Intellectual disability-peripheral neuropathy-corpus callosum abnormalities syndrome due to nudix hydrolase 2 deficiency . -MYORG chr9 34366623 34377150 AR Orphanet Bilateral striopallidodentate calcinosis . -DNAI1 chr9 34457414 34520988 AR Orphanet Primary ciliary dyskinesia . -SIGMAR1 chr9 34631716 34637844 AR Orphanet Distal hereditary motor neuropathy, Jerash type; and 1 other . -GALT chr9 34637367 34651754 AR ACMG Galactosemia hypomorph chr9:34649445:A:G p.Asn314Asp, the Duarte variant (D1 or D2); hypomorph chr9:34646575:CCAGT:C c.-119_-116del, the Duarte D2 promoter deletion -IL11RA chr9 34651582 34661902 AR Orphanet Craniosynostosis-dental anomalies . -VCP chr9 35053928 35072725 AR Orphanet Amyotrophic lateral sclerosis . -FANCG chr9 35073793 35082444 AR Orphanet Fanconi anemia . -PIGO chr9 35085492 35096632 AR Orphanet Hyperphosphatasia-intellectual disability syndrome . -RMRP chr9 35657750 35658019 AR Orphanet Anauxetic dysplasia; and 2 others . -TPM2 chr9 35681992 35691116 AR Orphanet Congenital fiber-type disproportion myopathy; and 1 other . -GBA2 chr9 35734577 35749986 AR Orphanet Autosomal recessive cerebellar ataxia with late-onset spasticity; and 1 other . -NPR2 chr9 35791003 35809732 AR Orphanet Acromesomelic dysplasia, Maroteaux type; and 1 other . -GNE chr9 36214441 36277042 AR Orphanet GNE myopathy; and 2 others . -GRHPR chr9 37422660 37463037 AR Orphanet Primary hyperoxaluria type 2 . -EXOSC3 chr9 37759234 37832117 AR Orphanet Pontocerebellar hypoplasia type 1 . -PRKACG chr9 69012504 69014113 AR Orphanet Severe autosomal recessive macrothrombocytopenia . -FXN chr9 69035730 69079076 AR ACMG Friedreich ataxia . -TJP2 chr9 69121264 69274641 AR Orphanet Familial hypercholanemia; and 1 other . -TMC1 chr9 72521608 72838297 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -TRPM6 chr9 74722495 74888094 AR Orphanet Primary hypomagnesemia with secondary hypocalcemia . -VPS13A chr9 77177403 77421537 AR Orphanet Choreoacanthocytosis . -CEP78 chr9 78236037 78279690 AR Orphanet Usher syndrome type 3 . -PSAT1 chr9 78297094 78356024 AR Orphanet Neu-Laxova syndrome due to phosphoserine aminotransferase deficiency . -NTRK2 chr9 84668375 85096069 AR Orphanet Infantile epileptic spasms syndrome; and 1 other . -AGTPBP1 chr9 85546536 85742144 AR Orphanet Pontocerebellar hypoplasia type 1 . -ISCA1 chr9 86234717 86283102 AR Orphanet Multiple mitochondrial dysfunctions syndrome type 5 . -SECISBP2 chr9 89318460 89367116 AR Orphanet Short stature-delayed bone age due to thyroid hormone metabolism deficiency . -AUH chr9 91213805 91361972 AR Orphanet 3-methylglutaconic aciduria type 1 . -ROR2 chr9 91563091 91950278 AR Orphanet Autosomal recessive Robinow syndrome . -SPTLC1 chr9 92000087 92115491 AR Orphanet Juvenile amyotrophic lateral sclerosis . -IARS1 chr9 92210199 92293854 AR Orphanet Growth delay-intellectual disability-hepatopathy syndrome . -FBP1 chr9 94601143 94640323 AR Orphanet Fructose-1,6-bisphosphatase deficiency . -FANCC chr9 95099054 95426796 AR ACMG,ACOG Fanconi anemia, complementation group C . -ERCC6L2 chr9 95871264 96121154 AR Orphanet Pancytopenia-developmental delay syndrome . -HSD17B3 chr9 96235306 96302219 AR Orphanet 46,XY difference of sex development due to 17-beta-hydroxysteroid dehydrogenase 3 deficiency . -XPA chr9 97653139 97697408 AR Orphanet Xeroderma pigmentosum . -FOXE1 chr9 97853226 97856717 AR Orphanet Bamforth-Lazarus syndrome . -NANS chr9 98056637 98084394 AR Orphanet NANS-CDG . -GABBR2 chr9 98288087 98709739 AR Orphanet Non-specific early-onset epileptic encephalopathy . -ANKS6 chr9 98729898 98796965 AR Orphanet Infantile nephronophthisis; and 1 other . -TGFBR1 chr9 99104038 99154395 AR Orphanet Loeys-Dietz syndrome . -ALG2 chr9 99216425 99221992 AR Orphanet ALG2-CDG; and 1 other . -INVS chr9 100098378 100307195 AR Orphanet Infantile nephronophthisis; and 1 other . -BAAT chr9 101351986 101385400 AR Orphanet Familial hypercholanemia . -ALDOB chr9 101420560 101449664 AR ACMG Hereditary fructose intolerance . -ABCA1 chr9 104781006 104928248 AR Orphanet Tangier disease . -FSD1L chr9 105447796 105552433 AR Orphanet Cone rod dystrophy; and 1 other . -FKTN chr9 105558122 105653820 AR ACMG Walker-Warburg congenital muscular dystrophy; dilated cardiomyopathy 1X . -TMEM38B chr9 105694340 105776629 AR Orphanet Osteogenesis imperfecta type 4 . -ELP1 chr9 108866898 108934414 AR ACMG,ACOG Familial dysautonomia . -FRRS1L chr9 109130293 109167249 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -MUSK chr9 110668656 110806558 AR Orphanet Congenital myasthenic syndrome due to defects in endplate development and maintenance; and 1 other . -SHOC1 chr9 111686171 111795008 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -PRPF4 chr9 113275637 113295342 AR Orphanet Retinitis pigmentosa . -ALAD chr9 113386304 113401356 AR Orphanet Porphyria due to ALA dehydratase deficiency . -COL27A1 chr9 114155486 114312511 AR Orphanet Steel syndrome . -WHRN chr9 114402078 114505530 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . -TRIM32 chr9 116687298 116702493 AR Orphanet Bardet-Biedl syndrome; and 1 other . -CDK5RAP2 chr9 120388875 120580178 AR Orphanet Autosomal recessive primary microcephaly . -C5 chr9 120932987 121075195 AR Orphanet Immunodeficiency due to a late component of complement deficiency . -CRB2 chr9 123356170 123380324 AR Orphanet Hereditary steroid-resistant nephrotic syndrome; and 1 other . -NR5A1 chr9 124481231 124507456 AR Orphanet 46,XX gonadal dysgenesis; and 4 others . -GAPVD1 chr9 125261780 125367207 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -LRSAM1 chr9 127451469 127503503 AR Orphanet Charcot-Marie-Tooth disease type 2P . -AK1 chr9 127866435 127878558 AR Orphanet Hemolytic anemia due to adenylate kinase deficiency . -DPM2 chr9 127935090 127937879 AR Orphanet Congenital muscular dystrophy with intellectual disability and severe epilepsy . -DNM1 chr9 128191655 128255254 AR Orphanet Non-specific early-onset epileptic encephalopathy . -COQ4 chr9 128322483 128334073 AR Orphanet Neonatal encephalomyopathy-cardiomyopathy-respiratory distress syndrome . -SLC27A4 chr9 128340475 128363283 AR Orphanet Ichthyosis-prematurity syndrome . -GLE1 chr9 128504655 128543874 AR Orphanet Amyotrophic lateral sclerosis; and 2 others . -SPTAN1 chr9 128552558 128633663 AR Orphanet Infantile epileptic spasms syndrome . -DYNC2I2 chr9 128633646 128656847 AR Orphanet Jeune syndrome; and 1 other . -LRRC8A chr9 128882120 128918042 AR Orphanet Autosomal non-syndromic agammaglobulinemia . -DOLK chr9 128945530 128947603 AR Orphanet DK1-CDG; and 1 other . -NUP188 chr9 128947681 129007836 AR Orphanet Sandestig-Stefanova syndrome . -ASS1 chr9 130443282 130502361 AR Orphanet Acute neonatal citrullinemia type I; and 1 other . -PRDM12 chr9 130664594 130682986 AR Orphanet Hereditary sensory and autonomic neuropathy type 8 . -EXOSC2 chr9 130693721 130707608 AR Orphanet Retinitis pigmentosa-hearing loss-premature aging-short stature-facial dysmorphism syndrome . -LAMC3 chr9 131008878 131094473 AR Orphanet Occipital pachygyria and polymicrogyria . -POMT1 chr9 131502789 131523806 AR Orphanet Congenital muscular dystrophy with cerebellar involvement; and 5 others . -MED27 chr9 131842105 132079896 AR Orphanet Global developmental delay-bilateral cataract-cerebellar atrophy-movement disorder syndrome . -NTNG2 chr9 132161020 132244528 AR Orphanet Non-specific syndromic intellectual disability . -SETX chr9 132261356 132355117 AR Orphanet Spinocerebellar ataxia with axonal neuropathy type 2 . -GFI1B chr9 132944000 132991687 AR Orphanet Alpha delta granule deficiency . -SURF1 chr9 133351069 133356676 AR Orphanet SURF1-related Charcot-Marie-Tooth disease type 4 . -ADAMTS13 chr9 133414358 133459402 AR Orphanet Congenital thrombotic thrombocytopenic purpura . -MYMK chr9 133514586 133528612 AR Orphanet Carey-Fineman-Ziter syndrome . -ADAMTSL2 chr9 133532164 133575522 AR Orphanet Dermatosparaxis Ehlers-Danlos syndrome; and 1 other . -DBH chr9 133634456 133659329 AR Orphanet Dopamine beta-hydroxylase deficiency . -SARDH chr9 133663528 133739976 AR Orphanet Sarcosinemia . -KCNT1 chr9 135702173 135795508 AR Orphanet Epilepsy of infancy with migrating focal seizures . -LHX3 chr9 136196250 136205128 AR Orphanet Hypothyroidism due to deficient transcription factors involved in pituitary development or function; and 1 other . -CARD9 chr9 136363956 136373683 AR Orphanet Predisposition to invasive fungal disease due to CARD9 deficiency . -PMPCA chr9 136410630 136428006 AR Orphanet Autosomal recessive cerebelloparenchymal disorder type 3 . -INPP5E chr9 136428615 136439882 AR Orphanet Isolated Joubert syndrome; and 3 others . -NOTCH1 chr9 136494433 136546048 AR Orphanet Adams-Oliver syndrome . -AGPAT2 chr9 136673142 136687483 AR Orphanet Congenital generalized lipodystrophy type 1 . -C8G chr9 136942532 136946980 AR Orphanet Immunodeficiency due to a late component of complement deficiency . -ABCA2 chr9 137007226 137028915 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -MAN1B1 chr9 137085917 137109189 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . -GRIN1 chr9 137138346 137168765 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . -TPRN chr9 137191617 137204193 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -SLC34A3 chr9 137230757 137236555 AR Orphanet Hereditary hypophosphatemic rickets with hypercalciuria . -TUBB4B chr9 137241278 137243713 AR Orphanet Leber congenital amaurosis . -NSMF chr9 137447570 137459576 AR Orphanet Normosmic congenital hypogonadotropic hypogonadism . -CACNA1B chr9 137877782 138124624 AR Orphanet Non-specific early-onset epileptic encephalopathy . -TUBB8 chr10 46888 74163 AR Orphanet Female infertility due to oocyte meiotic arrest . -AKR1C2 chr10 4969796 5018031 AR Orphanet 46,XY difference of sex development due to testicular 17,20-desmolase deficiency . -IL2RA chr10 6010689 6062370 AR Orphanet Immunodeficiency due to CD25 deficiency . -CELF2 chr10 10798397 11336675 AR Orphanet Non-specific early-onset epileptic encephalopathy . -DHTKD1 chr10 12068926 12125946 AR Orphanet 2-aminoadipic 2-oxoadipic aciduria . -OPTN chr10 13099442 13159480 AR Orphanet Amyotrophic lateral sclerosis . -PHYH chr10 13276854 13302412 AR Orphanet Adult Refsum disease . -FRMD4A chr10 13643706 14462142 AR Orphanet Severe intellectual disability-corpus callosum agenesis-facial dysmorphism-cerebellar ataxia syndrome . -DCLRE1C chr10 14897359 14954432 AR Orphanet Omenn syndrome; and 1 other . -ITGA8 chr10 15513954 15720359 AR Orphanet Renal agenesis, bilateral . -CUBN chr10 16823966 17129970 AR Orphanet Imerslund-Gräsbeck syndrome . -VIM chr10 17228241 17237595 AR Orphanet Pulverulent cataract . -HACD1 chr10 17588301 17617566 AR Orphanet Congenital fiber-type disproportion myopathy . -PTF1A chr10 23192305 23194245 AR Orphanet Partial pancreatic agenesis; and 1 other . -MYO3A chr10 25934198 26212533 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -PDSS1 chr10 26697441 26746798 AR Orphanet Deafness-encephaloneuropathy-obesity-valvulopathy syndrome . -ANKRD26 chr10 26973793 27100520 AR Orphanet Autosomal isolated thrombocytopenia with normal platelets size . -YME1L1 chr10 27107777 27155266 AR Orphanet Autosomal recessive isolated optic atrophy . -MASTL chr10 27154425 27187953 AR Orphanet Autosomal isolated thrombocytopenia with normal platelets size . -RAB18 chr10 27504174 27545117 AR Orphanet Micro syndrome . -ODAD2 chr10 27775186 27999532 AR Orphanet Primary ciliary dyskinesia . -MTPAP chr10 30309801 30374448 AR Orphanet Autosomal recessive spastic ataxia-optic atrophy-dysarthria syndrome . -BMS1 chr10 42782636 42834937 AR Orphanet Aplasia cutis congenita . -RET chr10 43077026 43130351 AR Orphanet Hirschsprung disease; and 1 other . -GDF2 chr10 47322451 47327592 AR Orphanet Heritable pulmonary arterial hypertension . -RBP3 chr10 47348363 47357881 AR Orphanet Retinitis pigmentosa . -C10orf71 chr10 49299137 49329924 AR Orphanet Familial isolated dilated cardiomyopathy . -ERCC6 chr10 49454168 49539538 AR Orphanet COFS syndrome; and 4 others . -CHAT chr10 49609095 49667942 AR Orphanet Congenital myasthenic syndrome due to defective synthesis or recycling of acetylcholine . -SLC18A3 chr10 49610310 49612720 AR Orphanet Congenital myasthenic syndrome due to defective synthesis or recycling of acetylcholine; and 1 other . -PCDH15 chr10 53802771 55627942 AR ACMG,ACOG Usher syndrome type 1F; hearing loss, recessive 23 . -ANK3 chr10 60026298 60733535 AR Orphanet ANK3-related intellectual disability-sleep disturbance syndrome . -EGR2 chr10 62811996 62819167 AR Orphanet Charcot-Marie-Tooth disease type 4E; and 1 other . -DNAJC12 chr10 67796665 67850195 AR Orphanet Hyperphenylalaninemia due to DNAJC12 deficiency . -MYPN chr10 68087897 68212017 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . -ATOH7 chr10 68230595 68232113 AR Orphanet Congenital cataract microcornea with corneal opacity; and 1 other . -DNA2 chr10 68414061 68472121 AR Orphanet Rothmund-Thomson syndrome type 4; and 1 other . -KIFBP chr10 68988732 69043544 AR Orphanet Goldberg-Shprintzen megacolon syndrome . -HKDC1 chr10 69220292 69267569 AR Orphanet Retinitis pigmentosa . -HK1 chr10 69269984 69403497 AR Orphanet Charcot-Marie-Tooth disease type 4G; and 1 other . -NEUROG3 chr10 69571485 69573511 AR Orphanet Enteric anendocrinosis . -COL13A1 chr10 69801875 69964275 AR Orphanet Synaptic congenital myasthenic syndrome . -NODAL chr10 70431936 70447951 AR Orphanet Situs inversus totalis . -PRF1 chr10 70596401 70602788 AR ACMG Familial hemophagocytic lymphohistiocytosis 2 . -SGPL1 chr10 70815899 70958721 AR Orphanet Familial steroid-resistant nephrotic syndrome with adrenal insufficiency . -PCBD1 chr10 70882280 70888616 AR Orphanet Pterin-4 alpha-carbinolamine dehydratase deficiency . -SLC29A3 chr10 71319232 71381423 AR Orphanet H syndrome . -CDH23 chr10 71396884 71815947 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . -PSAP chr10 71816026 71851388 AR Orphanet Atypical Gaucher disease due to saposin C deficiency; and 5 others . -CHST3 chr10 71963538 72019147 AR Orphanet CHST3-related skeletal dysplasia . -ASCC1 chr10 72092153 72217653 AR Orphanet Prenatal-onset spinal muscular atrophy with congenital bone fractures . -MICU1 chr10 72355297 72626134 AR Orphanet Proximal myopathy with extrapyramidal signs . -FAM149B1 chr10 73168118 73244504 AR Orphanet Orofaciodigital syndrome type 6 . -MRPS16 chr10 73248760 73252693 AR Orphanet Combined oxidative phosphorylation defect type 2 . -CFAP70 chr10 73253762 73358868 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -VCL chr10 73995193 74123073 AR Orphanet Familial isolated dilated cardiomyopathy . -ADK chr10 74151185 74709963 AR Orphanet Hypermethioninemia encephalopathy due to adenosine kinase deficiency . -KAT6B chr10 74824912 75032631 AR Orphanet Genitopatellar syndrome . -LRMDA chr10 75431446 76560168 AR Orphanet Oculocutaneous albinism type 7 . -POLR3A chr10 77953148 78029551 AR Orphanet Hypomyelinating leukodystrophy-ataxia-hypodontia-hypomyelination syndrome; and 5 others . -ZMIZ1 chr10 79068904 79316550 AR Orphanet Non-specific syndromic intellectual disability . -NUTM2B-AS1 chr10 79661394 79826594 AR Orphanet Oculopharyngodistal myopathy . -ANXA11 chr10 80150889 80205713 AR Orphanet Amyotrophic lateral sclerosis . -MAT1A chr10 80269780 80290150 AR Orphanet Methionine adenosyltransferase I/III deficiency . -CDHR1 chr10 84194514 84221689 AR Orphanet Cone rod dystrophy; and 1 other . -RGR chr10 84230666 84260637 AR Orphanet Retinitis pigmentosa . -LDB3 chr10 86666664 86736903 AR Orphanet Familial isolated dilated cardiomyopathy . -MINPP1 chr10 87504859 87555094 AR Orphanet Pontocerebellar hypoplasia type 16 . -PAPSS2 chr10 87659613 87747708 AR Orphanet Autosomal recessive brachyolmia; and 1 other . -ATAD1 chr10 87744644 87842355 AR Orphanet Hereditary hyperekplexia . -LIPN chr10 88759982 88779626 AR Orphanet Lamellar ichthyosis . -FAS chr10 88953813 89029605 AR Orphanet Autoimmune lymphoproliferative syndrome . -LIPA chr10 89212830 89415367 AR Orphanet Cholesteryl ester storage disease; and 1 other . -ANKRD1 chr10 90912092 90921277 AR Orphanet Familial isolated dilated cardiomyopathy . -CYP26C1 chr10 93060798 93069540 AR Orphanet Focal facial dermal dysplasia type IV . -CEP55 chr10 93496577 93529096 AR Orphanet Multinucleated neurons-anhydramnios-renal dysplasia-cerebellar hypoplasia-hydranencephaly syndrome . -RBP4 chr10 93590170 93603110 AR Orphanet Isolated colobomatous microphthalmia; and 1 other . -PDE6C chr10 93612533 93666010 AR Orphanet Achromatopsia; and 1 other . -LGI1 chr10 93757840 93806272 AR Orphanet Early infantile developmental and epileptic encephalopathy . -PLCE1 chr10 93993807 94332823 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -HELLS chr10 94545329 94613905 AR Orphanet ICF syndrome . -ALDH18A1 chr10 95605937 95656885 AR Orphanet ALDH18A1-related De Barsy syndrome; and 1 other . -TCTN3 chr10 95659823 95694143 AR Orphanet Isolated Joubert syndrome; and 3 others . -ENTPD1 chr10 95711752 95901433 AR Orphanet Autosomal recessive spastic paraplegia type 64 . -BLNK chr10 96189171 96272658 AR Orphanet Autosomal non-syndromic agammaglobulinemia . -RRP12 chr10 97356357 97426076 AR Orphanet Bilateral striopallidodentate calcinosis . -HOGA1 chr10 97584323 97613829 AR Orphanet Primary hyperoxaluria type 3 . -HPS1 chr10 98410939 98446966 AR ACMG Hermansky-Pudlak syndrome 1 . -HPSE2 chr10 98457077 99235878 AR Orphanet Urofacial syndrome . -COX15 chr10 99694554 99732858 AR Orphanet Fatal infantile cytochrome C oxidase deficiency . -ABCC2 chr10 99782640 99853670 AR Orphanet Dubin-Johnson syndrome . -DNMBP chr10 99875576 100010049 AR Orphanet Total early-onset cataract . -ERLIN1 chr10 100150094 100186062 AR Orphanet Autosomal recessive spastic paraplegia type 62; and 1 other . -CHUK chr10 100188299 100229611 AR Orphanet Fetal encasement syndrome . -CWF19L1 chr10 100230024 100267685 AR Orphanet Autosomal recessive cerebellar ataxia due to CWF19L1 deficiency . -PAX2 chr10 100735380 100829944 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -TWNK chr10 100987367 100994403 AR Orphanet Infantile-onset spinocerebellar ataxia; and 3 others . -PDZD7 chr10 101007679 101032295 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -FGF8 chr10 101769817 101780371 AR Orphanet Kallmann syndrome; and 1 other . -HPS6 chr10 102065349 102068036 AR Orphanet Hermansky-Pudlak syndrome due to BLOC-2 deficiency . -SUFU chr10 102503952 102633535 AR Orphanet Isolated Joubert syndrome . -TRIM8 chr10 102642394 102662789 AR Orphanet Early infantile developmental and epileptic encephalopathy . -ARL3 chr10 102673731 102714527 AR Orphanet Isolated Joubert syndrome; and 1 other . -CYP17A1 chr10 102830460 102837506 AR Orphanet 46,XY difference of sex development due to isolated 17,20-lyase deficiency; and 1 other . -CNNM2 chr10 102918123 103090222 AR Orphanet Primary hypomagnesemia-generalized seizures-intellectual disability-obesity syndrome . -NT5C2 chr10 103086478 103277622 AR Orphanet Autosomal recessive spastic paraplegia type 45 . -ATP5MK chr10 103388974 103396492 AR Orphanet Isolated ATP synthase deficiency . -STN1 chr10 103856791 103918762 AR Orphanet Coats plus syndrome . -COL17A1 chr10 104030753 104086410 AR Orphanet Intermediate generalized junctional epidermolysis bullosa; and 2 others . -CFAP43 chr10 104129888 104232364 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -ADD3 chr10 109996347 110135565 AR Orphanet Inherited congenital spastic tetraplegia . -RBM20 chr10 110643874 110839471 AR Orphanet Familial isolated dilated cardiomyopathy . -BBIP1 chr10 110898730 110919371 AR Orphanet Bardet-Biedl syndrome . -TCF7L2 chr10 112950015 113167678 AR Orphanet Non-specific syndromic intellectual disability . -NRAP chr10 113588714 113664121 AR Orphanet Familial isolated dilated cardiomyopathy . -NHLRC2 chr10 113854475 113917194 AR Orphanet Fibrosis-neurodegeneration-cerebral angiomatosis syndrome . -GFRA1 chr10 116056925 116276803 AR Orphanet Renal agenesis, bilateral . -SLC18A2 chr10 117240830 117279431 AR Orphanet Brain dopamine-serotonin vesicular transport disease . -EMX2 chr10 117542445 117549546 AR Orphanet Kallmann syndrome; and 1 other . -NANOS1 chr10 119029714 119042800 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -SFXN4 chr10 119120955 119165724 AR Orphanet Growth and developmental delay-hypotonia-vision impairment-lactic acidosis syndrome . -BAG3 chr10 119650879 119677913 AR Orphanet Familial isolated dilated cardiomyopathy . -WDR11 chr10 120851175 120909524 AR Orphanet Kallmann syndrome; and 1 other . -HTRA1 chr10 122458551 122516001 AR Orphanet Cerebral autosomal recessive arteriopathy-subcortical infarcts-leukoencephalopathy . -IKZF5 chr10 122985332 123008826 AR Orphanet Autosomal isolated thrombocytopenia with normal platelets size . -ACADSB chr10 123008972 123058300 AR Orphanet 2-methylbutyryl-CoA dehydrogenase deficiency . -BUB3 chr10 123154365 123313144 AR Orphanet Mosaic variegated aneuploidy syndrome . -OAT chr10 124397298 124419760 AR Orphanet Gyrate atrophy of choroid and retina . -MMP21 chr10 125753580 125775913 AR Orphanet Situs inversus totalis . -UROS chr10 125784980 125823288 AR Orphanet Congenital erythropoietic porphyria . -NKX6-2 chr10 132783179 132786149 AR Orphanet NKX6-2-related autosomal recessive hypomyelinating leukodystrophy . -ECHS1 chr10 133362368 133373714 AR Orphanet Mitochondrial short-chain enoyl-CoA hydratase 1 deficiency . -SYCE1 chr10 133552822 133569835 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -IFITM5 chr11 298200 299533 AR Orphanet Osteogenesis imperfecta type 5 . -LRRC56 chr11 536841 554925 AR Orphanet Primary ciliary dyskinesia . -DEAF1 chr11 644220 707118 AR Orphanet Intellectual disability-epilepsy-extrapyramidal syndrome . -EPS8L2 chr11 694438 727729 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -TALDO1 chr11 747399 765035 AR Orphanet Transaldolase deficiency . -SLC25A22 chr11 790474 798321 AR Orphanet Early infantile developmental and epileptic encephalopathy; and 1 other . -PNPLA2 chr11 818907 825573 AR Orphanet Neutral lipid storage disease with myopathy; and 1 other . -CD151 chr11 832702 839831 AR Orphanet Nephrotic syndrome-epidermolysis bullosa-sensorineural deafness syndrome . -CTSD chr11 1752752 1764573 AR Orphanet Congenital CLN10 disease; and 2 others . -INS chr11 2159779 2161221 AR Orphanet Isolated permanent neonatal diabetes mellitus . -TH chr11 2163929 2171968 AR Orphanet Autosomal recessive dopa-responsive dystonia . -CD81 chr11 2376166 2398079 AR Orphanet Common variable immunodeficiency phenotype due to CD19/CD81 deficiency . -KCNQ1 chr11 2444654 2849105 AR Orphanet Jervell and Lange-Nielsen syndrome . -CDKN1C chr11 2883213 2885775 AR Orphanet IMAGe syndrome . -CARS1 chr11 3000920 3057646 AR Orphanet Trichothiodystrophy . -PGAP2 chr11 3797724 3835654 AR Orphanet Hyperphosphatasia-intellectual disability syndrome . -STIM1 chr11 3854527 4093210 AR Orphanet Combined immunodeficiency due to STIM1 deficiency . -RRM1 chr11 4094707 4140686 AR Orphanet Autosomal recessive progressive external ophthalmoplegia . -HBB chr11 5225464 5229395 AR ACMG,ACOG Sickle cell disease and beta-thalassemia . -HBD chr11 5232678 5243698 AR Orphanet Delta-beta-thalassemia . -HBG1 chr11 5248204 5249859 AR Orphanet Delta-beta-thalassemia; and 1 other . -HBG2 chr11 5253188 5505605 AR Orphanet Hereditary persistence of fetal hemoglobin-sickle cell disease syndrome . -TRIM22 chr11 5689610 5737089 AR Orphanet TRIM22-related inflammatory bowel disease . -SMPD1 chr11 6390381 6394998 AR ACMG,ACOG Niemann-Pick disease types A and B . -DNHD1 chr11 6497260 6593758 AR Orphanet Male infertility due to large-headed multiflagellar polyploid spermatozoa; and 1 other . -TPP1 chr11 6612768 6619448 AR Orphanet Childhood-onset autosomal recessive slowly progressive spinocerebellar ataxia; and 3 others . -DCHS1 chr11 6621330 6655834 AR Orphanet Cerebrofacioarticular syndrome . -TUB chr11 8019193 8106243 AR Orphanet Retinitis pigmentosa . -SBF2 chr11 9776776 10304877 AR Orphanet Charcot-Marie-Tooth disease type 4B2 . -AMPD3 chr11 10308162 10507877 AR Orphanet Adenosine monophosphate deaminase deficiency . -CTR9 chr11 10750962 10801625 AR Orphanet Non-specific syndromic intellectual disability . -PTH chr11 13492054 13496181 AR Orphanet Familial isolated hypoparathyroidism due to impaired PTH secretion . -FAR1 chr11 13667462 13732367 AR Orphanet Fatty acyl-CoA reductase 1 deficiency . -RRAS2 chr11 14277919 14364506 AR Orphanet Noonan syndrome . -COPB1 chr11 14443357 14500027 AR Orphanet Intellectual disability-early-onset cataract-microcephaly syndrome . -CYP2R1 chr11 14877349 14892262 AR Orphanet Hypocalcemic vitamin D-dependent rickets . -PIK3C2A chr11 17077730 17207986 AR Orphanet Oculoskeletodental syndrome . -KCNJ11 chr11 17364082 17389364 AR Orphanet Autosomal recessive hyperinsulinism due to Kir6.2 deficiency; and 5 others . -ABCC8 chr11 17392498 17476894 AR ACMG,ACOG Familial hyperinsulinism; permanent neonatal diabetes 3 . -USH1C chr11 17493895 17544435 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . -OTOG chr11 17547259 17647150 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -MYOD1 chr11 17719565 17722136 AR Orphanet Fetal akinesia deformation sequence . -HPS5 chr11 18278668 18322523 AR Orphanet Hermansky-Pudlak syndrome due to BLOC-2 deficiency . -LDHA chr11 18394347 18408425 AR Orphanet Glycogen storage disease due to lactate dehydrogenase M-subunit deficiency . -CSRP3 chr11 19175981 19210571 AR Orphanet Familial isolated dilated cardiomyopathy . -SLC6A5 chr11 20599594 20659285 AR Orphanet Hereditary hyperekplexia . -ANO5 chr11 21782659 22283567 AR Orphanet Anoctamin-5-related limb-girdle muscular dystrophy R12; and 2 others . -FANCF chr11 22622533 22625823 AR Orphanet Fanconi anemia . -CCDC34 chr11 27329379 27363293 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -FSHB chr11 30231014 30235261 AR Orphanet Isolated follicle stimulating hormone deficiency . -PAX6 chr11 31784779 31817967 AR Orphanet Aniridia-cerebellar ataxia-intellectual disability syndrome; and 1 other . -WT1 chr11 32387775 32435885 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -CD59 chr11 33703010 33737293 AR Orphanet Primary CD59 deficiency . -CAPRIN1 chr11 34051649 34103835 AR Orphanet Non-specific syndromic intellectual disability . -CAT chr11 34438709 34472061 AR Orphanet Acatalasemia . -PDHX chr11 34915829 35021339 AR Orphanet Pyruvate dehydrogenase E3-binding protein deficiency . -SLC1A2 chr11 35251205 35420063 AR Orphanet Non-specific early-onset epileptic encephalopathy . -RAG1 chr11 36510348 36593156 AR Orphanet Atypical/leaky severe combined immunodeficiency due to partial RAG defect; and 3 others . -RAG2 chr11 36575574 36598279 AR Orphanet Combined immunodeficiency with granulomas and/or autoimmunity due to RAG defect; and 2 others . -EXT2 chr11 44095648 44284513 AR Orphanet Seizures-scoliosis-macrocephaly syndrome . -ALX4 chr11 44260440 44310139 AR Orphanet Frontonasal dysplasia-alopecia-genital anomalies syndrome . -SLC35C1 chr11 45804071 45813016 AR Orphanet Leukocyte adhesion deficiency type II . -PEX16 chr11 45909663 45918854 AR Orphanet Autosomal recessive ataxia due to PEX16 deficiency; and 3 others . -CREB3L1 chr11 46277636 46321422 AR Orphanet Osteogenesis imperfecta type 3 . -ZNF408 chr11 46701011 46705913 AR Orphanet Familial exudative vitreoretinopathy; and 1 other . -F2 chr11 46719079 46768566 AR Orphanet Congenital factor II deficiency . -LRP4 chr11 46856717 46918642 AR Orphanet Cenani-Lenz syndrome; and 2 others . -DDB2 chr11 47214435 47240555 AR Orphanet Xeroderma pigmentosum . -MADD chr11 47269161 47330038 AR Orphanet MADD-related developmental delay-endocrine dysfunction-hypohemoglobinemia syndrome; and 1 other . -MYBPC3 chr11 47331406 47352702 AR Orphanet Familial isolated dilated cardiomyopathy . -SPI1 chr11 47354860 47409369 AR Orphanet Autosomal non-syndromic agammaglobulinemia . -SLC39A13 chr11 47407132 47416587 AR Orphanet SLC39A13-related spondylodysplastic Ehlers-Danlos syndrome . -RAPSN chr11 47436816 47449192 AR Orphanet Congenital myasthenic syndrome due to acetylcholine receptor clustering defect; and 1 other . -NDUFS3 chr11 47565336 47584565 AR Orphanet Isolated complex I deficiency . -NUP160 chr11 47777872 47848561 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -PTPRJ chr11 47980414 48170839 AR Orphanet Congenital autosomal recessive small-platelet thrombocytopenia . -CLP1 chr11 57638605 57662755 AR Orphanet Pontocerebellar hypoplasia type 10 . -STX3 chr11 59713456 59838302 AR Orphanet Microvillus inclusion disease . -CBLIF chr11 59829273 59845499 AR Orphanet Congenital intrinsic factor deficiency . -TCN1 chr11 59852800 59866489 AR Orphanet Haptocorrin deficiency . -ZP1 chr11 60867542 60875693 AR Orphanet Female infertility due to zona pellucida defect . -TKFC chr11 61333205 61354339 AR Orphanet Congenital cataract-hypertrophic cardiomyopathy-mitochondrial myopathy syndrome . -TMEM138 chr11 61361964 61377890 AR Orphanet Joubert syndrome with oculorenal defect . -TMEM216 chr11 61392393 61400408 AR ACMG,ACOG Joubert syndrome 2; Meckel syndrome 2 . -BEST1 chr11 61949808 61965515 AR Orphanet Autosomal recessive bestrophinopathy; and 2 others . -ROM1 chr11 62611722 62615116 AR Orphanet Retinitis pigmentosa . -B3GAT3 chr11 62614993 62622180 AR Orphanet Larsen-like syndrome, B3GAT3 type . -UQCC3 chr11 62670273 62674001 AR Orphanet Isolated complex III deficiency . -BSCL2 chr11 62689289 62709861 AR Orphanet Congenital generalized lipodystrophy type 2; and 1 other . -PLAAT3 chr11 63569750 63616901 AR Orphanet Lipodystrophy-demyelinating peripheral sensory-motor neuropathy syndrome . -MARK2 chr11 63838852 63911020 AR Orphanet Non-specific syndromic intellectual disability . -COX8A chr11 63974579 63976543 AR Orphanet Isolated cytochrome C oxidase deficiency . -FLRT1 chr11 64035757 64119403 AR Orphanet Spastic paraplegia-optic atrophy-neuropathy syndrome . -FERMT3 chr11 64205926 64223896 AR Orphanet Leukocyte adhesion deficiency type III . -PLCB3 chr11 64251498 64269424 AR Orphanet Spondylometaphyseal dysplasia-corneal dystrophy syndrome . -SLC22A12 chr11 64590641 64602353 AR Orphanet Hereditary renal hypouricemia . -RASGRP2 chr11 64726905 64745456 AR Orphanet Bleeding disorder due to CalDAG-GEFI deficiency . -PYGM chr11 64746389 64759990 AR Orphanet Glycogen storage disease due to muscle glycogen phosphorylase deficiency . -CAPN1 chr11 65180566 65212006 AR Orphanet Autosomal recessive spastic paraplegia type 76 . -SCYL1 chr11 65525044 65538711 AR Orphanet Acute infantile liver failure-cerebellar ataxia-peripheral sensory motor neuropathy syndrome . -LTBP3 chr11 65538556 65558930 AR Orphanet Brachyolmia-amelogenesis imperfecta syndrome; and 1 other . -RNASEH2C chr11 65713901 65720988 AR Orphanet Aicardi-Goutières syndrome . -EFEMP2 chr11 65866300 65878497 AR Orphanet Autosomal recessive cutis laxa type 1; and 1 other . -FIBP chr11 65883740 65888532 AR Orphanet Tall stature-intellectual disability-renal anomalies syndrome . -BANF1 chr11 66001832 66004170 AR Orphanet Nestor-Guillermo progeria syndrome . -CATSPER1 chr11 66016752 66026479 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -KLC2 chr11 66257267 66267862 AR Orphanet Spastic paraplegia-optic atrophy-neuropathy syndrome . -B4GAT1 chr11 66345374 66347856 AR Orphanet Walker-Warburg syndrome . -BBS1 chr11 66510606 66534660 AR ACMG Bardet-Biedl syndrome 1 . -SPTBN2 chr11 66682496 66744670 AR Orphanet Spectrin-associated autosomal recessive cerebellar ataxia . -TOP6BL chr11 66744451 66843516 AR Orphanet Complete hydatidiform mole . -PC chr11 66848208 66958524 AR Orphanet Pyruvate carboxylase deficiency, benign type; and 2 others . -CLCF1 chr11 67364168 67374301 AR Orphanet Cold-induced sweating syndrome; and 1 other . -CABP4 chr11 67452406 67461752 AR Orphanet Incomplete congenital stationary night blindness, Schubert-Bornschein type; and 2 others . -CABP2 chr11 67518912 67524517 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -NDUFV1 chr11 67605653 67612554 AR Orphanet Isolated complex I deficiency . -NDUFS8 chr11 68030617 68036649 AR Orphanet Isolated complex I deficiency . -TCIRG1 chr11 68038977 68050899 AR Orphanet Autosomal recessive malignant osteopetrosis; and 2 others . -CHKA chr11 68052848 68121449 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -LRP5 chr11 68312430 68449275 AR Orphanet Familial exudative vitreoretinopathy; and 2 others . -CPT1A chr11 68754620 68844410 AR Orphanet Carnitine palmitoyl transferase 1A deficiency . -IGHMBP2 chr11 68903863 68940602 AR Orphanet Charcot-Marie-Tooth disease type 2S; and 1 other . -FGF3 chr11 69809968 69819416 AR Orphanet Deafness with labyrinthine aplasia, microtia, and microdontia . -FADD chr11 70203262 70220615 AR Orphanet FADD-related immunodeficiency . -DHCR7 chr11 71428193 71452868 AR ACMG Smith-Lemli-Opitz syndrome . -NADSYN1 chr11 71453109 71524107 AR Orphanet Congenital vertebral-cardiac-renal anomalies syndrome . -LRTOMT chr11 72080331 72110782 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -FOLR1 chr11 72189529 72199329 AR Orphanet Neurodegenerative syndrome due to cerebral folate transport deficiency . -INPPL1 chr11 72223524 72239184 AR Orphanet Opsismodysplasia; and 1 other . -PHOX2A chr11 72239077 72245664 AR Orphanet Congenital fibrosis of extraocular muscles . -CLPB chr11 72285495 72434680 AR Orphanet 3-methylglutaconic aciduria-neonatal cataract-neurologic involvement-congenital neutropenia syndrome . -RELT chr11 73376325 73397474 AR Orphanet Hypocalcified amelogenesis imperfecta . -DNAJB13 chr11 73951014 73970366 AR Orphanet Primary ciliary dyskinesia . -C2CD3 chr11 74012718 74171210 AR Orphanet Orofaciodigital syndrome type 14 . -PGM2L1 chr11 74330315 74398473 AR Orphanet Non-specific syndromic intellectual disability . -SERPINH1 chr11 75561564 75575646 AR Orphanet Osteogenesis imperfecta type 3 . -ACER3 chr11 76860859 77026797 AR Orphanet Alkaline ceramidase 3 deficiency . -MYO7A chr11 77128206 77215241 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 2 others . -ALG8 chr11 78095244 78139660 AR Orphanet ALG8-CDG . -NARS2 chr11 78435539 78575194 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 2 others . -TMEM126B chr11 85628556 85638965 AR Orphanet Isolated complex I deficiency . -TMEM126A chr11 85647956 85656547 AR Orphanet Autosomal recessive optic atrophy, OPA7 type . -HIKESHI chr11 86302181 86346246 AR Orphanet C11ORF73-related autosomal recessive hypomyelinating leukodystrophy . -FZD4 chr11 86945679 86955469 AR Orphanet Familial exudative vitreoretinopathy; and 1 other . -CTSC chr11 88265069 88359684 AR Orphanet Haim-Munk syndrome; and 1 other . -TYR chr11 89177875 89295759 AR ACMG Oculocutaneous albinism type 1A and 1B . -CEP295 chr11 93661642 93730358 AR Orphanet Seckel syndrome . -MED17 chr11 93784227 93814963 AR Orphanet Infantile cerebral and cerebellar atrophy with postnatal progressive microcephaly . -PANX1 chr11 94128828 94185019 AR Orphanet Female infertility due to oocyte meiotic arrest . -MRE11 chr11 94415570 94512676 AR Orphanet Ataxia-telangiectasia-like disorder; and 1 other . -CEP57 chr11 95789965 95837070 AR Orphanet Mosaic variegated aneuploidy syndrome . -MTMR2 chr11 95821766 95925315 AR Orphanet Charcot-Marie-Tooth disease type 4B1 . -TRPC6 chr11 101447437 101872562 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -CFAP300 chr11 102047402 102085137 AR Orphanet Primary ciliary dyskinesia . -MMP20 chr11 102576832 102625332 AR Orphanet Hypomaturation amelogenesis imperfecta . -MMP13 chr11 102942994 102955740 AR Orphanet Metaphyseal anadysplasia; and 1 other . -DYNC2H1 chr11 103109351 103479863 AR ACMG Short-rib thoracic dysplasia 3 . -GRIA4 chr11 105609535 105982090 AR Orphanet Non-specific syndromic intellectual disability . -ALKBH8 chr11 107502726 107565764 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -ACAT1 chr11 108116695 108148957 AR ACMG Alpha-methylacetoacetic aciduria (beta-ketothiolase deficiency) . -ATM chr11 108222788 108369102 AR Orphanet Ataxia-telangiectasia; and 1 other . -EXPH5 chr11 108505435 108593780 AR Orphanet Epidermolysis bullosa simplex due to exophilin 5 deficiency . -RDX chr11 109864295 110297617 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -ALG9 chr11 111782195 111872405 AR Orphanet ALG9-CDG . -CRYAB chr11 111908239 111923722 AR Orphanet Early-onset nuclear cataract; and 2 others . -DLAT chr11 112025033 112064404 AR Orphanet Pyruvate dehydrogenase E2 deficiency . -SDHD chr11 112086361 112120016 AR Orphanet Isolated succinate-CoQ reductase deficiency . -PTS chr11 112226059 112270449 AR Orphanet 6-pyruvoyl-tetrahydropterin synthase deficiency . -TTC12 chr11 113314543 113383544 AR Orphanet Primary ciliary dyskinesia . -ZPR1 chr11 116773799 116788477 AR Orphanet Congenital generalized alopecia-hypoplastic kidneys-facial dysmorphism-sensorineural deafness syndrome . -APOA5 chr11 116789014 116793026 AR Orphanet Familial apolipoprotein A5 deficiency . -CEP164 chr11 117314557 117413616 AR Orphanet Senior-Loken syndrome . -IL10RA chr11 117986370 118003037 AR Orphanet Immune dysregulation-inflammatory bowel disease-arthritis-recurrent infections syndrome . -TMPRSS4 chr11 118076986 118125510 AR Orphanet Autosomal recessive cerebral atrophy . -MPZL2 chr11 118253416 118264536 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -CD3E chr11 118304701 118316175 AR Orphanet T-B+NK+ severe combined immunodeficiency due to CD3delta/CD3epsilon/CD3zeta deficiency . -CD3D chr11 118334537 118342713 AR Orphanet T-B+NK+ severe combined immunodeficiency due to CD3delta/CD3epsilon/CD3zeta deficiency . -CD3G chr11 118344338 118355161 AR Orphanet Combined immunodeficiency due to CD3gamma deficiency . -UBE4A chr11 118359578 118399211 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -DDX6 chr11 118747763 118791226 AR Orphanet Non-specific syndromic intellectual disability . -TRAPPC4 chr11 119018733 119025454 AR Orphanet Non-specific syndromic intellectual disability . -SLC37A4 chr11 119023751 119030906 AR ACMG Glycogen storage disease types Ib and Ic . -VPS11 chr11 119067789 119082753 AR Orphanet VPS11-related autosomal recessive hypomyelinating leukodystrophy . -DPAGT1 chr11 119095979 119108331 AR Orphanet Congenital myasthenic syndrome with glycosylation defect; and 1 other . -CBL chr11 119206036 119313926 AR Orphanet Noonan syndrome . -MFRP chr11 119338942 119346705 AR Orphanet Isolated complete colobomatous microphthalmia; and 1 other . -NECTIN1 chr11 119623408 119729488 AR Orphanet Cleft lip/palate-ectodermal dysplasia syndrome . -TECTA chr11 121101243 121191490 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -SC5D chr11 121292681 121313410 AR Orphanet Lathosterolosis . -CLMP chr11 123069625 123196697 AR Orphanet Congenital short bowel syndrome . -ROBO3 chr11 124865413 124881471 AR Orphanet Horizontal gaze palsy with progressive scoliosis . -HEPACAM chr11 124919205 124936431 AR Orphanet Megalencephalic leukoencephalopathy with subcortical cysts . -TMEM218 chr11 125094379 125111870 AR Orphanet Isolated Joubert syndrome . -STT3A chr11 125591712 125625220 AR Orphanet STT3A-CDG . -CHEK1 chr11 125625163 125676255 AR Orphanet Female infertility due to oocyte meiotic arrest . -HYLS1 chr11 125883614 125900846 AR Orphanet Hydrolethalus; and 1 other . -PUS3 chr11 125892347 125903227 AR Orphanet Severe growth deficiency-strabismus-extensive dermal melanocytosis-intellectual disability syndrome . -CDON chr11 125955796 126063335 AR Orphanet Pituitary stalk interruption syndrome . -FOXRED1 chr11 126269024 126281756 AR Orphanet Isolated complex I deficiency . -DCPS chr11 126303971 126350005 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -FLI1 chr11 128686535 128813267 AR Orphanet Isolated delta-storage pool disease . -KCNJ1 chr11 128836315 128874671 AR Orphanet Bartter syndrome type 2 . -ST14 chr11 130159741 130210368 AR Orphanet Ichthyosis-hypotrichosis syndrome . -JAM3 chr11 134068998 134152071 AR Orphanet Porencephaly-microcephaly-bilateral congenital cataract syndrome . -NCAPD3 chr11 134149039 134225504 AR Orphanet Autosomal recessive primary microcephaly . -ACAD8 chr11 134253510 134267494 AR Orphanet Isobutyryl-CoA dehydrogenase deficiency . -WNK1 chr12 752536 911452 AR Orphanet Hereditary sensory and autonomic neuropathy type 2 . -CACNA2D4 chr12 1791963 1918666 AR Orphanet Cone rod dystrophy; and 1 other . -CACNA1C chr12 1970690 2697950 AR Orphanet Non-specific syndromic intellectual disability . -TULP3 chr12 2877223 2941142 AR Orphanet Hepatorenocardiac degenerative fibrosis . -FGF23 chr12 4368227 4379713 AR Orphanet Familial hyperphosphatemic tumoral calcinosis/Hyperphosphatemic hyperostosis syndrome . -FERRY3 chr12 4487735 4538519 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -AKAP3 chr12 4613383 4649072 AR Orphanet Male infertility due to large-headed multiflagellar polyploid spermatozoa . -NDUFA9 chr12 4649095 4701398 AR Orphanet Isolated complex I deficiency . -KCNA1 chr12 4909905 4918256 AR Orphanet Early infantile developmental and epileptic encephalopathy . -VWF chr12 5948877 6124770 AR Orphanet Von Willebrand disease type 2A; and 2 others . -SCNN1A chr12 6345124 6383917 AR Orphanet Generalized pseudohypoaldosteronism type 1 . -CD27 chr12 6444933 6451718 AR Orphanet Combined immunodeficiency due to CD27 deficiency . -VAMP1 chr12 6462237 6470948 AR Orphanet Autosomal recessive congenital myasthenic syndrome due to defective synaptic vesicles exocytosis . -TPI1 chr12 6867119 6878513 AR Orphanet Triose phosphate-isomerase deficiency . -C12orf57 chr12 6942919 6946009 AR Orphanet Temtamy syndrome . -RNU7-1 chr12 6943816 6943878 AR Orphanet Aicardi-Goutières syndrome . -EMG1 chr12 6970765 6979939 AR Orphanet Bowen-Conradi syndrome . -C1S chr12 6988259 7071281 AR Orphanet Immunodeficiency due to a classical component pathway complement deficiency . -C1R chr12 7080213 7092873 AR Orphanet Autosomal systemic lupus erythematosus; and 1 other . -PEX5 chr12 7188653 7218574 AR Orphanet Infantile Refsum disease; and 3 others . -GDF3 chr12 7689784 7695807 AR Orphanet Isolated Klippel-Feil syndrome; and 1 other . -NECAP1 chr12 8076939 8097881 AR Orphanet Non-specific early-onset epileptic encephalopathy . -AICDA chr12 8602155 8613242 AR Orphanet Hyper-IgM syndrome type 2 . -PHC1 chr12 8913824 8944860 AR Orphanet Autosomal recessive primary microcephaly . -CLEC7A chr12 10116766 10130269 AR Orphanet Chronic mucocutaneous candidiasis . -ETV6 chr12 11649614 11895386 AR Orphanet Autosomal isolated thrombocytopenia with normal platelets size . -LRP6 chr12 12116025 12267193 AR Orphanet Oligodontia . -BORCS5 chr12 12357057 12482332 AR Orphanet Infantile osteopetrosis with neuroaxonal dysplasia . -GRIN2B chr12 13437942 13982138 AR Orphanet Infantile epileptic spasms syndrome . -GUCY2C chr12 14612632 14696652 AR Orphanet Congenital sodium diarrhea; and 1 other . -MGP chr12 14879368 14905245 AR Orphanet Keutel syndrome . -PDE6H chr12 14949827 14982699 AR Orphanet Achromatopsia . -PTPRO chr12 15322257 15602175 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -EPS8 chr12 15617906 15882330 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -SLCO1B3 chr12 20806645 20918230 AR Orphanet Rotor syndrome . -SLCO1B1 chr12 21127862 21298065 AR Orphanet Rotor syndrome . -GYS2 chr12 21531545 21604951 AR Orphanet Glycogen storage disease due to hepatic glycogen synthase deficiency . -LDHB chr12 21635339 21757890 AR Orphanet Glycogen storage disease due to lactate dehydrogenase H-subunit deficiency . -ABCC9 chr12 21797389 21942543 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . -KRAS chr12 25205246 25326473 AR Orphanet Noonan syndrome . -ITPR2 chr12 26335352 26833239 AR Orphanet Isolated generalized anhidrosis with normal sweat glands . -IPO8 chr12 30628981 30695908 AR Orphanet Loeys-Dietz syndrome . -DDX11 chr12 31073282 31104811 AR Orphanet Warsaw breakage syndrome . -FGD4 chr12 32399318 32646050 AR Orphanet Charcot-Marie-Tooth disease type 4H . -YARS2 chr12 32725785 32755948 AR Orphanet Mitochondrial myopathy and sideroblastic anemia . -PKP2 chr12 32790745 32896819 AR Orphanet Left ventricular noncompaction . -KIF21A chr12 39293228 39443718 AR Orphanet Congenital fibrosis of extraocular muscles; and 1 other . -CNTN1 chr12 40692431 41073454 AR Orphanet Congenital lethal myopathy, Compton-North type . -PRICKLE1 chr12 42456753 42590355 AR Orphanet Progressive myoclonic epilepsy type 1 . -IRAK4 chr12 43758938 43798307 AR Orphanet Transient predisposition to invasive pyogenic bacterial infection . -ANO6 chr12 45215987 45482280 AR Orphanet Scott syndrome . -VDR chr12 47841537 47943048 AR Orphanet Hypocalcemic vitamin D-resistant rickets . -PFKM chr12 48105139 48152487 AR Orphanet Glycogen storage disease due to muscle phosphofructokinase deficiency . -ADCY6 chr12 48766191 48789906 AR Orphanet Hypomyelination neuropathy-arthrogryposis syndrome . -DRC2 chr12 48904105 48931840 AR Orphanet Primary ciliary dyskinesia . -WNT10B chr12 48965185 48972669 AR Orphanet Isolated split hand-split foot malformation; and 1 other . -WNT1 chr12 48978322 48982620 AR Orphanet Osteogenesis imperfecta type 3; and 1 other . -DHH chr12 49086656 49094807 AR Orphanet 46,XY complete gonadal dysgenesis; and 1 other . -TUBA1A chr12 49184146 49189324 AR Orphanet Congenital fibrosis of extraocular muscles; and 1 other . -AQP2 chr12 49950736 49958881 AR Orphanet Arginine vasopressin resistance . -RACGAP1 chr12 49976923 50033136 AR Orphanet Congenital dyserythropoietic anemia type III . -GPD1 chr12 50103982 50129648 AR Orphanet Transient infantile hypertriglyceridemia and hepatosteatosis . -COX14 chr12 50111982 50120463 AR Orphanet Isolated cytochrome C oxidase deficiency . -SLC11A2 chr12 50952060 51028566 AR Orphanet Microcytic anemia with liver iron overload . -SCN8A chr12 51590266 51812864 AR Orphanet Myoclonic epilepsy of infancy; and 1 other . -KRT86 chr12 52249300 52309163 AR Orphanet Monilethrix . -KRT81 chr12 52285913 52291534 AR Orphanet Monilethrix . -KRT83 chr12 52314301 52321398 AR Orphanet Monilethrix . -KRT85 chr12 52360006 52367481 AR Orphanet Pure hair and nail ectodermal dysplasia . -KRT6B chr12 52446651 52452154 AR Orphanet Pachyonychia congenita . -KRT6A chr12 52487176 52493265 AR Orphanet Pachyonychia congenita . -KRT5 chr12 52514575 52520530 AR Orphanet Autosomal recessive generalized epidermolysis bullosa simplex . -KRT71 chr12 52543909 52553145 AR Orphanet Woolly hair . -KRT74 chr12 52565151 52573843 AR Orphanet Pure hair and nail ectodermal dysplasia; and 1 other . -AAAS chr12 53307456 53324864 AR Orphanet Triple A syndrome . -SP7 chr12 53326575 53345315 AR Orphanet Craniodiaphyseal dysplasia; and 1 other . -AMHR2 chr12 53423672 53431672 AR Orphanet Persistent Müllerian duct syndrome . -HOXC13 chr12 53938718 53946544 AR Orphanet Pure hair and nail ectodermal dysplasia . -HNRNPA1 chr12 54280193 54287088 AR Orphanet Amyotrophic lateral sclerosis . -NCKAP1L chr12 54497713 54548243 AR Orphanet Familial hyperinflammatory lymphoproliferative immunodeficiency . -ITGA7 chr12 55679139 55716404 AR Orphanet Congenital fiber-type disproportion myopathy; and 1 other . -RDH5 chr12 55720367 55724714 AR Orphanet Fundus albipunctatus . -SUOX chr12 55996855 56006641 AR Orphanet Isolated sulfite oxidase deficiency . -ERBB3 chr12 56076799 56103505 AR Orphanet Hirschsprung disease; and 1 other . -SLC39A5 chr12 56230039 56238214 AR Orphanet Rare isolated myopia . -STAT2 chr12 56338356 56360283 AR Orphanet Primary immunodeficiency with post-measles-mumps-rubella vaccine viral infection . -MIP chr12 56449502 56469166 AR Orphanet Early-onset nuclear cataract; and 1 other . -PRIM1 chr12 56730438 56752384 AR Orphanet Microcephalic primordial dwarfism syndrome with combined immunodeficiency due to PRIM1 deficiency . -SDR9C7 chr12 56923133 56934408 AR Orphanet Congenital ichthyosiform erythroderma; and 1 other . -TAC3 chr12 57010000 57028883 AR Orphanet Normosmic congenital hypogonadotropic hypogonadism . -LRP1 chr12 57128476 57213394 AR Orphanet Atrophoderma vermiculata; and 1 other . -STAC3 chr12 57243453 57251195 AR Orphanet Native American myopathy . -GLI1 chr12 57459783 57472268 AR Orphanet Ellis-Van Creveld syndrome; and 1 other . -MARS1 chr12 57475445 57517702 AR Orphanet Autosomal recessive spastic paraplegia type 70; and 1 other . -B4GALNT1 chr12 57623409 57633242 AR Orphanet Autosomal recessive spastic paraplegia type 26 . -CYP27B1 chr12 57762334 57768986 AR ACMG Vitamin D-dependent rickets type 1 . -TSFM chr12 57782731 57828655 AR Orphanet Fatal mitochondrial disease due to combined oxidative phosphorylation defect type 3 . -AVIL chr12 57797376 57818734 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -DPY19L2 chr12 63558913 63668939 AR Orphanet Male infertility due to globozoospermia . -RXYLT1 chr12 63779807 63809792 AR Orphanet Walker-Warburg syndrome . -GNS chr12 64713442 64759449 AR Orphanet Sanfilippo syndrome type D . -MSRB3 chr12 65278542 65505156 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -GRIP1 chr12 66347431 67069162 AR ACMG Fraser syndrome . -IFNG chr12 68154768 68159748 AR Orphanet Severe mendelian susceptibility to mycobacterial diseases due to complete IFNG deficiency . -NUP107 chr12 68686951 68745809 AR Orphanet 46,XX gonadal dysgenesis; and 2 others . -KCNC2 chr12 75038577 75209876 AR Orphanet Non-specific early-onset epileptic encephalopathy . -BBS10 chr12 76344474 76348447 AR Orphanet Bardet-Biedl syndrome . -OTOGL chr12 80099537 80380880 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -PTPRQ chr12 80402178 80680273 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -ALX1 chr12 85280091 85302551 AR Orphanet Frontonasal dysplasia-severe microphthalmia-severe facial clefting syndrome . -CEP290 chr12 88049016 88142099 AR ACMG Joubert syndrome 5; Leber congenital amaurosis 10 . -TMTC3 chr12 88142181 88199887 AR Orphanet Cobblestone lissencephaly without muscular or ocular involvement; and 1 other . -DUSP6 chr12 89347235 89352507 AR Orphanet Kallmann syndrome; and 1 other . -POC1B chr12 89357869 89526201 AR Orphanet Cone rod dystrophy . -ATP2B1 chr12 89588049 89709642 AR Orphanet Non-specific syndromic intellectual disability . -KERA chr12 91050491 91058024 AR Orphanet Congenital cornea plana . -CRADD chr12 93677375 93894840 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -CEP83 chr12 94305950 94459988 AR Orphanet Infantile nephronophthisis . -HAL chr12 95972662 95996365 AR Orphanet Histidinemia . -TMPO chr12 98515483 98550351 AR Orphanet Familial isolated dilated cardiomyopathy . -SLC25A3 chr12 98574411 98606379 AR Orphanet Cardiomyopathy-hypotonia-lactic acidosis syndrome . -SCYL2 chr12 100266830 100341993 AR Orphanet Neurogenic arthrogryposis multiplex congenita . -NR1H4 chr12 100455070 100564414 AR Orphanet Progressive familial intrahepatic cholestasis type 5 . -MYBPC1 chr12 101568353 101688685 AR Orphanet Lethal congenital contracture syndrome type 3; and 1 other . -GNPTAB chr12 101744032 101830984 AR ACMG Mucolipidosis type II and III alpha/beta . -NUP37 chr12 102069969 102120258 AR Orphanet Autosomal recessive primary microcephaly; and 1 other . -IGF1 chr12 102395874 102481857 AR Orphanet Growth delay due to insulin-like growth factor type 1 deficiency . -PAH chr12 102836889 102958410 AR ACMG Phenylketonuria . -WASHC4 chr12 105107324 105169401 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -POLR3B chr12 106357693 106511222 AR Orphanet Hypomyelination-hypogonadotropic hypogonadism-hypodontia syndrome . -ISCU chr12 108562549 108569384 AR Orphanet Hereditary myopathy with lactic acidosis due to ISCU deficiency . -DAO chr12 108858932 108901052 AR Orphanet Amyotrophic lateral sclerosis . -UNG chr12 109097569 109126725 AR Orphanet Hyper-IgM syndrome type 5 . -UBE3B chr12 109477375 109536705 AR Orphanet Oculocerebrofacial syndrome, Kaufman type . -MMAB chr12 109553715 109573580 AR Orphanet Vitamin B12-responsive methylmalonic acidemia type cblB . -MVK chr12 109573255 109600609 AR ACMG Mevalonic aciduria; hyper-IgD syndrome . -TCTN1 chr12 110614027 110663587 AR Orphanet Isolated Joubert syndrome; and 1 other . -MYL2 chr12 110909996 110921443 AR Orphanet Congenital fiber-type disproportion myopathy . -SH2B3 chr12 111404986 111451623 AR Orphanet Growth retardation-mild developmental delay-chronic hepatitis syndrome . -PTPN11 chr12 112418351 112509918 AR Orphanet Noonan syndrome . -RPH3A chr12 112570380 112898881 AR Orphanet Autosomal recessive congenital myasthenic syndrome due to defective synaptic vesicles exocytosis . -NOS1 chr12 117208142 117452170 AR Orphanet Idiopathic achalasia . -CIT chr12 119685108 119877338 AR Orphanet Autosomal recessive primary microcephaly . -RNU4-2 chr12 120291759 120291903 AR Orphanet Retinitis pigmentosa . -COX6A1 chr12 120438090 120440742 AR Orphanet Autosomal recessive intermediate Charcot-Marie-Tooth disease type D . -ACADS chr12 120725774 120740009 AR Orphanet Short chain acyl-CoA dehydrogenase deficiency . -KDM2B chr12 121429096 121582286 AR Orphanet Non-specific syndromic intellectual disability . -ORAI1 chr12 121626509 121643109 AR Orphanet Combined immunodeficiency due to ORAI1 deficiency . -HPD chr12 121839120 121863596 AR Orphanet Tyrosinemia type 3 . -CFAP251 chr12 121918555 122003927 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -VPS33A chr12 122229564 122266502 AR Orphanet Mucopolysaccharidosis-like syndrome with congenital heart defects and hematopoietic disorders . -CLIP1 chr12 122271432 122422778 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -MTRFR chr12 123232142 123258079 AR Orphanet Autosomal recessive spastic paraplegia type 55; and 1 other . -RILPL1 chr12 123467802 123534417 AR Orphanet Oculopharyngodistal myopathy . -EIF2B1 chr12 123620406 123633766 AR Orphanet Congenital or early infantile CACH syndrome; and 4 others . -TCTN2 chr12 123671110 123708403 AR Orphanet Isolated Joubert syndrome; and 1 other . -ATP6V0A2 chr12 123712334 123761760 AR Orphanet Autosomal recessive cutis laxa type 2, classic type; and 1 other . -DNAH10 chr12 123761878 123935720 AR Orphanet Male infertility due to large-headed multiflagellar polyploid spermatozoa; and 1 other . -DHX37 chr12 124946824 124989140 AR Orphanet 46,XY complete gonadal dysgenesis; and 2 others . -PUS1 chr12 131929200 131945896 AR Orphanet Mitochondrial myopathy and sideroblastic anemia . -POLE chr12 132623753 132687376 AR Orphanet Facial dysmorphism-immunodeficiency-livedo-short stature syndrome; and 1 other . -ANKLE2 chr12 132725500 132762094 AR Orphanet Autosomal recessive primary microcephaly . -ZMYM2 chr13 19958673 20091856 AR Orphanet Non-specific syndromic intellectual disability . -GJA3 chr13 20138252 20161615 AR Orphanet Early-onset nuclear cataract; and 1 other . -GJB2 chr13 20187463 20192980 AR ACMG Nonsyndromic hearing loss, recessive (DFNB1A) . -GJB6 chr13 20221962 20232450 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . -IFT88 chr13 20566600 20691697 AR Orphanet Retinitis pigmentosa . -SGCG chr13 23160011 23325958 AR Orphanet Gamma-sarcoglycan-related limb-girdle muscular dystrophy R5 . -SACS chr13 23288689 23433763 AR Orphanet Autosomal recessive spastic ataxia of Charlevoix-Saguenay . -MIPEP chr13 23730000 23889448 AR Orphanet Lethal left ventricular non-compaction-seizures-hypotonia-cataract-developmental delay syndrome . -CPAP chr13 24882276 24922889 AR Orphanet Autosomal recessive primary microcephaly; and 1 other . -ATP8A2 chr13 25371897 26025851 AR Orphanet Dysequilibrium syndrome . -CDK8 chr13 26253891 26420992 AR Orphanet Non-specific syndromic intellectual disability . -RPL21 chr13 27251283 27266550 AR Orphanet Hypotrichosis simplex . -POLR1D chr13 27620742 27744237 AR Orphanet Treacher-Collins syndrome . -PDX1 chr13 27919994 27926313 AR Orphanet Isolated permanent neonatal diabetes mellitus; and 1 other . -POMP chr13 28659040 28681317 AR Orphanet Keratosis linearis-ichthyosis congenita-sclerosing keratoderma syndrome . -B3GLCT chr13 31199960 31332276 AR Orphanet Peters plus syndrome . -BRCA2 chr13 32315086 32400268 AR Orphanet Fanconi anemia; and 1 other . -KL chr13 33016416 33066143 AR Orphanet Familial hyperphosphatemic tumoral calcinosis/Hyperphosphatemic hyperostosis syndrome . -MAB21L1 chr13 35473419 35478764 AR Orphanet Cerebello-oculo-facio-genital syndrome . -SPART chr13 36301638 36370217 AR Orphanet Autosomal recessive spastic paraplegia type 20 . -RFXAP chr13 36819188 36848169 AR Orphanet Immunodeficiency by defective expression of MHC class II . -SMAD9 chr13 36844831 36920887 AR Orphanet Heritable pulmonary arterial hypertension . -EXOSC8 chr13 36998816 37025881 AR Orphanet Pontocerebellar hypoplasia type 1 . -UFM1 chr13 38349528 38363619 AR Orphanet Hypomyelination with atrophy of basal ganglia and cerebellum . -FREM2 chr13 38687070 38887131 AR Orphanet Fraser syndrome . -COG6 chr13 39655627 39791666 AR Orphanet COG6-CGD; and 1 other . -SLC25A15 chr13 40789409 40812460 AR Orphanet Hyperornithinemia-hyperammonemia-homocitrullinuria syndrome . -TNFSF11 chr13 42562736 42608013 AR Orphanet Autosomal recessive malignant osteopetrosis . -LPAR6 chr13 48327364 48444704 AR Orphanet Hypotrichosis simplex; and 1 other . -RCBTB1 chr13 49531939 49586740 AR Orphanet Reticular dystrophy of the retinal pigment epithelium . -RNASEH2B chr13 50909746 51024120 AR ACMG Aicardi-Goutieres syndrome 2 . -ATP7B chr13 51930436 52012198 AR ACMG Wilson disease . -ALG11 chr13 52011712 52079232 AR Orphanet ALG11-CDG . -THSD1 chr13 52360302 52416373 AR Orphanet Familial cerebral saccular aneurysm . -PIBF1 chr13 72781641 73018645 AR Orphanet Isolated Joubert syndrome . -CLN5 chr13 76990660 77063028 AR Orphanet Adult CLN5 disease; and 2 others . -MYCBP2 chr13 77042474 77327105 AR Orphanet Non-specific syndromic intellectual disability . -EDNRB chr13 77895481 77975529 AR Orphanet Waardenburg-Shah syndrome . -SLITRK6 chr13 85790683 85806683 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . -GPC6 chr13 93226807 94408020 AR Orphanet Autosomal recessive omodysplasia . -DCT chr13 94436811 94479682 AR Orphanet Oculocutaneous albinism type 8 . -TGDS chr13 94574041 94596286 AR Orphanet Pierre-Robin sequence-Manzke dysostosis-clinodactyly of the index finger syndrome . -CLDN10 chr13 95433594 95603306 AR Orphanet Hypohidrosis-electrolyte imbalance-lacrimal gland dysfunction-ichthyosis-xerostomia syndrome . -DNAJC3 chr13 95676600 95794988 AR Orphanet Juvenile-onset diabetes mellitus-central and peripheral neurodegeneration syndrome . -PCCA chr13 100089015 100530437 AR Orphanet Propionic acidemia . -TMTC4 chr13 100603625 100675633 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -NALCN chr13 101053773 101416515 AR Orphanet Freeman-Sheldon syndrome; and 1 other . -TPP2 chr13 102596936 102679958 AR Orphanet Autoimmune hemolytic anemia-autoimmune thrombocytopenia-primary immunodeficiency syndrome due to TPP2 deficiency . -ERCC5 chr13 102845831 102875995 AR Orphanet COFS syndrome; and 2 others . -LIG4 chr13 108207439 108218373 AR Orphanet LIG4 syndrome . -COL4A1 chr13 110148963 110307202 AR Orphanet Familial schizencephaly . -NAXD chr13 110615505 110643086 AR Orphanet NAD(P)HX dehydratase deficiency . -CARS2 chr13 110641409 110713603 AR Orphanet Combined oxidative phosphorylation defect type 27 . -F7 chr13 113105762 113120685 AR Orphanet Congenital factor VII deficiency . -F10 chr13 113122771 113149531 AR Orphanet Congenital factor X deficiency . -GRK1 chr13 113667219 113740559 AR Orphanet Oguchi disease . -TTC5 chr14 20256558 20305968 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -OSGEP chr14 20446401 20455089 AR Orphanet Galloway-Mowat syndrome . -PNP chr14 20461992 20477094 AR Orphanet Purine nucleoside phosphorylase deficiency . -ANG chr14 20682866 20698971 AR Orphanet Amyotrophic lateral sclerosis . -HNRNPC chr14 21207375 21269792 AR Orphanet Non-specific syndromic intellectual disability . -RPGRIP1 chr14 21280083 21351301 AR Orphanet Cone rod dystrophy; and 1 other . -TRAC chr14 22547506 22552156 AR Orphanet TCR-alpha-beta-positive T-cell deficiency . -SLC7A7 chr14 22773222 22829820 AR Orphanet Lysinuric protein intolerance . -MMP14 chr14 22836532 22849041 AR Orphanet Multicentric osteolysis-nodulosis-arthropathy spectrum . -CIROP chr14 23099062 23105018 AR Orphanet Situs inversus totalis . -CEBPE chr14 23117036 23120256 AR Orphanet CEBPE-associated autoinflammation-immunodeficiency-neutrophil dysfunction syndrome; and 1 other . -PABPN1 chr14 23321447 23326176 AR Orphanet Oculopharyngeal muscular dystrophy . -MYH6 chr14 23380206 23408945 AR Orphanet Familial isolated dilated cardiomyopathy . -MYH7 chr14 23412732 23436137 AR Orphanet Autosomal recessive myosin storage myopathy; and 3 others . -NRL chr14 24078662 24115026 AR Orphanet Retinitis pigmentosa . -PCK2 chr14 24094053 24110598 AR Orphanet Phosphoenolpyruvate carboxykinase deficiency . -RNF31 chr14 24146683 24160660 AR Orphanet Autoinflammatory syndrome with pyogenic bacterial infection and amylopectinosis . -TINF2 chr14 24234009 24242666 AR Orphanet Dyskeratosis congenita; and 1 other . -TGM1 chr14 24249114 24264432 AR Orphanet Acral self-healing collodion baby; and 4 others . -FOXG1 chr14 28764329 28770277 AR Orphanet Non-specific early-onset epileptic encephalopathy . -AP4S1 chr14 31024922 31130996 AR Orphanet Severe intellectual disability and progressive spastic paraplegia . -NUBPL chr14 31489956 31861304 AR Orphanet Isolated complex I deficiency . -RNU6-8 chr14 32203163 32203269 AR Orphanet Retinitis pigmentosa . -CFL2 chr14 34707001 34714946 AR Orphanet Typical nemaline myopathy . -PPP2R3C chr14 35085467 35122547 AR Orphanet Male infertility due to globozoospermia; and 1 other . -PRORP chr14 35121842 35278538 AR Orphanet Perrault syndrome type 1; and 1 other . -PAX9 chr14 36657568 36679362 AR Orphanet Oligodontia . -SEC23A chr14 39031917 39109646 AR Orphanet Craniolenticulosutural dysplasia . -TOGARAM1 chr14 44962183 45074431 AR Orphanet Isolated Joubert syndrome . -FANCM chr14 45135909 45200890 AR Orphanet Fanconi anemia; and 1 other . -RPL10L chr14 46651010 46651781 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -MDGA2 chr14 46836520 47675605 AR Orphanet Non-specific early-onset epileptic encephalopathy . -MGAT2 chr14 49620799 49633312 AR Orphanet MGAT2-CDG . -DNAAF2 chr14 49623701 49635284 AR Orphanet Primary ciliary dyskinesia . -NEMF chr14 49780955 49853055 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -SOS2 chr14 50116801 50231930 AR Orphanet Noonan syndrome . -L2HGDH chr14 50237563 50312243 AR Orphanet L-2-hydroxyglutaric aciduria . -NIN chr14 50719763 50832038 AR Orphanet Microcephalic primordial dwarfism, Dauber type; and 1 other . -PYGL chr14 50857891 50944734 AR Orphanet Glycogen storage disease due to liver glycogen phosphorylase deficiency . -DDHD1 chr14 53036745 53153353 AR Orphanet Autosomal recessive spastic paraplegia type 28 . -GCH1 chr14 54841961 54903280 AR Orphanet GTP cyclohydrolase I deficiency . -TMEM260 chr14 56488354 56650606 AR Orphanet Structural heart defects-renal anomalies syndrome . -OTX2 chr14 56799810 56816792 AR Orphanet Combined pituitary hormone deficiencies, genetic forms; and 5 others . -KIAA0586 chr14 58427385 58551297 AR Orphanet Isolated Joubert syndrome; and 1 other . -C14orf39 chr14 60396469 60515543 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -SIX6 chr14 60509146 60512850 AR Orphanet Colobomatous optic disc-macular atrophy-chorioretinopathy syndrome . -TRMT5 chr14 60971441 60981694 AR Orphanet Combined oxidative phosphorylation defect type 26 . -KCNH5 chr14 62699464 63102037 AR Orphanet Non-specific early-onset epileptic encephalopathy . -MTHFD1 chr14 64388031 64463457 AR Orphanet Combined immunodeficiency-megaloblastic anemia due to methylenetetrahydrofolate dehydrogenase 1 deficiency . -SPTB chr14 64746283 64880019 AR Orphanet Hereditary elliptocytosis; and 1 other . -GPHN chr14 66507407 67181806 AR Orphanet Hereditary hyperekplexia; and 1 other . -PALS1 chr14 67240713 67336061 AR Orphanet Non-specific syndromic intellectual disability . -RDH11 chr14 67676792 67695793 AR Orphanet Retinitis pigmentosa-juvenile cataract-short stature-intellectual disability syndrome . -RDH12 chr14 67701886 67734451 AR Orphanet Leber congenital amaurosis; and 1 other . -ZFYVE26 chr14 67727374 67816590 AR Orphanet Kjellin syndrome . -SLC10A1 chr14 69768055 69797665 AR Orphanet Familial hypercholanemia . -SMOC1 chr14 69854131 70092752 AR Orphanet Microphthalmia with limb anomalies . -COX16 chr14 70325081 70416984 AR Orphanet Isolated cytochrome C oxidase deficiency . -PSEN1 chr14 73136418 73223691 AR Orphanet Familial isolated dilated cardiomyopathy . -DNAL1 chr14 73644875 73703732 AR Orphanet Primary ciliary dyskinesia . -COQ6 chr14 73949926 73963670 AR Orphanet Familial steroid-resistant nephrotic syndrome with sensorineural deafness . -ALDH6A1 chr14 74055997 74084492 AR Orphanet Developmental delay due to methylmalonate semialdehyde dehydrogenase deficiency . -VSX2 chr14 74239449 74262738 AR Orphanet Isolated colobomatous microphthalmia . -ABCD4 chr14 74285269 74303068 AR Orphanet Methylmalonic acidemia with homocystinuria, type cblJ . -NPC2 chr14 74427119 74494177 AR Orphanet Niemann-Pick disease type C, adult neurologic onset; and 4 others . -ISCA2 chr14 74493721 74499758 AR Orphanet Multiple mitochondrial dysfunctions syndrome type 4 . -LTBP2 chr14 74498163 74612378 AR Orphanet Congenital glaucoma; and 2 others . -EIF2B2 chr14 75002889 75013117 AR Orphanet Congenital or early infantile CACH syndrome; and 4 others . -NEK9 chr14 75079353 75127344 AR Orphanet NEK9-related lethal skeletal dysplasia . -FLVCR2 chr14 75578591 75663214 AR Orphanet Fowler vasculopathy . -TTLL5 chr14 75633625 75955084 AR Orphanet Cone rod dystrophy . -IFT43 chr14 75902136 76084611 AR Orphanet Cranioectodermal dysplasia; and 1 other . -TGFB3 chr14 75958066 75983026 AR Orphanet Loeys-Dietz syndrome . -ESRRB chr14 76310712 76501837 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -TMEM63C chr14 77116568 77259498 AR Orphanet Autosomal recessive spastic paraplegia type 87 . -POMT2 chr14 77274956 77320898 AR Orphanet Congenital muscular dystrophy with cerebellar involvement; and 4 others . -VIPAS39 chr14 77426674 77457952 AR Orphanet Arthrogryposis-renal dysfunction-cholestasis syndrome . -SPTLC2 chr14 77505997 77616781 AR Orphanet Juvenile amyotrophic lateral sclerosis . -TSHR chr14 80954989 81146306 AR Orphanet Hypothyroidism due to TSH receptor mutations . -GALC chr14 87837820 87993665 AR Orphanet Adult Krabbe disease; and 2 others . -SPATA7 chr14 88384924 88472529 AR Orphanet Leber congenital amaurosis; and 2 others . -ZC3H14 chr14 88562948 88627596 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -TTC8 chr14 88824153 88881079 AR Orphanet Bardet-Biedl syndrome; and 1 other . -TDP1 chr14 89954939 90044820 AR Orphanet Spinocerebellar ataxia with axonal neuropathy type 1 . -GPR68 chr14 91232530 91264777 AR Orphanet Hypomaturation amelogenesis imperfecta . -CCDC88C chr14 91271323 91417890 AR ACMG Congenital hydrocephalus 1 . -FBLN5 chr14 91869410 91948064 AR Orphanet Autosomal recessive cutis laxa type 1 . -TRIP11 chr14 91965991 92040902 AR Orphanet Achondrogenesis type 1A; and 1 other . -SLC24A4 chr14 92322581 92501481 AR Orphanet Hypocalcified amelogenesis imperfecta; and 1 other . -GON7 chr14 93190873 93207139 AR Orphanet Galloway-Mowat syndrome . -UBR7 chr14 93207237 93229226 AR Orphanet Non-specific syndromic intellectual disability . -SERPINA1 chr14 94376745 94391024 AR Orphanet Alpha-1-antitrypsin deficiency . -GSC chr14 94766509 94770128 AR Orphanet Short stature-auditory canal atresia-mandibular hypoplasia-skeletal anomalies syndrome . -GLRX5 chr14 95533503 95544724 AR Orphanet Adult-onset autosomal recessive sideroblastic anemia; and 1 other . -AK7 chr14 96392097 96490031 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -VRK1 chr14 96797304 96954846 AR Orphanet Microcephaly-complex motor and sensory axonal neuropathy syndrome; and 1 other . -EML1 chr14 99737693 99942060 AR Orphanet Subcortical band heterotopia . -WARS1 chr14 100333782 100376805 AR Orphanet Autosomal recessive primary microcephaly; and 1 other . -TECPR2 chr14 102362933 102502477 AR Orphanet Hereditary sensory and autonomic neuropathy due to TECPR2 mutation . -AMN chr14 102922639 102933596 AR Orphanet Imerslund-Gräsbeck syndrome . -BAG5 chr14 103556545 103576759 AR Orphanet Familial isolated dilated cardiomyopathy . -COA8 chr14 103562355 103613948 AR Orphanet Non-progressive predominantly posterior cavitating leukoencephalopathy with peripheral neuropathy . -TDRD9 chr14 103928424 104052682 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -INF2 chr14 104681146 104722535 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -ADSS1 chr14 104724174 104747523 AR Orphanet Adenylosuccinate synthetase-like 1-related distal myopathy . -BRF1 chr14 105209277 105315589 AR Orphanet Cerebellar-facial-dental syndrome . -PACS2 chr14 105300563 105398147 AR Orphanet Non-specific early-onset epileptic encephalopathy . -IGHM chr14 105851705 105856218 AR Orphanet Autosomal non-syndromic agammaglobulinemia . -MAGEL2 chr15 23643549 23647867 AR Orphanet Fetal akinesia deformation sequence . -GABRA5 chr15 26866709 26949208 AR Orphanet Non-specific early-onset epileptic encephalopathy . -OCA2 chr15 27754859 28099664 AR ACMG Oculocutaneous albinism type II . -HERC2 chr15 28111040 28322179 AR Orphanet Developmental delay with autism spectrum disorder and gait instability . -FAN1 chr15 30890559 30946209 AR Orphanet Karyomegalic interstitial nephritis . -TRPM1 chr15 31001065 31161160 AR Orphanet Complete congenital stationary night blindness, Schubert-Bornschein type . -SLC12A6 chr15 34229784 34338060 AR Orphanet Corpus callosum agenesis-neuronopathy syndrome . -NOP10 chr15 34339159 34343180 AR Orphanet Dyskeratosis congenita . -ACTC1 chr15 34790107 34795912 AR Orphanet Familial isolated dilated cardiomyopathy . -CDIN1 chr15 36579611 36810248 AR Orphanet Congenital dyserythropoietic anemia type I . -RASGRP1 chr15 38488103 38565575 AR Orphanet EBV-induced lymphoproliferative disease due to RASGRP1 deficiency . -EIF2AK4 chr15 39934062 40036656 AR Orphanet Heritable pulmonary arterial hypertension; and 2 others . -BUB1B chr15 40160984 40221137 AR Orphanet Mosaic variegated aneuploidy syndrome . -IVD chr15 40405485 40435956 AR Orphanet Isovaleric acidemia . -CHST14 chr15 40470984 40473158 AR Orphanet Musculocontractural Ehlers-Danlos syndrome . -CCDC32 chr15 40519519 40565054 AR Orphanet Non-specific syndromic intellectual disability . -KNL1 chr15 40594002 40664342 AR Orphanet Autosomal recessive primary microcephaly . -RAD51 chr15 40694774 40732344 AR Orphanet Familial congenital mirror movements; and 1 other . -DLL4 chr15 40929333 40939081 AR Orphanet Adams-Oliver syndrome; and 1 other . -INO80 chr15 40978880 41116568 AR Orphanet Hyper-IgM syndrome due to INO80 deficiency . -NDUFAF1 chr15 41387218 41409403 AR Orphanet Isolated complex I deficiency . -MAPKBP1 chr15 41774434 41827855 AR Orphanet Juvenile nephronophthisis; and 1 other . -CAPN3 chr15 42359494 42412949 AR Orphanet Calpain-3-related limb-girdle muscular dystrophy R1 . -CDAN1 chr15 42723544 42737156 AR Orphanet Congenital dyserythropoietic anemia type I . -UBR1 chr15 42942897 43106141 AR Orphanet Johanson-Blizzard syndrome . -EPB42 chr15 43191351 43221053 AR Orphanet Hereditary spherocytosis . -TGM5 chr15 43232590 43266933 AR Orphanet Acral peeling skin syndrome . -TUBGCP4 chr15 43369221 43409771 AR Orphanet Autosomal recessive chorioretinopathy-microcephaly syndrome . -STRC chr15 43597892 43618800 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -SPG11 chr15 44554436 44663688 AR Orphanet Autosomal recessive Charcot-Marie-Tooth disease type 2X; and 2 others . -PATL2 chr15 44665723 44711384 AR Orphanet Female infertility due to oocyte meiotic arrest . -B2M chr15 44711253 44718851 AR Orphanet Immunodeficiency by defective expression of MHC class I . -TERB2 chr15 44956687 44979229 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -SORD chr15 45023116 45077185 AR Orphanet Distal muscle weakness-foot deformity-elevated sorbitol level-hereditary motor neuropathy; and 1 other . -DUOX2 chr15 45092650 45114185 AR Orphanet Familial thyroid dyshormonogenesis; and 1 other . -DUOXA2 chr15 45114325 45118421 AR Orphanet Familial thyroid dyshormonogenesis . -GATM chr15 45333479 45402327 AR Orphanet L-Arginine:glycine amidinotransferase deficiency; and 1 other . -AFG2B chr15 45402325 45421415 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . -BLOC1S6 chr15 45587108 45615945 AR Orphanet Hermansky-Pudlak syndrome due to BLOC-1 deficiency . -SLC24A5 chr15 48120990 48142698 AR Orphanet Oculocutaneous albinism type 6 . -SLC12A1 chr15 48178392 48304078 AR Orphanet Bartter syndrome type 1 . -DUT chr15 48331011 48343373 AR Orphanet Bone marrow failure-diabetes mellitus syndrome . -FBN1 chr15 48408016 48645791 AR Orphanet Geleophysic dysplasia; and 2 others . -CEP152 chr15 48712928 48811146 AR Orphanet Autosomal recessive primary microcephaly; and 1 other . -USP8 chr15 50423584 50514421 AR Orphanet Autosomal recessive spastic paraplegia type 59 . -AP4E1 chr15 50908668 51005899 AR Orphanet Severe intellectual disability and progressive spastic paraplegia . -CYP19A1 chr15 51208057 51338606 AR Orphanet Aromatase deficiency . -GLDN chr15 51341498 51408005 AR Orphanet Fetal akinesia deformation sequence . -DMXL2 chr15 51447711 51622981 AR Orphanet Early infantile developmental and epileptic encephalopathy; and 1 other . -GNB5 chr15 52115100 52191392 AR Orphanet GNB5-related intellectual disability-cardiac arrhythmia syndrome . -MYO5A chr15 52307281 52529248 AR Orphanet Griscelli syndrome type 1; and 2 others . -WDR72 chr15 53513741 53762878 AR Orphanet Autosomal recessive distal renal tubular acidosis; and 1 other . -RAB27A chr15 55202966 55319174 AR Orphanet Griscelli syndrome type 2 . -DNAAF4 chr15 55410525 55508234 AR Orphanet Primary ciliary dyskinesia . -LIPC chr15 58410380 58570449 AR Orphanet Hyperlipidemia due to hepatic triacylglycerol lipase deficiency . -MYO1E chr15 59132409 59373121 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -RORA chr15 60488284 61229302 AR Orphanet Non-specific syndromic intellectual disability . -VPS13C chr15 61852389 62060482 AR Orphanet Young-onset Parkinson disease . -TPM1 chr15 63042130 63071915 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . -CA12 chr15 63321378 63382252 AR Orphanet Isolated hyperchlorhidrosis . -HERC1 chr15 63608618 63833997 AR Orphanet Megalencephaly-severe kyphoscoliosis-overgrowth syndrome . -PPIB chr15 64155740 64163159 AR Orphanet Osteogenesis imperfecta type 2; and 2 others . -TRIP4 chr15 64387748 64458653 AR Orphanet Congenital muscular dystrophy-respiratory failure-skin abnormalities-joint hyperlaxity syndrome; and 1 other . -SPG21 chr15 64954566 64990312 AR Orphanet Autosomal recessive spastic paraplegia type 21 . -MTFMT chr15 64990829 65029652 AR Orphanet Combined oxidative phosphorylation defect type 15 . -UBAP1L chr15 65091766 65115200 AR Orphanet Cone rod dystrophy . -SMAD3 chr15 67063763 67195173 AR Orphanet Loeys-Dietz syndrome . -RNU6-1 chr15 67839939 67840045 AR Orphanet Retinitis pigmentosa . -CLN6 chr15 68206977 68257211 AR Orphanet Adult CLN6 disease; and 2 others . -KIF23 chr15 69414246 69448427 AR Orphanet Congenital dyserythropoietic anemia type III . -NR2E3 chr15 71792638 71818259 AR Orphanet Goldmann-Favre syndrome; and 1 other . -MYO9A chr15 71822291 72118577 AR Orphanet Congenital myasthenic syndrome due to defective axonal transport . -HEXA chr15 72340919 72376420 AR ACMG,ACOG Tay-Sachs disease pseudodeficiency chr15:72350584:G:A c.739C>T p.Arg247Trp; pseudodeficiency chr15:72350578:G:A c.745C>T p.Arg249Trp -BBS4 chr15 72686181 72742006 AR Orphanet Bardet-Biedl syndrome . -HCN4 chr15 73319859 73368958 AR Orphanet Hereditary sick sinus syndrome . -STRA6 chr15 74179466 74212267 AR Orphanet Isolated colobomatous microphthalmia; and 1 other . -CYP11A1 chr15 74337746 74367884 AR ACMG Congenital adrenal insufficiency with 46,XY sex reversal . -EDC3 chr15 74630557 74696292 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -MPI chr15 74890005 74902219 AR Orphanet MPI-CDG . -COX5A chr15 74919594 74939351 AR Orphanet Isolated cytochrome C oxidase deficiency . -MAN2C1 chr15 75355207 75368656 AR Orphanet Non-specific syndromic intellectual disability . -ETFA chr15 76188201 76311730 AR Orphanet Multiple acyl-CoA dehydrogenase deficiency, mild type; and 1 other . -SCAPER chr15 76347904 76905970 AR Orphanet Bardet-Biedl syndrome; and 1 other . -CIB2 chr15 78102300 78131565 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -MTHFS chr15 79833585 79897379 AR Orphanet MTHFS-related developmental delay-microcephaly-short stature-epilepsy syndrome . -FAH chr15 80152292 80186990 AR ACMG Tyrosinemia type I . -ARNT2 chr15 80404099 80597937 AR Orphanet Septo-optic dysplasia spectrum . -MESD chr15 80946289 80989848 AR Orphanet Osteogenesis imperfecta type 2 . -EFL1 chr15 82130206 82262773 AR Orphanet Shwachman-Diamond syndrome . -AP3B2 chr15 82659281 82710112 AR Orphanet Non-specific early-onset epileptic encephalopathy . -BNC1 chr15 83255884 83284664 AR Orphanet 46,XX gonadal dysgenesis . -WDR73 chr15 84639283 84654343 AR Orphanet CAMOS syndrome; and 1 other . -ACAN chr15 88803427 88875353 AR Orphanet Spondyloepimetaphyseal dysplasia, aggrecan type . -RLBP1 chr15 89209869 89222577 AR Orphanet Bothnia retinal dystrophy; and 3 others . -FANCI chr15 89243854 89318091 AR Orphanet Fanconi anemia . -POLG chr15 89305198 89334972 AR ACMG Mitochondrial DNA depletion syndrome 4A and 4B . -KIF7 chr15 89608789 89663098 AR Orphanet Acrocallosal syndrome; and 3 others . -MESP2 chr15 89760591 89778754 AR Orphanet Autosomal recessive spondylocostal dysostosis . -IDH2 chr15 90083045 90102511 AR Orphanet D-2-hydroxyglutaric aciduria . -CIB1 chr15 90229939 90234115 AR Orphanet Inherited epidermodysplasia verruciformis . -BLM chr15 90717340 90816166 AR ACMG,ACOG Bloom syndrome . -VPS33B chr15 90997635 91022614 AR Orphanet Arthrogryposis-renal dysfunction-cholestasis syndrome . -IGF1R chr15 98648539 98964530 AR Orphanet Growth delay due to insulin-like growth factor I resistance . -ADAMTS17 chr15 99971437 100342005 AR Orphanet Weill-Marchesani syndrome . -CERS3 chr15 100400395 100544995 AR Orphanet Congenital ichthyosiform erythroderma . -LINS1 chr15 100559369 100603230 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -ALDH1A3 chr15 100861924 100916760 AR Orphanet Isolated colobomatous microphthalmia; and 1 other . -LRRK1 chr15 100918893 101078257 AR Orphanet Osteosclerotic metaphyseal dysplasia . -CHSY1 chr15 101145640 101252339 AR Orphanet Temtamy preaxial brachydactyly syndrome . -TM2D3 chr15 101555713 101652401 AR Orphanet Severe neurodevelopmental disorder-facial dysmorphism-cerebral-renal-cardiac anomalies syndrome . -HBA2 chr16 172021 173910 AR ACMG,ACOG Alpha-thalassemia . -HBA1 chr16 176660 177527 AR ACMG,ACOG Alpha-thalassemia . -CAPN15 chr16 527698 554636 AR Orphanet Oculogastrointestinal-neurodevelopmental syndrome . -PIGQ chr16 566995 584121 AR Orphanet Early infantile developmental and epileptic encephalopathy . -STUB1 chr16 679980 682870 AR Orphanet Autosomal recessive cerebellar ataxia due to STUB1 deficiency . -LMF1 chr16 853618 981318 AR Orphanet Familial lipase maturation factor 1 deficiency . -GNPTG chr16 1351924 1365737 AR Orphanet Mucolipidosis type III gamma . -PERCC1 chr16 1431078 1434441 AR Orphanet PERCC1-related congenital intractable malabsorptive diarrhea . -CLCN7 chr16 1444934 1475104 AR Orphanet Autosomal recessive malignant osteopetrosis; and 1 other . -TELO2 chr16 1493329 1512551 AR Orphanet TELO2-related intellectual disability-neurodevelopmental disorder . -IFT140 chr16 1510427 1612082 AR Orphanet Jeune syndrome; and 3 others . -MAPK8IP3 chr16 1706166 1770374 AR Orphanet Non-specific syndromic intellectual disability . -IGFALS chr16 1790227 1794971 AR Orphanet Short stature due to primary acid-labile subunit deficiency . -MEIOB chr16 1833986 1884294 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -RPL3L chr16 1943791 1957606 AR Orphanet Familial isolated dilated cardiomyopathy . -NDUFB10 chr16 1959500 1962105 AR Orphanet Isolated complex I deficiency . -GFER chr16 1983699 1987749 AR Orphanet Congenital cataract-progressive muscular hypotonia-hearing loss-developmental delay syndrome . -NTHL1 chr16 2039814 2047866 AR Orphanet NTHL1-related polyposis . -ABCA3 chr16 2275878 2340788 AR ACMG Surfactant metabolism dysfunction, pulmonary 3 . -CCNF chr16 2429394 2458913 AR Orphanet Amyotrophic lateral sclerosis . -TBC1D24 chr16 2475051 2509671 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 6 others . -THOC6 chr16 3022541 3027755 AR Orphanet THOC6-related developmental delay-microcephaly-facial dysmorphism syndrome . -MEFV chr16 3240392 3256954 AR Orphanet Familial Mediterranean fever . -NAA60 chr16 3443623 3486961 AR Orphanet Bilateral striopallidodentate calcinosis . -SLX4 chr16 3579654 3611617 AR Orphanet Fanconi anemia . -DNASE1 chr16 3611678 3680143 AR Orphanet Autosomal systemic lupus erythematosus . -GLIS2 chr16 4314761 4339597 AR Orphanet Juvenile nephronophthisis . -PAM16 chr16 4330378 4355607 AR Orphanet Autosomal recessive spondylometaphyseal dysplasia, Mégarbané type . -ANKS3 chr16 4696500 4734388 AR Orphanet Situs inversus totalis . -SEPTIN12 chr16 4777606 4788398 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -ROGDI chr16 4796962 4802926 AR Orphanet Amelocerebrohypohidrotic syndrome . -ALG1 chr16 5033702 5087379 AR Orphanet ALG1-CDG . -ABAT chr16 8674596 8784575 AR Orphanet Gamma-aminobutyric acid transaminase deficiency . -PMM2 chr16 8788823 8862534 AR ACMG Congenital disorder of glycosylation type Ia . -EMP2 chr16 10528422 10580857 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -CIITA chr16 10866222 10943021 AR Orphanet Immunodeficiency by defective expression of MHC class II . -RMI2 chr16 11249619 11381662 AR Orphanet Intrauterine growth restriction-congenital multiple café-au-lait macules-increased sister chromatid exchange syndrome . -ERCC4 chr16 13920138 13952348 AR Orphanet Cockayne syndrome type 1; and 3 others . -PARN chr16 14435699 14632728 AR Orphanet Dyskeratosis congenita; and 1 other . -NDE1 chr16 15643267 15734691 AR Orphanet Hydranencephaly; and 2 others . -MYH11 chr16 15703135 15858438 AR Orphanet Megacystis-microcolon-intestinal hypoperistalsis syndrome . -ABCC6 chr16 16149565 16223637 AR Orphanet Generalized arterial calcification of infancy; and 1 other . -XYLT1 chr16 17101769 17470977 AR Orphanet Desbuquois syndrome; and 1 other . -ARL6IP1 chr16 18791609 18801572 AR Orphanet Autosomal recessive spastic paraplegia type 61 . -COQ7 chr16 19067564 19082190 AR Orphanet COQ7-related distal hereditary motor neuropathy; and 1 other . -VPS35L chr16 19555240 19706793 AR Orphanet 3C syndrome . -GPRC5B chr16 19856691 19886173 AR Orphanet Megalencephalic leukoencephalopathy with subcortical cysts . -ZP2 chr16 21197450 21214510 AR Orphanet Female infertility due to zona pellucida defect . -OTOA chr16 21663968 21761935 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -UQCRC2 chr16 21952636 21990814 AR Orphanet Isolated complex III deficiency . -SCNN1G chr16 23182677 23216883 AR Orphanet Generalized pseudohypoaldosteronism type 1 . -SCNN1B chr16 23278231 23381299 AR Orphanet Generalized pseudohypoaldosteronism type 1 . -COG7 chr16 23388493 23453210 AR Orphanet COG7-CDG . -PALB2 chr16 23603158 23641342 AR Orphanet Fanconi anemia . -IL21R chr16 27402174 27452050 AR Orphanet Combined immunodeficiency due to IL21R deficiency . -KATNIP chr16 27550133 27780371 AR Orphanet Isolated Joubert syndrome . -CLN3 chr16 28474111 28495575 AR Orphanet Juvenile CLN3 disease; and 1 other . -TUFM chr16 28841618 28846419 AR Orphanet Combined oxidative phosphorylation defect type 4 . -ATP2A1 chr16 28878383 28904511 AR Orphanet Brody myopathy . -CD19 chr16 28931965 28939342 AR Orphanet Common variable immunodeficiency phenotype due to CD19/CD81 deficiency . -LAT chr16 28984808 28990784 AR Orphanet T-B+NK+ severe combined immunodeficiency due to LAT deficiency . -TLCD3B chr16 30024425 30052978 AR Orphanet Cone rod dystrophy . -ALDOA chr16 30064164 30070457 AR Orphanet Glycogen storage disease due to aldolase A deficiency . -TBX6 chr16 30085793 30091933 AR Orphanet Autosomal recessive spondylocostal dysostosis . -CORO1A chr16 30182798 30189085 AR Orphanet T-B+NK+ severe combined immunodeficiency due to CORO1A deficiency . -SRCAP chr16 30698128 30741409 AR Orphanet Non-specific syndromic intellectual disability . -PHKG2 chr16 30748245 30761176 AR Orphanet Glycogen storage disease due to liver phosphorylase kinase deficiency . -SETD1A chr16 30957294 30984664 AR Orphanet Non-specific syndromic intellectual disability . -HSD3B7 chr16 30985029 30989154 AR Orphanet Congenital bile acid synthesis defect type 1 . -VKORC1 chr16 31090260 31095980 AR Orphanet Hereditary combined deficiency of vitamin K-dependent clotting factors . -BCKDK chr16 31106107 31113464 AR Orphanet Autism-epilepsy syndrome due to branched chain ketoacid dehydrogenase kinase deficiency . -KAT8 chr16 31114489 31131396 AR Orphanet Non-specific syndromic intellectual disability . -FUS chr16 31180131 31196963 AR Orphanet Amyotrophic lateral sclerosis; and 1 other . -COX6A2 chr16 31427731 31428433 AR Orphanet Isolated cytochrome C oxidase deficiency . -SLC5A2 chr16 31483002 31490860 AR Orphanet Familial renal glucosuria . -ORC6 chr16 46689301 46698399 AR Orphanet Ear-patella-short stature syndrome . -GPT2 chr16 46882857 46931299 AR Orphanet Postnatal microcephaly-infantile hypotonia-spastic diplegia-dysarthria-intellectual disability syndrome . -PHKB chr16 47461123 47701524 AR Orphanet Glycogen storage disease due to liver and muscle phosphorylase kinase deficiency . -SIAH1 chr16 48356364 48448402 AR Orphanet Non-specific syndromic intellectual disability . -ZNF423 chr16 49487524 49857919 AR Orphanet Infantile nephronophthisis; and 1 other . -RPGRIP1L chr16 53598153 53703938 AR Orphanet Joubert syndrome with hepatic defect; and 2 others . -FTO chr16 53701692 54158512 AR Orphanet Lethal polymalformative syndrome, Boissel type . -IRX5 chr16 54930779 54934485 AR Orphanet Facial dysmorphism-ocular anomalies-osteopenia-intellectual disability-dental anomalies syndrome . -MMP2 chr16 55389700 55508058 AR Orphanet Multicentric osteolysis-nodulosis-arthropathy spectrum . -GNAO1 chr16 56189660 56357444 AR Orphanet Early infantile developmental and epileptic encephalopathy . -BBS2 chr16 56465640 56582667 AR ACMG Bardet-Biedl syndrome 2 . -NUP93 chr16 56730095 56850286 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -SLC12A3 chr16 56865203 56915850 AR Orphanet Gitelman syndrome . -RSPRY1 chr16 57186137 57242505 AR Orphanet Progressive spondyloepimetaphyseal dysplasia-short stature-short fourth metatarsals-intellectual disability syndrome . -ARL2BP chr16 57245098 57259830 AR Orphanet Retinitis pigmentosa . -COQ9 chr16 57447425 57461275 AR Orphanet Encephalopathy-hypertrophic cardiomyopathy-renal tubular disease syndrome . -ADGRG1 chr16 57610652 57665580 AR Orphanet Bilateral frontoparietal polymicrogyria; and 1 other . -KATNB1 chr16 57735669 57758271 AR Orphanet Lissencephaly syndrome, Norman-Roberts type . -CNGB1 chr16 57881892 57971128 AR Orphanet Retinitis pigmentosa . -USB1 chr16 57999546 58021618 AR Orphanet Dyskeratosis congenita; and 1 other . -CFAP20 chr16 58113167 58129429 AR Orphanet Retinitis pigmentosa . -CNOT1 chr16 58518546 58629885 AR Orphanet Non-specific syndromic intellectual disability . -CDH11 chr16 64943753 65126112 AR Orphanet Branchioskeletogenital syndrome . -TK2 chr16 66508003 66552544 AR Orphanet Autosomal recessive progressive external ophthalmoplegia; and 3 others . -TERB1 chr16 66754640 66801620 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -HSF4 chr16 67164681 67169945 AR Orphanet Total early-onset cataract . -HSD11B2 chr16 67430652 67437553 AR Orphanet Apparent mineralocorticoid excess . -CARMIL2 chr16 67644988 67657569 AR Orphanet EBV-induced lymphoproliferative disease due to CARMIL2 deficiency . -ACD chr16 67657512 67660810 AR Orphanet Dyskeratosis congenita; and 1 other . -PSMB10 chr16 67934504 67936865 AR Orphanet Omenn syndrome . -LCAT chr16 67939150 67944681 AR Orphanet Familial LCAT deficiency; and 1 other . -PRMT7 chr16 68310916 68360852 AR Orphanet Short stature-brachydactyly-obesity-global developmental delay syndrome . -CDH3 chr16 68636189 68727468 AR Orphanet EEM syndrome; and 1 other . -UTP4 chr16 69131291 69231130 AR Orphanet Hereditary North American Indian childhood cirrhosis . -COG8 chr16 69320140 69339920 AR Orphanet COG8-CDG . -AARS1 chr16 70251983 70289707 AR Orphanet Non-specific early-onset epileptic encephalopathy; and 1 other . -COG4 chr16 70480567 70523582 AR Orphanet COG4-CDG; and 1 other . -MTSS2 chr16 70661204 70686086 AR Orphanet Non-specific syndromic intellectual disability . -VAC14 chr16 70687436 70801178 AR Orphanet Childhood-onset basal ganglia degeneration syndrome; and 1 other . -HYDIN chr16 70802084 71230735 AR Orphanet Primary ciliary dyskinesia . -TAT chr16 71565660 71577096 AR Orphanet Tyrosinemia type 2 . -AP1G1 chr16 71729000 71809201 AR Orphanet Non-specific syndromic intellectual disability . -DHODH chr16 72008588 72027664 AR Orphanet Postaxial acrofacial dysostosis . -DHX38 chr16 72093613 72112912 AR Orphanet Retinitis pigmentosa . -PMFBP1 chr16 72111574 72176878 AR Orphanet Male infertility due to acephalic spermatozoa . -RFWD3 chr16 74621393 74666912 AR Orphanet Fanconi anemia . -FA2H chr16 74712955 74774837 AR Orphanet Autosomal recessive spastic paraplegia type 35; and 1 other . -CHST6 chr16 75472052 75495478 AR Orphanet Macular corneal dystrophy . -TMEM231 chr16 75536573 75556289 AR Orphanet Joubert syndrome with oculorenal defect; and 2 others . -KARS1 chr16 75624160 75648663 AR Orphanet Adult-onset progressive leukoencephalopathy-early-onset deafness; and 3 others . -ADAMTS18 chr16 77247813 77435034 AR Orphanet Microcornea-myopic chorioretinal atrophy-telecanthus syndrome . -WWOX chr16 78099400 79212667 AR Orphanet 46,XY partial gonadal dysgenesis; and 2 others . -MAF chr16 79583128 79600737 AR Orphanet Aymé-Gripp syndrome; and 2 others . -GCSH chr16 81078232 81096426 AR Orphanet Infantile glycine encephalopathy; and 1 other . -GAN chr16 81314932 81390884 AR Orphanet Giant axonal neuropathy . -MLYCD chr16 83899057 83951445 AR Orphanet Malonic aciduria . -SLC38A8 chr16 84009558 84043143 AR Orphanet Foveal hypoplasia-optic nerve decussation defect-anterior segment dysgenesis syndrome . -DNAAF1 chr16 84145261 84178769 AR Orphanet Primary ciliary dyskinesia . -COX4I1 chr16 85798633 85810195 AR Orphanet Isolated cytochrome C oxidase deficiency . -FBXO31 chr16 87326987 87392142 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -CA5A chr16 87881546 87936603 AR Orphanet Hyperammonemic encephalopathy due to carbonic anhydrase VA deficiency . -ZNF469 chr16 88382959 88440757 AR Orphanet Brittle cornea syndrome . -CYBA chr16 88643275 88651083 AR Orphanet Chronic granulomatous disease . -PIEZO1 chr16 88715338 88785251 AR Orphanet PIEZO1-related generalized lymphatic dysplasia with non-immune hydrops fetalis . -CDT1 chr16 88803777 88809258 AR Orphanet Ear-patella-short stature syndrome . -APRT chr16 88808323 88811970 AR Orphanet Adenine phosphoribosyltransferase deficiency . -GALNS chr16 88813733 88857832 AR Orphanet Mucopolysaccharidosis type 4A . -ACSF3 chr16 89088375 89164121 AR Orphanet Combined malonic and methylmalonic acidemia . -SPG7 chr16 89490719 89557768 AR Orphanet Primary lateral sclerosis; and 1 other . -CHMP1A chr16 89640816 89657738 AR Orphanet Pontocerebellar hypoplasia type 8 . -CDK10 chr16 89680737 89696372 AR Orphanet Developmental delay-cervical spine anomalies-facial dysmorphism-intellectual disability syndrome . -FANCA chr16 89726683 89816977 AR Orphanet Fanconi anemia . -TUBB3 chr16 89921392 89938761 AR Orphanet Congenital fibrosis of extraocular muscles . -DRC4 chr16 90019629 90045369 AR Orphanet Primary ciliary dyskinesia . -VPS53 chr17 508503 721717 AR Orphanet Progressive cerebello-cerebral atrophy . -NXN chr17 799310 979816 AR Orphanet Autosomal recessive Robinow syndrome . -BHLHA9 chr17 1270444 1271815 AR Orphanet Mesoaxial synostotic syndactyly with phalangeal reduction . -INPP5K chr17 1494571 1516759 AR Orphanet Congenital muscular dystrophy-cataract-intellectual disability syndrome . -PRPF8 chr17 1650624 1684909 AR Orphanet Non-specific syndromic intellectual disability; and 1 other . -WDR81 chr17 1716523 1738599 AR Orphanet Congenital communicating hydrocephalus; and 2 others . -SERPINF2 chr17 1742069 1755271 AR Orphanet Congenital alpha2-antiplasmin deficiency . -SERPINF1 chr17 1761958 1777627 AR Orphanet Osteogenesis imperfecta type 3; and 1 other . -DPH1 chr17 2030136 2043898 AR Orphanet Craniofacial dysplasia-short stature-ectodermal anomalies-intellectual disability syndrome . -ASPA chr17 3472374 3503405 AR ACMG,ACOG Canavan disease . -SHPK chr17 3607433 3636637 AR Orphanet Isolated sedoheptulokinase deficiency . -CTNS chr17 3636446 3663103 AR Orphanet Infantile nephropathic cystinosis; and 2 others . -ANKFY1 chr17 4163821 4263995 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -ZMYND15 chr17 4739108 4746119 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -CHRNE chr17 4897769 4934438 AR ACMG Congenital myasthenic syndrome 4 . -GP1BA chr17 4932261 4935023 AR Orphanet Bernard-Soulier syndrome . -PFN1 chr17 4945652 4950517 AR Orphanet Amyotrophic lateral sclerosis . -ENO3 chr17 4948034 4957132 AR Orphanet Glycogen storage disease due to muscle beta-enolase deficiency . -KIF1C chr17 4997629 5028401 AR Orphanet Autosomal spastic paraplegia type 58 . -NUP88 chr17 5359641 5420164 AR Orphanet Fetal akinesia deformation sequence . -AIPL1 chr17 6393693 6435199 AR Orphanet Leber congenital amaurosis . -PITPNM3 chr17 6451263 6556567 AR Orphanet Cone rod dystrophy . -KIAA0753 chr17 6578031 6640741 AR Orphanet Isolated Joubert syndrome; and 2 others . -SLC13A5 chr17 6684715 6713377 AR Orphanet Amelocerebrohypohidrotic syndrome; and 1 other . -DLG4 chr17 7187187 7219836 AR Orphanet Non-specific syndromic intellectual disability . -ACADVL chr17 7217125 7225273 AR ACMG Very long-chain acyl-CoA dehydrogenase deficiency . -EIF5A chr17 7306944 7312506 AR Orphanet Non-specific syndromic intellectual disability . -CHRNB1 chr17 7445004 7457710 AR Orphanet Congenital myasthenic syndrome with primary acetylcholine receptor deficiency; and 2 others . -MPDU1 chr17 7583214 7594419 AR Orphanet MPDU1-CDG . -WRAP53 chr17 7686071 7703505 AR Orphanet Dyskeratosis congenita . -KDM6B chr17 7834193 7854808 AR Orphanet Non-specific syndromic intellectual disability . -GUCY2D chr17 8002615 8020342 AR Orphanet Cone rod dystrophy; and 1 other . -ALOX12B chr17 8068594 8087716 AR Orphanet Congenital ichthyosiform erythroderma; and 2 others . -ALOXE3 chr17 8095900 8119047 AR Orphanet Congenital ichthyosiform erythroderma; and 2 others . -HES7 chr17 8120592 8124114 AR Orphanet Autosomal recessive spondylocostal dysostosis . -TMEM107 chr17 8172440 8176408 AR Orphanet Meckel syndrome . -SNORD118 chr17 8173452 8173588 AR Orphanet Leukoencephalopathy with calcifications and cysts . -CTC1 chr17 8224815 8248075 AR Orphanet Coats plus syndrome; and 1 other . -PFAS chr17 8247618 8271150 AR Orphanet Phosphoribosylformylglycinamidine synthase deficiency . -PIK3R5 chr17 8878911 8966008 AR Orphanet Spinocerebellar ataxia with axonal neuropathy type 2 . -NTN1 chr17 9003080 9244000 AR Orphanet Familial congenital mirror movements . -CFAP52 chr17 9576627 9643455 AR Orphanet Situs inversus totalis . -MYH2 chr17 10521147 10549700 AR Orphanet Childhood-onset autosomal recessive myopathy with external ophthalmoplegia . -MYH3 chr17 10628526 10657309 AR Orphanet Autosomal recessive multiple pterygium syndrome; and 2 others . -SCO1 chr17 10672474 10698375 AR Orphanet Fatal infantile cytochrome C oxidase deficiency . -DNAH9 chr17 11598457 11969748 AR Orphanet Primary ciliary dyskinesia; and 1 other . -ELAC2 chr17 12991268 13018065 AR Orphanet Combined oxidative phosphorylation defect type 17 . -COX10 chr17 14069490 14231736 AR Orphanet Isolated cytochrome C oxidase deficiency . -PMP22 chr17 15176316 15272292 AR Orphanet Dejerine-Sottas syndrome . -TEKT3 chr17 15303811 15341632 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -ZSWIM7 chr17 15976219 15999717 AR Orphanet 46,XX gonadal dysgenesis; and 1 other . -TTC19 chr17 15999386 16068416 AR Orphanet Isolated complex III deficiency . -PIGL chr17 16217181 16351797 AR Orphanet CHIME syndrome; and 1 other . -TNFRSF13B chr17 16929816 16972118 AR Orphanet Common variable immunodeficiency phenotype due to homozygous TACI deficiency . -SREBF1 chr17 17810399 17837035 AR Orphanet Hirschsprung disease . -ATPAF2 chr17 17977409 18040833 AR Orphanet Isolated ATP synthase deficiency . -MYO15A chr17 18108756 18179802 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -TOP3A chr17 18271428 18315025 AR Orphanet Autosomal recessive progressive external ophthalmoplegia; and 1 other . -GRAP chr17 19020656 19047143 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -B9D1 chr17 19334308 19378193 AR Orphanet Isolated Joubert syndrome; and 1 other . -ALDH3A2 chr17 19647291 19685881 AR Orphanet Sjögren-Larsson syndrome . -VMA12 chr17 28357636 28363683 AR Orphanet TMEM199-CDG . -SLC46A1 chr17 28394642 28407197 AR Orphanet Hereditary folate malabsorption . -FOXN1 chr17 28506243 28538900 AR Orphanet T-B+NK+ severe combined immunodeficiency due to FOXN1 deficiency . -UNC119 chr17 28546705 28552655 AR Orphanet Cone rod dystrophy . -NEK8 chr17 28725897 28743455 AR Orphanet Infantile nephronophthisis; and 1 other . -ERAL1 chr17 28854983 28861067 AR Orphanet Perrault syndrome type 1; and 1 other . -CRYBA1 chr17 29246859 29254494 AR Orphanet Early-onset nuclear cataract . -TEFM chr17 30897336 30906762 AR Orphanet Congenital myasthenic syndrome with mitochondrial defect . -TMEM98 chr17 32917424 32945259 AR Orphanet Isolated complete colobomatous microphthalmia . -TMEM132E chr17 34579487 34639318 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -LIG3 chr17 34980462 35009743 AR Orphanet Mitochondrial neurogastrointestinal encephalomyopathy . -UNC45B chr17 35146495 35189346 AR Orphanet Early-onset nuclear cataract; and 1 other . -PEX12 chr17 35574795 35578863 AR Orphanet Infantile Refsum disease; and 2 others . -GAS2L2 chr17 35744511 35753260 AR Orphanet Primary ciliary dyskinesia . -ZNHIT3 chr17 36486629 36499310 AR Orphanet PEHO syndrome . -PIGW chr17 36534981 36542354 AR Orphanet Hypercoagulability syndrome due to glycosylphosphatidylinositol deficiency; and 1 other . -GPR179 chr17 38324571 38343956 AR Orphanet Complete congenital stationary night blindness, Schubert-Bornschein type . -NEUROD2 chr17 39603536 39609777 AR Orphanet Early infantile developmental and epileptic encephalopathy . -TCAP chr17 39664990 39666554 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . -PGAP3 chr17 39671120 39696797 AR Orphanet Hyperphosphatasia-intellectual disability syndrome . -ERBB2 chr17 39687914 39730426 AR Orphanet Hirschsprung disease . -IKZF3 chr17 39757715 39864368 AR Orphanet Combined immunodeficiency-lymphopenia-cancer predisposing syndrome due to AIOLOS deficiency; and 1 other . -CDC6 chr17 40287831 40304657 AR Orphanet Ear-patella-short stature syndrome . -KRT25 chr17 40748021 40755331 AR Orphanet Woolly hair . -KRT10 chr17 40817784 40822614 AR Orphanet Autosomal recessive epidermolytic ichthyosis . -KRT14 chr17 41582279 41586896 AR Orphanet Autosomal recessive generalized epidermolysis bullosa simplex . -KRT16 chr17 41609778 41615899 AR Orphanet Pachyonychia congenita . -KRT17 chr17 41619437 41624842 AR Orphanet Pachyonychia congenita . -JUP chr17 41750887 41797798 AR Orphanet Lethal acantholytic erosive disorder; and 1 other . -FKBP10 chr17 41812079 41823221 AR Orphanet Bruck syndrome; and 3 others . -KLHL10 chr17 41835685 41848384 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -ODAD4 chr17 41930599 41966503 AR Orphanet Primary ciliary dyskinesia . -STAT5B chr17 42199176 42288633 AR Orphanet Laron syndrome with immunodeficiency . -STAT3 chr17 42313322 42388574 AR Orphanet Isolated permanent neonatal diabetes mellitus . -CAVIN1 chr17 42402449 42423322 AR Orphanet Congenital generalized lipodystrophy type 4 . -ATP6V0A1 chr17 42458823 42522582 AR Orphanet Non-specific syndromic intellectual disability . -NAGLU chr17 42536216 42544449 AR Orphanet Sanfilippo syndrome type B . -COASY chr17 42561467 42566277 AR Orphanet COASY protein-associated neurodegeneration; and 1 other . -PSMC3IP chr17 42572310 42577831 AR Orphanet 46,XX gonadal dysgenesis . -CNTNAP1 chr17 42682368 42699993 AR Orphanet Hypomyelination neuropathy-arthrogryposis syndrome . -COA3 chr17 42793154 42798719 AR Orphanet Isolated cytochrome C oxidase deficiency . -G6PC1 chr17 42900722 42923502 AR ACMG,ACOG Glycogen storage disease type Ia . -BRCA1 chr17 43044292 43170245 AR Orphanet Fanconi anemia . -MEOX1 chr17 43640072 43661929 AR Orphanet Isolated Klippel-Feil syndrome . -SOST chr17 43753738 43758791 AR Orphanet Craniodiaphyseal dysplasia; and 2 others . -NAGS chr17 44004581 44011213 AR Orphanet Hyperammonemia due to N-acetylglutamate synthase deficiency . -G6PC3 chr17 44070620 44094678 AR Orphanet Severe congenital neutropenia due to G6PC3 deficiency . -SLC4A1 chr17 44248390 44268162 AR Orphanet Hereditary spherocytosis . -ITGA2B chr17 44372177 44389649 AR Orphanet Glanzmann thrombasthenia . -DNAAF19 chr17 44889234 44905390 AR Orphanet Primary ciliary dyskinesia . -MAP3K14 chr17 45263119 45317112 AR Orphanet NIK deficiency . -PLEKHM1 chr17 45435900 45490986 AR Orphanet Intermediate osteopetrosis . -WNT3 chr17 46762493 46833154 AR Orphanet Tetraamelia-multiple malformations syndrome . -WNT9B chr17 46833201 46886730 AR Orphanet Renal agenesis, bilateral . -GOSR2 chr17 46923075 46975524 AR Orphanet Progressive myoclonic epilepsy type 6 . -ITGB3 chr17 47253649 47323218 AR Orphanet Glanzmann thrombasthenia . -SP6 chr17 47844908 47855874 AR Orphanet Hypoplastic amelogenesis imperfecta . -PNPO chr17 47941506 47964354 AR Orphanet Pyridoxamine-5-phosphate deficiency-developmental and epileptic encephalopathy . -HOXB1 chr17 48528526 48531011 AR Orphanet Congenital hereditary facial paralysis-variable hearing loss syndrome . -ITGA3 chr17 50055968 50090933 AR Orphanet Interstitial lung disease-nephrotic syndrome-epidermolysis bullosa syndrome . -SGCA chr17 50164214 50175935 AR Orphanet Alpha-sarcoglycan-related limb-girdle muscular dystrophy R3 . -COL1A1 chr17 50184101 50201704 AR Orphanet Osteogenesis imperfecta type 2; and 2 others . -XYLT2 chr17 50346080 50363138 AR Orphanet Spondylo-ocular syndrome . -DGKE chr17 56833170 56869567 AR Orphanet Hemolytic uremic syndrome with DGKE deficiency . -VEZF1 chr17 57971547 57988389 AR Orphanet Familial isolated dilated cardiomyopathy . -MKS1 chr17 58205350 58219605 AR Orphanet Bardet-Biedl syndrome; and 3 others . -MPO chr17 58269855 58280935 AR Orphanet Myeloperoxidase deficiency . -TSPOAP1 chr17 58301228 58328823 AR Orphanet Autosomal recessive dopa-responsive dystonia . -SEPTIN4 chr17 58519969 58544368 AR Orphanet Male infertility due to globozoospermia . -TEX14 chr17 58556678 58692055 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -RAD51C chr17 58692569 58735611 AR Orphanet Fanconi anemia . -TRIM37 chr17 58982633 59106921 AR Orphanet Mulibrey nanism . -CLTC chr17 59619606 59696956 AR Orphanet Non-specific early-onset epileptic encephalopathy . -PTRH2 chr17 59674636 59707638 AR Orphanet Infantile multisystem neurologic-endocrine-pancreatic disease . -BCAS3 chr17 60677453 61392838 AR Orphanet Global developmental delay-intellectual disability-microcephaly-short stature-brain iron accumulation syndrome . -TBX4 chr17 61451906 61485110 AR Orphanet Heritable pulmonary arterial hypertension; and 1 other . -BRIP1 chr17 61679139 61863561 AR Orphanet Fanconi anemia . -MED13 chr17 61942546 62065365 AR Orphanet Non-specific syndromic intellectual disability . -TANC2 chr17 62966201 63427703 AR Orphanet Non-specific syndromic intellectual disability . -ACE chr17 63477058 63498380 AR Orphanet Renal tubular dysgenesis of genetic origin . -STRADA chr17 63682336 63742005 AR Orphanet Polyhydramnios-megalencephaly-symptomatic epilepsy syndrome . -SMARCD2 chr17 63832078 63843065 AR Orphanet Recurrent infections due to specific granule deficiency . -GH1 chr17 63917200 63918839 AR Orphanet Isolated growth hormone deficiency type IA; and 2 others . -CD79B chr17 63928738 63932629 AR Orphanet Autosomal non-syndromic agammaglobulinemia . -SCN4A chr17 63938554 63972918 AR Orphanet Congenital myasthenic syndrome due to a sodium channel 1.4 defect . -RGS9 chr17 65100812 65227703 AR Orphanet Bradyopsia . -PSMD12 chr17 67337916 67366675 AR Orphanet Non-specific syndromic intellectual disability . -ARSG chr17 68259170 68422731 AR Orphanet Usher syndrome type 3 . -FAM20A chr17 68535113 68601407 AR Orphanet Enamel-renal syndrome . -SOX9 chr17 72121013 72126416 AR Orphanet 46,XX ovotesticular difference of sex development; and 2 others . -COG1 chr17 73193029 73218530 AR Orphanet COG1-CDG . -DNAI2 chr17 74274230 74314886 AR Orphanet Primary ciliary dyskinesia . -FDXR chr17 74862494 74873039 AR Orphanet Auditory neuropathy-optic atrophy syndrome; and 1 other . -USH1G chr17 74916083 74923256 AR Orphanet Usher syndrome type 1 . -NUP85 chr17 75205482 75235759 AR Orphanet Hereditary steroid-resistant nephrotic syndrome; and 1 other . -MRPS7 chr17 75261662 75270708 AR Orphanet Syndromic sensorineural deafness due to combined oxidative phosphorylation defect . -SLC25A19 chr17 75272012 75289968 AR Orphanet Amish lethal microcephaly; and 1 other . -TMEM94 chr17 75441159 75500452 AR Orphanet TMEM94-associated congenital heart defect-facial dysmorphism-developmental delay syndrome . -TSEN54 chr17 75515944 75524748 AR Orphanet Pontocerebellar hypoplasia type 2; and 1 other . -ITGB4 chr17 75721190 75757821 AR Orphanet Aplasia cutis congenita; and 4 others . -GALK1 chr17 75751470 75765251 AR Orphanet Galactokinase deficiency . -UNC13D chr17 75827032 75845353 AR Orphanet Familial hemophagocytic lymphohistiocytosis . -WBP2 chr17 75845699 75856507 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -ACOX1 chr17 75941507 75979459 AR Orphanet Peroxisomal acyl-CoA oxidase deficiency . -FOXJ1 chr17 76136333 76141256 AR Orphanet Primary ciliary dyskinesia . -PRCD chr17 76527586 76553578 AR Orphanet Retinitis pigmentosa . -METTL23 chr17 76725981 76735416 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -TMC6 chr17 78107397 78132579 AR Orphanet Inherited epidermodysplasia verruciformis . -TMC8 chr17 78130770 78142968 AR Orphanet Inherited epidermodysplasia verruciformis . -DNAH17 chr17 78423697 78577396 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -CANT1 chr17 78991707 79009867 AR Orphanet Desbuquois syndrome; and 1 other . -CBX2 chr17 79778135 79788394 AR Orphanet 46,XY complete gonadal dysgenesis . -CCDC40 chr17 80036000 80100613 AR Orphanet Primary ciliary dyskinesia . -GAA chr17 80101526 80119881 AR ACMG Pompe disease (glycogen storage disease type II) . -EIF4A3 chr17 80132700 80147151 AR Orphanet Richieri Costa-Pereira syndrome . -SGSH chr17 80206716 80220928 AR Orphanet Sanfilippo syndrome type A . -NDUFAF8 chr17 81239305 81241310 AR Orphanet Isolated complex I deficiency . -FSCN2 chr17 81528372 81542415 AR Orphanet Retinitis pigmentosa . -FAAP100 chr17 81539885 81553961 AR Orphanet Fanconi anemia . -PDE6G chr17 81650459 81663112 AR Orphanet Retinitis pigmentosa . -GCGR chr17 81803105 81814023 AR Orphanet GCGR-related hyperglucagonemia . -P4HB chr17 81843158 81860856 AR Orphanet Cole-Carpenter syndrome . -ARHGDIA chr17 81867719 81871378 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -PCYT2 chr17 81900958 81911507 AR Orphanet Autosomal recessive spastic paraplegia type 82 . -PYCR1 chr17 81932378 81942412 AR Orphanet Autosomal recessive cutis laxa type 2B; and 2 others . -RAC3 chr17 82031192 82034218 AR Orphanet Non-specific syndromic intellectual disability . -DCXR chr17 82035136 82037777 AR Orphanet Pentosuria . -CYBC1 chr17 82440351 82450829 AR Orphanet Chronic granulomatous disease . -WDR45B chr17 82614562 82648553 AR Orphanet Global developmental delay-early-onset refractory epilepsy-spastic quadriplegia-microcephaly-cerebral atrophy syndrome . -TBCD chr17 82751845 82945918 AR Orphanet Early-onset progressive diffuse brain atrophy-microcephaly-muscle weakness-optic atrophy syndrome . -TYMS chr18 657127 676613 AR Orphanet Dyskeratosis congenita . -LPIN2 chr18 2885271 3013356 AR Orphanet Majeed syndrome . -LAMA1 chr18 6941742 7117859 AR Orphanet Ataxia-intellectual disability-oculomotor apraxia-cerebellar cysts syndrome . -NDUFV2 chr18 9102433 9134570 AR Orphanet Isolated complex I deficiency; and 1 other . -APCDD1 chr18 10454589 10489949 AR Orphanet Hypotrichosis simplex . -PIEZO2 chr18 10666483 11149591 AR Orphanet Arthrogryposis-oculomotor limitation-electroretinal anomalies syndrome; and 2 others . -AFG3L2 chr18 12328871 12377473 AR Orphanet Early-onset spastic ataxia-myoclonic epilepsy-neuropathy syndrome . -MC2R chr18 13882041 13915707 AR Orphanet Familial glucocorticoid deficiency . -GREB1L chr18 21242200 21526112 AR Orphanet Renal agenesis, bilateral . -MIB1 chr18 21704957 21870953 AR Orphanet Left ventricular noncompaction . -RBBP8 chr18 22798261 23027561 AR Orphanet Jawad syndrome; and 1 other . -NPC1 chr18 23506184 23586969 AR Orphanet Niemann-Pick disease type C, adult neurologic onset; and 4 others . -LAMA3 chr18 23689414 23957475 AR Orphanet Intermediate generalized junctional epidermolysis bullosa; and 2 others . -TAF4B chr18 26226386 26391685 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -AQP4 chr18 26851707 26865820 AR Orphanet Megalencephalic leukoencephalopathy with subcortical cysts . -DSC3 chr18 30989365 31042976 AR Orphanet Hereditary hypotrichosis with recurrent skin vesicles . -DSG1 chr18 31318125 31359246 AR Orphanet Severe dermatitis-multiple allergies-metabolic wasting syndrome . -DSG4 chr18 31376777 31414979 AR Orphanet Hypotrichosis simplex; and 1 other . -DSG2 chr18 31497624 31551351 AR Orphanet Familial isolated dilated cardiomyopathy . -MAPRE2 chr18 34976928 35143470 AR Orphanet Multiple benign circumferential skin creases on limbs . -ELP2 chr18 36129444 36180557 AR Orphanet Developmental delay-spastic diplegia-choreoathetosis-intellectual disability syndrome . -MOCOS chr18 36186894 36272157 AR Orphanet Xanthinuria type II . -EPG5 chr18 45800477 45967346 AR Orphanet Vici syndrome . -ATP5F1A chr18 46080248 46104334 AR Orphanet Isolated ATP synthase deficiency . -LOXHD1 chr18 46476971 46657220 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -IER3IP1 chr18 47152834 47176381 AR Orphanet Primary microcephaly-epilepsy-permanent neonatal diabetes syndrome . -SMAD2 chr18 47808957 47931569 AR Orphanet Loeys-Dietz syndrome . -DYM chr18 49036387 49461347 AR Orphanet Dyggve-Melchior-Clausen disease; and 1 other . -MYO5B chr18 49822789 50195208 AR Orphanet MYO5B-related progressive familial intrahepatic cholestasis; and 2 others . -CFAP53 chr18 50227193 50266541 AR Orphanet Situs inversus totalis . -DCC chr18 52340197 53535899 AR Orphanet Familial congenital mirror movements; and 2 others . -FECH chr18 57544377 57586942 AR Orphanet Autosomal erythropoietic protoporphyria . -NARS1 chr18 57589520 57622213 AR Orphanet Global developmental delay-microcephaly-ataxia-perpipheral demyelinating neuropathy-intellectual disability syndrome . -ATP8B1 chr18 57646426 57803560 AR Orphanet Benign recurrent intrahepatic cholestasis type 1; and 1 other . -NEDD4L chr18 58043980 58401540 AR Orphanet Periventricular nodular heterotopia . -MALT1 chr18 58671426 58754477 AR Orphanet Combined immunodeficiency due to MALT1 deficiency . -RAX chr18 59267035 59274086 AR Orphanet Isolated colobomatous microphthalmia; and 1 other . -LMAN1 chr18 59327823 59359417 AR Orphanet Combined deficiency of factor V and factor VIII . -CCBE1 chr18 59430939 59698154 AR Orphanet Hennekam syndrome . -MC4R chr18 60371062 60372775 AR Orphanet Obesity due to melanocortin 4 receptor deficiency . -PIGN chr18 61905255 62187118 AR Orphanet Fryns syndrome; and 1 other . -TNFRSF11A chr18 62325086 62391288 AR Orphanet Dysosteosclerosis; and 1 other . -KDSR chr18 63327566 63367615 AR Orphanet Erythrokeratodermia variabilis . -VPS4B chr18 63389119 63422521 AR Orphanet Dentin dysplasia type I . -SERPINB7 chr18 63752935 63805376 AR Orphanet Palmoplantar keratoderma, Nagashima type . -SERPINB8 chr18 63970029 64019965 AR Orphanet Exfoliative ichthyosis; and 1 other . -RTTN chr18 70003031 70206097 AR Orphanet Microcephalic cortical malformations-short stature due to RTTN deficiency . -CYB5A chr18 74250846 74292029 AR Orphanet 46,XY difference of sex development due to isolated 17,20-lyase deficiency . -NFATC1 chr18 79395856 79531338 AR Orphanet Combined immunodeficiency due to NFATC1 deficiency . -CTDP1 chr18 79679781 79756608 AR Orphanet Congenital cataracts-facial dysmorphism-neuropathy syndrome . -TXNL4A chr18 79970691 80033949 AR Orphanet Burn-McKeown syndrome . -CFD chr19 859426 869492 AR Orphanet Recurrent Neisseria infections due to factor D deficiency . -RNU6-9 chr19 893484 893590 AR Orphanet Retinitis pigmentosa . -KISS1R chr19 917287 921005 AR Orphanet Normosmic congenital hypogonadotropic hypogonadism . -RNU6-2 chr19 1021522 1021628 AR Orphanet Retinitis pigmentosa . -GPX4 chr19 1103982 1106791 AR Orphanet Spondylometaphyseal dysplasia, Sedaghatian type . -ATP5F1D chr19 1241734 1244828 AR Orphanet Isolated ATP synthase deficiency . -NDUFS7 chr19 1383527 1395590 AR Orphanet Isolated complex I deficiency . -GAMT chr19 1397026 1401731 AR Orphanet Guanidinoacetate methyltransferase deficiency . -APC2 chr19 1446302 1473244 AR Orphanet Sotos syndrome . -REEP6 chr19 1491016 1497928 AR Orphanet Retinitis pigmentosa . -TCF3 chr19 1609291 1652911 AR Orphanet Autosomal non-syndromic agammaglobulinemia . -ADAT3 chr19 1905214 1913448 AR Orphanet Intellectual disability-strabismus syndrome . -AP3D1 chr19 2100982 2164468 AR Orphanet Early-onset severe Hermansky-Pudlak syndrome with hearing loss, due to AP3D1 deficiency . -AMH chr19 2249309 2252073 AR Orphanet Persistent Müllerian duct syndrome . -LMNB2 chr19 2427638 2456992 AR Orphanet Progressive myoclonic epilepsy type 9 . -TLE6 chr19 2977538 2995179 AR Orphanet Female infertility due to oocyte meiotic arrest . -DOHH chr19 3490821 3507203 AR Orphanet Non-specific syndromic intellectual disability . -FZR1 chr19 3506270 3538334 AR Orphanet Non-specific early-onset epileptic encephalopathy . -GIPC3 chr19 3585474 3593541 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -TBXA2R chr19 3594506 3606900 AR Orphanet Bleeding diathesis due to thromboxane A2 receptor variants . -PIP5K1C chr19 3630181 3700506 AR Orphanet Lethal congenital contracture syndrome type 3 . -RAX2 chr19 3769089 3772238 AR Orphanet Cone rod dystrophy . -ATCAY chr19 3879864 3928082 AR Orphanet Cerebellar ataxia, Cayman type . -CREB3L3 chr19 4152949 4173057 AR Orphanet Transient infantile hypertriglyceridemia and hepatosteatosis . -SIRT6 chr19 4174104 4182604 AR Orphanet Lethal brain and heart developmental defects . -UHRF1 chr19 4903080 4962154 AR Orphanet ICF syndrome . -KDM4B chr19 4969106 5153611 AR Orphanet Non-specific syndromic intellectual disability . -MICOS13 chr19 5678414 5680940 AR Orphanet 3-methylglutaconic aciduria type 3 . -LONP1 chr19 5691834 5720572 AR Orphanet CODAS syndrome . -NDUFA11 chr19 5891207 5904006 AR Orphanet Isolated complex I deficiency . -CLPP chr19 6361427 6370242 AR Orphanet Perrault syndrome type 1; and 1 other . -TUBB4A chr19 6494308 6502848 AR Orphanet Hypomyelination with atrophy of basal ganglia and cerebellum . -CD70 chr19 6583183 6604103 AR Orphanet EBV-induced lymphoproliferative disease due to CD70 deficiency . -C3 chr19 6677704 6730562 AR Orphanet Complement component 3 deficiency . -INSR chr19 7112255 7294443 AR Orphanet Donohue syndrome; and 2 others . -ARHGEF18 chr19 7348931 7472485 AR Orphanet Retinitis pigmentosa . -MCOLN1 chr19 7522611 7534009 AR ACMG,ACOG Mucolipidosis type IV . -PNPLA6 chr19 7534004 7561764 AR Orphanet Ataxia-hypogonadism-choroidal dystrophy syndrome; and 4 others . -STXBP2 chr19 7636772 7647875 AR Orphanet Familial hemophagocytic lymphohistiocytosis . -CD320 chr19 8302123 8308379 AR Orphanet Methylmalonic aciduria due to transcobalamin receptor defect . -ADAMTS10 chr19 8580240 8610846 AR Orphanet Weill-Marchesani syndrome . -ACTL9 chr19 8697400 8698795 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . -ZNF699 chr19 9291140 9309838 AR Orphanet Non-specific syndromic intellectual disability . -ANGPTL6 chr19 10092335 10106612 AR Orphanet Familial cerebral saccular aneurysm . -S1PR2 chr19 10221433 10231331 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -TYK2 chr19 10350528 10380608 AR Orphanet Susceptibility to infection due to TYK2 deficiency . -DNM2 chr19 10717967 10834209 AR Orphanet Fetal akinesia-cerebral and retinal hemorrhage syndrome . -LDLR chr19 11089418 11133830 AR Orphanet Homozygous familial hypercholesterolemia . -KANK2 chr19 11164264 11197945 AR Orphanet Hereditary steroid-resistant nephrotic syndrome; and 1 other . -DOCK6 chr19 11199295 11262533 AR Orphanet Adams-Oliver syndrome . -ODAD3 chr19 11420604 11435782 AR Orphanet Primary ciliary dyskinesia . -ACP5 chr19 11574653 11579993 AR Orphanet Spondyloenchondrodysplasia . -MAN2B1 chr19 12643831 12666762 AR Orphanet Alpha-mannosidosis, adult form; and 1 other . -GET3 chr19 12737139 12748325 AR Orphanet Familial isolated dilated cardiomyopathy . -RNASEH2A chr19 12806505 12813644 AR Orphanet Aicardi-Goutières syndrome . -KLF1 chr19 12884405 12887201 AR Orphanet Autosomal recessive KLF1-related severe anemia; and 1 other . -GCDH chr19 12891128 12915261 AR Orphanet Glutaryl-CoA dehydrogenase deficiency . -FARSA chr19 12921138 12934037 AR Orphanet Interstitial lung disease-brain calcification syndrome . -TRMT1 chr19 13104899 13117567 AR Orphanet Non-specific syndromic intellectual disability . -CACNA1A chr19 13206442 13624489 AR Orphanet Non-specific early-onset epileptic encephalopathy . -CC2D1A chr19 13906160 13930884 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -PRKACA chr19 14091688 14118084 AR Orphanet Ellis-Van Creveld syndrome . -ADGRL1 chr19 14147743 14206852 AR Orphanet Non-specific syndromic intellectual disability . -GIPC1 chr19 14477759 14496164 AR Orphanet Oculopharyngodistal myopathy . -TECR chr19 14517085 14565988 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -NOTCH3 chr19 15159038 15201004 AR Orphanet Early-onset leucoencephalopaty-spasticity-stroke-neurodevelopmental disorder; and 1 other . -CYP4F22 chr19 15508477 15552317 AR Orphanet Lamellar ichthyosis . -EPS15L1 chr19 16354591 16472085 AR Orphanet Isolated split hand-split foot malformation . -CPAMD8 chr19 16892951 17026982 AR Orphanet Autosomal recessive anterior segment dysgenesis . -GTPBP3 chr19 17334920 17342735 AR Orphanet Combined oxidative phosphorylation defect type 23 . -PLVAP chr19 17351450 17377356 AR Orphanet Congenital chronic diarrhea with protein-losing enteropathy . -UNC13A chr19 17601327 17688382 AR Orphanet Autosomal recessive congenital myasthenic syndrome due to defective synaptic vesicles exocytosis . -FCHO1 chr19 17747701 17788572 AR Orphanet Combined immunodeficiency due to FCHO1 deficiency . -JAK3 chr19 17824780 17848071 AR Orphanet T-B+NK- severe combined immunodeficiency due to JAK3 deficiency . -SLC5A5 chr19 17871939 17895174 AR Orphanet Familial thyroid dyshormonogenesis . -IL12RB1 chr19 18058995 18098944 AR Orphanet Mendelian susceptibility to mycobacterial diseases due to complete IL12RB1 deficiency . -CRLF1 chr19 18572220 18607741 AR Orphanet Cold-induced sweating syndrome; and 2 others . -UPF1 chr19 18831905 18868232 AR Orphanet Non-specific syndromic intellectual disability . -CERS1 chr19 18868545 18896727 AR Orphanet Progressive myoclonic epilepsy type 8 . -GDF1 chr19 18868545 18896158 AR Orphanet Right isomerism . -RFXANK chr19 19191957 19202844 AR Orphanet Immunodeficiency by defective expression of MHC class II . -UQCRFS1 chr19 29202811 29213151 AR Orphanet Isolated complex III deficiency . -C19orf12 chr19 29691270 29716060 AR Orphanet Autosomal recessive spastic paraplegia type 43; and 1 other . -RGS9BP chr19 32675848 32678300 AR Orphanet Bradyopsia . -PEPD chr19 33386950 33521823 AR Orphanet Prolidase deficiency . -CHST8 chr19 33621942 33773509 AR Orphanet Peeling skin syndrome type A . -GPI chr19 34359480 34402413 AR Orphanet Hemolytic anemia due to glucophosphate isomerase deficiency . -UBA2 chr19 34428352 34471251 AR Orphanet Aplasia cutis congenita . -SCN1B chr19 35030444 35040455 AR Orphanet Early infantile developmental and epileptic encephalopathy . -LGI4 chr19 35124507 35142451 AR Orphanet Hypomyelination neuropathy-arthrogryposis syndrome . -HAMP chr19 35280716 35285146 AR Orphanet HJV or HAMP-related hemochromatosis . -MAG chr19 35291647 35316932 AR Orphanet Autosomal recessive spastic paraplegia type 75 . -TMEM147 chr19 35545600 35547527 AR Orphanet Global developmental delay-intellectual disability-facial dysmorphism-pseudo-Pelger-Huët anomaly syndrome . -ATP4A chr19 35549339 35563658 AR Orphanet Familial gastric type 1 neuroendocrine tumor . -COX6B1 chr19 35648230 35662890 AR Orphanet Isolated cytochrome C oxidase deficiency . -KMT2B chr19 35717973 35738880 AR Orphanet Non-specific syndromic intellectual disability . -NPHS1 chr19 35825372 35869287 AR ACMG Congenital nephrotic syndrome, Finnish type . -TYROBP chr19 35904398 35908318 AR Orphanet Nasu-Hakola disease . -SDHAF1 chr19 35995188 35996312 AR Orphanet Isolated succinate-CoQ reductase deficiency . -SYNE4 chr19 36000545 36008831 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -WDR62 chr19 36054649 36105112 AR Orphanet Autosomal recessive primary microcephaly . -SIPA1L3 chr19 37907200 38208369 AR Orphanet Total early-onset cataract . -SPINT2 chr19 38244035 38292615 AR Orphanet Syndromic congenital sodium diarrhea . -YIF1B chr19 38303558 38317273 AR Orphanet Neurodevelopmental disorder-spasticity-movement disorder-epileptic syndrome . -GGN chr19 38384267 38388274 AR Orphanet Male infertility due to globozoospermia . -RYR1 chr19 38433691 38595273 AR Orphanet Autosomal recessive centronuclear myopathy; and 4 others . -ACTN4 chr19 38647515 38731589 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . -SARS2 chr19 38915265 38930779 AR Orphanet Hyperuricemia-pulmonary hypertension-renal failure-alkalosis syndrome . -TIMM50 chr19 39479795 39493785 AR Orphanet 3-methylglutaconic aciduria type 9 . -DLL3 chr19 39498895 39508481 AR Orphanet Autosomal recessive spondylocostal dysostosis . -PRX chr19 40393764 40415070 AR Orphanet Charcot-Marie-Tooth disease type 4F; and 1 other . -LTBP4 chr19 40592883 40629821 AR Orphanet Cutis laxa with severe pulmonary, gastrointestinal and urinary anomalies . -COQ8B chr19 40691514 40725784 AR Orphanet Hereditary steroid-resistant nephrotic syndrome; and 1 other . -TGFB1 chr19 41288203 41353961 AR Orphanet Infantile inflammatory bowel disease with neurological involvement . -B9D2 chr19 41354417 41364165 AR Orphanet Isolated Joubert syndrome; and 1 other . -EXOSC5 chr19 41367173 41397441 AR Orphanet Neurodevelopmental delay-hypotonia-cerebellar ataxia-cardiac conduction defects syndrome . -BCKDHA chr19 41397792 41425092 AR Orphanet Classic maple syrup urine disease; and 2 others . -CD79A chr19 41877104 41881372 AR Orphanet Autosomal non-syndromic agammaglobulinemia . -ARHGEF1 chr19 41883063 41930150 AR Orphanet Childhood-onset common variable immunodeficiency phenotype due to ARHGEF1 deficiency . -ATP1A3 chr19 41966582 41997497 AR Orphanet Non-specific early-onset epileptic encephalopathy . -ZNF526 chr19 42216774 42231887 AR Orphanet Non-specific syndromic intellectual disability . -MEGF8 chr19 42325518 42378769 AR Orphanet Carpenter syndrome . -LIPE chr19 42401497 42427388 AR Orphanet LIPE-related familial partial lipodystrophy . -ETHE1 chr19 43506713 43527259 AR Orphanet Ethylmalonic encephalopathy . -CEACAM16 chr19 44699151 44710718 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -APOC2 chr19 44936126 44949585 AR Orphanet Familial apolipoprotein C-II deficiency . -RELB chr19 45001431 45038194 AR Orphanet Combined immunodeficiency due to RELB deficiency . -BLOC1S3 chr19 45152811 45216933 AR Orphanet Hermansky-Pudlak syndrome due to BLOC-1 deficiency . -ERCC2 chr19 45349773 45370918 AR ACMG Cerebrooculofacioskeletal syndrome 2; trichothiodystrophy 1 . -ERCC1 chr19 45407333 45479055 AR Orphanet COFS syndrome; and 1 other . -OPA3 chr19 45527767 45602212 AR Orphanet 3-methylglutaconic aciduria type 3 . -NOVA2 chr19 45933734 45974044 AR Orphanet Non-specific syndromic intellectual disability . -CCDC8 chr19 46410329 46413564 AR Orphanet 3M syndrome . -FKRP chr19 46746046 46776988 AR ACMG Muscular dystrophy-dystroglycanopathy type A5 and B5 . -KPTN chr19 47475141 47484265 AR Orphanet Macrocephaly-developmental delay syndrome . -CRX chr19 47819779 47843330 AR Orphanet Cone rod dystrophy; and 2 others . -ODAD1 chr19 48296355 48321971 AR Orphanet Primary ciliary dyskinesia . -GRIN2D chr19 48393668 48444931 AR Orphanet Non-specific early-onset epileptic encephalopathy . -SULT2B1 chr19 48552140 48599425 AR Orphanet Congenital ichthyosiform erythroderma; and 1 other . -FTL chr19 48965275 48967896 AR Orphanet Genetic hyperferritinemia without iron overload; and 1 other . -GYS1 chr19 48968125 48993349 AR Orphanet Glycogen storage disease due to muscle and heart glycogen synthase deficiency . -LHB chr19 49015980 49017091 AR Orphanet Leydig cell hypoplasia due to LHB deficiency . -FUZ chr19 49806866 49817376 AR Orphanet Non-syndromic non-specific multisutural craniosynostosis . -MED25 chr19 49818269 49840384 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . -PNKP chr19 49859882 49878351 AR Orphanet Ataxia-oculomotor apraxia type 4; and 2 others . -NUP62 chr19 49906825 49929926 AR Orphanet Familial infantile bilateral striatal necrosis . -POLD1 chr19 50384204 50418018 AR Orphanet Combined immunodeficiency due to polymerase delta deficiency . -EMC10 chr19 50476400 50510789 AR Orphanet Non-specific syndromic intellectual disability . -ACP4 chr19 50790415 50795219 AR Orphanet Hypoplastic amelogenesis imperfecta . -KLK4 chr19 50906351 50911395 AR Orphanet Hypomaturation amelogenesis imperfecta . -ETFB chr19 51345161 51366449 AR Orphanet Multiple acyl-CoA dehydrogenase deficiency, mild type; and 1 other . -LIM2 chr19 51379909 51388264 AR Orphanet Total early-onset cataract . -FPR1 chr19 51742725 51804115 AR Orphanet Aggressive periodontitis . -PRPF31 chr19 54115410 54131719 AR Orphanet Retinitis pigmentosa . -CNOT3 chr19 54137710 54155708 AR Orphanet Non-specific syndromic intellectual disability . -MBOAT7 chr19 54173412 54189882 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -TSEN34 chr19 54188464 54194538 AR Orphanet Pontocerebellar hypoplasia type 2 . -NLRP7 chr19 54923454 54966312 AR Orphanet Complete hydatidiform mole; and 1 other . -NLRP2 chr19 54953130 55001142 AR Orphanet Female infertility due to oocyte meiotic arrest . -GP6 chr19 55012055 55038264 AR Orphanet Bleeding diathesis due to glycoprotein VI deficiency . -TNNT1 chr19 55131662 55149351 AR Orphanet Amish nemaline myopathy . -TNNI3 chr19 55151763 55157774 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . -DNAAF3 chr19 55158661 55166722 AR Orphanet Primary ciliary dyskinesia . -NLRP5 chr19 55986775 56061810 AR Orphanet Female infertility due to oocyte meiotic arrest . -AURKC chr19 57231002 57235552 AR Orphanet Male infertility due to large-headed multiflagellar polyploid spermatozoa . -RBCK1 chr20 407393 432139 AR Orphanet Autoinflammatory syndrome with pyogenic bacterial infection and amylopectinosis; and 1 other . -TBC1D20 chr20 423596 462566 AR Orphanet Micro syndrome . -CSNK2A1 chr20 472498 543835 AR Orphanet Non-specific syndromic intellectual disability . -SLC52A3 chr20 758695 776015 AR Orphanet RFVT3-related riboflavin transporter deficiency . -RSPO4 chr20 958452 1002510 AR Orphanet Anonychia congenita totalis . -TGM3 chr20 2295994 2341177 AR Orphanet Uncombable hair syndrome . -SNRPB chr20 2461634 2470884 AR Orphanet Cerebrocostomandibular syndrome . -IDH3B chr20 2658393 2664219 AR Orphanet Retinitis pigmentosa . -AVP chr20 3082556 3084724 AR Orphanet Hereditary arginine vasopressin deficiency . -DDRGK1 chr20 3188734 3204700 AR Orphanet Spondyloepimetaphyseal dysplasia, Shohat type . -ITPA chr20 3208868 3227446 AR Orphanet ITPA-related lethal infantile neurological disorder with cataract and cardiac involvement . -SLC4A11 chr20 3227417 3239580 AR Orphanet Congenital hereditary endothelial dystrophy type II; and 1 other . -PANK2 chr20 3888777 3929887 AR Orphanet Atypical pantothenate kinase-associated neurodegeneration; and 1 other . -PCNA chr20 5114953 5127630 AR Orphanet PCNA-related progressive neurodegenerative photosensitivity syndrome . -PROKR2 chr20 5298871 5316959 AR Orphanet Kallmann syndrome; and 2 others . -FERMT1 chr20 6070288 6123644 AR Orphanet Kindler epidermolysis bullosa . -PLCB1 chr20 8077251 8968360 AR Orphanet Epilepsy of infancy with migrating focal seizures; and 1 other . -PLCB4 chr20 9067825 9504605 AR Orphanet Auriculocondylar syndrome . -SNAP25 chr20 10172395 10308258 AR Orphanet Autosomal recessive congenital myasthenic syndrome due to defective synaptic vesicles exocytosis . -MKKS chr20 10401009 10434236 AR Orphanet Bardet-Biedl syndrome; and 1 other . -NDUFAF5 chr20 13784978 13821580 AR Orphanet Isolated complex I deficiency . -FLRT3 chr20 14322538 14337643 AR Orphanet Kallmann syndrome . -BFSP1 chr20 17493905 17569220 AR Orphanet Early-onset nuclear cataract . -MGME1 chr20 17968093 17991136 AR Orphanet Progressive external ophthalmoplegia-myopathy-emaciation syndrome . -PET117 chr20 18137832 18143290 AR Orphanet Isolated cytochrome C oxidase deficiency . -SEC23B chr20 18507520 18561422 AR Orphanet Congenital dyserythropoietic anemia type II . -RIN2 chr20 19757594 20003572 AR Orphanet RIN2 syndrome . -NAA20 chr20 20017310 20034387 AR Orphanet Autosomal recessive non-syndromic intellectual disability . -CFAP61 chr20 20052511 20360703 AR Orphanet Male infertility due to large-headed multiflagellar polyploid spermatozoa . -KIZ chr20 21125975 21273506 AR Orphanet Retinitis pigmentosa . -PAX1 chr20 21705659 21718481 AR Orphanet Otofaciocervical syndrome with thymic hypoplasia . -FOXA2 chr20 22580998 22585498 AR Orphanet Combined pituitary hormone deficiencies, genetic forms . -GZF1 chr20 23361987 23373084 AR Orphanet Severe myopia-generalized joint laxity-short stature syndrome . -ABHD12 chr20 25294742 25390922 AR Orphanet Polyneuropathy-hearing loss-ataxia-retinitis pigmentosa-cataract syndrome . -GINS1 chr20 25391008 25452700 AR Orphanet Combined immunodeficiency due to GINS1 deficiency . -COX4I2 chr20 31637581 31645027 AR Orphanet Pancreatic insufficiency-anemia-hyperostosis syndrome . -DNMT3B chr20 32762385 32809359 AR Orphanet ICF syndrome . -SUN5 chr20 32983773 33004433 AR Orphanet Male infertility due to acephalic spermatozoa . -ZNF341 chr20 33731657 33792269 AR Orphanet Autosomal recessive hyper-IgE syndrome due to ZNF341 deficiency . -CHMP4B chr20 33811253 33854366 AR Orphanet Early-onset posterior subcapsular cataract . -AHCY chr20 34280263 34311802 AR Orphanet S-adenosylhomocysteine hydrolase deficiency . -ITCH chr20 34363235 34511773 AR Orphanet Syndromic multisystem autoimmune disease due to Itch deficiency . -GSS chr20 34928432 34956027 AR Orphanet Glutathione synthetase deficiency with 5-oxoprolinuria; and 1 other . -MYH7B chr20 34955810 35002440 AR Orphanet Left ventricular noncompaction . -GDF5 chr20 35433347 35454754 AR Orphanet Acromesomelic dysplasia, Grebe type; and 3 others . -NFS1 chr20 35668052 35699376 AR Orphanet Severe neonatal lactic acidosis due to NFS1-ISD11 complex deficiency . -SAMHD1 chr20 36890216 36951893 AR Orphanet Aicardi-Goutières syndrome . -SLC32A1 chr20 38724394 38729372 AR Orphanet Early infantile developmental and epileptic encephalopathy . -MAFB chr20 40685848 40689236 AR Orphanet Duane retraction syndrome . -IFT52 chr20 43590895 43647299 AR Orphanet Cranioectodermal dysplasia . -JPH2 chr20 44097006 44189032 AR Orphanet Familial isolated dilated cardiomyopathy . -ADA chr20 44584896 44652252 AR Orphanet Omenn syndrome; and 1 other . -STK4 chr20 44966474 45084214 AR Orphanet Combined immunodeficiency due to STK4 deficiency . -PIGT chr20 45416084 45456934 AR Orphanet Intellectual disability-seizures-hypophosphatasia-ophthalmic-skeletal anomalies syndrome . -CTSA chr20 45890144 45898949 AR Orphanet Galactosialidosis . -ZNF335 chr20 45948653 45972358 AR Orphanet Microcephalic primordial dwarfism due to ZNF335 deficiency . -MMP9 chr20 46008869 46016561 AR Orphanet Metaphyseal anadysplasia . -SLC12A5 chr20 46021675 46060150 AR Orphanet Epilepsy of infancy with migrating focal seizures . -CD40 chr20 46118240 46130378 AR Orphanet Hyper-IgM syndrome type 3 . -ELMO2 chr20 46366045 46432985 AR Orphanet Familial intraosseous vascular malformation; and 1 other . -TP53RK chr20 46684344 46689664 AR Orphanet Galloway-Mowat syndrome . -SLC2A10 chr20 46709577 46737312 AR Orphanet Arterial tortuosity syndrome . -ARFGEF2 chr20 48921707 49036693 AR Orphanet Periventricular nodular heterotopia . -KCNB1 chr20 49293394 49484570 AR Orphanet Non-specific early-onset epileptic encephalopathy . -DPM1 chr20 50932897 50959145 AR Orphanet DPM1-CDG . -ATP9A chr20 51596512 51768716 AR Orphanet Non-specific syndromic intellectual disability . -SALL4 chr20 51782331 51802578 AR Orphanet Duane retraction syndrome . -CYP24A1 chr20 54153446 54173986 AR Orphanet Autosomal recessive infantile hypercalcemia . -PCK1 chr20 57546220 57570667 AR Orphanet Phosphoenolpyruvate carboxykinase deficiency . -VAPB chr20 58389114 58451101 AR Orphanet Amyotrophic lateral sclerosis . -ATP5F1E chr20 59025475 59032363 AR Orphanet Isolated ATP synthase deficiency . -EDN3 chr20 59300213 59325992 AR Orphanet Waardenburg-Shah syndrome . -TAF4 chr20 61953469 62065881 AR Orphanet Non-specific syndromic intellectual disability . -LAMA5 chr20 62307955 62367333 AR Orphanet Autosomal recessive congenital myasthenic syndrome due to defective synaptic vesicles exocytosis; and 1 other . -COL9A3 chr20 62816244 62841164 AR Orphanet Autosomal recessive Stickler syndrome . -KCNQ2 chr20 63400208 63472689 AR Orphanet Epilepsy of infancy with migrating focal seizures . -EEF1A2 chr20 63477488 63500533 AR Orphanet Non-specific early-onset epileptic encephalopathy; and 1 other . -RTEL1 chr20 63657810 63696253 AR Orphanet Dyskeratosis congenita; and 1 other . -PRPF6 chr20 63979671 64033984 AR Orphanet Retinitis pigmentosa . -SOX18 chr20 64047582 64050629 AR Orphanet Hypotrichosis-lymphedema-telangiectasia-renal defect syndrome . -TMPRSS15 chr21 18269116 18485879 AR Orphanet Congenital enteropathy due to enteropeptidase deficiency . -JAM2 chr21 25639258 25717783 AR Orphanet Bilateral striopallidodentate calcinosis . -TIAM1 chr21 31117985 31559977 AR Orphanet Non-specific syndromic intellectual disability . -SOD1 chr21 31659617 31668931 AR Orphanet Amyotrophic lateral sclerosis . -SCAF4 chr21 31667491 31732184 AR Orphanet Non-specific syndromic intellectual disability . -MRAP chr21 32291813 32314784 AR Orphanet Familial glucocorticoid deficiency . -CFAP298 chr21 32592074 32612881 AR Orphanet Primary ciliary dyskinesia . -SYNJ1 chr21 32628756 32728395 AR Orphanet Atypical juvenile parkinsonism; and 2 others . -IL10RB chr21 33265958 33311420 AR Orphanet Immune dysregulation-inflammatory bowel disease-arthritis-recurrent infections syndrome . -IFNGR2 chr21 33403205 33479348 AR Orphanet Autosomal recessive mendelian susceptibility to mycobacterial diseases due to partial IFNgammaR2 deficiency; and 1 other . -DONSON chr21 33559542 33589015 AR Orphanet Microcephaly-micromelia syndrome; and 1 other . -ATP5PO chr21 33901027 33915853 AR Orphanet Isolated ATP synthase deficiency . -KCNE1 chr21 34446688 34512214 AR Orphanet Jervell and Lange-Nielsen syndrome . -CLDN14 chr21 36460616 36576569 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -HLCS chr21 36748626 36990236 AR Orphanet Holocarboxylase synthetase deficiency . -PIGP chr21 37036533 37073820 AR Orphanet Early infantile developmental and epileptic encephalopathy . -BRWD1 chr21 39184176 39321559 AR Orphanet Primary ciliary dyskinesia . -RIPK4 chr21 41739369 41767109 AR Orphanet Bartsocas-Papas syndrome; and 1 other . -TMPRSS3 chr21 42371840 42396122 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -RSPH1 chr21 42472486 42496366 AR Orphanet Primary ciliary dyskinesia . -WDR4 chr21 42843013 42879583 AR Orphanet Galloway-Mowat syndrome . -CBS chr21 43050900 43076943 AR ACMG Homocystinuria . -CRYAA chr21 43169008 43172810 AR Orphanet Cataract-microcornea syndrome; and 2 others . -SIK1 chr21 43414483 43427137 AR Orphanet Early infantile developmental and epileptic encephalopathy; and 1 other . -CSTB chr21 43772511 43776608 AR Orphanet Autosomal recessive hypohidrotic ectodermal dysplasia; and 1 other . -TRAPPC10 chr21 44012280 44106553 AR Orphanet Autosomal recessive primary microcephaly . -ICOSLG chr21 44215382 44241446 AR Orphanet Late-onset combined immunodeficiency due to ICOSL deficiency . -AIRE chr21 44285838 44298648 AR ACMG Autoimmune polyendocrinopathy syndrome type I . -CFAP410 chr21 44328943 44339427 AR Orphanet Amyotrophic lateral sclerosis; and 2 others . -TSPEAR chr21 44497893 44712286 AR Orphanet Hypodontia-scalp hypotrichosis-facial dysmorphism syndrome . -ITGB2 chr21 44885948 44932079 AR Orphanet Leukocyte adhesion deficiency type I . -COL18A1 chr21 45405118 45513721 AR Orphanet Knobloch syndrome . -SLC19A1 chr21 45493572 45573564 AR Orphanet Megaloblastic anemia-immunodeficiency due to folate transporter 1 deficiency . -COL6A1 chr21 45981727 46005050 AR Orphanet Bethlem muscular dystrophy; and 2 others . -COL6A2 chr21 46096722 46132851 AR Orphanet Bethlem muscular dystrophy; and 3 others . -FTCD chr21 46136082 46156047 AR Orphanet Formiminoglutamic aciduria . -LSS chr21 46187299 46228840 AR Orphanet Alopecia-intellectual disability syndrome; and 3 others . -PCNT chr21 46324082 46445769 AR Orphanet Microcephalic osteodysplastic primordial dwarfism type II . -IL17RA chr22 17084934 17115693 AR Orphanet Chronic mucocutaneous candidiasis . -ADA2 chr22 17178790 17258235 AR Orphanet Deficiency of adenosine deaminase 2 . -ATP6V1E1 chr22 17592136 17630958 AR Orphanet Autosomal recessive cutis laxa type 2, classic type . -PEX26 chr22 18077910 18105396 AR Orphanet Infantile Refsum disease; and 2 others . -TUBA8 chr22 18109704 18146683 AR Orphanet Polymicrogyria with optic nerve hypoplasia . -USP18 chr22 18148399 18177400 AR Orphanet Pseudo-TORCH syndrome type 2 . -PRODH chr22 18912696 18936451 AR Orphanet Hyperprolinemia type 1 . -SLC25A1 chr22 19175573 19178863 AR Orphanet Congenital myasthenic syndrome with mitochondrial defect; and 1 other . -CLTCL1 chr22 19179319 19291774 AR Orphanet Congenital insensitivity to pain with severe intellectual disability . -CDC45 chr22 19479457 19520612 AR Orphanet Ear-patella-short stature syndrome . -GP1BB chr22 19723539 19724776 AR Orphanet Bernard-Soulier syndrome . -TXNRD2 chr22 19875517 19941934 AR Orphanet Familial glucocorticoid deficiency; and 1 other . -TANGO2 chr22 20016615 20067962 AR Orphanet Recurrent metabolic encephalomyopathic crises-rhabdomyolysis-cardiac arrhythmia-intellectual disability syndrome . -SCARF2 chr22 20424584 20438332 AR Orphanet Van den Ende-Gupta syndrome . -PI4KA chr22 20707691 20859417 AR Orphanet Autosomal recessive spastic paraplegia type 84; and 2 others . -SNAP29 chr22 20858537 20891218 AR Orphanet CEDNIK syndrome . -LZTR1 chr22 20981979 20999037 AR Orphanet Noonan syndrome . -IGLL1 chr22 23573125 23580302 AR Orphanet Autosomal non-syndromic agammaglobulinemia . -CHCHD10 chr22 23765834 23767982 AR Orphanet Amyotrophic lateral sclerosis . -UPB1 chr22 24494107 24552470 AR Orphanet Beta-ureidopropionase deficiency . -GGT1 chr22 24588696 24629011 AR Orphanet Gamma-glutamyl transpeptidase deficiency . -CRYBB3 chr22 25199858 25207359 AR Orphanet Early-onset nuclear cataract . -CRYBB2 chr22 25212564 25231870 AR Orphanet Cataract-microcornea syndrome; and 4 others . -MYO18B chr22 25742142 26031045 AR Orphanet Klippel-Feil anomaly-myopathy-facial dysmorphism syndrome . -HPS4 chr22 26442598 26483931 AR Orphanet Hermansky-Pudlak syndrome due to BLOC-3 deficiency . -CRYBB1 chr22 26599277 26619630 AR Orphanet Cataract-microcornea syndrome; and 2 others . -CRYBA4 chr22 26621958 26630669 AR Orphanet Cataract-microcornea syndrome . -KREMEN1 chr22 29072937 29168333 AR Orphanet Ectodermal dysplasia with agenesis of maxillary lateral incisors and mandibular anterior teeth . -AP1B1 chr22 29327680 29388612 AR Orphanet MEDNIK syndrome . -TCN2 chr22 30607003 30630712 AR Orphanet Transcobalamin II deficiency . -PISD chr22 31618489 31662251 AR Orphanet Short stature-skeletal dysplasia-retinal degeneration-intellectual disability-sensorineural hearing loss syndrome . -DEPDC5 chr22 31753867 31908033 AR Orphanet Non-specific early-onset epileptic encephalopathy . -SLC5A1 chr22 32043050 32113029 AR Orphanet Glucose-galactose malabsorption . -FBXO7 chr22 32474676 32499787 AR Orphanet Parkinsonian-pyramidal syndrome . -LARGE1 chr22 33162226 33922885 AR Orphanet Congenital muscular dystrophy with intellectual disability; and 1 other . -HMOX1 chr22 35380361 35394214 AR Orphanet Heme oxygenase-1 deficiency . -TXN2 chr22 36466895 36482072 AR Orphanet Combined oxidative phosphorylation defect type 29 . -IFT27 chr22 36741346 36776309 AR Orphanet Bardet-Biedl syndrome . -NCF4 chr22 36860795 36878067 AR Orphanet Chronic granulomatous disease . -CSF2RB chr22 36913590 36940454 AR Orphanet Hereditary pulmonary alveolar proteinosis . -TMPRSS6 chr22 37065005 37110890 AR Orphanet IRIDA syndrome . -RAC2 chr22 37225270 37259594 AR Orphanet RAC2-related combined immunodeficiency-bronchiectasis-cancer-predisposing syndrome . -TRIOBP chr22 37696983 37776581 AR Orphanet Autosomal recessive non-syndromic genetic deafness . -SOX10 chr22 37970686 37987422 AR Orphanet Kallmann syndrome; and 1 other . -PICK1 chr22 38056311 38076050 AR Orphanet Male infertility due to globozoospermia . -PLA2G6 chr22 38111495 38214778 AR Orphanet PLA2G6-related neurodegeneration, adult-onset; and 1 other . -CBY1 chr22 38656375 38673920 AR Orphanet Isolated Joubert syndrome . -DNAL4 chr22 38778505 38794198 AR Orphanet Familial congenital mirror movements . -PDGFB chr22 39221746 39244982 AR Orphanet Bilateral striopallidodentate calcinosis . -TNRC6B chr22 40044756 40335808 AR Orphanet Non-specific syndromic intellectual disability . -ADSL chr22 40346461 40390463 AR Orphanet Adenylosuccinate lyase deficiency . -MRTFA chr22 40410281 40636726 AR Orphanet Congenital neutropenia-combined immunodeficiency due to MKL1 deficiency . -XPNPEP3 chr22 40857054 40932815 AR Orphanet Late-onset nephronophthisis . -ACO2 chr22 41447830 41529273 AR Orphanet Autosomal recessive isolated optic atrophy; and 1 other . -POLR3H chr22 41525799 41544606 AR Orphanet 46,XX gonadal dysgenesis . -MEI1 chr22 41699494 41799456 AR Orphanet Complete hydatidiform mole . -TNFRSF13C chr22 41922032 41926806 AR Orphanet Adult-onset common variable immunodeficiency due to BAFF-receptor deficiency . -NAGA chr22 42032595 42071198 AR ACMG Schindler disease . -NDUFA6 chr22 42080336 42090884 AR Orphanet Isolated complex I deficiency . -TCF20 chr22 42160013 42343616 AR Orphanet Non-specific syndromic intellectual disability . -RNU12 chr22 42615244 42615393 AR Orphanet Congenital cerebellar ataxia due to RNU12 mutation; and 1 other . -CYB5R3 chr22 42615730 42720870 AR Orphanet Autosomal recessive methemoglobinemia . -MCAT chr22 43130627 43143401 AR Orphanet Autosomal recessive isolated optic atrophy . -FBLN1 chr22 45502238 45601981 AR Orphanet FBLN1-related developmental delay-central nervous system anomaly-syndactyly syndrome . -WNT7B chr22 45920366 45977260 AR Orphanet Matthew-Wood syndrome . -TRMU chr22 46330875 46357344 AR Orphanet Acute infantile liver failure due to synthesis defect of mtDNA-encoded proteins . -ALG12 chr22 49854503 49918473 AR Orphanet ALG12-CDG . -MLC1 chr22 50059391 50085969 AR ACMG Megalencephalic leukoencephalopathy with subcortical cysts . -MOV10L1 chr22 50090002 50161690 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -TUBGCP6 chr22 50217621 50245033 AR Orphanet Autosomal recessive chorioretinopathy-microcephaly syndrome . -SBF1 chr22 50443219 50483923 AR Orphanet Charcot-Marie-Tooth disease type 4B3 . -SCO2 chr22 50523564 50526461 AR ACMG Mitochondrial complex IV deficiency, nuclear type 2 . -TYMP chr22 50525752 50530326 AR Orphanet Mitochondrial neurogastrointestinal encephalomyopathy . -CHKB chr22 50578959 50601455 AR Orphanet Megaconial congenital muscular dystrophy . -ARSA chr22 50622754 50628177 AR ACMG Metachromatic leukodystrophy . -SHOX chrX 624344 659411 AR Orphanet Langer mesomelic dysplasia . -CSF2RA chrX 1268779 1325373 AR Orphanet Hereditary pulmonary alveolar proteinosis . -ARSL chrX 2932983 2968475 XL Orphanet Brachytelephalangic chondrodysplasia punctata . -STS chrX 7147237 7804358 XL Orphanet Recessive X-linked ichthyosis . -ANOS1 chrX 8528874 8732195 XL Orphanet Kallmann syndrome . -GPR143 chrX 9724039 9786297 XL Orphanet X-linked recessive ocular albinism . -CLCN4 chrX 10156938 10237663 XL Orphanet CLCN4-related X-linked intellectual disability syndrome; and 1 other . -MID1 chrX 10445310 10833730 XL ACMG Opitz GBBB syndrome type I . -HCCS chrX 11111299 11123086 XL Orphanet Microphthalmia with linear skin defects syndrome . -AMELX chrX 11293413 11300761 XL Orphanet Hypomaturation amelogenesis imperfecta . -MSL3 chrX 11757788 11776782 XL Orphanet X-linked intellectual disability, Basilicata-Akhtar type . -FRMPD4 chrX 11822423 12724523 XL Orphanet X-linked non-syndromic intellectual disability . -TLR8 chrX 12906620 12923169 XL Orphanet TLR8-related inflammation-severe neutropenia-bone marrow failure-lymphoproliferation syndrome . -TRAPPC2 chrX 13712244 13734638 XL Orphanet Spondyloepiphyseal dysplasia tarda . -OFD1 chrX 13734667 13777955 XL Orphanet Orofaciodigital syndrome type 1; and 3 others . -FANCB chrX 14690388 14873255 XL Orphanet Fanconi anemia; and 1 other . -PIGA chrX 15319452 15335556 XL Orphanet Epilepsy of infancy with migrating focal seizures; and 3 others . -AP1S2 chrX 15812775 15855705 XL Orphanet Fried syndrome; and 2 others . -RBBP7 chrX 16838236 16870415 XL Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -NHS chrX 17375200 17735994 XL Orphanet Early-onset nuclear cataract; and 1 other . -CDKL5 chrX 18425581 18653629 XL Orphanet Atypical Rett syndrome; and 3 others . -RS1 chrX 18639688 18672108 XL ACMG X-linked juvenile retinoschisis . -PHKA2 chrX 18889806 18984998 XL Orphanet Glycogen storage disease due to liver phosphorylase kinase deficiency . -PDHA1 chrX 19343893 19361718 XL Orphanet Pyruvate dehydrogenase E1-alpha deficiency . -SH3KBP1 chrX 19533966 19887650 XL Orphanet X-linked common variable immunodeficiency phenotype due to SH3KBP1 deficiency . -RPS6KA3 chrX 20149911 20267519 XL Orphanet Coffin-Lowry syndrome; and 1 other . -CNKSR2 chrX 21372801 21654701 XL Orphanet Non-specific early-onset epileptic encephalopathy; and 1 other . -SMPX chrX 21704788 21758254 XL Orphanet SMPX-related distal myopathy; and 1 other . -MBTPS2 chrX 21839600 21935555 XL Orphanet BRESEK syndrome; and 5 others . -SMS chrX 21940557 21994837 XL Orphanet X-linked intellectual disability, Snyder type . -PHEX chrX 22032293 22494713 XL Orphanet X-linked hypophosphatemia . -EIF2S3 chrX 24054628 24078810 XL Orphanet MEHMO syndrome . -PDK3 chrX 24465244 24550466 XL Orphanet X-linked Charcot-Marie-Tooth disease type 6 . -POLA1 chrX 24693864 24996986 XL Orphanet X-linked intellectual disability, Van Esch type; and 1 other . -ARX chrX 25003694 25016420 XL ACMG Developmental and epileptic encephalopathy 1 . -IL1RAPL1 chrX 28587123 29958600 XL Orphanet X-linked non-syndromic intellectual disability . -NR0B1 chrX 30304206 30309394 XL ACMG Congenital adrenal hypoplasia . -GK chrX 30653336 30733182 XL Orphanet Glycerol kinase deficiency, adult form; and 1 other . -DMD chrX 31097677 33339609 XL ACMG Duchenne and Becker muscular dystrophy . -XK chrX 37685558 37732130 XL Orphanet McLeod neuroacanthocytosis syndrome . -CYBB chrX 37780018 37816994 XL Orphanet Chronic granulomatous disease; and 1 other . -RPGR chrX 38269115 38327573 XL ACMG Retinitis pigmentosa 3 . -OTC chrX 38327598 38424632 XL ACMG Ornithine transcarbamylase deficiency . -TSPAN7 chrX 38561498 38689249 XL Orphanet X-linked non-syndromic intellectual disability . -BCOR chrX 40049815 40177329 XL Orphanet Microphthalmia, Lenz type; and 1 other . -ATP6AP2 chrX 40579372 40607713 XL Orphanet X-linked intellectual disability, Hedera type; and 1 other . -USP9X chrX 41085346 41236579 XL Orphanet X-linked female restricted facial dysmorphism-short stature-choanal atresia-intellectual disability; and 1 other . -DDX3X chrX 41333348 41364472 XL Orphanet X-linked intellectual disability-hypotonia-movement disorder syndrome . -CASK chrX 41514934 41923684 XL Orphanet Early infantile developmental and epileptic encephalopathy; and 2 others . -MAOA chrX 43654907 43746821 XL Orphanet Monoamine oxidase A deficiency . -NDP chrX 43948772 43973603 XL Orphanet Familial exudative vitreoretinopathy; and 1 other . -SLC9A7 chrX 46599251 46759215 XL Orphanet X-linked non-syndromic intellectual disability . -RP2 chrX 46836922 46889240 XL Orphanet Retinitis pigmentosa . -NDUFB11 chrX 47142071 47145507 XL Orphanet Microphthalmia with linear skin defects syndrome . -RBM10 chrX 47144284 47186814 XL Orphanet TARP syndrome . -UBA1 chrX 47190713 47215173 XL Orphanet Infantile-onset X-linked spinal muscular atrophy . -SYN1 chrX 47571890 47619970 XL Orphanet X-linked epilepsy-learning disabilities-behavior disorders syndrome . -CFP chrX 47621537 47630305 XL Orphanet Properdin deficiency . -ZNF81 chrX 47836471 48003066 XL Orphanet X-linked non-syndromic intellectual disability . -FTSJ1 chrX 48476021 48486364 XL Orphanet X-linked non-syndromic intellectual disability . -PORCN chrX 48508574 48520814 XL Orphanet Focal dermal hypoplasia . -EBP chrX 48521089 48528716 XL Orphanet MEND syndrome; and 1 other . -WAS chrX 48676593 48691431 XL Orphanet Wiskott-Aldrich syndrome; and 2 others . -GATA1 chrX 48783122 48794311 XL Orphanet Beta-thalassemia-X-linked thrombocytopenia syndrome; and 2 others . -HDAC6 chrX 48801372 48824986 XL Orphanet X-linked dominant chondrodysplasia, Chassaing-Lacombe type . -PQBP1 chrX 48890197 48903640 XL Orphanet Hamel cerebro-palato-cardiac syndrome; and 3 others . -OTUD5 chrX 48922024 48958390 XL Orphanet Non-specific syndromic intellectual disability . -TFE3 chrX 49028726 49043512 XL Orphanet Developmental delay-facial dysmorphism-Blaschko lines hypopigmentation-obesity-intellectual disability syndrome . -WDR45 chrX 49074431 49101203 XL Orphanet Beta-propeller protein-associated neurodegeneration; and 1 other . -GPKOW chrX 49112941 49123750 XL Orphanet Lethal intrauterine growth restriction-cortical malformation-congenital contractures syndrome . -SYP chrX 49187807 49200218 XL Orphanet X-linked non-syndromic intellectual disability . -CACNA1F chrX 49205063 49233371 XL Orphanet Cone rod dystrophy; and 2 others . -CCDC22 chrX 49235444 49250526 XL Orphanet 3C syndrome . -FOXP3 chrX 49250436 49264800 XL Orphanet Immune dysregulation-polyendocrinopathy-enteropathy-X-linked syndrome . -USP27X chrX 49879484 49882558 XL Orphanet X-linked non-syndromic intellectual disability . -CLCN5 chrX 49922549 50099235 XL Orphanet Dent disease type 1 . -SHROOM4 chrX 50586796 50814316 XL Orphanet X-linked intellectual disability, Stocco Dos Santos type . -BMP15 chrX 50910735 50916641 XL Orphanet 46,XX gonadal dysgenesis . -KDM5C chrX 53176277 53225422 XL Orphanet KDM5C-related syndromic X-linked intellectual disability . -IQSEC2 chrX 53225828 53321396 XL Orphanet Severe intellectual disability-progressive postnatal microcephaly-midline stereotypic hand movements syndrome . -SMC1A chrX 53361522 53422750 XL Orphanet Atypical Rett syndrome; and 2 others . -HSD17B10 chrX 53431258 53434403 XL Orphanet HSD10 disease, atypical type; and 2 others . -HUWE1 chrX 53532096 53686752 XL Orphanet Non-specific syndromic intellectual disability . -PHF8 chrX 53934245 54048958 XL Orphanet X-linked intellectual disability, Siderius type . -FGD1 chrX 54445454 54496248 XL Orphanet Aarskog-Scott syndrome . -MAGED2 chrX 54807572 54816015 XL Orphanet Bartter syndrome type 5 . -ALAS2 chrX 55009055 55030986 XL Orphanet X-linked erythropoietic protoporphyria; and 1 other . -UBQLN2 chrX 56563627 56567868 XL Orphanet Amyotrophic lateral sclerosis; and 1 other . -ARHGEF9 chrX 63634967 63809274 XL Orphanet Hyperekplexia-epilepsy syndrome . -AMER1 chrX 64185117 64205708 XL Orphanet Osteopathia striata-cranial sclerosis syndrome . -ZC4H2 chrX 64915802 65034713 XL Orphanet Wieacker-Wolff syndrome . -LAS1L chrX 65438549 65534818 XL Orphanet Wilson-Turner syndrome . -MSN chrX 65588377 65766886 XL Orphanet Combined immunodeficiency due to Moesin deficiency . -EDA2R chrX 66594384 66639326 XL Orphanet X-linked hypohidrotic ectodermal dysplasia . -AR chrX 67543353 67730619 XL Orphanet Complete androgen insensitivity syndrome; and 2 others . -OPHN1 chrX 67949349 68434120 XL Orphanet X-linked intellectual disability-cerebellar hypoplasia syndrome . -EFNB1 chrX 68828950 68842160 XL Orphanet Craniofrontonasal dysplasia . -EDA chrX 69616067 70039472 XL Orphanet Oligodontia; and 1 other . -IGBP1 chrX 70133345 70166327 XL Orphanet Corpus callosum agenesis-intellectual disability-coloboma-micrognathia syndrome . -DLG3 chrX 70444793 70505490 XL Orphanet X-linked non-syndromic intellectual disability . -TEX11 chrX 70528940 70908711 XL Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -IL2RG chrX 71107404 71112108 XL Orphanet T-B+NK- severe combined immunodeficiency due to gamma chain deficiency . -MED12 chrX 71118543 71144103 XL Orphanet Blepharophimosis-intellectual disability syndrome, MKB type; and 3 others . -GJB1 chrX 71212811 71225519 XL Orphanet X-linked Charcot-Marie-Tooth disease type 1; and 1 other . -NONO chrX 71254270 71301522 XL Orphanet Macrocephaly-intellectual disability-left ventricular non compaction syndrome . -TAF1 chrX 71366129 71532374 XL Orphanet X-linked dystonia-parkinsonism; and 1 other . -GCNA chrX 71578436 71613590 XL Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -HDAC8 chrX 72329516 72573101 XL Orphanet Cornelia de Lange syndrome; and 1 other . -PHKA1 chrX 72578814 72714332 XL Orphanet Glycogen storage disease due to muscle phosphorylase kinase deficiency . -SLC16A2 chrX 74421383 74534693 XL Orphanet Allan-Herndon-Dudley syndrome . -RLIM chrX 74582976 74614646 XL Orphanet Non-specific syndromic intellectual disability . -NEXMIF chrX 74732856 74925484 XL Orphanet X-linked intellectual disability, Cantagrel type . -ABCB7 chrX 75044938 75156732 XL Orphanet X-linked sideroblastic anemia and spinocerebellar ataxia . -FGF16 chrX 77447388 77457278 XL Orphanet Syndactyly type 8 . -ATRX chrX 77504862 77786233 XL Orphanet X-linked alpha-thalassemia-intellectual disability syndrome . -MAGT1 chrX 77825747 77899271 XL Orphanet XMEN . -COX7B chrX 77895727 77907555 XL Orphanet Microphthalmia with linear skin defects syndrome . -ATP7A chrX 77910688 78050395 XL Orphanet Menkes disease; and 2 others . -PGK1 chrX 77910739 78132378 XL Orphanet Glycogen storage disease due to phosphoglycerate kinase 1 deficiency . -TBX22 chrX 80014747 80031908 XL Orphanet Abruzzo-Erickson syndrome; and 1 other . -BRWD3 chrX 80669503 80809877 XL Orphanet Non-specific syndromic intellectual disability . -POU3F4 chrX 83508290 83512127 XL Orphanet Xq21 microdeletion syndrome . -ZNF711 chrX 85243839 85273771 XL Orphanet X-linked non-syndromic intellectual disability . -CHM chrX 85861180 86047561 XL Orphanet Choroideremia . -PCDH19 chrX 100291644 100410296 XL Orphanet PCDH19 clustering epilepsy . -SRPX2 chrX 100644195 100675788 XL Orphanet Rolandic epilepsy-speech dyspraxia syndrome . -TRMT2B chrX 100973670 101052135 XL Orphanet Juvenile amyotrophic lateral sclerosis . -TIMM8A chrX 101320050 101349001 XL Orphanet Mohr-Tranebjaerg syndrome . -BTK chrX 101349338 101390796 XL Orphanet Short stature due to isolated growth hormone deficiency with X-linked hypogammaglobulinemia; and 1 other . -GLA chrX 101393273 101408012 XL ACMG Fabry disease . -HNRNPH2 chrX 101408114 101414778 XL Orphanet Neurodevelopmental delay-intellectual disability-skeletal defects syndrome . -GPRASP2 chrX 102712056 102718761 XL Orphanet X-linked external auditory canal atresia-dilated internal auditory canal-facial dysmorphism syndrome . -PLP1 chrX 103742560 103792678 XL ACMG Spastic paraplegia 2, X-linked; Pelizaeus-Merzbacher disease . -DNAAF6 chrX 107206606 107244247 XL Orphanet Primary ciliary dyskinesia . -PRPS1 chrX 107628428 107651993 XL Orphanet Lethal ataxia with deafness and optic atrophy; and 5 others . -MID2 chrX 107825730 107931637 XL Orphanet X-linked non-syndromic intellectual disability . -COL4A6 chrX 108155297 108439497 XL Orphanet X-linked non-syndromic genetic deafness . -COL4A5 chrX 108439717 108697766 XL Orphanet X-linked Alport syndrome . -ACSL4 chrX 109624244 109733889 XL Orphanet X-linked non-syndromic intellectual disability . -AMMECR1 chrX 110194186 110440318 XL Orphanet Midface hypoplasia-hearing impairment-elliptocytosis-nephrocalcinosis syndrome . -CHRDL1 chrX 110673856 110796192 XL Orphanet Isolated congenital megalocornea . -PAK3 chrX 110944285 111227361 XL Orphanet Non-specific syndromic intellectual disability . -DCX chrX 111293779 111412429 XL Orphanet Lissencephaly type 1 due to doublecortin gene mutation; and 1 other . -ALG13 chrX 111665811 111766130 XL Orphanet ALG13-CDG; and 1 other . -PLS3 chrX 115560914 115651439 XL Orphanet X-linked osteoporosis with fractures . -AGTR2 chrX 116170743 116174974 XL Orphanet X-linked non-syndromic intellectual disability . -DOCK11 chrX 118495612 118686976 XL Orphanet Early-onset immune dysregulation due to DOCK11 complete deficiency; and 1 other . -UBE2A chrX 119474802 119592795 XL Orphanet X-linked intellectual disability, Nascimento type . -STEEP1 chrX 119535669 119565417 XL Orphanet X-linked non-syndromic intellectual disability . -UPF3B chrX 119832664 119853083 XL Orphanet Lujan-Fryns syndrome; and 1 other . -RNF113A chrX 119870475 119871733 XL Orphanet Trichothiodystrophy . -NDUFA1 chrX 119871437 119878147 XL Orphanet Isolated complex I deficiency . -NKAP chrX 119920672 119943781 XL Orphanet NKAP-related intellectual disability-facial dysmorphism-marfanoid habitus-scoliosis syndrome . -LAMP2 chrX 120426148 120469365 XL Orphanet Danon disease . -CUL4B chrX 120505920 120604074 XL Orphanet X-linked intellectual disability, Cabezas type . -GRIA3 chrX 123184023 123490915 XL Orphanet X-linked intellectual disability due to GRIA3 mutations . -THOC2 chrX 123600561 123733061 XL Orphanet X-linked intellectual disability-short stature-overweight syndrome . -XIAP chrX 123859693 123913972 XL Orphanet X-linked lymphoproliferative disease due to XIAP deficiency . -SH2D1A chrX 124227868 124373197 XL Orphanet X-linked lymphoproliferative disease due to SAP deficiency . -TENM1 chrX 124375903 125204312 XL Orphanet Isolated congenital anosmia . -OCRL chrX 129539849 129592772 XL Orphanet Dent disease type 2; and 1 other . -SASH3 chrX 129779901 129795201 XL Orphanet X-linked combined immunodeficiency due to SASH3 deficiency . -ZDHHC9 chrX 129797030 129844215 XL Orphanet Lujan-Fryns syndrome . -BCORL1 chrX 129981107 130058071 XL Orphanet Non-specific syndromic intellectual disability . -ELF4 chrX 130063955 130110951 XL Orphanet Short stature due to isolated growth hormone deficiency with X-linked hypogammaglobulinemia; and 1 other . -AIFM1 chrX 130124666 130165884 XL Orphanet Leukoencephalopathy-spondyloepimetaphyseal dysplasia syndrome; and 3 others . -IGSF1 chrX 131273506 131578899 XL Orphanet X-linked central congenital hypothyroidism with late-onset testicular enlargement . -GPC4 chrX 133298158 133416214 XL Orphanet Keipert syndrome . -GPC3 chrX 133535745 133987100 XL Orphanet Simpson-Golabi-Behmel syndrome . -PHF6 chrX 134373284 134428792 XL Orphanet Borjeson-Forssman-Lehmann syndrome . -HPRT1 chrX 134460139 134527168 XL Orphanet Hypoxanthine guanine phosphoribosyltransferase partial deficiency; and 1 other . -CT55 chrX 135156540 135171398 XL Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . -SLC9A6 chrX 135973841 136047269 XL Orphanet Christianson syndrome . -FHL1 chrX 136146702 136211359 XL Orphanet Reducing body myopathy; and 3 others . -CD40LG chrX 136648139 136660390 XL Orphanet X-linked hyper-IgM syndrome . -ARHGEF6 chrX 136665547 136781688 XL Orphanet X-linked non-syndromic intellectual disability . -RBMX chrX 136847801 136880784 XL Orphanet Severe X-linked intellectual disability, Gustavson type; and 1 other . -F9 chrX 139530731 139568549 XL ACMG Hemophilia B . -SOX3 chrX 140502985 140505069 XL Orphanet Non-acquired panhypopituitarism; and 2 others . -FMR1 chrX 147911858 147951125 XL ACMG,ACOG Fragile X syndrome . -AFF2 chrX 148500611 149000663 XL ACMG Intellectual disability, X-linked, FRAXE type . -IDS chrX 149476988 149521096 XL Orphanet Mucopolysaccharidosis type 2, attenuated form; and 1 other . -MAMLD1 chrX 150361422 150514178 XL Orphanet Non-syndromic posterior hypospadias . -MTM1 chrX 150547904 150673322 XL Orphanet X-linked centronuclear myopathy . -VMA21 chrX 151396515 151409571 XL Orphanet X-linked myopathy with excessive autophagy . -CNGA2 chrX 151734746 151745564 XL Orphanet Isolated congenital anosmia . -NSDHL chrX 152830967 152880958 XL Orphanet CHILD syndrome; and 1 other . -BGN chrX 153488654 153510711 XL Orphanet X-linked severe syndromic thoracic aortic aneurysm and dissection; and 1 other . -ATP2B3 chrX 153517620 153582939 XL Orphanet X-linked non progressive cerebellar ataxia . -CCNQ chrX 153587925 153600045 XL Orphanet Syndactyly-telecanthus-anogenital and renal malformations syndrome . -SLC6A8 chrX 153687914 153696591 XL ACMG Cerebral creatine deficiency syndrome 1 . -ABCD1 chrX 153724495 153744755 XL ACMG X-linked adrenoleukodystrophy . -SSR4 chrX 153793516 153798510 XL Orphanet SSR4-CDG . -L1CAM chrX 153861511 153886204 XL ACMG Hydrocephalus due to stenosis of the aqueduct of Sylvius . -AVPR2 chrX 153902531 153907169 XL Orphanet Arginine vasopressin resistance; and 1 other . -NAA10 chrX 153928799 153935083 XL Orphanet Microphthalmia, Lenz type; and 1 other . -HCFC1 chrX 153946434 153972427 XL Orphanet Methylmalonic acidemia with homocystinuria, type cblX; and 1 other . -MECP2 chrX 154021573 154137103 XL Orphanet Atypical Rett syndrome; and 4 others . -OPN1LW chrX 154144243 154159032 XL Orphanet Blue cone monochromatism; and 1 other . -OPN1MW chrX 154182596 154196861 XL Orphanet Blue cone monochromatism; and 1 other . -FLNA chrX 154348524 154374643 XL Orphanet Congenital short bowel syndrome; and 10 others . -EMD chrX 154379205 154381574 XL Orphanet X-linked Emery-Dreifuss muscular dystrophy . -RPL10 chrX 154389955 154409168 XL Orphanet X-linked intellectual disability-cerebellar hypoplasia-spondylo-epiphyseal dysplasia syndrome; and 1 other . -TAFAZZIN chrX 154409456 154421726 XL Orphanet Barth syndrome; and 1 other . -ATP6AP1 chrX 154428618 154436517 XL Orphanet ATP6AP1-CDG . -GDI1 chrX 154436600 154443467 XL Orphanet X-linked non-syndromic intellectual disability . -FAM50A chrX 154444103 154450655 XL Orphanet Non-specific syndromic intellectual disability . -LAGE3 chrX 154477598 154479291 XL Orphanet Galloway-Mowat syndrome . -G6PD chrX 154517825 154547584 XL Orphanet Class I glucose-6-phosphate dehydrogenase deficiency . -IKBKG chrX 154541179 154568543 XL Orphanet Hypohidrotic ectodermal dysplasia with immunodeficiency; and 3 others . -DKC1 chrX 154762741 154777697 XL Orphanet Dyskeratosis congenita; and 1 other . -F8 chrX 154835788 155026940 XL ACMG Hemophilia A . -RAB39B chrX 155258235 155264531 XL Orphanet Early-onset parkinsonism-intellectual disability syndrome; and 1 other . -CLIC2 chrX 155272944 155334824 XL Orphanet X-linked intellectual disability-cardiomegaly-congestive heart failure syndrome . +gene chrom start end inheritance lists condition severity dominant +ISG15 chr1 1001138 1014540 AR Orphanet Mendelian susceptibility to mycobacterial diseases due to complete ISG15 deficiency . . +AGRN chr1 1020069 1056119 AR Orphanet Congenital myasthenic syndrome due to defects in endplate development and maintenance . . +TNFRSF4 chr1 1211326 1214153 AR Orphanet Combined immunodeficiency due to OX40 deficiency . . +B3GALT6 chr1 1232237 1235041 AR Orphanet B3GALT6-related spondylodysplastic Ehlers-Danlos syndrome; and 1 other . . +VWA1 chr1 1434861 1446012 AR Orphanet Young adult-onset distal hereditary motor neuropathy . . +ATAD3A chr1 1512118 1534689 AR Orphanet Lethal pontocerebellar hypoplasia-hypotonia-respiratory insufficiency syndrome due to a point mutation . . +CFAP74 chr1 1921951 2003837 AR Orphanet Primary ciliary dyskinesia . . +PEX10 chr1 2403784 2413797 AR Orphanet Autosomal recessive ataxia due to PEX10 deficiency; and 3 others . . +PRDM16 chr1 3069003 3438621 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . . +CEP104 chr1 3812086 3857723 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . . +NPHP4 chr1 5862804 5993455 AR Orphanet Juvenile nephronophthisis; and 1 other . . +CHD5 chr1 6101787 6180356 AR Orphanet Non-specific syndromic intellectual disability . . +ESPN chr1 6424770 6461367 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . . +PLEKHG5 chr1 6467122 6520074 AR Orphanet Autosomal recessive intermediate Charcot-Marie-Tooth disease type C; and 1 other . . +TNFRSF9 chr1 7915871 7943165 AR Orphanet EBV-induced lymphoproliferative disease due to CD137 deficiency . . +PARK7 chr1 7952654 7985991 AR Orphanet Young-onset Parkinson disease . . +SLC45A1 chr1 8318081 8344296 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +H6PD chr1 9234739 9278217 AR Orphanet Hyperandrogenism due to cortisone reductase deficiency . . +PIK3CD chr1 9629889 9730119 AR Orphanet Autosomal non-syndromic agammaglobulinemia . . +NMNAT1 chr1 9943428 9996898 AR Orphanet Cone rod dystrophy; and 1 other . . +PEX14 chr1 10472288 10630758 AR Orphanet Infantile Refsum disease; and 2 others . . +TARDBP chr1 11012344 11037991 AR Orphanet Amyotrophic lateral sclerosis; and 1 other . . +MASP2 chr1 11022009 11047273 AR Orphanet Immunodeficiency due to MASP-2 deficiency . . +MAD2L2 chr1 11657230 11692605 AR Orphanet Fanconi anemia . . +MTHFR chr1 11785723 11806455 AR Orphanet Homocystinuria due to methylene tetrahydrofolate reductase deficiency . . +PLOD1 chr1 11934205 11975542 AR Orphanet Kyphoscoliotic Ehlers-Danlos syndrome due to lysyl hydroxylase 1 deficiency . . +MFN2 chr1 11980181 12015211 AR Orphanet Hereditary motor and sensory neuropathy type 6; and 2 others . . +VPS13D chr1 12230007 12512047 AR Orphanet Autosomal recessive cerebellar ataxia-movement disorder syndrome . . +CLCNKA chr1 16018146 16034109 AR Orphanet Bartter syndrome type 4 . . +CLCNKB chr1 16040252 16057367 AR Orphanet Bartter syndrome type 3; and 2 others . . +EPHA2 chr1 16124337 16156141 AR Orphanet Early-onset nuclear cataract; and 2 others . . +ATP13A2 chr1 16985958 17011986 AR Orphanet Autosomal recessive spastic paraplegia type 78; and 3 others . . +SDHB chr1 17018664 17054210 AR Orphanet Isolated succinate-CoQ reductase deficiency . AD +PADI3 chr1 17249093 17284233 AR Orphanet Uncombable hair syndrome . . +PADI6 chr1 17372196 17401699 AR Orphanet Female infertility due to oocyte meiotic arrest . . +ALDH4A1 chr1 18871425 18902799 AR Orphanet Hyperprolinemia type 2 . . +EMC1 chr1 19215660 19251552 AR Orphanet Global developmental delay-visual anomalies-progressive cerebellar atrophy-truncal hypotonia syndrome . . +PLA2G5 chr1 20028179 20091911 AR Orphanet Familial benign flecked retina . . +PINK1 chr1 20633436 20652231 AR Orphanet Young-onset Parkinson disease . . +DDOST chr1 20647467 20661544 AR Orphanet DDOST-CDG . . +ALPL chr1 21508813 21579441 AR ACMG Hypophosphatasia . . +HSPG2 chr1 21820593 21937318 AR Orphanet Dyssegmental dysplasia, Silverman-Handmaker type; and 1 other . . +WNT4 chr1 22117313 22143969 AR Orphanet SERKAL syndrome . . +C1QA chr1 22635057 22640201 AR Orphanet Immunodeficiency due to a classical component pathway complement deficiency . . +C1QC chr1 22642558 22648122 AR Orphanet Immunodeficiency due to a classical component pathway complement deficiency . . +C1QB chr1 22652713 22661637 AR Orphanet Immunodeficiency due to a classical component pathway complement deficiency . . +GALE chr1 23795599 23800804 AR Orphanet Erythrocyte galactose epimerase deficiency; and 1 other . . +HMGCL chr1 23801877 23838620 AR Orphanet 3-hydroxy-3-methylglutaric aciduria . . +FUCA1 chr1 23845077 23868361 AR Orphanet Fucosidosis . . +RHD chr1 25272393 25330445 AR Orphanet Rh deficiency syndrome . . +RHCE chr1 25362249 25430192 AR Orphanet Rh deficiency syndrome . . +LDLRAP1 chr1 25543550 25591296 AR Orphanet Homozygous familial hypercholesterolemia . . +SELENON chr1 25800180 25818221 AR Orphanet Classic multiminicore myopathy; and 3 others . . +DHDDS chr1 26432273 26471322 AR ACMG Congenital disorder of glycosylation type 1; retinitis pigmentosa 59 . . +PIGV chr1 26787054 26800659 AR Orphanet Hyperphosphatasia-intellectual disability syndrome . . +SLC9A1 chr1 27098809 27166981 AR Orphanet Progressive autosomal recessive ataxia-deafness syndrome . . +TMEM222 chr1 27322139 27336401 AR Orphanet Non-specific syndromic intellectual disability . . +FCN3 chr1 27369108 27374920 AR Orphanet Immunodeficiency due to ficolin3 deficiency . . +EPB41 chr1 28887073 29120052 AR Orphanet Hereditary elliptocytosis . . +MECR chr1 29192657 29230958 AR Orphanet Autosomal recessive isolated optic atrophy; and 1 other . . +LCK chr1 32251244 32286170 AR Orphanet Combined immunodeficiency due to LCK deficiency . . +YARS1 chr1 32774776 32818031 AR Orphanet YARS1-related multisystemic disease . . +HPCA chr1 32881498 32898441 AR Orphanet Primary dystonia, DYT2 type . . +AK2 chr1 33006560 33080996 AR Orphanet Reticular dysgenesis . . +GJB4 chr1 34759740 34763724 AR Orphanet Erythrokeratodermia variabilis . . +GJB3 chr1 34781175 34786369 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . . +NCDN chr1 35557442 35567274 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +AGO1 chr1 35869808 35930532 AR Orphanet Non-specific syndromic intellectual disability . . +ADPRS chr1 36088873 36095461 AR Orphanet Childhood-onset stress-induced neurodegenerative ataxia-seizure syndrome . . +CSF3R chr1 36465669 36483322 AR Orphanet Autosomal recessive severe congenital neutropenia due to CSF3R deficiency . . +DNALI1 chr1 37556918 37566857 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +RSPO1 chr1 37610802 37635604 AR Orphanet Palmoplantar keratoderma-XX sex reversal-predisposition to squamous cell carcinoma syndrome . . +YRDC chr1 37802945 37808216 AR Orphanet Galloway-Mowat syndrome . . +MFSD2A chr1 39955112 39972134 AR Orphanet Autosomal recessive primary microcephaly . . +PPT1 chr1 40072710 40097267 AR Orphanet Adult CLN1 disease; and 3 others . . +ZMPSTE24 chr1 40258041 40294199 AR Orphanet Hutchinson-Gilford progeria syndrome; and 2 others . . +COL9A2 chr1 40300487 40317813 AR Orphanet Autosomal recessive Stickler syndrome . . +CTPS1 chr1 40979300 41056384 AR Orphanet EBV-induced lymphoproliferative disease due to CTPS1 deficiency . . +PPCS chr1 42456117 42473417 AR Orphanet Familial isolated dilated cardiomyopathy . . +CLDN19 chr1 42733093 42740286 AR Orphanet Primary hypomagnesemia with hypercalciuria and nephrocalcinosis with severe ocular involvement . . +P3H1 chr1 42746335 42767084 AR Orphanet Osteogenesis imperfecta type 2; and 1 other . . +SVBP chr1 42788324 42824810 AR Orphanet Non-specific syndromic intellectual disability . . +SLC2A1 chr1 42925353 42958904 AR Orphanet Classic glucose transporter type 1 deficiency syndrome . . +MPL chr1 43337808 43354466 AR Orphanet Congenital amegakaryocytic thrombocytopenia-MPL . . +CDC20 chr1 43358907 43363212 AR Orphanet Female infertility due to oocyte meiotic arrest . . +SZT2 chr1 43389882 43454247 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +PTPRF chr1 43525086 43626579 AR Orphanet Isolated congenital breast hypoplasia/aplasia . . +ST3GAL3 chr1 43705824 43931167 AR Orphanet ST3GAL3-CDG . . +DPH2 chr1 43969975 43973373 AR Orphanet Craniofacial dysplasia-short stature-ectodermal anomalies-intellectual disability syndrome . . +SLC6A9 chr1 43989353 44031767 AR Orphanet Infantile glycine encephalopathy . . +TMEM53 chr1 44635237 44674619 AR Orphanet Craniotubular dysplasia, Ikegawa type . . +EIF2B3 chr1 44850464 44986722 AR Orphanet Congenital or early infantile CACH syndrome; and 4 others . . +UROD chr1 45010950 45015577 AR Orphanet Hepatoerythropoietic porphyria . . +HPDL chr1 45326895 45328710 AR Orphanet Autosomal recessive spastic paraplegia type 83; and 1 other . . +MUTYH chr1 45329163 45340893 AR Orphanet MUTYH-related polyposis . . +TOE1 chr1 45339938 45345623 AR Orphanet Pontocerebellar hypoplasia type 7 . . +MMACHC chr1 45500186 45513382 AR ACMG Methylmalonic aciduria and homocystinuria, cblC type . . +POMGNT1 chr1 46188681 46220305 AR Orphanet Congenital muscular dystrophy with cerebellar involvement; and 4 others . . +STIL chr1 47250139 47314892 AR Orphanet Autosomal recessive primary microcephaly . . +FOXE3 chr1 47416285 47418052 AR Orphanet Congenital primary aphakia; and 1 other . . +ORC1 chr1 52370994 52404492 AR Orphanet Ear-patella-short stature syndrome . . +SCP2 chr1 52927255 53051708 AR Orphanet Leukoencephalopathy-dystonia-motor neuropathy syndrome . . +CPT2 chr1 53196770 53214197 AR ACMG Carnitine palmitoyltransferase II deficiency . . +PARS2 chr1 54756591 54764549 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +DHCR24 chr1 54832262 54887224 AR Orphanet Desmosterolosis . . +BSND chr1 54998906 55017172 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . . +PCSK9 chr1 55039445 55064852 AR Orphanet Homozygous familial hypercholesterolemia . AD +C8A chr1 56854752 56918223 AR Orphanet Immunodeficiency due to a late component of complement deficiency . . +C8B chr1 56928282 56974383 AR Orphanet Immunodeficiency due to a late component of complement deficiency . . +TACSTD2 chr1 58575433 58577252 AR Orphanet Gelatinous drop-like corneal dystrophy . . +MYSM1 chr1 58643440 58700108 AR Orphanet Congenital progressive bone marrow failure-B-cell immunodeficiency-skeletal dysplasia syndrome . . +DOCK7 chr1 62454298 62688549 AR Orphanet Early-onset epileptic encephalopathy-cortical blindness-intellectual disability-facial dysmorphism syndrome . . +ANGPTL3 chr1 62597464 62607699 AR Orphanet Familial combined hypolipidemia . . +ALG6 chr1 63321730 63440448 AR Orphanet ALG6-CDG . . +PGM1 chr1 63593151 63660245 AR Orphanet PGM1-CDG . . +ROR1 chr1 63773987 64181625 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +JAK1 chr1 64833223 65067754 AR Orphanet Mendelian susceptibility to mycobacterial diseases due to partial JAK1 deficiency . . +DNAJC6 chr1 65248219 65415871 AR Orphanet Atypical juvenile parkinsonism; and 1 other . . +LEPR chr1 65420543 65641559 AR Orphanet Obesity due to leptin receptor gene deficiency . . +SLC35D1 chr1 66945905 67054400 AR Orphanet Schneckenbecken dysplasia . . +RPE65 chr1 68428822 68451103 AR Orphanet Leber congenital amaurosis; and 2 others . . +CTH chr1 70406194 70443519 AR Orphanet Cystathioninuria . . +ACADM chr1 75724431 75787575 AR ACMG Medium-chain acyl-CoA dehydrogenase deficiency . . +MSH4 chr1 75796882 75913242 AR Orphanet 46,XX gonadal dysgenesis . . +NEXN chr1 77888174 77943898 AR Orphanet Familial isolated dilated cardiomyopathy . . +PRKACB chr1 84077949 84239680 AR Orphanet Ellis-Van Creveld syndrome . . +HS2ST1 chr1 86914617 87110761 AR Orphanet Non-specific syndromic intellectual disability . . +ABCA4 chr1 93992834 94121177 AR Orphanet Cone rod dystrophy; and 2 others . . +ABCD3 chr1 94418039 94519349 AR Orphanet Oculopharyngodistal myopathy . . +ALG14 chr1 94974405 95072983 AR Orphanet Congenital myasthenic syndrome with glycosylation defect . . +DPYD chr1 97077743 97995000 AR Orphanet Dihydropyrimidine dehydrogenase deficiency . . +AGL chr1 99849777 99924427 AR Orphanet Glycogen storage disease due to glycogen debranching enzyme deficiency . . +SLC35A3 chr1 99969351 100035634 AR Orphanet Autism spectrum disorder-epilepsy-arthrogryposis syndrome . . +SASS6 chr1 100083563 100132955 AR Orphanet Autosomal recessive primary microcephaly . . +DBT chr1 100182222 100249873 AR Orphanet Classic maple syrup urine disease; and 3 others . . +CDC14A chr1 100325629 100520564 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +COL11A1 chr1 102876467 103108872 AR Orphanet Fibrochondrogenesis; and 1 other . . +RNPC3 chr1 103525672 103555239 AR Orphanet Isolated growth hormone deficiency type IA . . +NTNG1 chr1 107139969 107484923 AR Orphanet Non-specific syndromic intellectual disability . . +SLC25A24 chr1 108128729 108200877 AR Orphanet Gorlin-Chaudhry-Moss syndrome . . +GPSM2 chr1 108875350 108934545 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . . +TAF13 chr1 109062489 109076014 AR Orphanet Autosomal recessive primary microcephaly . . +SARS1 chr1 109213844 109239456 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . . +GNAI3 chr1 109548582 109600195 AR Orphanet Auriculocondylar syndrome . . +GNAT2 chr1 109601407 109619929 AR Orphanet Achromatopsia; and 1 other . . +AMPD2 chr1 109616104 109632055 AR Orphanet Autosomal recessive spastic paraplegia type 63; and 1 other . . +ALX3 chr1 110059870 110070677 AR Orphanet Frontorhiny . . +SLC6A17 chr1 110150482 110202202 AR Orphanet Progressive essential tremor-speech impairment-facial dysmorphism-intellectual disability-abnormal behavior syndrome . . +KCNA2 chr1 110519837 110631474 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +DRAM2 chr1 111114206 111140225 AR Orphanet Cone rod dystrophy . . +WNT2B chr1 112466541 112530165 AR Orphanet Congenital diarrhea-chronic gastrointestinal inflammation-ocular dysgenesis syndrome . . +SLC16A1 chr1 112904043 112957593 AR Orphanet Ketoacidosis due to monocarboxylate transporter-1 deficiency . . +LRIG2 chr1 113073168 113132260 AR Orphanet Urofacial syndrome . . +AP4B1 chr1 113894194 113905722 AR Orphanet Severe intellectual disability and progressive spastic paraplegia . . +TRIM33 chr1 114392781 114511244 AR Orphanet Dislocation of the hip-dysmorphism syndrome . . +AMPD1 chr1 114673090 114695620 AR Orphanet Adenosine monophosphate deaminase deficiency . . +NRAS chr1 114704468 114716775 AR Orphanet Noonan syndrome . . +TSHB chr1 115029826 115034302 AR Orphanet Isolated thyroid-stimulating hormone deficiency . . +NGF chr1 115285904 115338770 AR Orphanet Hereditary sensory and autonomic neuropathy type 5 . . +CASQ2 chr1 115697988 115837921 AR Orphanet CASQ2-related catecholaminergic polymorphic ventricular tachycardia . . +NHLH2 chr1 115836377 115843917 AR Orphanet Normosmic congenital hypogonadotropic hypogonadism . . +IGSF3 chr1 116574393 116667820 AR Orphanet Familial congenital nasolacrimal duct obstruction . . +SPAG17 chr1 117953222 118185244 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation; and 1 other . . +TBX15 chr1 118883046 118989556 AR Orphanet Pelviscapular dysplasia . . +WARS2 chr1 119029164 119140679 AR Orphanet Infantile dystonia-parkinsonism; and 1 other . . +HSD3B2 chr1 119413725 119453802 AR Orphanet Congenital adrenal hyperplasia due to 3-beta-hydroxysteroid dehydrogenase deficiency . . +PHGDH chr1 119648411 119744227 AR Orphanet 3-phosphoglycerate dehydrogenase deficiency, infantile/juvenile form; and 1 other . . +HMGCS2 chr1 119747979 119769092 AR Orphanet 3-hydroxy-3-methylglutaryl-CoA synthase deficiency . . +PEX11B chr1 145911348 145918747 AR Orphanet Infantile Refsum disease; and 2 others . . +RBM8A chr1 145920935 145928067 AR Orphanet Thrombocytopenia-absent radius syndrome hypomorph chr1:145927447:C:T c.-21G>A (rs139428292), a low-expression allele: TAR syndrome with a null allele such as the 1q21.1 deletion on the other copy; hypomorph chr1:145927328:C:G c.67+32G>C (rs201779890), the other low-expression allele of TAR syndrome . +HJV chr1 146017468 146036746 AR Orphanet HJV or HAMP-related hemochromatosis . . +GJA8 chr1 147902795 147909269 AR Orphanet Cataract-microcornea syndrome; and 3 others . . +NOTCH2NLC chr1 149390534 149471833 AR Orphanet Oculopharyngodistal myopathy . . +SF3B4 chr1 149923317 149928268 AR Orphanet Acrofacial dysostosis, Rodríguez type; and 1 other . . +VPS45 chr1 150067279 150145329 AR Orphanet Congenital neutropenia-myelofibrosis-nephromegaly syndrome . . +PRPF3 chr1 150321476 150353341 AR Orphanet Retinitis pigmentosa . . +TARS2 chr1 150487325 150507614 AR Orphanet Combined oxidative phosphorylation defect type 21 . . +ECM1 chr1 150507989 150515000 AR Orphanet Lipoid proteinosis . . +ADAMTSL4 chr1 150549369 150560937 AR Orphanet Isolated ectopia lentis . . +CTSK chr1 150794880 150809577 AR Orphanet Pycnodysostosis . . +PRUNE1 chr1 151008408 151035714 AR Orphanet PRUNE1-related neurological syndrome . . +RFX5 chr1 151340640 151347339 AR Orphanet Immunodeficiency by defective expression of MHC class II . . +SELENBP1 chr1 151364157 151372716 AR Orphanet Autosomal recessive extra-oral halitosis . . +RORC chr1 151806021 151831845 AR Orphanet Mendelian susceptibility to mycobacterial diseases due to complete RORgamma receptor deficiency . . +FLG2 chr1 152348735 152360006 AR Orphanet Peeling skin syndrome type A . . +TPM3 chr1 154155308 154194648 AR Orphanet Congenital fiber-type disproportion myopathy; and 1 other . . +HAX1 chr1 154272326 154275882 AR Orphanet Kostmann syndrome . . +IL6R chr1 154405141 154469450 AR Orphanet Autosomal recessive combined immunodeficiency due to IL6R deficiency . . +ADAR chr1 154581695 154628013 AR Orphanet Aicardi-Goutières syndrome; and 1 other . . +KCNN3 chr1 154697455 154870340 AR Orphanet Zimmermann-Laband syndrome . . +FLAD1 chr1 154983311 154993111 AR Orphanet Multiple acyl-CoA dehydrogenase deficiency, mild type; and 1 other . . +DPM3 chr1 155138457 155140595 AR Orphanet DPM3-CDG . . +GBA1 chr1 155231270 155245178 AR ACMG,ACOG Gaucher disease . . +PKLR chr1 155289265 155301443 AR Orphanet Hemolytic anemia due to red cell pyruvate kinase deficiency . . +YY1AP1 chr1 155659446 155689334 AR Orphanet Grange syndrome . . +DAP3 chr1 155687833 155740132 AR Orphanet Perrault syndrome type 1 . . +RIT1 chr1 155897808 155911408 AR Orphanet Noonan syndrome . . +LAMTOR2 chr1 156053916 156058817 AR Orphanet Primary immunodeficiency syndrome due to P14/LAMTOR2 deficiency . . +LMNA chr1 156082572 156140085 AR Orphanet Autosomal recessive Emery-Dreifuss muscular dystrophy; and 6 others . AD +SEMA4A chr1 156147366 156178869 AR Orphanet Cone rod dystrophy; and 1 other . . +NAXE chr1 156591738 156609507 AR Orphanet NAD(P)HX epimerase deficiency . . +NTRK1 chr1 156815636 156881850 AR Orphanet Hereditary sensory and autonomic neuropathy type 4 . . +SPTA1 chr1 158610704 158686715 AR Orphanet Hereditary elliptocytosis; and 1 other . . +KCNJ10 chr1 159998651 160070483 AR Orphanet EAST syndrome; and 1 other . . +PIGM chr1 160024953 160031990 AR Orphanet Hypercoagulability syndrome due to glycosylphosphatidylinositol deficiency . . +ATP1A2 chr1 160115755 160143605 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +PEX19 chr1 160266229 160286348 AR Orphanet Infantile Refsum disease; and 2 others . . +NECTIN4 chr1 161070988 161090045 AR Orphanet Ectodermal dysplasia-pili torti-cutaneous syndactyly syndrome . . +NIT1 chr1 161118082 161125812 AR Orphanet NIT1-related cerebral small vessel disease . . +NDUFS2 chr1 161197104 161214723 AR Orphanet Isolated complex I deficiency . . +MPZ chr1 161304735 161309974 AR Orphanet Dejerine-Sottas syndrome . . +FCGR3A chr1 161541738 161550968 AR Orphanet Autosomal recessive primary immunodeficiency with defective spontaneous natural killer cell cytotoxicity . . +ATF6 chr1 161766243 161977574 AR Orphanet Achromatopsia; and 1 other . . +DDR2 chr1 162630857 162787405 AR Orphanet Spondyloepimetaphyseal dysplasia-short limb-abnormal calcification syndrome . . +TMCO1 chr1 165723729 165827755 AR Orphanet Cerebrofaciothoracic dysplasia . . +CD247 chr1 167425027 167518640 AR Orphanet T-B+NK+ severe combined immunodeficiency due to CD3delta/CD3epsilon/CD3zeta deficiency . . +GPR161 chr1 168079542 168137685 AR Orphanet Pituitary stalk interruption syndrome . . +TBX19 chr1 168280877 168314426 AR Orphanet Congenital isolated ACTH deficiency . . +NME7 chr1 169132528 169367975 AR Orphanet Situs inversus totalis . . +SLC19A2 chr1 169463539 169485988 AR Orphanet Thiamine-responsive megaloblastic anemia syndrome . . +F5 chr1 169511951 169586699 AR Orphanet Congenital factor V deficiency . . +GORAB chr1 170531819 170553834 AR Orphanet Geroderma osteodysplastica . . +PRRX1 chr1 170662728 170739421 AR Orphanet Agnathia-holoprosencephaly-situs inversus syndrome . . +FMO3 chr1 171085113 171118675 AR ACMG Trimethylaminuria . . +MYOC chr1 171635417 171652742 AR Orphanet Congenital glaucoma . . +PIGC chr1 172370189 172444148 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +FASLG chr1 172658990 172666891 AR Orphanet Autoimmune lymphoproliferative syndrome . . +DARS2 chr1 173824540 173858808 AR Orphanet Leukoencephalopathy with brain stem and spinal cord involvement-high lactate syndrome . . +NPHS2 chr1 179550494 179575954 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +TOR1AIP1 chr1 179882042 179921442 AR Orphanet Congenital myasthenic syndrome due to defective nuclear membrane protein; and 1 other . . +LHX4 chr1 180228787 180278984 AR Orphanet Combined pituitary hormone deficiencies, genetic forms; and 2 others . . +XPR1 chr1 180632006 180890279 AR Orphanet Bilateral striopallidodentate calcinosis . . +CACNA1E chr1 181317690 181813262 AR Orphanet Early infantile developmental and epileptic encephalopathy . . +GLUL chr1 182378098 182392206 AR Orphanet Congenital brain dysgenesis due to glutamine synthetase deficiency . . +LAMC2 chr1 183186057 183245127 AR Orphanet Intermediate generalized junctional epidermolysis bullosa; and 1 other . . +NCF2 chr1 183554461 183593499 AR Orphanet Chronic granulomatous disease . . +TSEN15 chr1 184051629 184123978 AR Orphanet Pontocerebellar hypoplasia type 2 . . +EDEM3 chr1 184690237 184754907 AR Orphanet EDEM3-CDG . . +RNF2 chr1 185044865 185102850 AR Orphanet Non-specific syndromic intellectual disability . . +PRG4 chr1 186296222 186314567 AR Orphanet Camptodactyly-arthropathy-coxa-vara-pericarditis syndrome . . +TPR chr1 186311188 186375693 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +PLA2G4A chr1 186828949 186989902 AR Orphanet Cryptogenic multifocal ulcerous stenosing enteritis; and 1 other . . +CFH chr1 196651754 196753075 AR Orphanet Dense deposit disease; and 1 other . . +CFHR1 chr1 196819314 196837159 AR Orphanet Dense deposit disease . . +CFHR5 chr1 196975010 197009678 AR Orphanet Dense deposit disease . . +F13B chr1 197038737 197067267 AR Orphanet Congenital factor XIII deficiency . . +ASPM chr1 197084121 197146699 AR Orphanet Autosomal recessive primary microcephaly . . +CRB1 chr1 197268195 197478455 AR Orphanet Isolated complete colobomatous microphthalmia; and 2 others . . +PTPRC chr1 198629900 198759346 AR Orphanet T-B+NK+ severe combined immunodeficiency due to CD45 deficiency . . +KIF14 chr1 200551497 200620776 AR Orphanet Autosomal recessive primary microcephaly; and 1 other . . +DDX59 chr1 200623896 200670049 AR Orphanet Orofaciodigital syndrome type 5 . . +PKP1 chr1 201283452 201332993 AR Orphanet Ectodermal dysplasia-skin fragility syndrome . . +TNNT2 chr1 201356606 201379773 AR Orphanet Familial isolated dilated cardiomyopathy; and 2 others . AD +LMOD1 chr1 201896456 201946594 AR Orphanet Megacystis-microcolon-intestinal hypoperistalsis syndrome . . +UBE2T chr1 202328714 202341984 AR Orphanet Fanconi anemia . . +SYT2 chr1 202590596 202710526 AR Orphanet Autosomal recessive congenital myasthenic syndrome due to defective synaptic vesicles exocytosis . . +KDM5B chr1 202724495 202808526 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +SNRPE chr1 203861496 203871152 AR Orphanet Hypotrichosis simplex . . +REN chr1 204154815 204190324 AR Orphanet Renal tubular dysgenesis of genetic origin . . +KISS1 chr1 204190337 204196638 AR Orphanet Normosmic congenital hypogonadotropic hypogonadism . . +PPP1R15B chr1 204396492 204411887 AR Orphanet Primary microcephaly-mild intellectual disability-young-onset diabetes syndrome . . +DSTYK chr1 205142505 205211741 AR Orphanet Autosomal recessive spastic paraplegia type 23 . . +IL10 chr1 206767602 206774541 AR Orphanet Immune dysregulation-inflammatory bowel disease-arthritis-recurrent infections syndrome . . +CD55 chr1 207321171 207386804 AR Orphanet Complement hyperactivation-angiopathic thrombosis-protein-losing enteropathy syndrome . . +CR2 chr1 207453024 207489895 AR Orphanet Common variable immunodeficiency phenotype due to CD21 deficiency . . +LAMB3 chr1 209614870 209653146 AR Orphanet Hypoplastic amelogenesis imperfecta; and 2 others . . +HSD11B1 chr1 209686174 209745624 AR Orphanet Hyperandrogenism due to cortisone reductase deficiency . . +IRF6 chr1 209784984 209806217 AR Orphanet Oligodontia . . +SYT14 chr1 209900923 210171389 AR Orphanet Autosomal recessive cerebellar ataxia-psychomotor delay syndrome . . +HHAT chr1 210328252 210677385 AR Orphanet Chondrodysplasia-difference of sex development syndrome . . +KCNH1 chr1 210676823 211134183 AR Orphanet Zimmermann-Laband syndrome . . +RD3 chr1 211476522 211492490 AR Orphanet Leber congenital amaurosis . . +NEK2 chr1 211658251 211675663 AR Orphanet Retinitis pigmentosa . . +FLVCR1 chr1 212858230 212899363 AR Orphanet Posterior column ataxia-retinitis pigmentosa syndrome . . +PTPN14 chr1 214348700 214552449 AR Orphanet Lymphedema-posterior choanal atresia syndrome . . +CENPF chr1 214603172 214664574 AR Orphanet Lethal fetal brain malformation-duodenal atresia-bilateral renal hypoplasia syndrome; and 1 other . . +USH2A chr1 215621576 216423448 AR ACMG Usher syndrome type 2A . . +TGFB2 chr1 218345336 218444619 AR Orphanet Loeys-Dietz syndrome . . +SLC30A10 chr1 219685427 219959018 AR Orphanet Cirrhosis-dystonia-polycythemia-hypermanganesemia syndrome . . +IARS2 chr1 220094086 220148043 AR Orphanet Cataract-growth hormone deficiency-sensory neuropathy-sensorineural hearing loss-skeletal dysplasia syndrome; and 1 other . . +RAB3GAP2 chr1 220148293 220272529 AR Orphanet Autosomal recessive spastic paraplegia type 69; and 2 others . . +HLX chr1 220879431 220886046 AR Orphanet Diaphragmatic hernia-short bowel-asplenia syndrome . . +TAF1A chr1 222557901 222590162 AR Orphanet Familial isolated dilated cardiomyopathy . . +FBXO28 chr1 224114086 224162047 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +LBR chr1 225400900 225428925 AR Orphanet Greenberg dysplasia; and 1 other . . +EPHX1 chr1 225810048 225845567 AR Orphanet Familial hypercholanemia . . +PYCR2 chr1 225914982 225924340 AR Orphanet Autosomal recessive primary microcephaly; and 1 other . . +PSEN2 chr1 226870184 226927726 AR Orphanet Familial isolated dilated cardiomyopathy . . +COQ8A chr1 226938143 226987569 AR Orphanet Autosomal recessive ataxia due to ubiquinone deficiency . . +ARF1 chr1 228081841 228099212 AR Orphanet Periventricular nodular heterotopia . . +GJC2 chr1 228149891 228159826 AR Orphanet Autosomal recessive spastic paraplegia type 44; and 1 other . . +IBA57 chr1 228165777 228182257 AR Orphanet Autosomal recessive spastic paraplegia type 74; and 1 other . . +OBSCN chr1 228208026 228378876 AR Orphanet Genetic recurrent myoglobinuria . . +ACTA1 chr1 229430365 229434789 AR Orphanet Congenital fiber-type disproportion myopathy; and 4 others . . +NUP133 chr1 229439673 229508376 AR Orphanet Galloway-Mowat syndrome; and 1 other . . +COG2 chr1 230642440 230693985 AR Orphanet COG2-CDG . . +AGT chr1 230690776 230745576 AR Orphanet Renal tubular dysgenesis of genetic origin . . +GNPAT chr1 231241184 231277973 AR Orphanet Rhizomelic chondrodysplasia punctata type 2 . . +SPRTN chr1 231337104 231375416 AR Orphanet Progeroid features-hepatocellular carcinoma predisposition syndrome . . +COA6 chr1 234373438 234385080 AR Orphanet Fatal infantile cytochrome C oxidase deficiency . . +GGPS1 chr1 235327350 235344544 AR Orphanet Perrault syndrome type 1; and 1 other . . +TBCE chr1 235367360 235452443 AR Orphanet Autosomal recessive Kenny-Caffey syndrome; and 2 others . . +B3GALNT2 chr1 235447161 235504512 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 2 others . . +LYST chr1 235661041 235883724 AR Orphanet Attenuated Chédiak-Higashi syndrome; and 1 other . . +EDARADD chr1 236348257 236502915 AR Orphanet Autosomal recessive hypohidrotic ectodermal dysplasia; and 1 other . . +ACTN2 chr1 236664141 236764631 AR Orphanet Autosomal recessive ACTN2-related distal myopathy; and 1 other . . +MTR chr1 236795260 236921278 AR Orphanet Methylcobalamin deficiency type cblG . . +FMN2 chr1 240014348 240475190 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +GREM2 chr1 240489573 240612162 AR Orphanet Oligodontia . . +FH chr1 241497098 241519799 AR Orphanet Fumaric aciduria . . +SDCCAG8 chr1 243255349 243517961 AR Orphanet Bardet-Biedl syndrome; and 1 other . . +COX20 chr1 244835301 244845480 AR Orphanet Isolated cytochrome C oxidase deficiency . . +TPO chr2 1373933 1543711 AR Orphanet Familial thyroid dyshormonogenesis . . +PXDN chr2 1630844 1744852 AR Orphanet Congenital cataract microcornea with corneal opacity . . +TRAPPC12 chr2 3379669 3485094 AR Orphanet Early-onset progressive encephalopathy-hearing loss-pons hypoplasia-brain atrophy syndrome . . +COLEC11 chr2 3592791 3646144 AR Orphanet 3MC syndrome . . +CMPK2 chr2 6840570 6866635 AR Orphanet Bilateral striopallidodentate calcinosis . . +CPSF3 chr2 9423623 9473117 AR Orphanet Non-specific syndromic intellectual disability . . +ADAM17 chr2 9488482 9556732 AR Orphanet Neonatal erythroderma-autoinflammation-inflammatory bowel disease syndrome . . +LPIN1 chr2 11677539 11828185 AR Orphanet Genetic recurrent myoglobinuria . . +NBAS chr2 15166913 15561340 AR Orphanet Fever-associated acute infantile liver failure syndrome; and 1 other . . +WDR35 chr2 19910260 19990162 AR Orphanet Cranioectodermal dysplasia; and 2 others . . +MATN3 chr2 19992052 20012824 AR Orphanet Spondyloepimetaphyseal dysplasia, matrilin-3 type . . +APOB chr2 21001305 21044075 AR Orphanet APOB-related familial hypobetalipoproteinemia; and 1 other . AD +POMC chr2 25160361 25168952 AR Orphanet Obesity due to pro-opiomelanocortin deficiency . . +HADHA chr2 26189833 26245044 AR Orphanet Long chain 3-hydroxyacyl-CoA dehydrogenase deficiency; and 1 other . . +HADHB chr2 26243170 26290473 AR Orphanet Mitochondrial trifunctional protein deficiency . . +SELENOI chr2 26308547 26395885 AR Orphanet Autosomal recessive complex spastic paraplegia due to Kennedy pathway dysfunction . . +DRC1 chr2 26401908 26456717 AR Orphanet Non-syndromic male infertility due to sperm motility disorder; and 1 other . . +OTOF chr2 26457203 26558756 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +KCNK3 chr2 26692713 26733420 AR Orphanet Heritable pulmonary arterial hypertension . . +DPYSL5 chr2 26847747 26950351 AR Orphanet 3C syndrome; and 1 other . . +AGBL5 chr2 27042364 27070622 AR Orphanet Retinitis pigmentosa . . +KHK chr2 27086723 27100777 AR Orphanet Essential fructosuria . . +CAD chr2 27217345 27245683 AR Orphanet CAD-CDG . . +MPV17 chr2 27309486 27325680 AR Orphanet Navajo neurohepatopathy . . +EIF2B4 chr2 27363420 27370466 AR Orphanet Congenital or early infantile CACH syndrome; and 4 others . . +ZNF513 chr2 27377235 27380790 AR Orphanet Retinitis pigmentosa . . +IFT172 chr2 27444374 27489839 AR Orphanet Bardet-Biedl syndrome; and 3 others . . +PCARE chr2 29060976 29074566 AR Orphanet Retinitis pigmentosa . . +XDH chr2 31334320 31414756 AR Orphanet Xanthinuria type I . . +SRD5A2 chr2 31522480 31580943 AR Orphanet 46,XY difference of sex development due to 5-alpha-reductase 2 deficiency . . +LTBP1 chr2 32946472 33400509 AR Orphanet Autosomal recessive cutis laxa type 1 . . +CYP1B1 chr2 38066973 38109902 AR Orphanet Congenital glaucoma; and 1 other . . +GALM chr2 38665906 38766049 AR Orphanet Galactose mutarotase deficiency . . +SOS1 chr2 38962206 39124345 AR Orphanet Noonan syndrome . . +HAAO chr2 42765709 42792941 AR Orphanet Congenital vertebral-cardiac-renal anomalies syndrome . . +ZFP36L2 chr2 43221825 43226612 AR Orphanet Female infertility due to oocyte meiotic arrest . . +DYNC2LI1 chr2 43774011 43828352 AR Orphanet Ellis-Van Creveld syndrome; and 1 other . . +ABCG5 chr2 43806213 43838865 AR Orphanet Sitosterolemia . . +ABCG8 chr2 43831942 43882988 AR Orphanet Sitosterolemia . . +LRPPRC chr2 43886224 43996226 AR Orphanet Congenital lactic acidosis, Saguenay-Lac-Saint-Jean type . . +SLC3A1 chr2 44275458 44322674 AR Orphanet Cystinuria type A . . +PREPL chr2 44316185 44361862 AR Orphanet Congenital myasthenic syndrome due to defective synthesis or recycling of acetylcholine . . +CRIPT chr2 46616416 46685037 AR Orphanet Rothmund-Thomson syndrome type 3 . . +MCFD2 chr2 46895793 46941855 AR Orphanet Combined deficiency of factor V and factor VIII . . +TTC7A chr2 46915869 47076137 AR Orphanet Combined immunodeficiency-multiple intestinal atresia . . +EPCAM chr2 47345158 47387601 AR Orphanet Congenital tufting enteropathy . . +MSH2 chr2 47403067 47663146 AR Orphanet Constitutional mismatch repair deficiency syndrome . AD +MSH6 chr2 47695530 47810109 AR Orphanet Constitutional mismatch repair deficiency syndrome . AD +FBXO11 chr2 47785204 47906554 AR Orphanet Non-specific syndromic intellectual disability . . +LHCGR chr2 48686774 48755731 AR Orphanet Leydig cell hypoplasia due to complete LH resistance; and 1 other . . +FSHR chr2 48962157 49154527 AR Orphanet 46,XX gonadal dysgenesis . . +NRXN1 chr2 49918503 51225575 AR Orphanet NRXN1-related severe neurodevelopmental disorder-motor stereotypies-chronic constipation-sleep-wake cycle disturbance . . +SPTBN1 chr2 54456266 54671446 AR Orphanet Non-specific syndromic intellectual disability . . +CCDC88A chr2 55287363 55420042 AR Orphanet PEHO-like syndrome . . +PNPT1 chr2 55634061 55693863 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . . +FANCL chr2 58159243 58241410 AR Orphanet Fanconi anemia . . +REL chr2 60881491 60940021 AR Orphanet Combined immunodeficiency due to c-REL deficiency . . +PEX13 chr2 61017058 61062516 AR Orphanet Infantile Refsum disease; and 2 others . . +XPO1 chr2 61476032 61538753 AR Orphanet Non-specific syndromic intellectual disability . . +FAM161A chr2 61824848 61854143 AR Orphanet Retinitis pigmentosa . . +WDPCP chr2 63119559 63827843 AR Orphanet Bardet-Biedl syndrome; and 1 other . . +SLC1A4 chr2 64988477 65023865 AR Orphanet Spastic tetraplegia-thin corpus callosum-progressive postnatal microcephaly syndrome . . +SPRED2 chr2 65310851 65432682 AR Orphanet Noonan syndrome . . +ANTXR1 chr2 69013085 69249327 AR Orphanet GAPO syndrome . . +GFPT1 chr2 69319616 69387313 AR Orphanet Congenital myasthenic syndrome with glycosylation defect . . +NFU1 chr2 69396072 69437665 AR Orphanet Multiple mitochondrial dysfunctions syndrome type 1 . . +ASPRV1 chr2 69960089 69961631 AR Orphanet Lamellar ichthyosis . . +TGFA chr2 70447284 70554193 AR Orphanet Oligodontia . . +FIGLA chr2 70777310 70790643 AR Orphanet 46,XX gonadal dysgenesis . . +ATP6V1B1 chr2 70935771 70965431 AR Orphanet Autosomal recessive distal renal tubular acidosis . . +MCEE chr2 71108926 71130279 AR Orphanet Methylmalonic acidemia due to methylmalonyl-CoA epimerase deficiency . . +DYSF chr2 71453495 71686763 AR Orphanet Congenital myopathy, Paradas type; and 3 others . . +CYP26B1 chr2 72129238 72148430 AR Orphanet Lethal occipital encephalocele-skeletal dysplasia syndrome . . +EXOC6B chr2 72170079 72826055 AR Orphanet EXOC6B-related spondyloepimetaphyseal dysplasia with joint laxity . . +SPR chr2 72887374 72892158 AR Orphanet Dopa-responsive dystonia due to sepiapterin reductase deficiency . . +ALMS1 chr2 73385758 73625166 AR Orphanet Alström syndrome; and 2 others . . +TPRKB chr2 73709704 73737421 AR Orphanet Galloway-Mowat syndrome . . +STAMBP chr2 73828916 73873670 AR Orphanet Microcephaly-capillary malformation syndrome . . +ACTG2 chr2 73892232 73919865 AR Orphanet Megacystis-microcolon-intestinal hypoperistalsis syndrome . . +DGUOK chr2 73926794 73958961 AR Orphanet Adult-onset multiple mitochondrial DNA deletion syndrome due to DGUOK deficiency; and 1 other . . +TET3 chr2 73984910 74108177 AR Orphanet Intellectual disability-facial dysmorphism-joint hypermobility-hearing loss syndrome . . +BOLA3 chr2 74133333 74147977 AR Orphanet Multiple mitochondrial dysfunctions syndrome type 2 . . +MOGS chr2 74461057 74465415 AR Orphanet MOGS-CDG . . +HTRA2 chr2 74529274 74533966 AR Orphanet 3-methylglutaconic aciduria type 8 . . +LOXL3 chr2 74531716 74555718 AR Orphanet Autosomal recessive Stickler syndrome . . +SUCLG1 chr2 84423526 84460045 AR Orphanet Fatal infantile lactic acidosis with methylmalonic aciduria . . +ELMOD3 chr2 85354394 85391752 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +GGCX chr2 85544720 85561838 AR Orphanet Body skin hyperlaxity due to vitamin K-dependent coagulation factor deficiency; and 2 others . . +SFTPB chr2 85655154 85668741 AR Orphanet Neonatal acute respiratory distress syndrome due to SP-B deficiency . . +ST3GAL5 chr2 85837120 85905199 AR Orphanet GM3 synthase deficiency . . +POLR1A chr2 86020216 86106155 AR Orphanet Burn-McKeown syndrome . . +CD8A chr2 86784455 86808396 AR Orphanet Susceptibility to respiratory infections associated with CD8alpha chain mutation . . +EIF2AK3 chr2 88556741 88691518 AR Orphanet Wolcott-Rallison syndrome . . +RPIA chr2 88691642 88750935 AR Orphanet Ribose-5-P isomerase deficiency . . +MAL chr2 95025677 95054942 AR Orphanet Pelizaeus-Merzbacher-like disease . . +CIAO1 chr2 96266159 96274173 AR Orphanet Progressive muscle weakness-respiratory insufficiency-learning difficulty syndrome . . +SNRNP200 chr2 96274336 96321271 AR Orphanet Retinitis pigmentosa . . +LMAN2L chr2 96704824 96740087 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +CNNM4 chr2 96760858 96811888 AR Orphanet Jalili syndrome . . +ZAP70 chr2 97713190 97744327 AR Orphanet Combined immunodeficiency due to ZAP70 deficiency . . +CNGA3 chr2 98346188 98399797 AR Orphanet Achromatopsia; and 1 other . . +COA5 chr2 98598242 98608542 AR Orphanet Fatal infantile cytochrome C oxidase deficiency . . +LIPT1 chr2 99154955 99163199 AR Orphanet Lipoyl transferase 1 deficiency . . +FHL2 chr2 105352159 105438585 AR Orphanet Familial isolated dilated cardiomyopathy . . +SLC5A7 chr2 107986516 108014213 AR Orphanet Congenital myasthenic syndrome due to defective synthesis or recycling of acetylcholine . . +EDAR chr2 108894471 108989372 AR Orphanet Autosomal recessive hypohidrotic ectodermal dysplasia . . +NPHP1 chr2 110122311 110205071 AR Orphanet Bardet-Biedl syndrome; and 3 others . . +BUB1 chr2 110635468 110678098 AR Orphanet Mosaic variegated aneuploidy syndrome . . +ANAPC1 chr2 111611639 111884690 AR Orphanet Rothmund-Thomson syndrome type 1 . . +MERTK chr2 111898456 112040637 AR Orphanet Retinitis pigmentosa . . +POLR1B chr2 112541915 112579818 AR Orphanet Treacher-Collins syndrome . . +CKAP2L chr2 112736349 112764664 AR Orphanet Filippi syndrome . . +IL36RN chr2 113058638 113065382 AR Orphanet Acrodermatitis continua of Hallopeau; and 3 others . . +IL1RN chr2 113099315 113134016 AR Orphanet Sterile multifocal osteomyelitis with periostitis and pustulosis . . +CFAP221 chr2 119544167 119662251 AR Orphanet Primary ciliary dyskinesia . . +GLI2 chr2 120735623 120992653 AR Orphanet Combined pituitary hormone deficiencies, genetic forms . . +RNU4ATAC chr2 121530880 121531009 AR Orphanet Lowry-Wood syndrome; and 2 others . . +GYPC chr2 126655839 126696670 AR Orphanet Hereditary elliptocytosis . . +BIN1 chr2 127048017 127107556 AR Orphanet Autosomal recessive centronuclear myopathy . . +ERCC3 chr2 127257285 127294188 AR Orphanet Trichothiodystrophy; and 2 others . . +PROC chr2 127415933 127429762 AR Orphanet Severe hereditary thrombophilia due to congenital protein C deficiency . . +HS6ST1 chr2 128236716 128319093 AR Orphanet Kallmann syndrome; and 1 other . . +SMPD4 chr2 130150745 130183922 AR Orphanet Congenital arthrogryposis-microcephaly-facial dysmorphism-severe neurodevelopmental delay syndrome . . +VMA22 chr2 130337922 130342699 AR Orphanet CCDC115-CDG . . +RAB3GAP1 chr2 135052265 135176667 AR Orphanet Cataract-intellectual disability-hypogonadism syndrome; and 1 other . . +LCT chr2 135787850 135837184 AR Orphanet Congenital lactase deficiency . . +DARS1 chr2 135904936 135986100 AR Orphanet Hypomyelination with brain stem and spinal cord involvement and leg spasticity . . +CXCR4 chr2 136114349 136119177 AR Orphanet WHIM syndrome . . +HNMT chr2 137963988 138016818 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +KYNU chr2 142811826 143055833 AR Orphanet Congenital vertebral-cardiac-renal anomalies syndrome; and 1 other . . +ORC4 chr2 147930396 148021784 AR Orphanet Ear-patella-short stature syndrome . . +MMADHC chr2 149564526 149587812 AR Orphanet Methylcobalamin deficiency type cblDv1; and 2 others . . +NEB chr2 151485336 151734515 AR ACMG Nemaline myopathy 2 . . +ITGB6 chr2 160099661 160271888 AR Orphanet Alopecia-intellectual disability syndrome; and 2 others . . +TBR1 chr2 161416206 161425870 AR Orphanet Non-specific syndromic intellectual disability . . +SLC4A10 chr2 161424332 161985329 AR Orphanet Neurodevelopmental disorder-slit-like lateral ventricles-intellectual disability syndrome . . +IFIH1 chr2 162267074 162318684 AR Orphanet Aicardi-Goutières syndrome . . +SCN3A chr2 165087516 165204093 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +SCN2A chr2 165194993 165392310 AR Orphanet Early infantile developmental and epileptic encephalopathy; and 2 others . . +GALNT3 chr2 165747339 165846201 AR Orphanet Familial hyperphosphatemic tumoral calcinosis/Hyperphosphatemic hyperostosis syndrome . . +TTC21B chr2 165857475 165953851 AR Orphanet Infantile nephronophthisis; and 1 other . . +SCN1A chr2 165984641 166182806 AR Orphanet Epilepsy of infancy with migrating focal seizures; and 1 other . . +SCN9A chr2 166195185 166376001 AR Orphanet Congenital insensitivity to pain-anosmia-neuropathic arthropathy; and 1 other . . +ABCB11 chr2 168915498 169031332 AR Orphanet Benign recurrent intrahepatic cholestasis type 2; and 1 other . . +LRP2 chr2 169127109 169362780 AR ACMG Donnai-Barrow syndrome . . +BBS5 chr2 169479480 169509452 AR Orphanet Bardet-Biedl syndrome . . +KLHL41 chr2 169509684 169526262 AR Orphanet Intermediate nemaline myopathy; and 2 others . . +METTL5 chr2 169810081 169824931 AR Orphanet Autosomal recessive primary microcephaly . . +GAD1 chr2 170813213 170861151 AR Orphanet Inherited congenital spastic tetraplegia . . +DCAF17 chr2 171434217 171491318 AR Orphanet Woodhouse-Sakati syndrome . . +SLC25A12 chr2 171781168 171999859 AR Orphanet Epileptic encephalopathy with global cerebral demyelination . . +ITGA6 chr2 172234216 172506565 AR Orphanet Junctional epidermolysis bullosa with pyloric atresia . . +MAP3K20 chr2 173057181 173268909 AR Orphanet Congenital fiber-type disproportion myopathy; and 1 other . . +CDCA7 chr2 173354818 173368997 AR Orphanet ICF syndrome . . +WIPF1 chr2 174559563 174682916 AR Orphanet Congenital thrombocytopenia-recurrent infections syndrome due to WIP deficiency . . +CHRNA1 chr2 174747592 174787935 AR Orphanet Congenital myasthenic syndrome with primary acetylcholine receptor deficiency; and 3 others . . +CHN1 chr2 174797579 175005405 AR Orphanet Duane retraction syndrome . . +MTX2 chr2 176269395 176338025 AR Orphanet Mandibuloacral dysplasia associated to MTX2 . . +AGPS chr2 177392576 177567024 AR Orphanet Rhizomelic chondrodysplasia punctata type 3 . . +PRKRA chr2 178431292 178451512 AR Orphanet Dystonia 16 . . +PJVK chr2 178451346 178462408 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +TTN chr2 178525989 178830802 AR Orphanet Autosomal recessive centronuclear myopathy; and 7 others . AD +CCDC141 chr2 178829757 179051697 AR Orphanet Kallmann syndrome . . +CERKL chr2 181535041 181680665 AR Orphanet Retinitis pigmentosa . . +NCKAP1 chr2 182909115 183038858 AR Orphanet Non-specific syndromic intellectual disability . . +FSIP2 chr2 185738788 185833290 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +COL3A1 chr2 188974371 189012746 AR Orphanet Vascular Ehlers-Danlos syndrome; and 1 other . AD +HIBCH chr2 190189735 190344193 AR Orphanet Neurodegeneration due to 3-hydroxyisobutyryl-CoA hydrolase deficiency . . +GLS chr2 190880322 190965552 AR Orphanet Neonatal epileptic encephalopathy due to glutaminase deficiency . . +STAT1 chr2 190908460 191020960 AR Orphanet Susceptibility to viral and mycobacterial infections due to STAT1 deficiency . . +DNAH7 chr2 195737524 196068848 AR Orphanet Primary ciliary dyskinesia . . +PGAP1 chr2 196833004 196927796 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . . +HSPD1 chr2 197485928 197516737 AR Orphanet Pelizaeus-Merzbacher-like disease due to HSPD1 mutation . . +MARS2 chr2 197705369 197708395 AR Orphanet Autosomal recessive spastic ataxia with leukoencephalopathy; and 1 other . . +NDUFB3 chr2 201071433 201085757 AR Orphanet Isolated complex I deficiency . . +CASP10 chr2 201182693 201229428 AR Orphanet Autoimmune lymphoproliferative syndrome . . +CASP8 chr2 201233443 201361836 AR Orphanet Autoimmune lymphoproliferative syndrome-recurrent viral infections due to CASP8 deficiency . . +CATSPERT chr2 201487421 201619179 AR Orphanet Male infertility due to globozoospermia . . +TMEM237 chr2 201620184 201643570 AR Orphanet Isolated Joubert syndrome; and 3 others . . +ALS2 chr2 201700267 201782112 AR Orphanet Infantile-onset ascending hereditary spastic paralysis; and 2 others . . +BMPR2 chr2 202375835 202567751 AR Orphanet Heritable pulmonary arterial hypertension . . +ICOS chr2 203936757 203961577 AR Orphanet Late-onset combined immunodeficiency due to ICOS deficiency . . +NDUFS1 chr2 206114817 206159524 AR Orphanet Isolated complex I deficiency . . +EEF1B2 chr2 206159575 206164806 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +FASTKD2 chr2 206765357 206796189 AR Orphanet FASTKD2-related infantile mitochondrial encephalomyopathy . . +CRYGD chr2 208121607 208124595 AR Orphanet Cataract-microcornea syndrome; and 2 others . . +CRYGC chr2 208128137 208129828 AR Orphanet Cataract-microcornea syndrome; and 2 others . . +CRYGB chr2 208142573 208146163 AR Orphanet Total early-onset cataract . . +UNC80 chr2 209771569 209999300 AR Orphanet Hypotonia-speech impairment-severe cognitive delay syndrome due to UNC80 deficiency . . +MYL1 chr2 210290145 210315180 AR Orphanet Congenital myopathy with reduced type 2 muscle fibers . . +CPS1 chr2 210477641 210679109 AR Orphanet Carbamoyl-phosphate synthetase 1 deficiency . . +ERBB4 chr2 211375717 212539266 AR Orphanet Amyotrophic lateral sclerosis . . +IKZF2 chr2 212999691 213152427 AR Orphanet Combined immunodeficiency due to HELIOS deficiency . . +ABCA12 chr2 214931542 215138626 AR Orphanet Congenital ichthyosiform erythroderma; and 2 others . . +ATIC chr2 215311956 215352251 AR Orphanet AICA-ribosiduria . . +SMARCAL1 chr2 216412383 216483056 AR Orphanet Schimke immuno-osseous dysplasia . . +CXCR2 chr2 218125269 218137251 AR Orphanet Autosomal recessive severe congenital neutropenia due to CXCR2 deficiency . . +CATIP chr2 218356838 218369962 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +ZNF142 chr2 218633329 218659655 AR Orphanet Non-specific syndromic intellectual disability . . +BCS1L chr2 218658764 218668759 AR Orphanet Björnstad syndrome; and 3 others . . +STK36 chr2 218672027 218702717 AR Orphanet Primary ciliary dyskinesia . . +CYP27A1 chr2 218781688 218825335 AR ACMG Cerebrotendinous xanthomatosis . . +WNT10A chr2 218880852 218899581 AR Orphanet Autosomal recessive hypohidrotic ectodermal dysplasia; and 3 others . . +CRYBA2 chr2 218990189 218994270 AR Orphanet Early-onset nuclear cataract . . +CFAP65 chr2 219002846 219041527 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +IHH chr2 219054424 219061064 AR Orphanet Acrocapitofemoral dysplasia . . +NHEJ1 chr2 219069355 219160869 AR Orphanet Cernunnos-XLF deficiency . . +ABCB6 chr2 219209765 219219012 AR Orphanet Dyschromatosis universalis hereditaria; and 1 other . . +ANKZF1 chr2 219229769 219236679 AR Orphanet Early-onset inflammatory bowel disease-ulcerative skin lesions-immunodeficiency syndrome . . +DNAJB2 chr2 219279308 219286900 AR Orphanet DNAJB2-related Charcot-Marie-Tooth disease type 2; and 1 other . . +DES chr2 219417474 219426740 AR Orphanet Congenital myasthenic syndrome due to defective structural molecule at the neuromuscular junction; and 2 others . AD +SPEG chr2 219434471 219493629 AR Orphanet Autosomal recessive centronuclear myopathy . . +GMPPA chr2 219498618 219513898 AR Orphanet Triple A syndrome . . +OBSL1 chr2 219550727 219572076 AR Orphanet 3M syndrome . . +PAX3 chr2 222199887 222299011 AR Orphanet Waardenburg syndrome type 3 . . +FARSB chr2 222566899 222656313 AR Orphanet Interstitial lung disease-brain calcification syndrome . . +AP1S3 chr2 223667680 223838027 AR Orphanet Acrodermatitis continua of Hallopeau; and 2 others . . +MRPL44 chr2 223957386 223969078 AR Orphanet Infantile hypertrophic cardiomyopathy due to MRPL44 deficiency . . +COL4A4 chr2 227002713 227164559 AR Orphanet Autosomal recessive Alport syndrome; and 1 other . . +COL4A3 chr2 227164509 227314792 AR Orphanet Autosomal recessive Alport syndrome; and 1 other . . +MFF chr2 227325151 227361188 AR Orphanet MFF-related encephalopathy due to mitochondrial and peroxisomal fission defect . . +SLC19A3 chr2 227683763 227718088 AR ACMG Biotin-responsive basal ganglia disease . . +DAW1 chr2 227870931 227924344 AR Orphanet Primary ciliary dyskinesia . . +TRIP12 chr2 229763835 229923239 AR Orphanet Non-specific syndromic intellectual disability . . +SP110 chr2 230165186 230225729 AR Orphanet Hepatic veno-occlusive disease-immunodeficiency syndrome . . +ARMC9 chr2 231198546 231376848 AR Orphanet Isolated Joubert syndrome . . +PDE6D chr2 231732354 231786272 AR Orphanet Isolated Joubert syndrome; and 1 other . . +DIS3L2 chr2 231961245 232344350 AR Orphanet Perlman syndrome . . +ALPI chr2 232456125 232460753 AR Orphanet ALPI-related inflammatory bowel disease . . +ECEL1 chr2 232479825 232489045 AR Orphanet Distal arthrogryposis type 5D . . +PRSS56 chr2 232520388 232525716 AR Orphanet Isolated complete colobomatous microphthalmia . . +CHRND chr2 232525993 232536667 AR Orphanet Congenital myasthenic syndrome due to acetylcholine receptor clustering defect; and 4 others . . +CHRNG chr2 232539692 232548115 AR Orphanet Autosomal recessive multiple pterygium syndrome; and 1 other . . +KCNJ13 chr2 232765802 232776566 AR Orphanet Leber congenital amaurosis; and 1 other . . +SAG chr2 233307816 233347055 AR Orphanet Oguchi disease; and 1 other . . +UGT1A1 chr2 233760262 233773313 AR Orphanet Crigler-Najjar syndrome type 1; and 1 other . . +COL6A3 chr2 237324003 237414409 AR Orphanet Bethlem muscular dystrophy; and 3 others . . +MLPH chr2 237485428 237555322 AR Orphanet Griscelli syndrome type 3 . . +TWIST2 chr2 238848031 238910548 AR Orphanet Focal facial dermal dysplasia type III . . +KIF1A chr2 240713761 240824320 AR Orphanet Autosomal spastic paraplegia type 30; and 1 other . . +AGXT chr2 240868543 240881531 AR ACMG Primary hyperoxaluria type 1 . . +D2HGDH chr2 241734589 241768816 AR Orphanet D-2-hydroxyglutaric aciduria . . +TRNT1 chr3 3126364 3153435 AR Orphanet Congenital sideroblastic anemia-B-cell immunodeficiency-periodic fever-developmental delay syndrome . . +CRBN chr3 3144628 3179733 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +SUMF1 chr3 3700814 4467278 AR Orphanet Multiple sulfatase deficiency . . +ITPR1 chr3 4493345 4847518 AR Orphanet Aniridia-cerebellar ataxia-intellectual disability syndrome; and 1 other . . +GRM7 chr3 6770001 7741567 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . . +SSUH2 chr3 8619386 8745040 AR Orphanet Dentin dysplasia type I . . +CAV3 chr3 8733781 8841808 AR Orphanet Rippling muscle disease . . +SETD5 chr3 9397609 9479240 AR Orphanet Non-specific syndromic intellectual disability . . +CIDEC chr3 9864169 9891008 AR Orphanet CIDEC-related familial partial lipodystrophy . . +JAGN1 chr3 9890569 9894349 AR Orphanet Severe congenital neutropenia due to JAGN1 deficiency . . +IL17RC chr3 9917040 9933630 AR Orphanet Chronic mucocutaneous candidiasis . . +FANCD2 chr3 10026370 10101937 AR Orphanet Fanconi anemia . . +VHL chr3 10141764 10153676 AR Orphanet Chuvash erythrocytosis . AD +PPARG chr3 12287368 12455622 AR Orphanet PPARG-associated congenital generalized lipodystrophy . . +TSEN2 chr3 12480529 12541549 AR Orphanet Pontocerebellar hypoplasia type 2 . . +RAF1 chr3 12582101 12664201 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . . +IQSEC1 chr3 12897043 13283281 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +WNT7A chr3 13816157 13880104 AR Orphanet Fuhrmann syndrome; and 1 other . . +XPC chr3 14145145 14178767 AR ACMG Xeroderma pigmentosum . . +CCDC174 chr3 14651746 14674940 AR Orphanet Severe hypotonia-psychomotor developmental delay-strabismus-cardiac septal defect syndrome . . +RBSN chr3 15068565 15099163 AR Orphanet Progressive hypotonia-intellectual disability-facial dysmorphism syndrome due to FYVE-defective RBSN; and 1 other . . +COLQ chr3 15450132 15521928 AR Orphanet Synaptic congenital myasthenic syndrome . . +BTD chr3 15601341 15722522 AR ACMG Biotinidase deficiency hypomorph chr3:15645186:G:C p.Asp444His (p.Asp424His on NM_001370658.1), partial biotinidase deficiency . +SGO1 chr3 20155363 20186800 AR Orphanet Chronic atrial and intestinal dysrhythmia syndrome . . +THRB chr3 24117153 24495756 AR Orphanet Resistance to thyroid hormone due to a mutation in thyroid hormone receptor beta . . +RARB chr3 24687887 25597932 AR Orphanet Microphthalmia-motor delay-language delay-brain anomalies-diaphragmatic hernia syndrome . . +NGLY1 chr3 25718698 25790039 AR Orphanet Alacrimia-choreoathetosis-liver dysfunction syndrome . . +NEK10 chr3 27106484 27369460 AR Orphanet Primary ciliary dyskinesia . . +EOMES chr3 27715949 27722711 AR Orphanet Microcephaly-polymicrogyria-corpus callosum agenesis syndrome . . +TGFBR2 chr3 30606478 30694249 AR Orphanet Loeys-Dietz syndrome . AD +STT3B chr3 31532190 31638548 AR Orphanet STT3B-CDG . . +TRIM71 chr3 32817017 32897824 AR Orphanet Congenital communicating hydrocephalus . . +GLB1 chr3 32961103 33097436 AR Orphanet GM1 gangliosidosis type 1; and 3 others . . +CRTAP chr3 33113912 33147773 AR Orphanet Cole-Carpenter syndrome; and 3 others . . +PDCD6IP chr3 33798318 33869707 AR Orphanet Autosomal recessive primary microcephaly . . +MLH1 chr3 36992834 37051505 AR Orphanet Constitutional mismatch repair deficiency syndrome . AD +PLCD1 chr3 38007496 38029680 AR Orphanet Leukonychia totalis . . +MYD88 chr3 38138552 38143024 AR Orphanet Transient predisposition to invasive pyogenic bacterial infection . . +SCN5A chr3 38548057 38649743 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . AD +WDR48 chr3 39051991 39096671 AR Orphanet Autosomal recessive spastic paraplegia type 60 . . +TTC21A chr3 39107194 39140973 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +SLC25A38 chr3 39383292 39397426 AR Orphanet Autosomal recessive sideroblastic anemia . . +CTNNB1 chr3 41194741 41260096 AR Orphanet Familial exudative vitreoretinopathy . . +TRAK1 chr3 42013624 42225890 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +KLHL40 chr3 42685447 42695071 AR Orphanet Severe congenital nemaline myopathy . . +POMGNT2 chr3 43079229 43106098 AR Orphanet Walker-Warburg syndrome . . +ANO10 chr3 43354859 43691594 AR ACMG Spinocerebellar ataxia, recessive 10 . . +ABHD5 chr3 43690108 43734371 AR Orphanet Neutral lipid storage disease with ichthyosis . . +LARS2 chr3 45388516 45554726 AR Orphanet Perrault syndrome type 1; and 1 other . . +LZTFL1 chr3 45823316 45916042 AR Orphanet Bardet-Biedl syndrome . . +FYCO1 chr3 45917903 45995845 AR Orphanet Early-onset nuclear cataract; and 1 other . . +TMIE chr3 46694528 46710886 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +PTH1R chr3 46877706 46903799 AR Orphanet Blomstrand lethal chondrodysplasia; and 1 other . . +NBEAL2 chr3 46979660 47009707 AR Orphanet Gray platelet syndrome . . +PTPN23 chr3 47381011 47413442 AR Orphanet Non-specific syndromic intellectual disability . . +ATRIP chr3 48446710 48467645 AR Orphanet Seckel syndrome . . +TREX1 chr3 48465811 48467645 AR Orphanet Aicardi-Goutières syndrome . . +COL7A1 chr3 48564073 48595596 AR ACMG Recessive dystrophic epidermolysis bullosa . . +SLC25A20 chr3 48856926 48898993 AR Orphanet Carnitine-acylcarnitine translocase deficiency . . +P4HTM chr3 48989858 49007153 AR Orphanet HIDEA syndrome . . +DALRD3 chr3 49015474 49022293 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +NDUFAF3 chr3 49020459 49027593 AR Orphanet Isolated complex I deficiency . . +QARS1 chr3 49095932 49105130 AR Orphanet Diffuse cerebral and cerebellar atrophy-intractable seizures-progressive microcephaly syndrome; and 1 other . . +LAMB2 chr3 49121113 49133118 AR Orphanet Pierson syndrome; and 1 other . . +AMT chr3 49416771 49422685 AR Orphanet Infantile glycine encephalopathy; and 1 other . . +DAG1 chr3 49468649 49535624 AR Orphanet Alpha-dystroglycan-related limb-girdle muscular dystrophy R16; and 2 others . . +GMPPB chr3 49716844 49723988 AR Orphanet Congenital muscular dystrophy with cerebellar involvement; and 4 others . . +TRAIP chr3 49828595 49856597 AR Orphanet Seckel syndrome . . +GNAT1 chr3 50191586 50197696 AR Orphanet Congenital stationary night blindness, Riggs type . . +SLC38A3 chr3 50202871 50221504 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +HYAL1 chr3 50299883 50312890 AR Orphanet Hyaluronidase deficiency . . +ZMYND10 chr3 50341110 50345746 AR Orphanet Primary ciliary dyskinesia . . +DOCK3 chr3 50674875 51384198 AR Orphanet Non-specific syndromic intellectual disability . . +ACY1 chr3 51983047 51989457 AR Orphanet Aminoacylase 1 deficiency . . +POC1A chr3 52074590 52154746 AR Orphanet Short stature-onychodysplasia-facial dysmorphism-hypotrichosis syndrome . . +GLYCTK chr3 52286945 52295273 AR Orphanet D-glyceric aciduria . . +DNAH1 chr3 52316319 52400492 AR Orphanet Non-syndromic male infertility due to sperm motility disorder; and 1 other . . +BAP1 chr3 52398585 52410038 AR Orphanet Non-specific syndromic intellectual disability . . +TNNC1 chr3 52451082 52454071 AR Orphanet Familial isolated dilated cardiomyopathy . AD +RFT1 chr3 53048135 53130661 AR Orphanet RFT1-CDG . . +PRKCD chr3 53156009 53192717 AR Orphanet EBV-induced lymphoproliferative disease due to PRKCD deficiency . . +TKT chr3 53223040 53256055 AR Orphanet Transketolase deficiency . . +CACNA1D chr3 53328963 53813733 AR Orphanet Sinoatrial node dysfunction and deafness . . +IL17RD chr3 57089982 57170306 AR Orphanet Kallmann syndrome . . +HESX1 chr3 57182073 57227621 AR Orphanet Combined pituitary hormone deficiencies, genetic forms; and 4 others . . +FLNB chr3 58008398 58172251 AR Orphanet Spondylocarpotarsal synostosis . . +DNASE1L3 chr3 58191375 58214697 AR Orphanet Autosomal systemic lupus erythematosus; and 1 other . . +PDHB chr3 58425143 58434012 AR Orphanet Pyruvate dehydrogenase E1-beta deficiency . . +ADAMTS9 chr3 64515652 64688264 AR Orphanet Juvenile nephronophthisis . . +SLC25A26 chr3 66133610 66388116 AR Orphanet Neonatal severe cardiopulmonary failure due to mitochondrial methylation defect . . +EOGT chr3 68975217 69013719 AR Orphanet Adams-Oliver syndrome . . +LMOD3 chr3 69106065 69123032 AR Orphanet Severe congenital nemaline myopathy; and 1 other . . +MITF chr3 69738536 69968336 AR Orphanet Waardenburg-Shah syndrome . . +PROK2 chr3 71770940 71785419 AR Orphanet Kallmann syndrome; and 1 other . . +ROBO1 chr3 78595957 79768025 AR Orphanet Pituitary stalk interruption syndrome . . +GBE1 chr3 81489161 81761840 AR ACMG Glycogen storage disease type IV . . +CHMP2B chr3 87227258 87259944 AR Orphanet Amyotrophic lateral sclerosis . . +POU1F1 chr3 87259404 87276584 AR Orphanet Combined pituitary hormone deficiencies, genetic forms; and 1 other . . +PROS1 chr3 93873038 93980003 AR Orphanet Severe hereditary thrombophilia due to congenital protein S deficiency . . +ARL13B chr3 93980128 94055678 AR Orphanet Isolated Joubert syndrome . . +ARL6 chr3 97764521 97801229 AR Orphanet Bardet-Biedl syndrome; and 1 other . . +CPOX chr3 98579438 98593712 AR Orphanet Harderoporphyria . . +TFG chr3 100709295 100793279 AR Orphanet Autosomal recessive spastic paraplegia type 57 . . +IMPG2 chr3 101222546 101320575 AR Orphanet Retinitis pigmentosa . . +TRMT10C chr3 101561834 101566446 AR Orphanet Combined oxidative phosphorylation defect type 30 . . +IFT57 chr3 108160812 108222560 AR Orphanet Orofaciodigital syndrome type 18 . . +RMP64 chr3 113001460 113019861 AR Orphanet Anauxetic dysplasia . . +CFAP44 chr3 113286930 113441610 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +ATP6V1A chr3 113746296 113812251 AR Orphanet Autosomal recessive cutis laxa type 2, classic type; and 1 other . . +ARHGAP31 chr3 119294031 119420824 AR Orphanet Adams-Oliver syndrome . . +POGLUT1 chr3 119468791 119494708 AR Orphanet POGLUT1-related limb-girdle muscular dystrophy R21 . . +TIMMDC1 chr3 119498515 119525090 AR Orphanet Isolated complex I deficiency . . +HGD chr3 120628165 120682398 AR Orphanet Alkaptonuria . . +IQCB1 chr3 121769398 121835093 AR Orphanet Leber congenital amaurosis; and 1 other . . +ILDR1 chr3 121987322 122022282 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +CASR chr3 122183665 122291629 AR Orphanet Neonatal severe primary hyperparathyroidism . . +CSTA chr3 122325238 122359856 AR Orphanet Acral peeling skin syndrome; and 1 other . . +ADCY5 chr3 123282296 123449795 AR Orphanet Familial dyskinesia and facial myokymia . . +MYLK chr3 123610049 123884375 AR Orphanet Megacystis-microcolon-intestinal hypoperistalsis syndrome . . +UMPS chr3 124730433 124749384 AR Orphanet Hereditary orotic aciduria . . +UROC1 chr3 126481165 126517778 AR Orphanet Urocanic aciduria . . +PLXNA1 chr3 126982693 127037389 AR Orphanet Non-specific syndromic intellectual disability . . +ACAD9 chr3 128879494 128924003 AR Orphanet Acyl-CoA dehydrogenase 9 deficiency . . +GP9 chr3 129060774 129062435 AR Orphanet Bernard-Soulier syndrome . . +COPG1 chr3 129249575 129278068 AR Orphanet Combined immunodeficiency due to COPG1 deficiency . . +IFT122 chr3 129429607 129520510 AR Orphanet Cranioectodermal dysplasia . . +MBD4 chr3 129430282 129440543 AR Orphanet MBD4-related tumor predisposition syndrome . . +RHO chr3 129528637 129535344 AR Orphanet Congenital stationary night blindness, Riggs type; and 1 other . . +MRPL3 chr3 131459128 131502995 AR Orphanet Combined oxidative phosphorylation defect type 9 . . +UBA5 chr3 132654446 132679794 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +NPHP3 chr3 132680608 132722498 AR Orphanet Infantile nephronophthisis; and 4 others . . +BFSP2 chr3 133400056 133475222 AR Orphanet Pulverulent cataract . . +TF chr3 133745862 133796641 AR ACMG Atransferrinemia . . +SLCO2A1 chr3 133930258 134052184 AR Orphanet Chronic enteropathy associated with SLCO2A1 gene; and 1 other . . +CEP63 chr3 134485699 134587789 AR Orphanet Seckel syndrome . . +KY chr3 134599923 134651677 AR Orphanet Kyphoscoliosis-lateral tongue atrophy-hereditary spastic paraplegia syndrome; and 1 other . . +MSL2 chr3 135995448 136197241 AR Orphanet Non-specific syndromic intellectual disability . . +PCCB chr3 136250314 136351450 AR Orphanet Propionic acidemia . . +DZIP1L chr3 138029828 138115857 AR Orphanet Autosomal recessive polycystic kidney disease . . +DBR1 chr3 138160988 138174953 AR Orphanet Trichothiodystrophy . . +MRAS chr3 138347648 138405535 AR Orphanet Noonan syndrome . . +FOXL2 chr3 138944224 138947137 AR Orphanet Blepharophimosis-ptosis-epicanthus inversus syndrome type 1 . . +MRPS22 chr3 139005806 139360497 AR Orphanet 46,XX gonadal dysgenesis; and 1 other . . +COPB2 chr3 139353942 139389736 AR Orphanet Autosomal recessive primary microcephaly . . +RASA2 chr3 141486967 141615362 AR Orphanet Noonan syndrome . . +ATR chr3 142449007 142578868 AR Orphanet Seckel syndrome . . +PLOD2 chr3 146035022 146163725 AR Orphanet Bruck syndrome . . +AGTR1 chr3 148697784 148743045 AR Orphanet Renal tubular dysgenesis of genetic origin . . +GYG1 chr3 148991332 149031775 AR Orphanet Glycogen storage disease with severe cardiomyopathy due to glycogenin deficiency; and 1 other . . +HPS3 chr3 149129602 149173732 AR ACMG Hermansky-Pudlak syndrome 3 . . +CP chr3 149162410 149222049 AR Orphanet Aceruloplasminemia . . +CLRN1 chr3 150926163 150972727 AR ACMG,ACOG Usher syndrome type 3A . . +MED12L chr3 151085286 151437072 AR Orphanet Non-specific syndromic intellectual disability . . +P2RY12 chr3 151336843 151384765 AR Orphanet Bleeding disorder due to P2Y12 defect . . +MME chr3 155024124 155183813 AR Orphanet Charcot-Marie-Tooth disease type 2T; and 1 other . . +SLC33A1 chr3 155821024 155854563 AR Orphanet Congenital cataract-hearing loss-severe developmental delay syndrome . . +RSRC1 chr3 158105675 158545734 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +GFM1 chr3 158644516 158695836 AR Orphanet Hepatoencephalopathy due to combined oxidative phosphorylation defect type 1 . . +IFT80 chr3 160256986 160400357 AR Orphanet Jeune syndrome; and 2 others . . +SI chr3 164978898 165078496 AR Orphanet Congenital sucrase-isomaltase deficiency . . +BCHE chr3 165772900 165837462 AR Orphanet Hereditary butyrylcholinesterase deficiency . . +TERC chr3 169764610 169765060 AR Orphanet Dyskeratosis congenita; and 1 other . . +SLC7A14 chr3 170459548 170586149 AR Orphanet Retinitis pigmentosa . . +SLC2A2 chr3 170994621 171026775 AR Orphanet Fanconi-Bickel syndrome . . +TNIK chr3 171058414 171460473 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +GHSR chr3 172442551 172448456 AR Orphanet Short stature due to GHSR deficiency . . +SPATA16 chr3 172889357 173141235 AR Orphanet Male infertility due to globozoospermia . . +ACTL6A chr3 179562886 179588462 AR Orphanet Non-specific syndromic intellectual disability . . +CCDC39 chr3 180602858 180684942 AR Orphanet Primary ciliary dyskinesia . . +DNAJC19 chr3 180939429 180989843 AR Orphanet Dilated cardiomyopathy with ataxia . . +SOX2 chr3 181711925 181714436 AR Orphanet Isolated colobomatous microphthalmia; and 2 others . . +MCCC1 chr3 183015218 183116075 AR Orphanet 3-methylcrotonyl-CoA carboxylase deficiency . . +EIF2B5 chr3 184134986 184146127 AR Orphanet Congenital or early infantile CACH syndrome; and 4 others . . +ALG3 chr3 184242301 184249571 AR Orphanet ALG3-CDG . . +CLCN2 chr3 184346185 184363274 AR Orphanet Leukoencephalopathy with mild cerebellar ataxia and white matter edema . . +THPO chr3 184367389 184381968 AR Orphanet Congenital amegakaryocytic thrombocytopenia-THPO . . +EHHADH chr3 185190624 185281990 AR Orphanet Bifunctional enzyme deficiency; and 1 other . . +LIPH chr3 185506262 185552617 AR Orphanet Hypotrichosis simplex; and 1 other . . +AHSG chr3 186612776 186627803 AR Orphanet Alopecia-intellectual disability syndrome . . +KNG1 chr3 186717329 186744736 AR Orphanet Congenital high-molecular-weight kininogen deficiency . . +EIF4A2 chr3 186783205 186789901 AR Orphanet Non-specific syndromic intellectual disability . . +RFC4 chr3 186789866 186807058 AR Orphanet Motor incoordination-myopathy-respiratory insufficiency-progressive cerebellar atrophy syndrome . . +MASP1 chr3 187216086 187292278 AR Orphanet 3MC syndrome . . +TP63 chr3 189631252 189897276 AR Orphanet Isolated split hand-split foot malformation . . +P3H2 chr3 189956728 190122437 AR Orphanet Rare isolated myopia . . +CLDN1 chr3 190305706 190322977 AR Orphanet Neonatal ichthyosis-sclerosing cholangitis syndrome . . +CLDN16 chr3 190322522 190412460 AR Orphanet Primary hypomagnesemia with hypercalciuria and nephrocalcinosis without severe ocular involvement . . +FGF12 chr3 192139245 192767764 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +OPA1 chr3 193593102 193697947 AR Orphanet Behr syndrome . . +ATP13A3 chr3 194402672 194498364 AR Orphanet Heritable pulmonary arterial hypertension . . +TNK2 chr3 195863364 195911945 AR Orphanet TNK2-related epilepsy with severe cognitive regression . . +TFRC chr3 196012511 196082162 AR Orphanet Combined immunodeficiency due to TFRC deficiency . . +PCYT1A chr3 196214222 196287957 AR Orphanet Leber congenital amaurosis; and 1 other . . +RNF168 chr3 196468783 196503824 AR Orphanet RIDDLE syndrome . . +CEP19 chr3 196706268 196712603 AR Orphanet Bardet-Biedl syndrome; and 1 other . . +PAK2 chr3 196739743 196832647 AR Orphanet Knobloch syndrome . . +RUBCN chr3 197668867 197749727 AR Orphanet Autosomal recessive cerebellar ataxia-epilepsy-intellectual disability syndrome due to RUBCN deficiency . . +ZNF141 chr4 337762 384868 AR Orphanet Postaxial polydactyly type A . . +PIGG chr4 499195 541173 AR Orphanet Early-onset epilepsy-intellectual disability-brain anomalies syndrome . . +PDE6B chr4 625559 670782 AR Orphanet Congenital stationary night blindness, Riggs type; and 1 other . . +CPLX1 chr4 784957 827043 AR Orphanet Myoclonic epilepsy of infancy . . +IDUA chr4 986997 1008344 AR ACMG Mucopolysaccharidosis type I (Hurler and Hurler-Scheie) . . +RNF212 chr4 1056247 1113697 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +UVSSA chr4 1345691 1395989 AR Orphanet UV-sensitive syndrome . . +FGFR3 chr4 1793286 1808873 AR Orphanet Camptodactyly-tall stature-scoliosis-hearing loss syndrome . . +SH3BP2 chr4 2793015 2841291 AR Orphanet Cherubism . . +HTT chr4 3041363 3243957 AR Orphanet Non-specific syndromic intellectual disability . . +DOK7 chr4 3463190 3501540 AR Orphanet Congenital myasthenic syndrome due to defects in endplate development and maintenance; and 1 other . . +LRPAP1 chr4 3503612 3532446 AR Orphanet Rare isolated myopia . . +MSX1 chr4 4859665 4863936 AR Orphanet Oligodontia . . +EVC2 chr4 5542772 5709548 AR ACMG Ellis-van Creveld syndrome (chondroectodermal dysplasia) . . +EVC chr4 5711172 5814305 AR Orphanet Ellis-Van Creveld syndrome . . +WFS1 chr4 6269832 6303265 AR Orphanet Early-onset nuclear cataract; and 1 other . . +MAN2B2 chr4 6575130 6623362 AR Orphanet MAN2B2-CDG . . +HMX1 chr4 8846076 8872012 AR Orphanet Oculoauricular syndrome, Schorderet type . . +SLC2A9 chr4 9771148 10054936 AR Orphanet Hereditary renal hypouricemia . . +WDR1 chr4 10068089 10116988 AR Orphanet Periodic fever-immunodeficiency-thrombocytopenia syndrome . . +RAB28 chr4 13245110 13484365 AR Orphanet Cone rod dystrophy . . +NKX3-2 chr4 13540830 13545038 AR Orphanet Spondylo-megaepiphyseal-metaphyseal dysplasia . . +CC2D2A chr4 15469865 15602097 AR ACMG Joubert syndrome 9; Meckel syndrome 6 . . +PROM1 chr4 15963076 16084378 AR Orphanet Cone rod dystrophy; and 2 others . . +TAPT1 chr4 16160505 16227606 AR Orphanet Complex lethal osteochondrodysplasia . . +QDPR chr4 17460261 17512257 AR Orphanet Dihydropteridine reductase deficiency . . +SEPSECS chr4 25119291 25160550 AR Orphanet Pontocerebellar hypoplasia type 2; and 1 other . . +SLC34A2 chr4 25648011 25679132 AR Orphanet Pulmonary alveolar microlithiasis . . +RBPJ chr4 26163455 26435131 AR Orphanet Adams-Oliver syndrome . . +WDR19 chr4 39182463 39285810 AR Orphanet Cranioectodermal dysplasia; and 3 others . . +RFC1 chr4 39287455 39366400 AR Orphanet Cerebellar ataxia with neuropathy and bilateral vestibular areflexia syndrome . . +LIAS chr4 39459004 39485109 AR Orphanet Lipoic acid synthetase deficiency . . +RHOH chr4 40191011 40246967 AR Orphanet T-cell immunodeficiency with epidermodysplasia verruciformis . . +UCHL1 chr4 41256413 41268567 AR Orphanet Early-onset progressive neurodegeneration-blindness-ataxia-spasticity syndrome . . +SLC30A9 chr4 41990492 42099369 AR Orphanet Psychomotor regression-oculomotor apraxia-movement disorder-nephropathy syndrome . . +GRXCR1 chr4 42892713 43030658 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +GUF1 chr4 44678403 44703060 AR Orphanet Infantile epileptic spasms syndrome . . +GABRA2 chr4 46243548 46475230 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +CNGA1 chr4 47935128 48017301 AR Orphanet Retinitis pigmentosa . . +SGCB chr4 52020697 52038305 AR Orphanet Beta-sarcoglycan-related limb-girdle muscular dystrophy R4 . . +GSX2 chr4 54099523 54102498 AR Orphanet Diencephalic-mesencephalic junction dysplasia . . +SRD5A3 chr4 55346073 55373100 AR Orphanet SRD5A3-CDG . . +TMEM165 chr4 55395624 55453888 AR Orphanet TMEM165-CDG . . +CEP135 chr4 55948819 56033361 AR Orphanet Autosomal recessive primary microcephaly . . +PAICS chr4 56435058 56464578 AR Orphanet PAICS deficiency . . +SPINK2 chr4 56809857 56821869 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +IGFBP7 chr4 56986181 57110921 AR Orphanet Familial retinal arterial macroaneurysm . . +TECRL chr4 64275255 64409578 AR Orphanet TECRL-related catecholaminergic polymorphic ventricular tachycardia . . +GNRHR chr4 67737118 67754403 AR Orphanet Normosmic congenital hypogonadotropic hypogonadism . . +AMTN chr4 70518569 70532743 AR Orphanet Hypocalcified amelogenesis imperfecta . . +AMBN chr4 70592256 70607288 AR Orphanet Hypoplastic amelogenesis imperfecta . . +ENAM chr4 70628744 70646824 AR Orphanet Hypoplastic amelogenesis imperfecta . . +SLC4A4 chr4 71062644 71572087 AR Orphanet Autosomal recessive proximal renal tubular acidosis . . +ADAMTS3 chr4 72280969 72569365 AR Orphanet Hennekam syndrome . . +ALB chr4 73397114 73426607 AR Orphanet Congenital analbuminemia . . +AFP chr4 73431138 73456174 AR Orphanet Congenital deficiency in alpha-fetoprotein . . +ODAPH chr4 75556028 75565997 AR Orphanet Hypomaturation amelogenesis imperfecta . . +NUP54 chr4 76107562 76148509 AR Orphanet Familial infantile bilateral striatal necrosis . . +SCARB2 chr4 76158723 76234536 AR Orphanet Action myoclonus-renal failure syndrome; and 1 other . . +FRAS1 chr4 78056961 78544458 AR Orphanet Fraser syndrome . . +ANTXR2 chr4 79901146 80125454 AR Orphanet Infantile systemic hyalinosis; and 1 other . . +PRDM8 chr4 80183879 80260318 AR Orphanet PRDM8-related progressive myoclonus epilepsy . . +FGF5 chr4 80266639 80336680 AR Orphanet Familial isolated trichomegaly . . +WDFY3 chr4 84668765 84966924 AR Orphanet Non-specific syndromic intellectual disability . . +ARHGAP24 chr4 85475113 86002668 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +DMP1 chr4 87650278 87664361 AR Orphanet Autosomal recessive hypophosphatemic rickets . . +PPM1K chr4 88257620 88284769 AR Orphanet Intermediate maple syrup urine disease . . +PIGY chr4 88520986 88523776 AR Orphanet Hyperphosphatasia-intellectual disability syndrome . . +SNCA chr4 89700345 89838321 AR Orphanet Parkinsonian-pyramidal syndrome . . +GRID2 chr4 92303966 93810157 AR Orphanet Autosomal recessive congenital cerebellar ataxia due to GRID2 deficiency . . +ATOH1 chr4 93828753 93830964 AR Orphanet Sensorineural hearing loss-brainstem malformation-motor delay-balance impairment syndrome . . +BMPR1B chr4 94757937 95158449 AR Orphanet Acromesomelic dysplasia, Grebe type; and 1 other . . +PDHA2 chr4 95840093 95841464 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +TRMT10A chr4 99546700 99564070 AR Orphanet Primary microcephaly-mild intellectual disability-young-onset diabetes syndrome . . +MTTP chr4 99564081 99623997 AR Orphanet Abetalipoproteinemia . . +PPP3CA chr4 101023409 101348278 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +SLC39A8 chr4 102251037 102431258 AR Orphanet SLC39A8-CDG . . +MANBA chr4 102630770 102761000 AR Orphanet Beta-mannosidosis . . +CISD2 chr4 102868738 102903259 AR Orphanet Wolfram syndrome . . +CENPE chr4 103105349 103198463 AR Orphanet Autosomal recessive primary microcephaly; and 1 other . . +TACR3 chr4 103585817 103719986 AR Orphanet Kallmann syndrome; and 1 other . . +TET2 chr4 105145875 105279816 AR Orphanet EBV-induced lymphoproliferative disease due to TET2 deficiency . . +TBCK chr4 106041599 106316683 AR Orphanet TBCK-related encephalopathy-severe hypotonia-craniofacial dysmorphism syndrome . . +AIMP1 chr4 106315544 106349836 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . . +CYP2U1 chr4 107931324 107953465 AR Orphanet Autosomal recessive spastic paraplegia type 56 . . +HADH chr4 107989683 108035241 AR Orphanet Hyperinsulinism due to short chain 3-hydroxylacyl-CoA dehydrogenase deficiency . . +COL25A1 chr4 108808725 109302830 AR Orphanet Congenital fibrosis of extraocular muscles; and 1 other . . +CFI chr4 109730868 109802200 AR Orphanet Immunodeficiency with factor I anomaly . . +LRIT3 chr4 109846013 109872315 AR Orphanet Complete congenital stationary night blindness, Schubert-Bornschein type . . +EGF chr4 109912878 110013948 AR Orphanet EGF-related primary hypomagnesemia with intellectual disability . . +LARP7 chr4 112636990 112657861 AR Orphanet Alazami syndrome . . +PRSS12 chr4 118280038 118353230 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +SEC24D chr4 118722572 118838683 AR Orphanet Cole-Carpenter syndrome . . +PRDM5 chr4 120684919 120923089 AR Orphanet Brittle cornea syndrome . . +NDNF chr4 121029310 121074085 AR Orphanet Kallmann syndrome . . +EXOSC9 chr4 121801318 121817023 AR Orphanet Pontocerebellar hypoplasia type 1 . . +BBS7 chr4 121824329 121870502 AR Orphanet Bardet-Biedl syndrome . . +BLTP1 chr4 122152327 122364167 AR Orphanet KIAA1109-related early lethal congenital brain malformations-arthrogryposis syndrome . . +IL21 chr4 122610108 122621066 AR Orphanet IL21-related infantile inflammatory bowel disease . . +BBS12 chr4 122732653 122746078 AR Orphanet Bardet-Biedl syndrome . . +AFG2A chr4 122923070 123319433 AR Orphanet Microcephaly-intellectual disability-sensorineural hearing loss-epilepsy-abnormal muscle tone syndrome . . +FAT4 chr4 125314918 125492932 AR Orphanet Cerebrofacioarticular syndrome; and 1 other . . +PLK4 chr4 127880890 127899224 AR Orphanet Autosomal recessive chorioretinopathy-microcephaly syndrome; and 1 other . . +MFSD8 chr4 127917799 127966034 AR Orphanet Cone rod dystrophy . . +SCLT1 chr4 128864921 129093622 AR Orphanet Bardet-Biedl syndrome . . +NAA15 chr4 139301446 139420033 AR Orphanet Non-specific syndromic intellectual disability . . +RAB33B chr4 139453232 139483974 AR Orphanet Smith-McCort dysplasia . . +MMAA chr4 145599042 145660033 AR Orphanet Vitamin B12-responsive methylmalonic acidemia type cblA . . +TTC29 chr4 146703989 146945882 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +LRBA chr4 150264430 151015755 AR Orphanet Syndromic autoimmune enteropathy due to LRBA deficiency . . +MAB21L2 chr4 150582151 150584693 AR Orphanet Colobomatous microphthalmia-rhizomelic dysplasia syndrome . . +FBXW7 chr4 152320544 152536353 AR Orphanet Non-specific syndromic intellectual disability . . +TRIM2 chr4 153152163 153339319 AR Orphanet Charcot-Marie-Tooth disease type 2R . . +FGB chr4 154562952 154572807 AR Orphanet Familial afibrinogenemia . . +FGA chr4 154581966 154590751 AR Orphanet Familial afibrinogenemia . . +FGG chr4 154604058 154612967 AR Orphanet Familial afibrinogenemia . . +LRAT chr4 154626945 154753158 AR Orphanet Leber congenital amaurosis; and 2 others . . +GUCY1A1 chr4 155666697 155737059 AR Orphanet Moyamoya disease with early-onset achalasia . . +TDO2 chr4 155854738 155921470 AR Orphanet Hypertryptophanemia . . +GLRB chr4 157076094 157172097 AR Orphanet Hereditary hyperekplexia . . +ETFDH chr4 158671968 158710758 AR Orphanet Multiple acyl-CoA dehydrogenase deficiency, mild type; and 1 other . . +MSMO1 chr4 165327660 165343318 AR Orphanet Microcephaly-congenital cataract-psoriasiform dermatitis syndrome . . +CPE chr4 165361194 165499352 AR Orphanet CPE-related Prader-Willi-like syndrome . . +NEK1 chr4 169369704 169612646 AR Orphanet Orofaciodigital syndrome type 2; and 1 other . . +CLCN3 chr4 169612438 169723673 AR Orphanet Non-specific syndromic intellectual disability . . +HAND2 chr4 173524969 173530229 AR Orphanet Familial isolated dilated cardiomyopathy . . +HPGD chr4 174453668 174523154 AR Orphanet Cranio-osteoarthropathy; and 2 others . . +AGA chr4 177430127 177442450 AR ACMG Aspartylglucosaminuria . . +TENM3 chr4 182143918 182803024 AR Orphanet Isolated colobomatous microphthalmia . . +TRAPPC11 chr4 183659267 183714419 AR Orphanet Intellectual disability-hyperkinetic movement-truncal ataxia syndrome; and 2 others . . +SLC25A4 chr4 185143233 185150393 AR Orphanet Congenital cataract-hypertrophic cardiomyopathy-mitochondrial myopathy syndrome . . +UFSP2 chr4 185397598 185425987 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +CYP4V2 chr4 186191258 186215245 AR Orphanet Bietti crystalline dystrophy . . +KLKB1 chr4 186225424 186258476 AR Orphanet Congenital prekallikrein deficiency . . +F11 chr4 186260159 186291745 AR Orphanet Congenital factor XI deficiency . . +SDHA chr5 218206 257084 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . . +SLC9A3 chr5 470456 524450 AR Orphanet Congenital sodium diarrhea . . +TRIP13 chr5 892849 919357 AR Orphanet Mosaic variegated aneuploidy syndrome . . +SLC6A19 chr5 1201595 1225111 AR Orphanet Hartnup disease . . +TERT chr5 1253147 1295086 AR Orphanet Dyskeratosis congenita; and 1 other . . +SLC6A3 chr5 1392794 1445514 AR Orphanet Infantile dystonia-parkinsonism . . +NDUFS6 chr5 1801363 1816051 AR Orphanet Isolated complex I deficiency . . +NSUN2 chr5 6599237 6633332 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +MTRR chr5 7851186 7906025 AR Orphanet Methylcobalamin deficiency type cblE . . +CCT5 chr5 10249929 10266389 AR Orphanet Mutilating hereditary sensory neuropathy with spastic paraplegia . . +DNAH5 chr5 13690328 14011818 AR Orphanet Primary ciliary dyskinesia . . +OTULIN chr5 14664664 14716529 AR Orphanet Infantile-onset periodic fever-panniculitis-dermatosis syndrome . . +ANKH chr5 14704800 14871949 AR Orphanet Craniometaphyseal dysplasia . . +RETREG1 chr5 16473038 16617194 AR Orphanet Hereditary sensory and autonomic neuropathy type 2 . . +ZFR chr5 32354344 32444766 AR Orphanet Autosomal recessive spastic paraplegia type 71 . . +NPR3 chr5 32689070 32791724 AR Orphanet Tall stature-long halluces-multiple extra-epiphyses syndrome . . +TARS1 chr5 33440696 33471929 AR Orphanet Trichothiodystrophy . . +SLC45A2 chr5 33943530 33986124 AR Orphanet Oculocutaneous albinism type 4 . . +AMACR chr5 33986165 34010219 AR Orphanet Congenital bile acid synthesis defect type 4 . . +DNAJC21 chr5 34929525 34958964 AR Orphanet Shwachman-Diamond syndrome . . +SPEF2 chr5 35617839 35814611 AR Orphanet Non-syndromic male infertility due to sperm motility disorder; and 1 other . . +IL7R chr5 35852695 35879603 AR Orphanet Omenn syndrome; and 1 other . . +LMBRD2 chr5 36098327 36151976 AR Orphanet Non-specific syndromic intellectual disability . . +NADK2 chr5 36191555 36242279 AR Orphanet Progressive encephalopathy with leukodystrophy due to DECR deficiency . . +CPLANE1 chr5 37105973 37249410 AR Orphanet Isolated Joubert syndrome; and 1 other . . +LIFR chr5 38474668 38608354 AR Orphanet Stüve-Wiedemann syndrome . . +FYB1 chr5 39105251 39274528 AR Orphanet Congenital autosomal recessive small-platelet thrombocytopenia . . +C9 chr5 39283911 39371365 AR Orphanet Immunodeficiency due to a late component of complement deficiency . . +C7 chr5 40909416 41020216 AR Orphanet Immunodeficiency due to a late component of complement deficiency . . +C6 chr5 41140236 41261561 AR Orphanet Immunodeficiency due to a late component of complement deficiency . . +OXCT1 chr5 41729460 41870590 AR Orphanet Succinyl-CoA:3-oxoacid CoA transferase deficiency . . +GHR chr5 42423439 42721878 AR Orphanet Laron syndrome . . +NNT chr5 43602584 43707405 AR Orphanet Familial glucocorticoid deficiency . . +HCN1 chr5 45254948 45696498 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +MOCS2 chr5 53094141 53113016 AR Orphanet Sulfite oxidase deficiency due to molybdenum cofactor deficiency type B . . +NDUFS4 chr5 53560633 53683340 AR Orphanet Isolated complex I deficiency . . +MCIDAS chr5 55218790 55227315 AR Orphanet Primary ciliary dyskinesia . . +CCNO chr5 55231152 55233649 AR Orphanet Primary ciliary dyskinesia . . +IL6ST chr5 55935095 55995022 AR Orphanet Autosomal recessive combined immunodeficiency due to complete IL6ST deficiency; and 1 other . . +MAP3K1 chr5 56815381 56896152 AR Orphanet 46,XY complete gonadal dysgenesis; and 1 other . . +ERCC8 chr5 60866454 60945078 AR Orphanet Cockayne syndrome type 1; and 3 others . . +NDUFAF2 chr5 60945117 61154531 AR Orphanet Isolated complex I deficiency . . +CWC27 chr5 64766368 65102412 AR Orphanet Brachydactyly-short stature-retinitis pigmentosa syndrome . . +PIK3R1 chr5 68215740 68301821 AR Orphanet Autosomal non-syndromic agammaglobulinemia . . +MARVELD2 chr5 69415065 69444330 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +OCLN chr5 69492184 69558114 AR Orphanet Pseudo-TORCH syndrome type 1 . . +SMN1 chr5 70925030 70953942 AR ACMG,ACOG Spinal muscular atrophy . . +BDP1 chr5 71455639 71567820 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +MCCC2 chr5 71579531 71658706 AR ACMG 3-methylcrotonyl-CoA carboxylase 2 deficiency . . +MAP1B chr5 72107234 72209565 AR Orphanet Periventricular nodular heterotopia . . +HEXB chr5 74640023 74722647 AR Orphanet Sandhoff disease, adult form; and 2 others . . +GFM2 chr5 74721206 74767155 AR Orphanet Combined oxidative phosphorylation defect type 39 . . +HMGCR chr5 75336329 75364241 AR Orphanet Autosomal recessive limb-girdle muscular dystrophy, type 28 . . +CERT1 chr5 75356345 75512138 AR Orphanet Non-specific syndromic intellectual disability . . +AP3B1 chr5 77991640 78294762 AR Orphanet Hermansky-Pudlak syndrome due to AP3B1 deficiency . . +ARSB chr5 78777209 78986087 AR Orphanet Mucopolysaccharidosis type 6, rapidly progressing; and 1 other . . +DMGDH chr5 78996960 79236038 AR Orphanet Dimethylglycine dehydrogenase deficiency . . +DHFR chr5 80626226 80655002 AR Orphanet Constitutional megaloblastic anemia with severe neurologic disease . . +MSH3 chr5 80654613 80880295 AR Orphanet MSH3-related polyposis . . +XRCC4 chr5 83077498 83370453 AR Orphanet Microcephalic primordial dwarfism-insulin resistance syndrome . . +VCAN chr5 83471618 83585130 AR Orphanet Wagner disease . . +ADGRV1 chr5 90529344 91171299 AR Orphanet Usher syndrome type 2 . . +KIAA0825 chr5 94150851 94618616 AR Orphanet Postaxial polydactyly type A . . +SKIC3 chr5 95461755 95555050 AR Orphanet Trichohepatoenteric syndrome . . +ARSK chr5 95555081 95607966 AR Orphanet Mucopolysaccharidosis type 10 . . +CAST chr5 95962001 96631085 AR Orphanet Peeling skin-leukonychia-acral punctate keratoses-cheilitis-knuckle pads syndrome . . +PCSK1 chr5 96390333 96434143 AR Orphanet Obesity due to prohormone convertase I deficiency . . +PPIP5K2 chr5 103120149 103212799 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +SLC25A46 chr5 110738136 110765173 AR Orphanet Hereditary motor and sensory neuropathy type 6; and 1 other . . +APC chr5 112707452 112846239 AR Orphanet Attenuated familial adenomatous polyposis; and 2 others . AD +HSD17B4 chr5 119452465 119637199 AR Orphanet Bifunctional enzyme deficiency; and 2 others . . +CEP120 chr5 123344888 123423592 AR Orphanet Isolated Joubert syndrome; and 2 others . . +ALDH7A1 chr5 126531200 126595362 AR Orphanet Pyridoxine-dependent-developmental and epileptic encephalopathy . . +MEGF10 chr5 127290796 127465737 AR Orphanet Early-onset myopathy-areflexia-respiratory distress-dysphagia syndrome . . +SLC12A2 chr5 128083165 128189687 AR Orphanet SLC12A2-related autosomal recessive neonatal-developmental delay-intellectual disability-feeding difficulty-sensorineural deafness syndrome . . +MINAR2 chr5 129748094 129766732 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +HINT1 chr5 131155383 131224468 AR Orphanet Autosomal recessive axonal neuropathy with neuromyotonia . . +LYRM7 chr5 131170845 131205428 AR Orphanet Isolated complex III deficiency . . +FNIP1 chr5 131641714 131797041 AR Orphanet Agammaglobulinemia-early-onset hypertrophic cardiomyopathy-neutropenia syndrome . . +SLC22A5 chr5 132369493 132395615 AR Orphanet Systemic primary carnitine deficiency . . +IRF1 chr5 132440440 132508719 AR Orphanet Severe mendelian susceptibility to mycobacterial diseases due to complete IRF1 deficiency . . +RAD50 chr5 132556019 132646349 AR Orphanet Nijmegen breakage syndrome-like disorder . . +UQCRQ chr5 132866623 132868847 AR Orphanet Isolated complex III deficiency . . +SAR1B chr5 134601149 134649271 AR Orphanet Chylomicron retention disease . . +TXNDC15 chr5 134874308 134902952 AR Orphanet Meckel syndrome . . +KLHL3 chr5 137617500 137736221 AR Orphanet Pseudohypoaldosteronism type 2D . . +NME5 chr5 138114412 138139443 AR Orphanet Primary ciliary dyskinesia . . +KIF20A chr5 138178715 138188171 AR Orphanet Familial isolated restrictive cardiomyopathy . . +REEP2 chr5 138438976 138446969 AR Orphanet Autosomal spastic paraplegia type 72 . . +HSPA9 chr5 138553756 138575675 AR Orphanet Autosomal recessive sideroblastic anemia; and 1 other . . +SIL1 chr5 138886914 139293557 AR Orphanet Marinesco-Sjögren syndrome . . +MATR3 chr5 139273752 139332518 AR Orphanet Amyotrophic lateral sclerosis . . +NDUFA2 chr5 140638740 140647823 AR Orphanet Cystic leukoencephalopathy without megalencephaly . . +HARS1 chr5 140673035 140691537 AR Orphanet Usher syndrome type 3 . . +HARS2 chr5 140691422 140699315 AR Orphanet Perrault syndrome type 1; and 1 other . . +PCDHGC4 chr5 141484997 141512977 AR Orphanet Non-specific syndromic intellectual disability . . +DIAPH1 chr5 141515016 141619194 AR Orphanet Moyamoya disease; and 1 other . . +PCDH12 chr5 141943581 141969741 AR Orphanet Diencephalic-mesencephalic junction dysplasia . . +SPRY4 chr5 142310420 142326455 AR Orphanet Kallmann syndrome; and 1 other . . +NR3C1 chr5 143277931 143435512 AR Orphanet Generalized glucocorticoid resistance syndrome . . +YIPF5 chr5 144158161 144170714 AR Orphanet Primary microcephaly-epilepsy-permanent neonatal diabetes syndrome . . +GRXCR2 chr5 145858521 145937126 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +LARS1 chr5 146110566 146182696 AR Orphanet Acute infantile liver failure-multisystemic involvement syndrome . . +SPINK1 chr5 147824572 147831679 AR Orphanet Autosomal recessive hereditary chronic pancreatitis . . +SPINK5 chr5 148025683 148141031 AR Orphanet Netherton syndrome . . +SH3TC2 chr5 148923639 149063163 AR Orphanet Charcot-Marie-Tooth disease type 4C . . +PDE6A chr5 149857953 149945287 AR Orphanet Retinitis pigmentosa . . +SLC26A2 chr5 149960748 149993455 AR ACMG Multiple epiphyseal dysplasia 4; achondrogenesis Ib . . +CSF1R chr5 150053291 150113372 AR Orphanet Early-onset calcifying leukoencephalopathy-skeletal dysplasia . . +PDGFRB chr5 150113839 150186363 AR Orphanet Bilateral striopallidodentate calcinosis; and 1 other . . +ARSI chr5 150296343 150339307 AR Orphanet Autosomal recessive spastic paraplegia type 66 . . +TCOF1 chr5 150357629 150400510 AR Orphanet Treacher-Collins syndrome . . +NDST1 chr5 150485405 150558211 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +GM2A chr5 151212150 151281466 AR Orphanet GM2 gangliosidosis, AB variant . . +SLC36A2 chr5 151314972 151347602 AR Orphanet Iminoglycinuria . . +SPARC chr5 151661096 151687352 AR Orphanet Osteogenesis imperfecta type 4 . . +GLRA1 chr5 151822513 151924851 AR Orphanet Hereditary hyperekplexia . . +GRIA1 chr5 153489615 153813869 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +GEMIN5 chr5 154886740 154938242 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +SGCD chr5 155870344 156767788 AR Orphanet Delta-sarcoglycan-related limb-girdle muscular dystrophy R6; and 1 other . . +ITK chr5 157142933 157255185 AR Orphanet Combined immunodeficiency due to ITK deficiency . . +CYFIP2 chr5 157266079 157395595 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +NIPAL4 chr5 157460213 157474723 AR Orphanet Congenital ichthyosiform erythroderma; and 1 other . . +LSM11 chr5 157743706 157760709 AR Orphanet Aicardi-Goutières syndrome . . +IL12B chr5 159314780 159330863 AR Orphanet Mendelian susceptibility to mycobacterial diseases due to complete IL12B deficiency . . +GABRB2 chr5 161288418 161549044 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +GABRG2 chr5 162000057 162162977 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +RARS1 chr5 168486447 168519325 AR Orphanet RARS-related autosomal recessive hypomyelinating leukodystrophy . . +DOCK2 chr5 169637224 170083382 AR Orphanet Combined immunodeficiency due to DOCK2 deficiency . . +FOXI1 chr5 170105893 170109734 AR Orphanet Autosomal recessive distal renal tubular acidosis; and 1 other . . +LCP2 chr5 170246233 170297845 AR Orphanet T-B+NK+ severe combined immunodeficiency due to LCP2 deficiency . . +NPM1 chr5 171387086 171411952 AR Orphanet Dyskeratosis congenita . . +FBXW11 chr5 171844094 172006907 AR Orphanet Non-specific syndromic intellectual disability . . +SH3PXD2B chr5 172323171 172454536 AR Orphanet Frank-Ter Haar syndrome . . +ERGIC1 chr5 172834251 172952792 AR Orphanet Neurogenic arthrogryposis multiplex congenita . . +NSD1 chr5 177131787 177300213 AR Orphanet Sotos syndrome . . +SLC34A1 chr5 177379235 177398848 AR Orphanet Autosomal recessive infantile hypercalcemia; and 2 others . . +F12 chr5 177402133 177416583 AR Orphanet Congenital factor XII deficiency . . +B4GALT7 chr5 177600081 177611056 AR Orphanet B4GALT7-related spondylodysplastic Ehlers-Danlos syndrome . . +PROP1 chr5 177992235 177996242 AR Orphanet Combined pituitary hormone deficiencies, genetic forms; and 2 others . . +NHP2 chr5 178139872 178153968 AR Orphanet Dyskeratosis congenita . . +GRM6 chr5 178977587 178996206 AR Orphanet Complete congenital stationary night blindness, Schubert-Bornschein type . . +ADAMTS2 chr5 179110853 179345506 AR Orphanet Dermatosparaxis Ehlers-Danlos syndrome . . +SQSTM1 chr5 179806398 179838078 AR Orphanet Amyotrophic lateral sclerosis . . +FOXC1 chr6 1609915 1613897 AR Orphanet Peters anomaly . . +SERPINB6 chr6 2944468 2972375 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +RIPK1 chr6 3063824 3115188 AR Orphanet Immune dysregulation-inflammatory bowel disease-arthritis-recurrent infections-lymphopenia syndrome . . +TUBB2B chr6 3223324 3231730 AR Orphanet Congenital fibrosis of extraocular muscles; and 1 other . . +LYRM4 chr6 5065297 5261431 AR Orphanet Severe neonatal lactic acidosis due to NFS1-ISD11 complex deficiency . . +FARS2 chr6 5261007 5829192 AR Orphanet Autosomal recessive spastic paraplegia type 77; and 1 other . . +F13A1 chr6 6144080 6321013 AR Orphanet Congenital factor XIII deficiency . . +DSP chr6 7541320 7586717 AR Orphanet Carvajal syndrome; and 4 others . AD +BMP6 chr6 7726049 7881730 AR Orphanet Symptomatic form of HFE-related hemochromatosis . . +BLOC1S5 chr6 8012317 8064419 AR Orphanet Hermansky-Pudlak syndrome due to BLOC-1 deficiency . . +GCNT2 chr6 10492223 10629377 AR Orphanet Total early-onset cataract . . +MAK chr6 10762723 10838553 AR Orphanet Retinitis pigmentosa . . +GCM2 chr6 10873223 10882041 AR Orphanet Familial isolated hypoparathyroidism due to agenesis of parathyroid gland . . +EDN1 chr6 12287459 12297194 AR Orphanet Auriculocondylar syndrome . . +PHACTR1 chr6 12716312 13290446 AR Orphanet Infantile epileptic spasms syndrome . . +TBC1D7 chr6 13266536 13328583 AR Orphanet Isolated megalencephaly . . +JARID2 chr6 15244937 15522042 AR Orphanet Non-specific syndromic intellectual disability . . +DTNBP1 chr6 15520284 15663066 AR Orphanet Hermansky-Pudlak syndrome due to BLOC-1 deficiency . . +CAP2 chr6 17393315 17558250 AR Orphanet Familial isolated dilated cardiomyopathy . . +NHLRC1 chr6 18120440 18122677 AR Orphanet Lafora disease . . +DCDC2 chr6 24171747 24383300 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 2 others . . +ALDH5A1 chr6 24494788 24544150 AR Orphanet Succinic semialdehyde dehydrogenase deficiency . . +TDP2 chr6 24649917 24667052 AR Orphanet Autosomal recessive cerebellar ataxia-epilepsy-intellectual disability syndrome due to TUD deficiency . . +GMNN chr6 24774892 24788205 AR Orphanet Ear-patella-short stature syndrome . . +RIPOR2 chr6 24803362 25042170 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +SCGN chr6 25652201 25701792 AR Orphanet SCGN-related severe early-onset hereditary ulcerative colitis . . +HFE chr6 26087226 26098343 AR Orphanet Symptomatic form of HFE-related hemochromatosis . . +ZFP57 chr6 29672482 29681174 AR Orphanet Transient neonatal diabetes mellitus . . +TUBB chr6 30717435 30725538 AR Orphanet Multiple benign circumferential skin creases on limbs . . +VARS2 chr6 30914205 30928614 AR Orphanet Combined oxidative phosphorylation defect type 20 . . +CDSN chr6 31115087 31120446 AR Orphanet Peeling skin syndrome type B . . +CSNK2B chr6 31665227 31670343 AR Orphanet Poirier-Bienvenu neurodevelopmental syndrome . . +ABHD16A chr6 31686954 31703391 AR Orphanet Autosomal recessive spastic paraplegia type 86 . . +MPIG6B chr6 31718594 31726714 AR Orphanet Congenital macrothrombocytopenia with focal myelofibrosis . . +MSH5 chr6 31739677 31762678 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +NEU1 chr6 31857063 31862905 AR Orphanet Congenital sialidosis type 2; and 2 others . . +C2 chr6 31897785 31945677 AR Orphanet Immunodeficiency due to a classical component pathway complement deficiency . . +SKIC2 chr6 31959025 31969852 AR Orphanet Trichohepatoenteric syndrome . . +C4A chr6 31981991 32005247 AR Orphanet Immunodeficiency due to a classical component pathway complement deficiency . . +C4B chr6 32014725 32035975 AR Orphanet Immunodeficiency due to a classical component pathway complement deficiency . . +CYP21A2 chr6 32038297 32042321 AR ACMG Congenital adrenal hyperplasia due to 21-hydroxylase deficiency . . +TNXB chr6 32041153 32115334 AR ACMG Ehlers-Danlos-like syndrome due to tenascin-X deficiency . . +TAP2 chr6 32821833 32838802 AR Orphanet Immunodeficiency by defective expression of MHC class I . . +PSMB8 chr6 32840717 32844679 AR Orphanet Proteasome-associated autoinflammatory syndrome . . +TAP1 chr6 32845204 32854026 AR Orphanet Immunodeficiency by defective expression of MHC class I . . +COL11A2 chr6 33162681 33192802 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 2 others . . +SLC39A7 chr6 33200305 33204439 AR Orphanet Agammaglobulinemia-skin involvement-failure to thrive syndrome . . +TAPBP chr6 33299694 33314284 AR Orphanet Immunodeficiency by defective expression of MHC class I . . +ITPR3 chr6 33620331 33696575 AR Orphanet ITPR3-related combined immunodeficiency-ectodermal dysplasia syndrome . . +UQCC2 chr6 33690635 33711748 AR Orphanet Isolated complex III deficiency . . +LEMD2 chr6 33771202 33789173 AR Orphanet Early-onset posterior subcapsular cataract; and 1 other . . +FANCE chr6 35452315 35467106 AR Orphanet Fanconi anemia . . +TULP1 chr6 35497874 35512941 AR Orphanet Leber congenital amaurosis; and 1 other . . +ARMC12 chr6 35737028 35749079 AR Orphanet Male infertility due to large-headed multiflagellar polyploid spermatozoa . . +LHFPL5 chr6 35797206 35845397 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +SLC26A8 chr6 35943516 36028767 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +PNPLA1 chr6 36243203 36313955 AR Orphanet Congenital ichthyosiform erythroderma . . +DAAM2 chr6 39792298 39904877 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +MOCS1 chr6 39899578 39934551 AR Orphanet Sulfite oxidase deficiency due to molybdenum cofactor deficiency type A . . +TREM2 chr6 41158488 41163203 AR Orphanet Nasu-Hakola disease . . +GUCA1A chr6 42173364 42181338 AR Orphanet Cone rod dystrophy; and 1 other . . +GUCA1B chr6 42183284 42194956 AR Orphanet Retinitis pigmentosa . . +PRPH2 chr6 42696598 42722621 AR Orphanet Cone rod dystrophy; and 4 others . . +CNPY3 chr6 42928975 42940217 AR Orphanet Infantile epileptic spasms syndrome . . +PEX6 chr6 42959717 42979249 AR Orphanet Autosomal recessive spinocerebellar ataxia-blindness-deafness syndrome; and 4 others . . +GNMT chr6 42960268 42970699 AR Orphanet Hypermethioninemia due to glycine N-methyltransferase deficiency . . +CUL7 chr6 43037617 43053943 AR Orphanet 3M syndrome . . +POLR1C chr6 43509702 43562419 AR Orphanet Hypomyelination-hypogonadotropic hypogonadism-hypodontia syndrome; and 1 other . . +POLH chr6 43575537 43628361 AR Orphanet Xeroderma pigmentosum variant . . +RSPH9 chr6 43644229 43674358 AR Orphanet Primary ciliary dyskinesia . . +MYMX chr6 44192822 44218236 AR Orphanet Carey-Fineman-Ziter syndrome . . +AARS2 chr6 44298726 44313376 AR Orphanet Combined oxidative phosphorylation defect type 8; and 1 other . . +CLIC5 chr6 45880827 46080348 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +CD2AP chr6 47477732 47627275 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +MMUT chr6 49430360 49463321 AR ACMG Methylmalonic aciduria (methylmalonyl-CoA mutase deficiency) . . +RHAG chr6 49605157 49636839 AR Orphanet Rh deficiency syndrome . . +PKHD1 chr6 51615299 52087618 AR ACMG Autosomal recessive polycystic kidney disease . . +IL17F chr6 52236681 52245689 AR Orphanet Chronic mucocutaneous candidiasis . . +CILK1 chr6 53001279 53061896 AR Orphanet Endocrine-cerebro-osteodysplasia syndrome . . +GCLC chr6 53497341 53616970 AR Orphanet Glutamate-cysteine ligase deficiency . . +DST chr6 56457981 56955274 AR Orphanet Epidermolysis bullosa simplex due to BP230 deficiency; and 1 other . . +RAB23 chr6 57186103 57222848 AR Orphanet Carpenter syndrome . . +EYS chr6 63719847 65707226 AR Orphanet Retinitis pigmentosa . . +LMBRD1 chr6 69672757 69867236 AR Orphanet Methylmalonic acidemia with homocystinuria type cblF . . +COL9A1 chr6 70216035 70303084 AR Orphanet Autosomal recessive Stickler syndrome . . +RIMS1 chr6 71886550 72403150 AR Orphanet Cone rod dystrophy . . +KHDC3L chr6 73362653 73364173 AR Orphanet Complete hydatidiform mole . . +SLC17A5 chr6 73593364 73654106 AR Orphanet Free sialic acid storage disease, infantile form; and 2 others . . +COL12A1 chr6 75084326 75206267 AR Orphanet Bethlem muscular dystrophy; and 2 others . . +MYO6 chr6 75748788 75919537 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +IMPG1 chr6 75921114 76072678 AR Orphanet Retinitis pigmentosa . . +LCA5 chr6 79484991 79545138 AR Orphanet Leber congenital amaurosis; and 1 other . . +ELOVL4 chr6 79913808 79947701 AR Orphanet Congenital ichthyosis-intellectual disability-spastic quadriplegia syndrome; and 1 other . . +BCKDHB chr6 80106626 80384773 AR ACMG,ACOG Maple syrup urine disease . . +TENT5A chr6 81491439 81752774 AR Orphanet Osteogenesis imperfecta type 3 . . +PGM3 chr6 83147324 83194005 AR Orphanet PGM3-CDG . . +RIPPLY2 chr6 83853360 83857515 AR Orphanet Autosomal recessive spondylocostal dysostosis . . +NT5E chr6 85449584 85547684 AR Orphanet Hereditary arterial and articular multiple calcification syndrome . . +SNX14 chr6 85504776 85594156 AR Orphanet Intellectual disability-coarse face-macrocephaly-cerebellar hypotrophy syndrome . . +SYNCRIP chr6 85607390 85644063 AR Orphanet Non-specific syndromic intellectual disability . . +ZNF292 chr6 87151803 87300928 AR Orphanet Non-specific syndromic intellectual disability . . +RARS2 chr6 87513459 87590028 AR ACMG Pontocerebellar hypoplasia type 6 . . +NDUFAF4 chr6 96889311 96897897 AR Orphanet Isolated complex I deficiency . . +FBXL4 chr6 98868535 98948006 AR Orphanet Mitochondrial DNA depletion syndrome, encephalomyopathic form with variable craniofacial anomalies . . +USP45 chr6 99432325 99521728 AR Orphanet Leber congenital amaurosis . . +PRDM13 chr6 99606774 99615578 AR Orphanet Pontocerebellar hypoplasia type 17 . . +SIM1 chr6 100385009 100464946 AR Orphanet Obesity due to SIM1 deficiency . . +GRIK2 chr6 100962701 102081622 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . . +HACE1 chr6 104728093 104859947 AR Orphanet Spastic paraplegia-severe developmental delay-epilepsy syndrome . . +POPDC1 chr6 105096822 105137237 AR Orphanet BVES-related limb-girdle muscular dystrophy . . +RTN4IP1 chr6 106559393 106629503 AR Orphanet Autosomal recessive isolated optic atrophy . . +QRSL1 chr6 106629566 106669870 AR Orphanet QRSL1-related combined oxidative phosphorylation defect . . +SOBP chr6 107489897 107661306 AR Orphanet Anterior maxillary protrusion-strabismus-intellectual disability syndrome . . +OSTM1 chr6 108029245 108165854 AR Orphanet Autosomal recessive malignant osteopetrosis . . +ARMC2 chr6 108841937 108974551 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +ZBTB24 chr6 109460632 109483273 AR Orphanet ICF syndrome . . +AK9 chr6 109492855 109691229 AR Orphanet Congenital myasthenic syndrome due to acetylcholine receptor clustering defect; and 1 other . . +FIG4 chr6 109690609 109878098 AR Orphanet Amyotrophic lateral sclerosis; and 3 others . . +WASF1 chr6 110099581 110180032 AR Orphanet Non-specific syndromic intellectual disability . . +CDK19 chr6 110609978 110815958 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +TRAF3IP2 chr6 111555381 111606910 AR Orphanet Chronic mucocutaneous candidiasis . . +CCN6 chr6 112043815 112069686 AR Orphanet Progressive pseudorheumatoid dysplasia . . +LAMA4 chr6 112106077 112254939 AR Orphanet Familial isolated dilated cardiomyopathy . . +DSE chr6 116253604 116444861 AR Orphanet Musculocontractural Ehlers-Danlos syndrome . . +TSPYL1 chr6 116267760 116279930 AR Orphanet Sudden infant death-dysgenesis of the testes syndrome . . +RSPH4A chr6 116616474 116634765 AR Orphanet Primary ciliary dyskinesia . . +RFX6 chr6 116877212 116933069 AR Orphanet Hypoplastic pancreas-intestinal atresia-hypoplastic gallbladder syndrome . . +NUS1 chr6 117675469 117710727 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +PLN chr6 118506292 118562853 AR Orphanet Familial isolated dilated cardiomyopathy . AD +MCM9 chr6 118813260 118935170 AR Orphanet 46,XX ovarian dysgenesis-short stature syndrome . . +TBC1D32 chr6 121079494 121334745 AR Orphanet Orofaciodigital syndrome type 9 . . +GJA1 chr6 121435577 121449739 AR Orphanet Craniometaphyseal dysplasia; and 2 others . . +TRDN chr6 123215088 123637316 AR Orphanet TRDN-related catecholaminergic polymorphic ventricular tachycardia . . +LAMA2 chr6 128883075 129517185 AR Orphanet Laminin subunit alpha 2-related congenital muscular dystrophy; and 1 other . . +ARG1 chr6 131470832 131584332 AR Orphanet Argininemia . . +MED23 chr6 131572244 131628313 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +ENPP1 chr6 131807993 131895160 AR Orphanet Autosomal recessive hypophosphatemic rickets; and 2 others . . +AHI1 chr6 135283407 135498434 AR ACMG Joubert syndrome 3 . . +PEX7 chr6 136822546 136914598 AR Orphanet Adult Refsum disease; and 1 other . . +IFNGR1 chr6 137197483 137219449 AR Orphanet Autosomal recessive mendelian susceptibility to mycobacterial diseases due to partial IFNgammaR1 deficiency; and 1 other . . +PEX3 chr6 143450778 143492183 AR Orphanet Infantile Refsum disease; and 2 others . . +PLAGL1 chr6 143940300 144064714 AR Orphanet Transient neonatal diabetes mellitus . . +HYMAI chr6 144004916 144008262 AR Orphanet Transient neonatal diabetes mellitus . . +STX11 chr6 144149970 144191939 AR Orphanet Familial hemophagocytic lymphohistiocytosis . . +EPM2A chr6 145382535 145736023 AR Orphanet Lafora disease . . +GRM1 chr6 146027646 146437601 AR Orphanet Autosomal recessive congenital cerebellar ataxia due to MGLUR1 deficiency . . +SASH1 chr6 148272304 148552044 AR Orphanet Pigmentation defects-palmoplantar keratoderma-skin carcinoma syndrome . . +IYD chr6 150368892 150405969 AR Orphanet Familial thyroid dyshormonogenesis . . +RMND1 chr6 151398824 151452181 AR Orphanet Combined oxidative phosphorylation defect type 11; and 2 others . . +ESR1 chr6 151651284 152129619 AR Orphanet Estrogen resistance syndrome . . +SYNE1 chr6 152121687 152637801 AR Orphanet Autosomal recessive ataxia, Beauce type; and 2 others . . +SERAC1 chr6 158109515 158168295 AR Orphanet MEGDEL syndrome . . +GTF2H5 chr6 158167749 158199344 AR Orphanet Trichothiodystrophy . . +EZR chr6 158765738 158819418 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +RSPH3 chr6 158968232 159000238 AR Orphanet Primary ciliary dyskinesia . . +PNLDC1 chr6 159800249 159820704 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +PLG chr6 160702105 160754469 AR Orphanet Hypoplasminogenemia . . +PRKN chr6 161347417 162727775 AR Orphanet Young-onset Parkinson disease . . +PDE10A chr6 165327287 165988117 AR Orphanet Infantile-onset generalized dyskinesia with orofacial involvement . . +TBXT chr6 166157656 166168815 AR Orphanet Sacral agenesis-abnormal ossification of the vertebral bodies-persistent notochordal canal syndrome . . +MPC1 chr6 166364916 166383002 AR Orphanet Mitochondrial pyruvate carrier deficiency . . +RNASET2 chr6 166922113 166957448 AR Orphanet Cystic leukoencephalopathy without megalencephaly . . +SMOC2 chr6 168440656 168673445 AR Orphanet Atypical dentin dysplasia due to SMOC2 deficiency . . +ERMARD chr6 169751567 169781600 AR Orphanet Periventricular nodular heterotopia . . +FAM20C chr7 192034 260773 AR Orphanet Osteosclerotic bone dysplasia . . +DNAAF5 chr7 726687 790035 AR Orphanet Primary ciliary dyskinesia . . +LFNG chr7 2512529 2529177 AR Orphanet Autosomal recessive spondylocostal dysostosis . . +BRAT1 chr7 2537784 2555782 AR Orphanet Lethal neonatal spasticity-epileptic encephalopathy syndrome . . +IQCE chr7 2558903 2614733 AR Orphanet Postaxial polydactyly type A . . +CARD11 chr7 2905881 3044228 AR Orphanet Combined immunodeficiency due to CARD11 deficiency . . +AP5Z1 chr7 4775610 4794397 AR Orphanet Autosomal recessive spastic paraplegia type 48 . . +WIPI2 chr7 5190182 5233855 AR Orphanet Global developmental delay-nystagmus-short stature-corpus callosum hypoplasia-white matter abnormalities syndrome . . +RNF216 chr7 5620047 5781696 AR Orphanet Cerebellar ataxia-hypogonadism syndrome . . +PMS2 chr7 5970925 6009130 AR Orphanet Constitutional mismatch repair deficiency syndrome . AD +CRPPA chr7 16087525 16502504 AR Orphanet Congenital muscular dystrophy without intellectual disability; and 3 others . . +AGR2 chr7 16791387 16833433 AR Orphanet AGR2-related infantile-onset inflammatory bowel disease . . +AHR chr7 16916359 17346152 AR Orphanet Retinitis pigmentosa . . +DNAH11 chr7 21543014 21902262 AR Orphanet Primary ciliary dyskinesia . . +HYCC1 chr7 22889371 23014148 AR Orphanet Hypomyelination-congenital cataract syndrome . . +KLHL7 chr7 23105729 23177914 AR Orphanet Cold-induced sweating syndrome; and 4 others . . +GPNMB chr7 23235967 23275111 AR Orphanet Amyloidosis cutis dyschromia . . +CYCS chr7 25080179 25125367 AR Orphanet Autosomal isolated thrombocytopenia with normal platelets size . . +SNX10 chr7 26291851 26374383 AR Orphanet Autosomal recessive malignant osteopetrosis . . +HOXA1 chr7 27092993 27096039 AR Orphanet Athabaskan brainstem dysgenesis syndrome; and 1 other . . +HOXA2 chr7 27099978 27102686 AR Orphanet Bilateral microtia-deafness-cleft palate syndrome; and 1 other . . +FKBP14 chr7 30004406 30026716 AR Orphanet Kyphoscoliotic Ehlers-Danlos syndrome due to FKBP22 deficiency . . +GHRHR chr7 30938669 30993254 AR Orphanet Isolated growth hormone deficiency type IV . . +NT5C3A chr7 33014078 33062837 AR Orphanet Hemolytic anemia due to pyrimidine 5' nucleotidase deficiency . . +RP9 chr7 33094797 33109601 AR Orphanet Retinitis pigmentosa . . +BBS9 chr7 33109557 33877180 AR Orphanet Bardet-Biedl syndrome . . +BMPER chr7 33904308 34156427 AR Orphanet Diaphanospondylodysostosis . . +TBX20 chr7 35202430 35254100 AR Orphanet Left ventricular noncompaction . . +ANLN chr7 36389727 36453791 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +NME8 chr7 37848597 37900397 AR Orphanet Primary ciliary dyskinesia . . +SFRP4 chr7 37903004 38025695 AR Orphanet Pyle disease . . +VPS41 chr7 38722221 38932394 AR Orphanet Autosomal recessive cerebellar ataxia-movement disorder syndrome . . +RALA chr7 39623445 39708217 AR Orphanet Non-specific syndromic intellectual disability . . +MPLKIP chr7 40092207 40134877 AR Orphanet Trichothiodystrophy . . +SUGCT chr7 40134044 40861613 AR Orphanet Glutaric acidemia type 3 . . +GLI3 chr7 41929597 42264265 AR Orphanet Acrocallosal syndrome; and 2 others . . +BLVRA chr7 43758009 43808868 AR Orphanet Hyperbiliverdinemia . . +PGAM2 chr7 44062724 44065736 AR Orphanet Glycogen storage disease due to phosphoglycerate mutase deficiency . . +AEBP1 chr7 44104286 44114565 AR Orphanet Classical-like Ehlers-Danlos syndrome type 2 . . +POLD2 chr7 44114631 44124407 AR Orphanet Combined immunodeficiency due to polymerase delta deficiency . . +GCK chr7 44143213 44198170 AR Orphanet Isolated permanent neonatal diabetes mellitus . . +NUDCD3 chr7 44379119 44490919 AR Orphanet Omenn syndrome . . +OGDH chr7 44606496 44710116 AR Orphanet Oxoglutaric aciduria . . +ADCY1 chr7 45574140 45723126 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +PKD1L1 chr7 47740202 47948518 AR Orphanet Situs inversus totalis . . +ZPBP chr7 49850421 50121329 AR Orphanet Male infertility due to globozoospermia . . +DDC chr7 50458436 50565468 AR Orphanet Aromatic L-amino acid decarboxylase deficiency . . +PSPH chr7 56010119 56051609 AR Orphanet 3-phosphoserine phosphatase deficiency, infantile/juvenile form; and 1 other . . +GUSB chr7 65960677 65982704 AR Orphanet Mucopolysaccharidosis type 7 . . +ASL chr7 66075800 66094697 AR ACMG Argininosuccinic aciduria . . +KCTD7 chr7 66628865 66649067 AR Orphanet CLN14 disease; and 1 other . . +SBDS chr7 66987679 66995693 AR Orphanet SBDS-related severe neonatal spondylometaphyseal dysplasia; and 1 other . . +NCF1 chr7 74773975 74790135 AR Orphanet Chronic granulomatous disease . . +POR chr7 75899200 75986855 AR Orphanet Antley-Bixler syndrome with genital anomaly and disorder of steroidogenesis; and 1 other . . +YWHAG chr7 76326799 76359022 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +ZP3 chr7 76397497 76442071 AR Orphanet Female infertility due to zona pellucida defect . . +MAGI2 chr7 78017055 79453845 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +HGF chr7 81699010 81770438 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +CACNA2D1 chr7 81946444 82444194 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +PCLO chr7 82754012 83162930 AR Orphanet Pontocerebellar hypoplasia type 3 . . +SEMA3A chr7 83902491 84492939 AR Orphanet Kallmann syndrome . . +ABCB4 chr7 87400393 87480435 AR Orphanet Low phospholipid-associated cholelithiasis; and 1 other . . +CFAP69 chr7 90245161 90311063 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +CYP51A1 chr7 92084502 92134803 AR Orphanet Congenital cataract-severe neonatal hepatopathy-global developmental delay syndrome . . +GATAD1 chr7 92447448 92460075 AR Orphanet Familial isolated dilated cardiomyopathy . . +PEX1 chr7 92487020 92528663 AR Orphanet Deafness-enamel hypoplasia-nail defects syndrome; and 3 others . . +CDK6 chr7 92604921 92837004 AR Orphanet Autosomal recessive primary microcephaly . . +SAMD9 chr7 93099513 93118042 AR Orphanet Familial normophosphatemic tumoral calcinosis . . +COL1A2 chr7 94394360 94431227 AR Orphanet Cardiac-valvular Ehlers-Danlos syndrome; and 3 others . . +SLC25A13 chr7 96120218 96322181 AR Orphanet Citrullinemia type II; and 1 other . . +DLX6 chr7 97005553 97011040 AR Orphanet Isolated split hand-split foot malformation . . +DLX5 chr7 97020105 97024950 AR Orphanet Isolated split hand-split foot malformation; and 1 other . . +ASNS chr7 97850162 97893143 AR Orphanet Congenital microcephaly-severe encephalopathy-progressive cerebral atrophy syndrome . . +KPNA7 chr7 99173572 99250075 AR Orphanet Female infertility due to oocyte meiotic arrest; and 1 other . . +ARPC1B chr7 99374226 99398124 AR Orphanet Immunodeficiency-congenital thrombocytopenia-hypereosinophilia-colitis-vasculitis syndrome . . +MCM7 chr7 100092233 100101940 AR Orphanet Autosomal recessive primary microcephaly . . +AP4M1 chr7 100100841 100110345 AR Orphanet Severe intellectual disability and progressive spastic paraplegia . . +TAF6 chr7 100106876 100127187 AR Orphanet Alazami-Yuan syndrome . . +TRAPPC14 chr7 100154420 100158737 AR Orphanet Autosomal recessive primary microcephaly . . +STAG3 chr7 100177563 100214387 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +TFR2 chr7 100620416 100642779 AR Orphanet TFR2-related hemochromatosis . . +ACTL6B chr7 100643097 100656458 AR Orphanet Non-specific early-onset epileptic encephalopathy; and 1 other . . +GNB2 chr7 100673477 100679174 AR Orphanet Hereditary sick sinus syndrome; and 1 other . . +SERPINE1 chr7 101122158 101139263 AR Orphanet Congenital plasminogen activator inhibitor type 1 deficiency . . +AP1S1 chr7 101154352 101161596 AR Orphanet MEDNIK syndrome . . +PMPCB chr7 103295717 103342067 AR Orphanet Multiple mitochondrial dysfunctions syndrome type 6 . . +SLC26A5 chr7 103352730 103446212 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +RELN chr7 103471381 103989669 AR Orphanet Lissencephaly syndrome, Norman-Roberts type . . +KMT2E chr7 104940943 105116242 AR Orphanet Non-specific syndromic intellectual disability . . +PUS7 chr7 105439661 105522272 AR Orphanet Non-specific syndromic intellectual disability . . +RINT1 chr7 105532116 105569207 AR Orphanet Fever-associated acute infantile liver failure syndrome . . +COG5 chr7 107198800 107564515 AR Orphanet COG5-CDG . . +SLC26A4 chr7 107660594 107717809 AR ACMG Pendred syndrome; hearing loss, recessive 4 . . +SLC26A3 chr7 107764219 107803630 AR Orphanet Congenital chloride diarrhea . . +DLD chr7 107891136 107931730 AR ACMG Dihydrolipoamide dehydrogenase deficiency . . +LAMB1 chr7 107921975 108004434 AR Orphanet Cobblestone lissencephaly without muscular or ocular involvement . . +NRCAM chr7 108147623 108456717 AR Orphanet Non-specific syndromic intellectual disability . . +CAV1 chr7 116524985 116561179 AR Orphanet Congenital generalized lipodystrophy type 3; and 1 other . . +MET chr7 116672051 116798391 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +CFTR chr7 117287120 117715971 AR ACMG,ACOG Cystic fibrosis . . +TSPAN12 chr7 120786660 120858402 AR Orphanet Familial exudative vitreoretinopathy . . +AASS chr7 122064583 122144489 AR Orphanet Hyperlysinemia; and 1 other . . +FEZF1 chr7 122301303 122310735 AR Orphanet Kallmann syndrome . . +LMOD2 chr7 123655858 123665864 AR Orphanet Familial isolated dilated cardiomyopathy . . +LEP chr7 128241222 128257629 AR Orphanet Obesity due to congenital leptin deficiency . . +RBM28 chr7 128278493 128343971 AR Orphanet ANE syndrome . . +IMPDH1 chr7 128392277 128410009 AR Orphanet Leber congenital amaurosis; and 1 other . . +FLNC chr7 128830292 128859275 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . AD +SMO chr7 129188501 129213546 AR Orphanet Hirschsprung disease . . +CEP41 chr7 130393771 130442433 AR Orphanet Isolated Joubert syndrome; and 1 other . . +PODXL chr7 131500254 131558217 AR Orphanet Atypical juvenile parkinsonism; and 1 other . . +BPGM chr7 134646784 134682319 AR Orphanet Autosomal recessive secondary erythrocytosis not associated with VHL gene; and 1 other . . +NUP205 chr7 135557700 135648757 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +AKR1D1 chr7 138002324 138118306 AR Orphanet Congenital bile acid synthesis defect type 2 . . +ATP6V0A4 chr7 138706289 138799672 AR Orphanet Autosomal recessive distal renal tubular acidosis . . +KIAA1549 chr7 138831381 138982084 AR Orphanet Retinitis pigmentosa . . +TBXAS1 chr7 139777051 140020325 AR Orphanet Ghosal hematodiaphyseal dysplasia . . +BRAF chr7 140719327 140925199 AR Orphanet Noonan syndrome . . +AGK chr7 141551278 141657486 AR Orphanet Congenital cataract-hypertrophic cardiomyopathy-mitochondrial myopathy syndrome; and 1 other . . +WEE2 chr7 141702227 141731271 AR Orphanet Female infertility due to oocyte meiotic arrest . . +TRPV6 chr7 142871208 142885781 AR Orphanet Neonatal severe primary hyperparathyroidism . . +CLCN1 chr7 143316111 143353744 AR ACMG Congenital myotonia, recessive form . . +TPK1 chr7 144451941 144836419 AR Orphanet Childhood encephalopathy due to thiamine pyrophosphokinase deficiency . . +CNTNAP2 chr7 146116002 148420998 AR Orphanet CNTNAP2-related developmental and epileptic encephalopathy . . +XRCC2 chr7 152644771 152676201 AR Orphanet Fanconi anemia; and 1 other . . +SHH chr7 155799980 155812463 AR Orphanet Isolated partial colobomatous microphthalmia; and 1 other . . +LMBR1 chr7 156668946 156893225 AR Orphanet Isolated acheiropodia; and 1 other . . +DYNC2I1 chr7 158856546 158956747 AR Orphanet Jeune syndrome; and 1 other . . +CLN8 chr8 1755778 1801711 AR Orphanet Late infantile CLN8 disease; and 1 other . . +MCPH1 chr8 6406592 6648508 AR ACMG Primary microcephaly 1 . . +RP1L1 chr8 10606349 10712187 AR Orphanet Retinitis pigmentosa . . +GATA4 chr8 11676785 11763223 AR Orphanet 46,XY partial gonadal dysgenesis . . +FDFT1 chr8 11795565 11846085 AR Orphanet Squalene synthase deficiency . . +TUSC3 chr8 15417215 15789603 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +FGF20 chr8 16992166 17002352 AR Orphanet Renal agenesis, bilateral . . +VPS37A chr8 17246896 17333474 AR Orphanet Autosomal recessive spastic paraplegia type 53 . . +SLC7A2-IT1 chr8 17500012 17500605 AR Orphanet Ravine syndrome . . +ASAH1 chr8 18055992 18084998 AR Orphanet Farber disease; and 1 other . . +CSGALNACT1 chr8 19404156 19758030 AR Orphanet Desbuquois syndrome . . +LPL chr8 19901717 19967653 AR Orphanet Familial lipoprotein lipase deficiency . . +ATP6V1B2 chr8 20197323 20233400 AR Orphanet DOORS syndrome; and 1 other . . +FGF17 chr8 22042388 22048809 AR Orphanet Kallmann syndrome; and 1 other . . +HR chr8 22114042 22133393 AR Orphanet Alopecia universalis; and 1 other . . +BMP1 chr8 22164899 22212326 AR Orphanet Osteogenesis imperfecta type 3 . . +SLC39A14 chr8 22366727 22434129 AR Orphanet Dystonia-parkinsonism-hypermanganesemia syndrome . . +RHOBTB2 chr8 22987222 23020723 AR Orphanet Early infantile developmental and epileptic encephalopathy . . +NEFL chr8 24950955 24956721 AR Orphanet Charcot-Marie-Tooth disease type 2B5 . . +GNRH1 chr8 25419258 25424654 AR Orphanet Normosmic congenital hypogonadotropic hypogonadism . . +ESCO2 chr8 27771949 27812640 AR Orphanet Juberg-Hayward syndrome; and 1 other . . +EXTL3 chr8 28600469 28756561 AR Orphanet Skeletal dysplasia-T-cell immunodeficiency-developmental delay syndrome . . +GTF2E2 chr8 30578318 30660846 AR Orphanet Trichothiodystrophy . . +GSR chr8 30678061 30727977 AR Orphanet Hemolytic anemia due to glutathione reductase deficiency . . +TEX15 chr8 30831425 30913024 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +WRN chr8 31033761 31176138 AR Orphanet Werner syndrome . . +TTI2 chr8 33473386 33513185 AR Orphanet Severe intellectual disability-short stature-behavioral abnormalities-facial dysmorphism syndrome . . +ERLIN2 chr8 37736587 37758422 AR Orphanet Autosomal spastic paraplegia type 18; and 2 others . . +PLPBP chr8 37762580 37782218 AR Orphanet Pyridoxine-dependent-developmental and epileptic encephalopathy . . +STAR chr8 38138571 38151102 AR Orphanet Classic congenital lipoid adrenal hyperplasia due to STAR deficency; and 1 other . . +DDHD2 chr8 38225218 38283357 AR Orphanet Autosomal recessive spastic paraplegia type 54 . . +FGFR1 chr8 38400215 38468834 AR Orphanet Hartsfield syndrome; and 4 others . . +ADAM9 chr8 38996754 39105447 AR Orphanet Cone rod dystrophy . . +ANK1 chr8 41653220 41896812 AR Orphanet Hereditary spherocytosis . . +PLAT chr8 42174718 42207709 AR Orphanet Lethal hydranencephaly-diaphragmatic hernia syndrome . . +IKBKB chr8 42271302 42332460 AR Orphanet Combined immunodeficiency due to IKBKB deficiency . . +SLC20A2 chr8 42416449 42542530 AR Orphanet Bilateral striopallidodentate calcinosis . . +RNF170 chr8 42849637 42897309 AR Orphanet Autosomal recessive spastic paraplegia type 85 . . +POMK chr8 43093498 43132733 AR Orphanet Congenital muscular dystrophy with cerebellar involvement; and 2 others . . +HGSNAT chr8 43140374 43202855 AR Orphanet Retinitis pigmentosa; and 1 other . . +SPIDR chr8 47260568 47737022 AR Orphanet 46,XX gonadal dysgenesis . . +PRKDC chr8 47772970 47960182 AR Orphanet T-B-NK+ severe combined immunodeficiency due to DNA-PKcs deficiency . . +MCM4 chr8 47960185 47979181 AR Orphanet Primary immunodeficiency with natural-killer cell deficiency and adrenal insufficiency . . +CLXN chr8 48710789 48735311 AR Orphanet Primary ciliary dyskinesia . . +RP1 chr8 54509422 54871720 AR Orphanet Retinitis pigmentosa . . +MOS chr8 56112942 56113982 AR Orphanet Female infertility due to oocyte meiotic arrest . . +BPNT2 chr8 56957931 56993893 AR Orphanet Chondrodysplasia with joint dislocations, gPAPP type . . +CA8 chr8 60185412 60281573 AR Orphanet Dysequilibrium syndrome . . +CHD7 chr8 60678715 60868031 AR Orphanet Kallmann syndrome; and 2 others . . +ASPH chr8 61491715 61714822 AR Orphanet Facial dysmorphism-lens dislocation-anterior segment abnormalities-spontaneous filtering blebs syndrome . . +TTPA chr8 63048139 63086197 AR Orphanet Ataxia with vitamin E deficiency . . +CYP7B1 chr8 64586581 64799145 AR Orphanet Autosomal recessive spastic paraplegia type 5A; and 1 other . . +CSPP1 chr8 67062381 67196778 AR Orphanet Isolated Joubert syndrome; and 2 others . . +TMEM70 chr8 73972437 73986514 AR Orphanet TMEM70-related mitochondrial encephalo-cardio-myopathy . . +GDAP1 chr8 74320613 74518007 AR Orphanet Autosomal recessive Charcot-Marie-Tooth disease with hoarseness; and 2 others . . +PEX2 chr8 76978798 77001044 AR Orphanet Autosomal recessive ataxia due to PEX2 deficiency; and 3 others . . +IL7 chr8 78675743 78805527 AR Orphanet Inherited epidermodysplasia verruciformis . . +IMPA1 chr8 81656687 81686848 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +SLC10A5 chr8 81693631 81695058 AR Orphanet Familial hypercholanemia . . +CA2 chr8 85463860 85481493 AR Orphanet Osteopetrosis with renal tubular acidosis . . +CNGB3 chr8 86553977 86743675 AR ACMG Achromatopsia 3 . . +NBN chr8 89924515 90003228 AR Orphanet Nijmegen breakage syndrome . . +OTUD6B chr8 91070196 91087095 AR Orphanet Early-onset seizures-distal limb anomalies-facial dysmorphism-global developmental delay syndrome . . +CIBAR1 chr8 93698561 93732882 AR Orphanet Postaxial polydactyly type A . . +TMEM67 chr8 93754840 93819234 AR Orphanet Isolated Joubert syndrome; and 4 others . . +PDP1 chr8 93857788 93926068 AR Orphanet Pyruvate dehydrogenase phosphatase deficiency . . +NDUFAF6 chr8 94895533 95116455 AR Orphanet Primary Fanconi renotubular syndrome . . +CFAP418 chr8 95243176 95269430 AR Orphanet Bardet-Biedl syndrome; and 2 others . . +GDF6 chr8 96142333 96160813 AR Orphanet Isolated Klippel-Feil syndrome; and 1 other . . +UQCRB chr8 96222947 96235621 AR Orphanet Isolated complex III deficiency . . +POP1 chr8 98117286 98160177 AR Orphanet Anauxetic dysplasia . . +VPS13B chr8 99013254 99877580 AR Orphanet Cohen syndrome . . +FBXO43 chr8 100133351 100145826 AR Orphanet Female infertility due to oocyte meiotic arrest; and 1 other . . +SPAG1 chr8 100157853 100259278 AR Orphanet Primary ciliary dyskinesia . . +GRHL2 chr8 101492421 101669727 AR Orphanet Nail and teeth abnormalities-marginal palmoplantar keratoderma-oral hyperpigmentation syndrome . . +RRM2B chr8 102204502 102239382 AR Orphanet Kearns-Sayre syndrome; and 2 others . . +FZD6 chr8 103298433 103332866 AR Orphanet Autosomal recessive nail dysplasia . . +SLC25A32 chr8 103398635 103415189 AR Orphanet Multiple acyl-CoA dehydrogenase deficiency, mild type . . +DPYS chr8 104327415 104467111 AR Orphanet Dihydropyrimidinuria . . +LRP12 chr8 104487485 104589292 AR Orphanet Amyotrophic lateral sclerosis; and 1 other . . +ZFPM2 chr8 104590733 105805813 AR Orphanet 46,XY partial gonadal dysgenesis . . +RSPO2 chr8 107899316 108083791 AR Orphanet Tetraamelia-multiple malformations syndrome . . +TRHR chr8 109086585 109121565 AR Orphanet Resistance to thyrotropin-releasing hormone syndrome . . +TNFRSF11B chr8 118923557 118952251 AR Orphanet Juvenile Paget disease . . +COLEC10 chr8 118995452 119113619 AR Orphanet 3MC syndrome . . +TAF2 chr8 119730772 119832863 AR Orphanet Microcephaly-thin corpus callosum-intellectual disability syndrome . . +NDUFB9 chr8 124539098 124580648 AR Orphanet Isolated complex I deficiency . . +WASHC5 chr8 125024260 125091819 AR Orphanet 3C syndrome . . +NSMCE2 chr8 125091673 125368070 AR Orphanet Microcephalic primordial dwarfism-insulin resistance syndrome; and 1 other . . +DNAAF11 chr8 132570133 132675622 AR Orphanet Primary ciliary dyskinesia . . +TG chr8 132866953 133134903 AR Orphanet Familial thyroid dyshormonogenesis . . +NDRG1 chr8 133237171 133302022 AR Orphanet Charcot-Marie-Tooth disease type 4D . . +TRAPPC9 chr8 139726939 140458579 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . . +AGO2 chr8 140520156 140635695 AR Orphanet Non-specific syndromic intellectual disability . . +SLURP1 chr8 142740941 142742414 AR Orphanet Mal de Meleda . . +CYP11B1 chr8 142871305 142880000 AR Orphanet Congenital adrenal hyperplasia due to 11-beta-hydroxylase deficiency . . +CYP11B2 chr8 142910424 142917943 AR Orphanet Early-onset familial hypoaldosteronism . . +GPIHBP1 chr8 143213019 143217172 AR Orphanet Familial GPIHBP1 deficiency . . +PLEC chr8 143915152 143977039 AR Orphanet Aplasia cutis congenita; and 3 others . . +OPLAH chr8 144051265 144064091 AR Orphanet 5-oxoprolinase deficiency . . +GPAA1 chr8 144082337 144093149 AR Orphanet Neurodevelopmental delay-seizures-ophthalmic anomalies-osteopenia-cerebellar atrophy syndrome . . +CYC1 chr8 144095039 144097525 AR Orphanet Isolated complex III deficiency . . +DGAT1 chr8 144314584 144326916 AR Orphanet Congenital chronic diarrhea with protein-losing enteropathy . . +SLC52A2 chr8 144333957 144361447 AR Orphanet RFVT2-related riboflavin transporter deficiency . . +SLC39A4 chr8 144409742 144416894 AR Orphanet Acrodermatitis enteropathica . . +TONSL chr8 144428763 144444488 AR Orphanet SPONASTRIME dysplasia . . +RECQL4 chr8 144511284 144517890 AR Orphanet Baller-Gerold syndrome; and 2 others . . +DOCK8 chr9 214676 465530 AR Orphanet Combined immunodeficiency due to DOCK8 deficiency . . +KANK1 chr9 470289 746105 AR Orphanet Inherited congenital spastic tetraplegia . . +VLDLR chr9 2621182 2660056 AR Orphanet Dysequilibrium syndrome . . +KCNV2 chr9 2717510 2730037 AR Orphanet Cone dystrophy with supernormal rod response . . +GLIS3 chr9 3824127 4348392 AR Orphanet Neonatal diabetes-congenital hypothyroidism-congenital glaucoma-hepatic fibrosis-polycystic kidneys syndrome . . +SLC1A1 chr9 4490207 4587469 AR Orphanet Dicarboxylic aminoaciduria . . +GLDC chr9 6532464 6645734 AR Orphanet Infantile glycine encephalopathy; and 1 other . . +TYRP1 chr9 12333995 12710597 AR Orphanet Oculocutaneous albinism type 3 . . +MPDZ chr9 13100471 13279790 AR Orphanet Congenital communicating hydrocephalus . . +FREM1 chr9 14734671 14910995 AR Orphanet BNAR syndrome; and 1 other . . +BNC2 chr9 16409503 16871942 AR Orphanet Posterior urethral valve . . +PLAA chr9 26903359 26947495 AR Orphanet PLAA-associated neurodevelopmental disorder . . +IFT74 chr9 26947039 27066198 AR Orphanet Bardet-Biedl syndrome; and 2 others . . +TEK chr9 27109030 27232092 AR Orphanet Congenital glaucoma . . +C9orf72 chr9 27535640 27573895 AR Orphanet Amyotrophic lateral sclerosis . . +TOPORS chr9 32540544 32552611 AR Orphanet Orofaciodigital syndrome type 6; and 1 other . . +APTX chr9 32886601 33025176 AR Orphanet Ataxia-oculomotor apraxia type 1 . . +B4GALT1 chr9 33100493 33167399 AR Orphanet B4GALT1-CDG . . +NUDT2 chr9 34329496 34343713 AR Orphanet Intellectual disability-peripheral neuropathy-corpus callosum abnormalities syndrome due to nudix hydrolase 2 deficiency . . +MYORG chr9 34366623 34377150 AR Orphanet Bilateral striopallidodentate calcinosis . . +DNAI1 chr9 34457414 34520988 AR Orphanet Primary ciliary dyskinesia . . +SIGMAR1 chr9 34631716 34637844 AR Orphanet Distal hereditary motor neuropathy, Jerash type; and 1 other . . +GALT chr9 34637367 34651754 AR ACMG Galactosemia hypomorph chr9:34649445:A:G p.Asn314Asp, the Duarte variant (D1 or D2); hypomorph chr9:34646575:CCAGT:C c.-119_-116del, the Duarte D2 promoter deletion . +IL11RA chr9 34651582 34661902 AR Orphanet Craniosynostosis-dental anomalies . . +VCP chr9 35053928 35072725 AR Orphanet Amyotrophic lateral sclerosis . . +FANCG chr9 35073793 35082444 AR Orphanet Fanconi anemia . . +PIGO chr9 35085492 35096632 AR Orphanet Hyperphosphatasia-intellectual disability syndrome . . +RMRP chr9 35657750 35658019 AR Orphanet Anauxetic dysplasia; and 2 others . . +TPM2 chr9 35681992 35691116 AR Orphanet Congenital fiber-type disproportion myopathy; and 1 other . . +GBA2 chr9 35734577 35749986 AR Orphanet Autosomal recessive cerebellar ataxia with late-onset spasticity; and 1 other . . +NPR2 chr9 35791003 35809732 AR Orphanet Acromesomelic dysplasia, Maroteaux type; and 1 other . . +GNE chr9 36214441 36277042 AR Orphanet GNE myopathy; and 2 others . . +GRHPR chr9 37422660 37463037 AR Orphanet Primary hyperoxaluria type 2 . . +EXOSC3 chr9 37759234 37832117 AR Orphanet Pontocerebellar hypoplasia type 1 . . +PRKACG chr9 69012504 69014113 AR Orphanet Severe autosomal recessive macrothrombocytopenia . . +FXN chr9 69035730 69079076 AR ACMG Friedreich ataxia . . +TJP2 chr9 69121264 69274641 AR Orphanet Familial hypercholanemia; and 1 other . . +TMC1 chr9 72521608 72838297 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +TRPM6 chr9 74722495 74888094 AR Orphanet Primary hypomagnesemia with secondary hypocalcemia . . +VPS13A chr9 77177403 77421537 AR Orphanet Choreoacanthocytosis . . +CEP78 chr9 78236037 78279690 AR Orphanet Usher syndrome type 3 . . +PSAT1 chr9 78297094 78356024 AR Orphanet Neu-Laxova syndrome due to phosphoserine aminotransferase deficiency . . +NTRK2 chr9 84668375 85096069 AR Orphanet Infantile epileptic spasms syndrome; and 1 other . . +AGTPBP1 chr9 85546536 85742144 AR Orphanet Pontocerebellar hypoplasia type 1 . . +ISCA1 chr9 86234717 86283102 AR Orphanet Multiple mitochondrial dysfunctions syndrome type 5 . . +SECISBP2 chr9 89318460 89367116 AR Orphanet Short stature-delayed bone age due to thyroid hormone metabolism deficiency . . +AUH chr9 91213805 91361972 AR Orphanet 3-methylglutaconic aciduria type 1 . . +ROR2 chr9 91563091 91950278 AR Orphanet Autosomal recessive Robinow syndrome . . +SPTLC1 chr9 92000087 92115491 AR Orphanet Juvenile amyotrophic lateral sclerosis . . +IARS1 chr9 92210199 92293854 AR Orphanet Growth delay-intellectual disability-hepatopathy syndrome . . +FBP1 chr9 94601143 94640323 AR Orphanet Fructose-1,6-bisphosphatase deficiency . . +FANCC chr9 95099054 95426796 AR ACMG,ACOG Fanconi anemia, complementation group C . . +ERCC6L2 chr9 95871264 96121154 AR Orphanet Pancytopenia-developmental delay syndrome . . +HSD17B3 chr9 96235306 96302219 AR Orphanet 46,XY difference of sex development due to 17-beta-hydroxysteroid dehydrogenase 3 deficiency . . +XPA chr9 97653139 97697408 AR Orphanet Xeroderma pigmentosum . . +FOXE1 chr9 97853226 97856717 AR Orphanet Bamforth-Lazarus syndrome . . +NANS chr9 98056637 98084394 AR Orphanet NANS-CDG . . +GABBR2 chr9 98288087 98709739 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +ANKS6 chr9 98729898 98796965 AR Orphanet Infantile nephronophthisis; and 1 other . . +TGFBR1 chr9 99104038 99154395 AR Orphanet Loeys-Dietz syndrome . AD +ALG2 chr9 99216425 99221992 AR Orphanet ALG2-CDG; and 1 other . . +INVS chr9 100098378 100307195 AR Orphanet Infantile nephronophthisis; and 1 other . . +BAAT chr9 101351986 101385400 AR Orphanet Familial hypercholanemia . . +ALDOB chr9 101420560 101449664 AR ACMG Hereditary fructose intolerance . . +ABCA1 chr9 104781006 104928248 AR Orphanet Tangier disease . . +FSD1L chr9 105447796 105552433 AR Orphanet Cone rod dystrophy; and 1 other . . +FKTN chr9 105558122 105653820 AR ACMG Walker-Warburg congenital muscular dystrophy; dilated cardiomyopathy 1X . . +TMEM38B chr9 105694340 105776629 AR Orphanet Osteogenesis imperfecta type 4 . . +ELP1 chr9 108866898 108934414 AR ACMG,ACOG Familial dysautonomia . . +FRRS1L chr9 109130293 109167249 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +MUSK chr9 110668656 110806558 AR Orphanet Congenital myasthenic syndrome due to defects in endplate development and maintenance; and 1 other . . +SHOC1 chr9 111686171 111795008 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +PRPF4 chr9 113275637 113295342 AR Orphanet Retinitis pigmentosa . . +ALAD chr9 113386304 113401356 AR Orphanet Porphyria due to ALA dehydratase deficiency . . +COL27A1 chr9 114155486 114312511 AR Orphanet Steel syndrome . . +WHRN chr9 114402078 114505530 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . . +TRIM32 chr9 116687298 116702493 AR Orphanet Bardet-Biedl syndrome; and 1 other . . +CDK5RAP2 chr9 120388875 120580178 AR Orphanet Autosomal recessive primary microcephaly . . +C5 chr9 120932987 121075195 AR Orphanet Immunodeficiency due to a late component of complement deficiency . . +CRB2 chr9 123356170 123380324 AR Orphanet Hereditary steroid-resistant nephrotic syndrome; and 1 other . . +NR5A1 chr9 124481231 124507456 AR Orphanet 46,XX gonadal dysgenesis; and 4 others . . +GAPVD1 chr9 125261780 125367207 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +LRSAM1 chr9 127451469 127503503 AR Orphanet Charcot-Marie-Tooth disease type 2P . . +AK1 chr9 127866435 127878558 AR Orphanet Hemolytic anemia due to adenylate kinase deficiency . . +DPM2 chr9 127935090 127937879 AR Orphanet Congenital muscular dystrophy with intellectual disability and severe epilepsy . . +DNM1 chr9 128191655 128255254 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +COQ4 chr9 128322483 128334073 AR Orphanet Neonatal encephalomyopathy-cardiomyopathy-respiratory distress syndrome . . +SLC27A4 chr9 128340475 128363283 AR Orphanet Ichthyosis-prematurity syndrome . . +GLE1 chr9 128504655 128543874 AR Orphanet Amyotrophic lateral sclerosis; and 2 others . . +SPTAN1 chr9 128552558 128633663 AR Orphanet Infantile epileptic spasms syndrome . . +DYNC2I2 chr9 128633646 128656847 AR Orphanet Jeune syndrome; and 1 other . . +LRRC8A chr9 128882120 128918042 AR Orphanet Autosomal non-syndromic agammaglobulinemia . . +DOLK chr9 128945530 128947603 AR Orphanet DK1-CDG; and 1 other . . +NUP188 chr9 128947681 129007836 AR Orphanet Sandestig-Stefanova syndrome . . +ASS1 chr9 130443282 130502361 AR Orphanet Acute neonatal citrullinemia type I; and 1 other . . +PRDM12 chr9 130664594 130682986 AR Orphanet Hereditary sensory and autonomic neuropathy type 8 . . +EXOSC2 chr9 130693721 130707608 AR Orphanet Retinitis pigmentosa-hearing loss-premature aging-short stature-facial dysmorphism syndrome . . +LAMC3 chr9 131008878 131094473 AR Orphanet Occipital pachygyria and polymicrogyria . . +POMT1 chr9 131502789 131523806 AR Orphanet Congenital muscular dystrophy with cerebellar involvement; and 5 others . . +MED27 chr9 131842105 132079896 AR Orphanet Global developmental delay-bilateral cataract-cerebellar atrophy-movement disorder syndrome . . +NTNG2 chr9 132161020 132244528 AR Orphanet Non-specific syndromic intellectual disability . . +SETX chr9 132261356 132355117 AR Orphanet Spinocerebellar ataxia with axonal neuropathy type 2 . . +GFI1B chr9 132944000 132991687 AR Orphanet Alpha delta granule deficiency . . +SURF1 chr9 133351069 133356676 AR Orphanet SURF1-related Charcot-Marie-Tooth disease type 4 . . +ADAMTS13 chr9 133414358 133459402 AR Orphanet Congenital thrombotic thrombocytopenic purpura . . +MYMK chr9 133514586 133528612 AR Orphanet Carey-Fineman-Ziter syndrome . . +ADAMTSL2 chr9 133532164 133575522 AR Orphanet Dermatosparaxis Ehlers-Danlos syndrome; and 1 other . . +DBH chr9 133634456 133659329 AR Orphanet Dopamine beta-hydroxylase deficiency . . +SARDH chr9 133663528 133739976 AR Orphanet Sarcosinemia . . +KCNT1 chr9 135702173 135795508 AR Orphanet Epilepsy of infancy with migrating focal seizures . . +LHX3 chr9 136196250 136205128 AR Orphanet Hypothyroidism due to deficient transcription factors involved in pituitary development or function; and 1 other . . +CARD9 chr9 136363956 136373683 AR Orphanet Predisposition to invasive fungal disease due to CARD9 deficiency . . +PMPCA chr9 136410630 136428006 AR Orphanet Autosomal recessive cerebelloparenchymal disorder type 3 . . +INPP5E chr9 136428615 136439882 AR Orphanet Isolated Joubert syndrome; and 3 others . . +NOTCH1 chr9 136494433 136546048 AR Orphanet Adams-Oliver syndrome . . +AGPAT2 chr9 136673142 136687483 AR Orphanet Congenital generalized lipodystrophy type 1 . . +C8G chr9 136942532 136946980 AR Orphanet Immunodeficiency due to a late component of complement deficiency . . +ABCA2 chr9 137007226 137028915 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +MAN1B1 chr9 137085917 137109189 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . . +GRIN1 chr9 137138346 137168765 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . . +TPRN chr9 137191617 137204193 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +SLC34A3 chr9 137230757 137236555 AR Orphanet Hereditary hypophosphatemic rickets with hypercalciuria . . +TUBB4B chr9 137241278 137243713 AR Orphanet Leber congenital amaurosis . . +NSMF chr9 137447570 137459576 AR Orphanet Normosmic congenital hypogonadotropic hypogonadism . . +CACNA1B chr9 137877782 138124624 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +TUBB8 chr10 46888 74163 AR Orphanet Female infertility due to oocyte meiotic arrest . . +AKR1C2 chr10 4969796 5018031 AR Orphanet 46,XY difference of sex development due to testicular 17,20-desmolase deficiency . . +IL2RA chr10 6010689 6062370 AR Orphanet Immunodeficiency due to CD25 deficiency . . +CELF2 chr10 10798397 11336675 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +DHTKD1 chr10 12068926 12125946 AR Orphanet 2-aminoadipic 2-oxoadipic aciduria . . +OPTN chr10 13099442 13159480 AR Orphanet Amyotrophic lateral sclerosis . . +PHYH chr10 13276854 13302412 AR Orphanet Adult Refsum disease . . +FRMD4A chr10 13643706 14462142 AR Orphanet Severe intellectual disability-corpus callosum agenesis-facial dysmorphism-cerebellar ataxia syndrome . . +DCLRE1C chr10 14897359 14954432 AR Orphanet Omenn syndrome; and 1 other . . +ITGA8 chr10 15513954 15720359 AR Orphanet Renal agenesis, bilateral . . +CUBN chr10 16823966 17129970 AR Orphanet Imerslund-Gräsbeck syndrome . . +VIM chr10 17228241 17237595 AR Orphanet Pulverulent cataract . . +HACD1 chr10 17588301 17617566 AR Orphanet Congenital fiber-type disproportion myopathy . . +PTF1A chr10 23192305 23194245 AR Orphanet Partial pancreatic agenesis; and 1 other . . +MYO3A chr10 25934198 26212533 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +PDSS1 chr10 26697441 26746798 AR Orphanet Deafness-encephaloneuropathy-obesity-valvulopathy syndrome . . +ANKRD26 chr10 26973793 27100520 AR Orphanet Autosomal isolated thrombocytopenia with normal platelets size . . +YME1L1 chr10 27107777 27155266 AR Orphanet Autosomal recessive isolated optic atrophy . . +MASTL chr10 27154425 27187953 AR Orphanet Autosomal isolated thrombocytopenia with normal platelets size . . +RAB18 chr10 27504174 27545117 AR Orphanet Micro syndrome . . +ODAD2 chr10 27775186 27999532 AR Orphanet Primary ciliary dyskinesia . . +MTPAP chr10 30309801 30374448 AR Orphanet Autosomal recessive spastic ataxia-optic atrophy-dysarthria syndrome . . +BMS1 chr10 42782636 42834937 AR Orphanet Aplasia cutis congenita . . +RET chr10 43077026 43130351 AR Orphanet Hirschsprung disease; and 1 other . AD +GDF2 chr10 47322451 47327592 AR Orphanet Heritable pulmonary arterial hypertension . . +RBP3 chr10 47348363 47357881 AR Orphanet Retinitis pigmentosa . . +C10orf71 chr10 49299137 49329924 AR Orphanet Familial isolated dilated cardiomyopathy . . +ERCC6 chr10 49454168 49539538 AR Orphanet COFS syndrome; and 4 others . . +CHAT chr10 49609095 49667942 AR Orphanet Congenital myasthenic syndrome due to defective synthesis or recycling of acetylcholine . . +SLC18A3 chr10 49610310 49612720 AR Orphanet Congenital myasthenic syndrome due to defective synthesis or recycling of acetylcholine; and 1 other . . +PCDH15 chr10 53802771 55627942 AR ACMG,ACOG Usher syndrome type 1F; hearing loss, recessive 23 . . +ANK3 chr10 60026298 60733535 AR Orphanet ANK3-related intellectual disability-sleep disturbance syndrome . . +EGR2 chr10 62811996 62819167 AR Orphanet Charcot-Marie-Tooth disease type 4E; and 1 other . . +DNAJC12 chr10 67796665 67850195 AR Orphanet Hyperphenylalaninemia due to DNAJC12 deficiency . . +MYPN chr10 68087897 68212017 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . . +ATOH7 chr10 68230595 68232113 AR Orphanet Congenital cataract microcornea with corneal opacity; and 1 other . . +DNA2 chr10 68414061 68472121 AR Orphanet Rothmund-Thomson syndrome type 4; and 1 other . . +KIFBP chr10 68988732 69043544 AR Orphanet Goldberg-Shprintzen megacolon syndrome . . +HKDC1 chr10 69220292 69267569 AR Orphanet Retinitis pigmentosa . . +HK1 chr10 69269984 69403497 AR Orphanet Charcot-Marie-Tooth disease type 4G; and 1 other . . +NEUROG3 chr10 69571485 69573511 AR Orphanet Enteric anendocrinosis . . +COL13A1 chr10 69801875 69964275 AR Orphanet Synaptic congenital myasthenic syndrome . . +NODAL chr10 70431936 70447951 AR Orphanet Situs inversus totalis . . +PRF1 chr10 70596401 70602788 AR ACMG Familial hemophagocytic lymphohistiocytosis 2 . . +SGPL1 chr10 70815899 70958721 AR Orphanet Familial steroid-resistant nephrotic syndrome with adrenal insufficiency . . +PCBD1 chr10 70882280 70888616 AR Orphanet Pterin-4 alpha-carbinolamine dehydratase deficiency . . +SLC29A3 chr10 71319232 71381423 AR Orphanet H syndrome . . +CDH23 chr10 71396884 71815947 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . . +PSAP chr10 71816026 71851388 AR Orphanet Atypical Gaucher disease due to saposin C deficiency; and 5 others . . +CHST3 chr10 71963538 72019147 AR Orphanet CHST3-related skeletal dysplasia . . +ASCC1 chr10 72092153 72217653 AR Orphanet Prenatal-onset spinal muscular atrophy with congenital bone fractures . . +MICU1 chr10 72355297 72626134 AR Orphanet Proximal myopathy with extrapyramidal signs . . +FAM149B1 chr10 73168118 73244504 AR Orphanet Orofaciodigital syndrome type 6 . . +MRPS16 chr10 73248760 73252693 AR Orphanet Combined oxidative phosphorylation defect type 2 . . +CFAP70 chr10 73253762 73358868 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +VCL chr10 73995193 74123073 AR Orphanet Familial isolated dilated cardiomyopathy . . +ADK chr10 74151185 74709963 AR Orphanet Hypermethioninemia encephalopathy due to adenosine kinase deficiency . . +KAT6B chr10 74824912 75032631 AR Orphanet Genitopatellar syndrome . . +LRMDA chr10 75431446 76560168 AR Orphanet Oculocutaneous albinism type 7 . . +POLR3A chr10 77953148 78029551 AR Orphanet Hypomyelinating leukodystrophy-ataxia-hypodontia-hypomyelination syndrome; and 5 others . . +ZMIZ1 chr10 79068904 79316550 AR Orphanet Non-specific syndromic intellectual disability . . +NUTM2B-AS1 chr10 79661394 79826594 AR Orphanet Oculopharyngodistal myopathy . . +ANXA11 chr10 80150889 80205713 AR Orphanet Amyotrophic lateral sclerosis . . +MAT1A chr10 80269780 80290150 AR Orphanet Methionine adenosyltransferase I/III deficiency . . +CDHR1 chr10 84194514 84221689 AR Orphanet Cone rod dystrophy; and 1 other . . +RGR chr10 84230666 84260637 AR Orphanet Retinitis pigmentosa . . +LDB3 chr10 86666664 86736903 AR Orphanet Familial isolated dilated cardiomyopathy . . +MINPP1 chr10 87504859 87555094 AR Orphanet Pontocerebellar hypoplasia type 16 . . +PAPSS2 chr10 87659613 87747708 AR Orphanet Autosomal recessive brachyolmia; and 1 other . . +ATAD1 chr10 87744644 87842355 AR Orphanet Hereditary hyperekplexia . . +LIPN chr10 88759982 88779626 AR Orphanet Lamellar ichthyosis . . +FAS chr10 88953813 89029605 AR Orphanet Autoimmune lymphoproliferative syndrome . . +LIPA chr10 89212830 89415367 AR Orphanet Cholesteryl ester storage disease; and 1 other . . +ANKRD1 chr10 90912092 90921277 AR Orphanet Familial isolated dilated cardiomyopathy . . +CYP26C1 chr10 93060798 93069540 AR Orphanet Focal facial dermal dysplasia type IV . . +CEP55 chr10 93496577 93529096 AR Orphanet Multinucleated neurons-anhydramnios-renal dysplasia-cerebellar hypoplasia-hydranencephaly syndrome . . +RBP4 chr10 93590170 93603110 AR Orphanet Isolated colobomatous microphthalmia; and 1 other . . +PDE6C chr10 93612533 93666010 AR Orphanet Achromatopsia; and 1 other . . +LGI1 chr10 93757840 93806272 AR Orphanet Early infantile developmental and epileptic encephalopathy . . +PLCE1 chr10 93993807 94332823 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +HELLS chr10 94545329 94613905 AR Orphanet ICF syndrome . . +ALDH18A1 chr10 95605937 95656885 AR Orphanet ALDH18A1-related De Barsy syndrome; and 1 other . . +TCTN3 chr10 95659823 95694143 AR Orphanet Isolated Joubert syndrome; and 3 others . . +ENTPD1 chr10 95711752 95901433 AR Orphanet Autosomal recessive spastic paraplegia type 64 . . +BLNK chr10 96189171 96272658 AR Orphanet Autosomal non-syndromic agammaglobulinemia . . +RRP12 chr10 97356357 97426076 AR Orphanet Bilateral striopallidodentate calcinosis . . +HOGA1 chr10 97584323 97613829 AR Orphanet Primary hyperoxaluria type 3 . . +HPS1 chr10 98410939 98446966 AR ACMG Hermansky-Pudlak syndrome 1 . . +HPSE2 chr10 98457077 99235878 AR Orphanet Urofacial syndrome . . +COX15 chr10 99694554 99732858 AR Orphanet Fatal infantile cytochrome C oxidase deficiency . . +ABCC2 chr10 99782640 99853670 AR Orphanet Dubin-Johnson syndrome . . +DNMBP chr10 99875576 100010049 AR Orphanet Total early-onset cataract . . +ERLIN1 chr10 100150094 100186062 AR Orphanet Autosomal recessive spastic paraplegia type 62; and 1 other . . +CHUK chr10 100188299 100229611 AR Orphanet Fetal encasement syndrome . . +CWF19L1 chr10 100230024 100267685 AR Orphanet Autosomal recessive cerebellar ataxia due to CWF19L1 deficiency . . +PAX2 chr10 100735380 100829944 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +TWNK chr10 100987367 100994403 AR Orphanet Infantile-onset spinocerebellar ataxia; and 3 others . . +PDZD7 chr10 101007679 101032295 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +FGF8 chr10 101769817 101780371 AR Orphanet Kallmann syndrome; and 1 other . . +HPS6 chr10 102065349 102068036 AR Orphanet Hermansky-Pudlak syndrome due to BLOC-2 deficiency . . +SUFU chr10 102503952 102633535 AR Orphanet Isolated Joubert syndrome . . +TRIM8 chr10 102642394 102662789 AR Orphanet Early infantile developmental and epileptic encephalopathy . . +ARL3 chr10 102673731 102714527 AR Orphanet Isolated Joubert syndrome; and 1 other . . +CYP17A1 chr10 102830460 102837506 AR Orphanet 46,XY difference of sex development due to isolated 17,20-lyase deficiency; and 1 other . . +CNNM2 chr10 102918123 103090222 AR Orphanet Primary hypomagnesemia-generalized seizures-intellectual disability-obesity syndrome . . +NT5C2 chr10 103086478 103277622 AR Orphanet Autosomal recessive spastic paraplegia type 45 . . +ATP5MK chr10 103388974 103396492 AR Orphanet Isolated ATP synthase deficiency . . +STN1 chr10 103856791 103918762 AR Orphanet Coats plus syndrome . . +COL17A1 chr10 104030753 104086410 AR Orphanet Intermediate generalized junctional epidermolysis bullosa; and 2 others . . +CFAP43 chr10 104129888 104232364 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +ADD3 chr10 109996347 110135565 AR Orphanet Inherited congenital spastic tetraplegia . . +RBM20 chr10 110643874 110839471 AR Orphanet Familial isolated dilated cardiomyopathy . AD +BBIP1 chr10 110898730 110919371 AR Orphanet Bardet-Biedl syndrome . . +TCF7L2 chr10 112950015 113167678 AR Orphanet Non-specific syndromic intellectual disability . . +NRAP chr10 113588714 113664121 AR Orphanet Familial isolated dilated cardiomyopathy . . +NHLRC2 chr10 113854475 113917194 AR Orphanet Fibrosis-neurodegeneration-cerebral angiomatosis syndrome . . +GFRA1 chr10 116056925 116276803 AR Orphanet Renal agenesis, bilateral . . +SLC18A2 chr10 117240830 117279431 AR Orphanet Brain dopamine-serotonin vesicular transport disease . . +EMX2 chr10 117542445 117549546 AR Orphanet Kallmann syndrome; and 1 other . . +NANOS1 chr10 119029714 119042800 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +SFXN4 chr10 119120955 119165724 AR Orphanet Growth and developmental delay-hypotonia-vision impairment-lactic acidosis syndrome . . +BAG3 chr10 119650879 119677913 AR Orphanet Familial isolated dilated cardiomyopathy . AD +WDR11 chr10 120851175 120909524 AR Orphanet Kallmann syndrome; and 1 other . . +HTRA1 chr10 122458551 122516001 AR Orphanet Cerebral autosomal recessive arteriopathy-subcortical infarcts-leukoencephalopathy . . +IKZF5 chr10 122985332 123008826 AR Orphanet Autosomal isolated thrombocytopenia with normal platelets size . . +ACADSB chr10 123008972 123058300 AR Orphanet 2-methylbutyryl-CoA dehydrogenase deficiency . . +BUB3 chr10 123154365 123313144 AR Orphanet Mosaic variegated aneuploidy syndrome . . +OAT chr10 124397298 124419760 AR Orphanet Gyrate atrophy of choroid and retina . . +MMP21 chr10 125753580 125775913 AR Orphanet Situs inversus totalis . . +UROS chr10 125784980 125823288 AR Orphanet Congenital erythropoietic porphyria . . +NKX6-2 chr10 132783179 132786149 AR Orphanet NKX6-2-related autosomal recessive hypomyelinating leukodystrophy . . +ECHS1 chr10 133362368 133373714 AR Orphanet Mitochondrial short-chain enoyl-CoA hydratase 1 deficiency . . +SYCE1 chr10 133552822 133569835 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +IFITM5 chr11 298200 299533 AR Orphanet Osteogenesis imperfecta type 5 . . +LRRC56 chr11 536841 554925 AR Orphanet Primary ciliary dyskinesia . . +DEAF1 chr11 644220 707118 AR Orphanet Intellectual disability-epilepsy-extrapyramidal syndrome . . +EPS8L2 chr11 694438 727729 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +TALDO1 chr11 747399 765035 AR Orphanet Transaldolase deficiency . . +SLC25A22 chr11 790474 798321 AR Orphanet Early infantile developmental and epileptic encephalopathy; and 1 other . . +PNPLA2 chr11 818907 825573 AR Orphanet Neutral lipid storage disease with myopathy; and 1 other . . +CD151 chr11 832702 839831 AR Orphanet Nephrotic syndrome-epidermolysis bullosa-sensorineural deafness syndrome . . +CTSD chr11 1752752 1764573 AR Orphanet Congenital CLN10 disease; and 2 others . . +INS chr11 2159779 2161221 AR Orphanet Isolated permanent neonatal diabetes mellitus . . +TH chr11 2163929 2171968 AR Orphanet Autosomal recessive dopa-responsive dystonia . . +CD81 chr11 2376166 2398079 AR Orphanet Common variable immunodeficiency phenotype due to CD19/CD81 deficiency . . +KCNQ1 chr11 2444654 2849105 AR Orphanet Jervell and Lange-Nielsen syndrome . AD +CDKN1C chr11 2883213 2885775 AR Orphanet IMAGe syndrome . . +CARS1 chr11 3000920 3057646 AR Orphanet Trichothiodystrophy . . +PGAP2 chr11 3797724 3835654 AR Orphanet Hyperphosphatasia-intellectual disability syndrome . . +STIM1 chr11 3854527 4093210 AR Orphanet Combined immunodeficiency due to STIM1 deficiency . . +RRM1 chr11 4094707 4140686 AR Orphanet Autosomal recessive progressive external ophthalmoplegia . . +HBB chr11 5225464 5229395 AR ACMG,ACOG Sickle cell disease and beta-thalassemia . . +HBD chr11 5232678 5243698 AR Orphanet Delta-beta-thalassemia . . +HBG1 chr11 5248204 5249859 AR Orphanet Delta-beta-thalassemia; and 1 other . . +HBG2 chr11 5253188 5505605 AR Orphanet Hereditary persistence of fetal hemoglobin-sickle cell disease syndrome . . +TRIM22 chr11 5689610 5737089 AR Orphanet TRIM22-related inflammatory bowel disease . . +SMPD1 chr11 6390381 6394998 AR ACMG,ACOG Niemann-Pick disease types A and B . . +DNHD1 chr11 6497260 6593758 AR Orphanet Male infertility due to large-headed multiflagellar polyploid spermatozoa; and 1 other . . +TPP1 chr11 6612768 6619448 AR Orphanet Childhood-onset autosomal recessive slowly progressive spinocerebellar ataxia; and 3 others . . +DCHS1 chr11 6621330 6655834 AR Orphanet Cerebrofacioarticular syndrome . . +TUB chr11 8019193 8106243 AR Orphanet Retinitis pigmentosa . . +SBF2 chr11 9776776 10304877 AR Orphanet Charcot-Marie-Tooth disease type 4B2 . . +AMPD3 chr11 10308162 10507877 AR Orphanet Adenosine monophosphate deaminase deficiency . . +CTR9 chr11 10750962 10801625 AR Orphanet Non-specific syndromic intellectual disability . . +PTH chr11 13492054 13496181 AR Orphanet Familial isolated hypoparathyroidism due to impaired PTH secretion . . +FAR1 chr11 13667462 13732367 AR Orphanet Fatty acyl-CoA reductase 1 deficiency . . +RRAS2 chr11 14277919 14364506 AR Orphanet Noonan syndrome . . +COPB1 chr11 14443357 14500027 AR Orphanet Intellectual disability-early-onset cataract-microcephaly syndrome . . +CYP2R1 chr11 14877349 14892262 AR Orphanet Hypocalcemic vitamin D-dependent rickets . . +PIK3C2A chr11 17077730 17207986 AR Orphanet Oculoskeletodental syndrome . . +KCNJ11 chr11 17364082 17389364 AR Orphanet Autosomal recessive hyperinsulinism due to Kir6.2 deficiency; and 5 others . . +ABCC8 chr11 17392498 17476894 AR ACMG,ACOG Familial hyperinsulinism; permanent neonatal diabetes 3 . . +USH1C chr11 17493895 17544435 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . . +OTOG chr11 17547259 17647150 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +MYOD1 chr11 17719565 17722136 AR Orphanet Fetal akinesia deformation sequence . . +HPS5 chr11 18278668 18322523 AR Orphanet Hermansky-Pudlak syndrome due to BLOC-2 deficiency . . +LDHA chr11 18394347 18408425 AR Orphanet Glycogen storage disease due to lactate dehydrogenase M-subunit deficiency . . +CSRP3 chr11 19175981 19210571 AR Orphanet Familial isolated dilated cardiomyopathy . . +SLC6A5 chr11 20599594 20659285 AR Orphanet Hereditary hyperekplexia . . +ANO5 chr11 21782659 22283567 AR Orphanet Anoctamin-5-related limb-girdle muscular dystrophy R12; and 2 others . . +FANCF chr11 22622533 22625823 AR Orphanet Fanconi anemia . . +CCDC34 chr11 27329379 27363293 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +FSHB chr11 30231014 30235261 AR Orphanet Isolated follicle stimulating hormone deficiency . . +PAX6 chr11 31784779 31817967 AR Orphanet Aniridia-cerebellar ataxia-intellectual disability syndrome; and 1 other . . +WT1 chr11 32387775 32435885 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . AD +CD59 chr11 33703010 33737293 AR Orphanet Primary CD59 deficiency . . +CAPRIN1 chr11 34051649 34103835 AR Orphanet Non-specific syndromic intellectual disability . . +CAT chr11 34438709 34472061 AR Orphanet Acatalasemia . . +PDHX chr11 34915829 35021339 AR Orphanet Pyruvate dehydrogenase E3-binding protein deficiency . . +SLC1A2 chr11 35251205 35420063 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +RAG1 chr11 36510348 36593156 AR Orphanet Atypical/leaky severe combined immunodeficiency due to partial RAG defect; and 3 others . . +RAG2 chr11 36575574 36598279 AR Orphanet Combined immunodeficiency with granulomas and/or autoimmunity due to RAG defect; and 2 others . . +EXT2 chr11 44095648 44284513 AR Orphanet Seizures-scoliosis-macrocephaly syndrome . . +ALX4 chr11 44260440 44310139 AR Orphanet Frontonasal dysplasia-alopecia-genital anomalies syndrome . . +SLC35C1 chr11 45804071 45813016 AR Orphanet Leukocyte adhesion deficiency type II . . +PEX16 chr11 45909663 45918854 AR Orphanet Autosomal recessive ataxia due to PEX16 deficiency; and 3 others . . +CREB3L1 chr11 46277636 46321422 AR Orphanet Osteogenesis imperfecta type 3 . . +ZNF408 chr11 46701011 46705913 AR Orphanet Familial exudative vitreoretinopathy; and 1 other . . +F2 chr11 46719079 46768566 AR Orphanet Congenital factor II deficiency . . +LRP4 chr11 46856717 46918642 AR Orphanet Cenani-Lenz syndrome; and 2 others . . +DDB2 chr11 47214435 47240555 AR Orphanet Xeroderma pigmentosum . . +MADD chr11 47269161 47330038 AR Orphanet MADD-related developmental delay-endocrine dysfunction-hypohemoglobinemia syndrome; and 1 other . . +MYBPC3 chr11 47331406 47352702 AR Orphanet Familial isolated dilated cardiomyopathy . AD +SPI1 chr11 47354860 47409369 AR Orphanet Autosomal non-syndromic agammaglobulinemia . . +SLC39A13 chr11 47407132 47416587 AR Orphanet SLC39A13-related spondylodysplastic Ehlers-Danlos syndrome . . +RAPSN chr11 47436816 47449192 AR Orphanet Congenital myasthenic syndrome due to acetylcholine receptor clustering defect; and 1 other . . +NDUFS3 chr11 47565336 47584565 AR Orphanet Isolated complex I deficiency . . +NUP160 chr11 47777872 47848561 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +PTPRJ chr11 47980414 48170839 AR Orphanet Congenital autosomal recessive small-platelet thrombocytopenia . . +CLP1 chr11 57638605 57662755 AR Orphanet Pontocerebellar hypoplasia type 10 . . +STX3 chr11 59713456 59838302 AR Orphanet Microvillus inclusion disease . . +CBLIF chr11 59829273 59845499 AR Orphanet Congenital intrinsic factor deficiency . . +TCN1 chr11 59852800 59866489 AR Orphanet Haptocorrin deficiency . . +ZP1 chr11 60867542 60875693 AR Orphanet Female infertility due to zona pellucida defect . . +TKFC chr11 61333205 61354339 AR Orphanet Congenital cataract-hypertrophic cardiomyopathy-mitochondrial myopathy syndrome . . +TMEM138 chr11 61361964 61377890 AR Orphanet Joubert syndrome with oculorenal defect . . +TMEM216 chr11 61392393 61400408 AR ACMG,ACOG Joubert syndrome 2; Meckel syndrome 2 . . +BEST1 chr11 61949808 61965515 AR Orphanet Autosomal recessive bestrophinopathy; and 2 others . . +ROM1 chr11 62611722 62615116 AR Orphanet Retinitis pigmentosa . . +B3GAT3 chr11 62614993 62622180 AR Orphanet Larsen-like syndrome, B3GAT3 type . . +UQCC3 chr11 62670273 62674001 AR Orphanet Isolated complex III deficiency . . +BSCL2 chr11 62689289 62709861 AR Orphanet Congenital generalized lipodystrophy type 2; and 1 other . . +PLAAT3 chr11 63569750 63616901 AR Orphanet Lipodystrophy-demyelinating peripheral sensory-motor neuropathy syndrome . . +MARK2 chr11 63838852 63911020 AR Orphanet Non-specific syndromic intellectual disability . . +COX8A chr11 63974579 63976543 AR Orphanet Isolated cytochrome C oxidase deficiency . . +FLRT1 chr11 64035757 64119403 AR Orphanet Spastic paraplegia-optic atrophy-neuropathy syndrome . . +FERMT3 chr11 64205926 64223896 AR Orphanet Leukocyte adhesion deficiency type III . . +PLCB3 chr11 64251498 64269424 AR Orphanet Spondylometaphyseal dysplasia-corneal dystrophy syndrome . . +SLC22A12 chr11 64590641 64602353 AR Orphanet Hereditary renal hypouricemia . . +RASGRP2 chr11 64726905 64745456 AR Orphanet Bleeding disorder due to CalDAG-GEFI deficiency . . +PYGM chr11 64746389 64759990 AR Orphanet Glycogen storage disease due to muscle glycogen phosphorylase deficiency . . +CAPN1 chr11 65180566 65212006 AR Orphanet Autosomal recessive spastic paraplegia type 76 . . +SCYL1 chr11 65525044 65538711 AR Orphanet Acute infantile liver failure-cerebellar ataxia-peripheral sensory motor neuropathy syndrome . . +LTBP3 chr11 65538556 65558930 AR Orphanet Brachyolmia-amelogenesis imperfecta syndrome; and 1 other . . +RNASEH2C chr11 65713901 65720988 AR Orphanet Aicardi-Goutières syndrome . . +EFEMP2 chr11 65866300 65878497 AR Orphanet Autosomal recessive cutis laxa type 1; and 1 other . . +FIBP chr11 65883740 65888532 AR Orphanet Tall stature-intellectual disability-renal anomalies syndrome . . +BANF1 chr11 66001832 66004170 AR Orphanet Nestor-Guillermo progeria syndrome . . +CATSPER1 chr11 66016752 66026479 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +KLC2 chr11 66257267 66267862 AR Orphanet Spastic paraplegia-optic atrophy-neuropathy syndrome . . +B4GAT1 chr11 66345374 66347856 AR Orphanet Walker-Warburg syndrome . . +BBS1 chr11 66510606 66534660 AR ACMG Bardet-Biedl syndrome 1 . . +SPTBN2 chr11 66682496 66744670 AR Orphanet Spectrin-associated autosomal recessive cerebellar ataxia . . +TOP6BL chr11 66744451 66843516 AR Orphanet Complete hydatidiform mole . . +PC chr11 66848208 66958524 AR Orphanet Pyruvate carboxylase deficiency, benign type; and 2 others . . +CLCF1 chr11 67364168 67374301 AR Orphanet Cold-induced sweating syndrome; and 1 other . . +CABP4 chr11 67452406 67461752 AR Orphanet Incomplete congenital stationary night blindness, Schubert-Bornschein type; and 2 others . . +CABP2 chr11 67518912 67524517 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +NDUFV1 chr11 67605653 67612554 AR Orphanet Isolated complex I deficiency . . +NDUFS8 chr11 68030617 68036649 AR Orphanet Isolated complex I deficiency . . +TCIRG1 chr11 68038977 68050899 AR Orphanet Autosomal recessive malignant osteopetrosis; and 2 others . . +CHKA chr11 68052848 68121449 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +LRP5 chr11 68312430 68449275 AR Orphanet Familial exudative vitreoretinopathy; and 2 others . . +CPT1A chr11 68754620 68844410 AR Orphanet Carnitine palmitoyl transferase 1A deficiency . . +IGHMBP2 chr11 68903863 68940602 AR Orphanet Charcot-Marie-Tooth disease type 2S; and 1 other . . +FGF3 chr11 69809968 69819416 AR Orphanet Deafness with labyrinthine aplasia, microtia, and microdontia . . +FADD chr11 70203262 70220615 AR Orphanet FADD-related immunodeficiency . . +DHCR7 chr11 71428193 71452868 AR ACMG Smith-Lemli-Opitz syndrome . . +NADSYN1 chr11 71453109 71524107 AR Orphanet Congenital vertebral-cardiac-renal anomalies syndrome . . +LRTOMT chr11 72080331 72110782 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +FOLR1 chr11 72189529 72199329 AR Orphanet Neurodegenerative syndrome due to cerebral folate transport deficiency . . +INPPL1 chr11 72223524 72239184 AR Orphanet Opsismodysplasia; and 1 other . . +PHOX2A chr11 72239077 72245664 AR Orphanet Congenital fibrosis of extraocular muscles . . +CLPB chr11 72285495 72434680 AR Orphanet 3-methylglutaconic aciduria-neonatal cataract-neurologic involvement-congenital neutropenia syndrome . . +RELT chr11 73376325 73397474 AR Orphanet Hypocalcified amelogenesis imperfecta . . +DNAJB13 chr11 73951014 73970366 AR Orphanet Primary ciliary dyskinesia . . +C2CD3 chr11 74012718 74171210 AR Orphanet Orofaciodigital syndrome type 14 . . +PGM2L1 chr11 74330315 74398473 AR Orphanet Non-specific syndromic intellectual disability . . +SERPINH1 chr11 75561564 75575646 AR Orphanet Osteogenesis imperfecta type 3 . . +ACER3 chr11 76860859 77026797 AR Orphanet Alkaline ceramidase 3 deficiency . . +MYO7A chr11 77128206 77215241 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 2 others . . +ALG8 chr11 78095244 78139660 AR Orphanet ALG8-CDG . . +NARS2 chr11 78435539 78575194 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 2 others . . +TMEM126B chr11 85628556 85638965 AR Orphanet Isolated complex I deficiency . . +TMEM126A chr11 85647956 85656547 AR Orphanet Autosomal recessive optic atrophy, OPA7 type . . +HIKESHI chr11 86302181 86346246 AR Orphanet C11ORF73-related autosomal recessive hypomyelinating leukodystrophy . . +FZD4 chr11 86945679 86955469 AR Orphanet Familial exudative vitreoretinopathy; and 1 other . . +CTSC chr11 88265069 88359684 AR Orphanet Haim-Munk syndrome; and 1 other . . +TYR chr11 89177875 89295759 AR ACMG Oculocutaneous albinism type 1A and 1B . . +CEP295 chr11 93661642 93730358 AR Orphanet Seckel syndrome . . +MED17 chr11 93784227 93814963 AR Orphanet Infantile cerebral and cerebellar atrophy with postnatal progressive microcephaly . . +PANX1 chr11 94128828 94185019 AR Orphanet Female infertility due to oocyte meiotic arrest . . +MRE11 chr11 94415570 94512676 AR Orphanet Ataxia-telangiectasia-like disorder; and 1 other . . +CEP57 chr11 95789965 95837070 AR Orphanet Mosaic variegated aneuploidy syndrome . . +MTMR2 chr11 95821766 95925315 AR Orphanet Charcot-Marie-Tooth disease type 4B1 . . +TRPC6 chr11 101447437 101872562 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +CFAP300 chr11 102047402 102085137 AR Orphanet Primary ciliary dyskinesia . . +MMP20 chr11 102576832 102625332 AR Orphanet Hypomaturation amelogenesis imperfecta . . +MMP13 chr11 102942994 102955740 AR Orphanet Metaphyseal anadysplasia; and 1 other . . +DYNC2H1 chr11 103109351 103479863 AR ACMG Short-rib thoracic dysplasia 3 . . +GRIA4 chr11 105609535 105982090 AR Orphanet Non-specific syndromic intellectual disability . . +ALKBH8 chr11 107502726 107565764 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +ACAT1 chr11 108116695 108148957 AR ACMG Alpha-methylacetoacetic aciduria (beta-ketothiolase deficiency) . . +ATM chr11 108222788 108369102 AR Orphanet Ataxia-telangiectasia; and 1 other . . +EXPH5 chr11 108505435 108593780 AR Orphanet Epidermolysis bullosa simplex due to exophilin 5 deficiency . . +RDX chr11 109864295 110297617 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +ALG9 chr11 111782195 111872405 AR Orphanet ALG9-CDG . . +CRYAB chr11 111908239 111923722 AR Orphanet Early-onset nuclear cataract; and 2 others . . +DLAT chr11 112025033 112064404 AR Orphanet Pyruvate dehydrogenase E2 deficiency . . +SDHD chr11 112086361 112120016 AR Orphanet Isolated succinate-CoQ reductase deficiency . AD +PTS chr11 112226059 112270449 AR Orphanet 6-pyruvoyl-tetrahydropterin synthase deficiency . . +TTC12 chr11 113314543 113383544 AR Orphanet Primary ciliary dyskinesia . . +ZPR1 chr11 116773799 116788477 AR Orphanet Congenital generalized alopecia-hypoplastic kidneys-facial dysmorphism-sensorineural deafness syndrome . . +APOA5 chr11 116789014 116793026 AR Orphanet Familial apolipoprotein A5 deficiency . . +CEP164 chr11 117314557 117413616 AR Orphanet Senior-Loken syndrome . . +IL10RA chr11 117986370 118003037 AR Orphanet Immune dysregulation-inflammatory bowel disease-arthritis-recurrent infections syndrome . . +TMPRSS4 chr11 118076986 118125510 AR Orphanet Autosomal recessive cerebral atrophy . . +MPZL2 chr11 118253416 118264536 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +CD3E chr11 118304701 118316175 AR Orphanet T-B+NK+ severe combined immunodeficiency due to CD3delta/CD3epsilon/CD3zeta deficiency . . +CD3D chr11 118334537 118342713 AR Orphanet T-B+NK+ severe combined immunodeficiency due to CD3delta/CD3epsilon/CD3zeta deficiency . . +CD3G chr11 118344338 118355161 AR Orphanet Combined immunodeficiency due to CD3gamma deficiency . . +UBE4A chr11 118359578 118399211 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +DDX6 chr11 118747763 118791226 AR Orphanet Non-specific syndromic intellectual disability . . +TRAPPC4 chr11 119018733 119025454 AR Orphanet Non-specific syndromic intellectual disability . . +SLC37A4 chr11 119023751 119030906 AR ACMG Glycogen storage disease types Ib and Ic . . +VPS11 chr11 119067789 119082753 AR Orphanet VPS11-related autosomal recessive hypomyelinating leukodystrophy . . +DPAGT1 chr11 119095979 119108331 AR Orphanet Congenital myasthenic syndrome with glycosylation defect; and 1 other . . +CBL chr11 119206036 119313926 AR Orphanet Noonan syndrome . . +MFRP chr11 119338942 119346705 AR Orphanet Isolated complete colobomatous microphthalmia; and 1 other . . +NECTIN1 chr11 119623408 119729488 AR Orphanet Cleft lip/palate-ectodermal dysplasia syndrome . . +TECTA chr11 121101243 121191490 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +SC5D chr11 121292681 121313410 AR Orphanet Lathosterolosis . . +CLMP chr11 123069625 123196697 AR Orphanet Congenital short bowel syndrome . . +ROBO3 chr11 124865413 124881471 AR Orphanet Horizontal gaze palsy with progressive scoliosis . . +HEPACAM chr11 124919205 124936431 AR Orphanet Megalencephalic leukoencephalopathy with subcortical cysts . . +TMEM218 chr11 125094379 125111870 AR Orphanet Isolated Joubert syndrome . . +STT3A chr11 125591712 125625220 AR Orphanet STT3A-CDG . . +CHEK1 chr11 125625163 125676255 AR Orphanet Female infertility due to oocyte meiotic arrest . . +HYLS1 chr11 125883614 125900846 AR Orphanet Hydrolethalus; and 1 other . . +PUS3 chr11 125892347 125903227 AR Orphanet Severe growth deficiency-strabismus-extensive dermal melanocytosis-intellectual disability syndrome . . +CDON chr11 125955796 126063335 AR Orphanet Pituitary stalk interruption syndrome . . +FOXRED1 chr11 126269024 126281756 AR Orphanet Isolated complex I deficiency . . +DCPS chr11 126303971 126350005 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +FLI1 chr11 128686535 128813267 AR Orphanet Isolated delta-storage pool disease . . +KCNJ1 chr11 128836315 128874671 AR Orphanet Bartter syndrome type 2 . . +ST14 chr11 130159741 130210368 AR Orphanet Ichthyosis-hypotrichosis syndrome . . +JAM3 chr11 134068998 134152071 AR Orphanet Porencephaly-microcephaly-bilateral congenital cataract syndrome . . +NCAPD3 chr11 134149039 134225504 AR Orphanet Autosomal recessive primary microcephaly . . +ACAD8 chr11 134253510 134267494 AR Orphanet Isobutyryl-CoA dehydrogenase deficiency . . +WNK1 chr12 752536 911452 AR Orphanet Hereditary sensory and autonomic neuropathy type 2 . . +CACNA2D4 chr12 1791963 1918666 AR Orphanet Cone rod dystrophy; and 1 other . . +CACNA1C chr12 1970690 2697950 AR Orphanet Non-specific syndromic intellectual disability . . +TULP3 chr12 2877223 2941142 AR Orphanet Hepatorenocardiac degenerative fibrosis . . +FGF23 chr12 4368227 4379713 AR Orphanet Familial hyperphosphatemic tumoral calcinosis/Hyperphosphatemic hyperostosis syndrome . . +FERRY3 chr12 4487735 4538519 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +AKAP3 chr12 4613383 4649072 AR Orphanet Male infertility due to large-headed multiflagellar polyploid spermatozoa . . +NDUFA9 chr12 4649095 4701398 AR Orphanet Isolated complex I deficiency . . +KCNA1 chr12 4909905 4918256 AR Orphanet Early infantile developmental and epileptic encephalopathy . . +VWF chr12 5948877 6124770 AR Orphanet Von Willebrand disease type 2A; and 2 others . . +SCNN1A chr12 6345124 6383917 AR Orphanet Generalized pseudohypoaldosteronism type 1 . . +CD27 chr12 6444933 6451718 AR Orphanet Combined immunodeficiency due to CD27 deficiency . . +VAMP1 chr12 6462237 6470948 AR Orphanet Autosomal recessive congenital myasthenic syndrome due to defective synaptic vesicles exocytosis . . +TPI1 chr12 6867119 6878513 AR Orphanet Triose phosphate-isomerase deficiency . . +C12orf57 chr12 6942919 6946009 AR Orphanet Temtamy syndrome . . +RNU7-1 chr12 6943816 6943878 AR Orphanet Aicardi-Goutières syndrome . . +EMG1 chr12 6970765 6979939 AR Orphanet Bowen-Conradi syndrome . . +C1S chr12 6988259 7071281 AR Orphanet Immunodeficiency due to a classical component pathway complement deficiency . . +C1R chr12 7080213 7092873 AR Orphanet Autosomal systemic lupus erythematosus; and 1 other . . +PEX5 chr12 7188653 7218574 AR Orphanet Infantile Refsum disease; and 3 others . . +GDF3 chr12 7689784 7695807 AR Orphanet Isolated Klippel-Feil syndrome; and 1 other . . +NECAP1 chr12 8076939 8097881 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +AICDA chr12 8602155 8613242 AR Orphanet Hyper-IgM syndrome type 2 . . +PHC1 chr12 8913824 8944860 AR Orphanet Autosomal recessive primary microcephaly . . +CLEC7A chr12 10116766 10130269 AR Orphanet Chronic mucocutaneous candidiasis . . +ETV6 chr12 11649614 11895386 AR Orphanet Autosomal isolated thrombocytopenia with normal platelets size . . +LRP6 chr12 12116025 12267193 AR Orphanet Oligodontia . . +BORCS5 chr12 12357057 12482332 AR Orphanet Infantile osteopetrosis with neuroaxonal dysplasia . . +GRIN2B chr12 13437942 13982138 AR Orphanet Infantile epileptic spasms syndrome . . +GUCY2C chr12 14612632 14696652 AR Orphanet Congenital sodium diarrhea; and 1 other . . +MGP chr12 14879368 14905245 AR Orphanet Keutel syndrome . . +PDE6H chr12 14949827 14982699 AR Orphanet Achromatopsia . . +PTPRO chr12 15322257 15602175 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +EPS8 chr12 15617906 15882330 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +SLCO1B3 chr12 20806645 20918230 AR Orphanet Rotor syndrome . . +SLCO1B1 chr12 21127862 21298065 AR Orphanet Rotor syndrome . . +GYS2 chr12 21531545 21604951 AR Orphanet Glycogen storage disease due to hepatic glycogen synthase deficiency . . +LDHB chr12 21635339 21757890 AR Orphanet Glycogen storage disease due to lactate dehydrogenase H-subunit deficiency . . +ABCC9 chr12 21797389 21942543 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . . +KRAS chr12 25205246 25326473 AR Orphanet Noonan syndrome . . +ITPR2 chr12 26335352 26833239 AR Orphanet Isolated generalized anhidrosis with normal sweat glands . . +IPO8 chr12 30628981 30695908 AR Orphanet Loeys-Dietz syndrome . . +DDX11 chr12 31073282 31104811 AR Orphanet Warsaw breakage syndrome . . +FGD4 chr12 32399318 32646050 AR Orphanet Charcot-Marie-Tooth disease type 4H . . +YARS2 chr12 32725785 32755948 AR Orphanet Mitochondrial myopathy and sideroblastic anemia . . +PKP2 chr12 32790745 32896819 AR Orphanet Left ventricular noncompaction . AD +KIF21A chr12 39293228 39443718 AR Orphanet Congenital fibrosis of extraocular muscles; and 1 other . . +CNTN1 chr12 40692431 41073454 AR Orphanet Congenital lethal myopathy, Compton-North type . . +PRICKLE1 chr12 42456753 42590355 AR Orphanet Progressive myoclonic epilepsy type 1 . . +IRAK4 chr12 43758938 43798307 AR Orphanet Transient predisposition to invasive pyogenic bacterial infection . . +ANO6 chr12 45215987 45482280 AR Orphanet Scott syndrome . . +VDR chr12 47841537 47943048 AR Orphanet Hypocalcemic vitamin D-resistant rickets . . +PFKM chr12 48105139 48152487 AR Orphanet Glycogen storage disease due to muscle phosphofructokinase deficiency . . +ADCY6 chr12 48766191 48789906 AR Orphanet Hypomyelination neuropathy-arthrogryposis syndrome . . +DRC2 chr12 48904105 48931840 AR Orphanet Primary ciliary dyskinesia . . +WNT10B chr12 48965185 48972669 AR Orphanet Isolated split hand-split foot malformation; and 1 other . . +WNT1 chr12 48978322 48982620 AR Orphanet Osteogenesis imperfecta type 3; and 1 other . . +DHH chr12 49086656 49094807 AR Orphanet 46,XY complete gonadal dysgenesis; and 1 other . . +TUBA1A chr12 49184146 49189324 AR Orphanet Congenital fibrosis of extraocular muscles; and 1 other . . +AQP2 chr12 49950736 49958881 AR Orphanet Arginine vasopressin resistance . . +RACGAP1 chr12 49976923 50033136 AR Orphanet Congenital dyserythropoietic anemia type III . . +GPD1 chr12 50103982 50129648 AR Orphanet Transient infantile hypertriglyceridemia and hepatosteatosis . . +COX14 chr12 50111982 50120463 AR Orphanet Isolated cytochrome C oxidase deficiency . . +SLC11A2 chr12 50952060 51028566 AR Orphanet Microcytic anemia with liver iron overload . . +SCN8A chr12 51590266 51812864 AR Orphanet Myoclonic epilepsy of infancy; and 1 other . . +KRT86 chr12 52249300 52309163 AR Orphanet Monilethrix . . +KRT81 chr12 52285913 52291534 AR Orphanet Monilethrix . . +KRT83 chr12 52314301 52321398 AR Orphanet Monilethrix . . +KRT85 chr12 52360006 52367481 AR Orphanet Pure hair and nail ectodermal dysplasia . . +KRT6B chr12 52446651 52452154 AR Orphanet Pachyonychia congenita . . +KRT6A chr12 52487176 52493265 AR Orphanet Pachyonychia congenita . . +KRT5 chr12 52514575 52520530 AR Orphanet Autosomal recessive generalized epidermolysis bullosa simplex . . +KRT71 chr12 52543909 52553145 AR Orphanet Woolly hair . . +KRT74 chr12 52565151 52573843 AR Orphanet Pure hair and nail ectodermal dysplasia; and 1 other . . +AAAS chr12 53307456 53324864 AR Orphanet Triple A syndrome . . +SP7 chr12 53326575 53345315 AR Orphanet Craniodiaphyseal dysplasia; and 1 other . . +AMHR2 chr12 53423672 53431672 AR Orphanet Persistent Müllerian duct syndrome . . +HOXC13 chr12 53938718 53946544 AR Orphanet Pure hair and nail ectodermal dysplasia . . +HNRNPA1 chr12 54280193 54287088 AR Orphanet Amyotrophic lateral sclerosis . . +NCKAP1L chr12 54497713 54548243 AR Orphanet Familial hyperinflammatory lymphoproliferative immunodeficiency . . +ITGA7 chr12 55679139 55716404 AR Orphanet Congenital fiber-type disproportion myopathy; and 1 other . . +RDH5 chr12 55720367 55724714 AR Orphanet Fundus albipunctatus . . +SUOX chr12 55996855 56006641 AR Orphanet Isolated sulfite oxidase deficiency . . +ERBB3 chr12 56076799 56103505 AR Orphanet Hirschsprung disease; and 1 other . . +SLC39A5 chr12 56230039 56238214 AR Orphanet Rare isolated myopia . . +STAT2 chr12 56338356 56360283 AR Orphanet Primary immunodeficiency with post-measles-mumps-rubella vaccine viral infection . . +MIP chr12 56449502 56469166 AR Orphanet Early-onset nuclear cataract; and 1 other . . +PRIM1 chr12 56730438 56752384 AR Orphanet Microcephalic primordial dwarfism syndrome with combined immunodeficiency due to PRIM1 deficiency . . +SDR9C7 chr12 56923133 56934408 AR Orphanet Congenital ichthyosiform erythroderma; and 1 other . . +TAC3 chr12 57010000 57028883 AR Orphanet Normosmic congenital hypogonadotropic hypogonadism . . +LRP1 chr12 57128476 57213394 AR Orphanet Atrophoderma vermiculata; and 1 other . . +STAC3 chr12 57243453 57251195 AR Orphanet Native American myopathy . . +GLI1 chr12 57459783 57472268 AR Orphanet Ellis-Van Creveld syndrome; and 1 other . . +MARS1 chr12 57475445 57517702 AR Orphanet Autosomal recessive spastic paraplegia type 70; and 1 other . . +B4GALNT1 chr12 57623409 57633242 AR Orphanet Autosomal recessive spastic paraplegia type 26 . . +CYP27B1 chr12 57762334 57768986 AR ACMG Vitamin D-dependent rickets type 1 . . +TSFM chr12 57782731 57828655 AR Orphanet Fatal mitochondrial disease due to combined oxidative phosphorylation defect type 3 . . +AVIL chr12 57797376 57818734 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +DPY19L2 chr12 63558913 63668939 AR Orphanet Male infertility due to globozoospermia . . +RXYLT1 chr12 63779807 63809792 AR Orphanet Walker-Warburg syndrome . . +GNS chr12 64713442 64759449 AR Orphanet Sanfilippo syndrome type D . . +MSRB3 chr12 65278542 65505156 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +GRIP1 chr12 66347431 67069162 AR ACMG Fraser syndrome . . +IFNG chr12 68154768 68159748 AR Orphanet Severe mendelian susceptibility to mycobacterial diseases due to complete IFNG deficiency . . +NUP107 chr12 68686951 68745809 AR Orphanet 46,XX gonadal dysgenesis; and 2 others . . +KCNC2 chr12 75038577 75209876 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +BBS10 chr12 76344474 76348447 AR Orphanet Bardet-Biedl syndrome . . +OTOGL chr12 80099537 80380880 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +PTPRQ chr12 80402178 80680273 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +ALX1 chr12 85280091 85302551 AR Orphanet Frontonasal dysplasia-severe microphthalmia-severe facial clefting syndrome . . +CEP290 chr12 88049016 88142099 AR ACMG Joubert syndrome 5; Leber congenital amaurosis 10 . . +TMTC3 chr12 88142181 88199887 AR Orphanet Cobblestone lissencephaly without muscular or ocular involvement; and 1 other . . +DUSP6 chr12 89347235 89352507 AR Orphanet Kallmann syndrome; and 1 other . . +POC1B chr12 89357869 89526201 AR Orphanet Cone rod dystrophy . . +ATP2B1 chr12 89588049 89709642 AR Orphanet Non-specific syndromic intellectual disability . . +KERA chr12 91050491 91058024 AR Orphanet Congenital cornea plana . . +CRADD chr12 93677375 93894840 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +CEP83 chr12 94305950 94459988 AR Orphanet Infantile nephronophthisis . . +HAL chr12 95972662 95996365 AR Orphanet Histidinemia . . +TMPO chr12 98515483 98550351 AR Orphanet Familial isolated dilated cardiomyopathy . . +SLC25A3 chr12 98574411 98606379 AR Orphanet Cardiomyopathy-hypotonia-lactic acidosis syndrome . . +SCYL2 chr12 100266830 100341993 AR Orphanet Neurogenic arthrogryposis multiplex congenita . . +NR1H4 chr12 100455070 100564414 AR Orphanet Progressive familial intrahepatic cholestasis type 5 . . +MYBPC1 chr12 101568353 101688685 AR Orphanet Lethal congenital contracture syndrome type 3; and 1 other . . +GNPTAB chr12 101744032 101830984 AR ACMG Mucolipidosis type II and III alpha/beta . . +NUP37 chr12 102069969 102120258 AR Orphanet Autosomal recessive primary microcephaly; and 1 other . . +IGF1 chr12 102395874 102481857 AR Orphanet Growth delay due to insulin-like growth factor type 1 deficiency . . +PAH chr12 102836889 102958410 AR ACMG Phenylketonuria . . +WASHC4 chr12 105107324 105169401 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +POLR3B chr12 106357693 106511222 AR Orphanet Hypomyelination-hypogonadotropic hypogonadism-hypodontia syndrome . . +ISCU chr12 108562549 108569384 AR Orphanet Hereditary myopathy with lactic acidosis due to ISCU deficiency . . +DAO chr12 108858932 108901052 AR Orphanet Amyotrophic lateral sclerosis . . +UNG chr12 109097569 109126725 AR Orphanet Hyper-IgM syndrome type 5 . . +UBE3B chr12 109477375 109536705 AR Orphanet Oculocerebrofacial syndrome, Kaufman type . . +MMAB chr12 109553715 109573580 AR Orphanet Vitamin B12-responsive methylmalonic acidemia type cblB . . +MVK chr12 109573255 109600609 AR ACMG Mevalonic aciduria; hyper-IgD syndrome . . +TCTN1 chr12 110614027 110663587 AR Orphanet Isolated Joubert syndrome; and 1 other . . +MYL2 chr12 110909996 110921443 AR Orphanet Congenital fiber-type disproportion myopathy . AD +SH2B3 chr12 111404986 111451623 AR Orphanet Growth retardation-mild developmental delay-chronic hepatitis syndrome . . +PTPN11 chr12 112418351 112509918 AR Orphanet Noonan syndrome . . +RPH3A chr12 112570380 112898881 AR Orphanet Autosomal recessive congenital myasthenic syndrome due to defective synaptic vesicles exocytosis . . +NOS1 chr12 117208142 117452170 AR Orphanet Idiopathic achalasia . . +CIT chr12 119685108 119877338 AR Orphanet Autosomal recessive primary microcephaly . . +RNU4-2 chr12 120291759 120291903 AR Orphanet Retinitis pigmentosa . . +COX6A1 chr12 120438090 120440742 AR Orphanet Autosomal recessive intermediate Charcot-Marie-Tooth disease type D . . +ACADS chr12 120725774 120740009 AR Orphanet Short chain acyl-CoA dehydrogenase deficiency . . +KDM2B chr12 121429096 121582286 AR Orphanet Non-specific syndromic intellectual disability . . +ORAI1 chr12 121626509 121643109 AR Orphanet Combined immunodeficiency due to ORAI1 deficiency . . +HPD chr12 121839120 121863596 AR Orphanet Tyrosinemia type 3 . . +CFAP251 chr12 121918555 122003927 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +VPS33A chr12 122229564 122266502 AR Orphanet Mucopolysaccharidosis-like syndrome with congenital heart defects and hematopoietic disorders . . +CLIP1 chr12 122271432 122422778 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +MTRFR chr12 123232142 123258079 AR Orphanet Autosomal recessive spastic paraplegia type 55; and 1 other . . +RILPL1 chr12 123467802 123534417 AR Orphanet Oculopharyngodistal myopathy . . +EIF2B1 chr12 123620406 123633766 AR Orphanet Congenital or early infantile CACH syndrome; and 4 others . . +TCTN2 chr12 123671110 123708403 AR Orphanet Isolated Joubert syndrome; and 1 other . . +ATP6V0A2 chr12 123712334 123761760 AR Orphanet Autosomal recessive cutis laxa type 2, classic type; and 1 other . . +DNAH10 chr12 123761878 123935720 AR Orphanet Male infertility due to large-headed multiflagellar polyploid spermatozoa; and 1 other . . +DHX37 chr12 124946824 124989140 AR Orphanet 46,XY complete gonadal dysgenesis; and 2 others . . +PUS1 chr12 131929200 131945896 AR Orphanet Mitochondrial myopathy and sideroblastic anemia . . +POLE chr12 132623753 132687376 AR Orphanet Facial dysmorphism-immunodeficiency-livedo-short stature syndrome; and 1 other . . +ANKLE2 chr12 132725500 132762094 AR Orphanet Autosomal recessive primary microcephaly . . +ZMYM2 chr13 19958673 20091856 AR Orphanet Non-specific syndromic intellectual disability . . +GJA3 chr13 20138252 20161615 AR Orphanet Early-onset nuclear cataract; and 1 other . . +GJB2 chr13 20187463 20192980 AR ACMG Nonsyndromic hearing loss, recessive (DFNB1A) . . +GJB6 chr13 20221962 20232450 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . . +IFT88 chr13 20566600 20691697 AR Orphanet Retinitis pigmentosa . . +SGCG chr13 23160011 23325958 AR Orphanet Gamma-sarcoglycan-related limb-girdle muscular dystrophy R5 . . +SACS chr13 23288689 23433763 AR Orphanet Autosomal recessive spastic ataxia of Charlevoix-Saguenay . . +MIPEP chr13 23730000 23889448 AR Orphanet Lethal left ventricular non-compaction-seizures-hypotonia-cataract-developmental delay syndrome . . +CPAP chr13 24882276 24922889 AR Orphanet Autosomal recessive primary microcephaly; and 1 other . . +ATP8A2 chr13 25371897 26025851 AR Orphanet Dysequilibrium syndrome . . +CDK8 chr13 26253891 26420992 AR Orphanet Non-specific syndromic intellectual disability . . +RPL21 chr13 27251283 27266550 AR Orphanet Hypotrichosis simplex . . +POLR1D chr13 27620742 27744237 AR Orphanet Treacher-Collins syndrome . . +PDX1 chr13 27919994 27926313 AR Orphanet Isolated permanent neonatal diabetes mellitus; and 1 other . . +POMP chr13 28659040 28681317 AR Orphanet Keratosis linearis-ichthyosis congenita-sclerosing keratoderma syndrome . . +B3GLCT chr13 31199960 31332276 AR Orphanet Peters plus syndrome . . +BRCA2 chr13 32315086 32400268 AR Orphanet Fanconi anemia; and 1 other . AD +KL chr13 33016416 33066143 AR Orphanet Familial hyperphosphatemic tumoral calcinosis/Hyperphosphatemic hyperostosis syndrome . . +MAB21L1 chr13 35473419 35478764 AR Orphanet Cerebello-oculo-facio-genital syndrome . . +SPART chr13 36301638 36370217 AR Orphanet Autosomal recessive spastic paraplegia type 20 . . +RFXAP chr13 36819188 36848169 AR Orphanet Immunodeficiency by defective expression of MHC class II . . +SMAD9 chr13 36844831 36920887 AR Orphanet Heritable pulmonary arterial hypertension . . +EXOSC8 chr13 36998816 37025881 AR Orphanet Pontocerebellar hypoplasia type 1 . . +UFM1 chr13 38349528 38363619 AR Orphanet Hypomyelination with atrophy of basal ganglia and cerebellum . . +FREM2 chr13 38687070 38887131 AR Orphanet Fraser syndrome . . +COG6 chr13 39655627 39791666 AR Orphanet COG6-CGD; and 1 other . . +SLC25A15 chr13 40789409 40812460 AR Orphanet Hyperornithinemia-hyperammonemia-homocitrullinuria syndrome . . +TNFSF11 chr13 42562736 42608013 AR Orphanet Autosomal recessive malignant osteopetrosis . . +LPAR6 chr13 48327364 48444704 AR Orphanet Hypotrichosis simplex; and 1 other . . +RCBTB1 chr13 49531939 49586740 AR Orphanet Reticular dystrophy of the retinal pigment epithelium . . +RNASEH2B chr13 50909746 51024120 AR ACMG Aicardi-Goutieres syndrome 2 . . +ATP7B chr13 51930436 52012198 AR ACMG Wilson disease . . +ALG11 chr13 52011712 52079232 AR Orphanet ALG11-CDG . . +THSD1 chr13 52360302 52416373 AR Orphanet Familial cerebral saccular aneurysm . . +PIBF1 chr13 72781641 73018645 AR Orphanet Isolated Joubert syndrome . . +CLN5 chr13 76990660 77063028 AR Orphanet Adult CLN5 disease; and 2 others . . +MYCBP2 chr13 77042474 77327105 AR Orphanet Non-specific syndromic intellectual disability . . +EDNRB chr13 77895481 77975529 AR Orphanet Waardenburg-Shah syndrome . . +SLITRK6 chr13 85790683 85806683 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . . +GPC6 chr13 93226807 94408020 AR Orphanet Autosomal recessive omodysplasia . . +DCT chr13 94436811 94479682 AR Orphanet Oculocutaneous albinism type 8 . . +TGDS chr13 94574041 94596286 AR Orphanet Pierre-Robin sequence-Manzke dysostosis-clinodactyly of the index finger syndrome . . +CLDN10 chr13 95433594 95603306 AR Orphanet Hypohidrosis-electrolyte imbalance-lacrimal gland dysfunction-ichthyosis-xerostomia syndrome . . +DNAJC3 chr13 95676600 95794988 AR Orphanet Juvenile-onset diabetes mellitus-central and peripheral neurodegeneration syndrome . . +PCCA chr13 100089015 100530437 AR Orphanet Propionic acidemia . . +TMTC4 chr13 100603625 100675633 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +NALCN chr13 101053773 101416515 AR Orphanet Freeman-Sheldon syndrome; and 1 other . . +TPP2 chr13 102596936 102679958 AR Orphanet Autoimmune hemolytic anemia-autoimmune thrombocytopenia-primary immunodeficiency syndrome due to TPP2 deficiency . . +ERCC5 chr13 102845831 102875995 AR Orphanet COFS syndrome; and 2 others . . +LIG4 chr13 108207439 108218373 AR Orphanet LIG4 syndrome . . +COL4A1 chr13 110148963 110307202 AR Orphanet Familial schizencephaly . . +NAXD chr13 110615505 110643086 AR Orphanet NAD(P)HX dehydratase deficiency . . +CARS2 chr13 110641409 110713603 AR Orphanet Combined oxidative phosphorylation defect type 27 . . +F7 chr13 113105762 113120685 AR Orphanet Congenital factor VII deficiency . . +F10 chr13 113122771 113149531 AR Orphanet Congenital factor X deficiency . . +GRK1 chr13 113667219 113740559 AR Orphanet Oguchi disease . . +TTC5 chr14 20256558 20305968 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +OSGEP chr14 20446401 20455089 AR Orphanet Galloway-Mowat syndrome . . +PNP chr14 20461992 20477094 AR Orphanet Purine nucleoside phosphorylase deficiency . . +ANG chr14 20682866 20698971 AR Orphanet Amyotrophic lateral sclerosis . . +HNRNPC chr14 21207375 21269792 AR Orphanet Non-specific syndromic intellectual disability . . +RPGRIP1 chr14 21280083 21351301 AR Orphanet Cone rod dystrophy; and 1 other . . +TRAC chr14 22547506 22552156 AR Orphanet TCR-alpha-beta-positive T-cell deficiency . . +SLC7A7 chr14 22773222 22829820 AR Orphanet Lysinuric protein intolerance . . +MMP14 chr14 22836532 22849041 AR Orphanet Multicentric osteolysis-nodulosis-arthropathy spectrum . . +CIROP chr14 23099062 23105018 AR Orphanet Situs inversus totalis . . +CEBPE chr14 23117036 23120256 AR Orphanet CEBPE-associated autoinflammation-immunodeficiency-neutrophil dysfunction syndrome; and 1 other . . +PABPN1 chr14 23321447 23326176 AR Orphanet Oculopharyngeal muscular dystrophy . . +MYH6 chr14 23380206 23408945 AR Orphanet Familial isolated dilated cardiomyopathy . . +MYH7 chr14 23412732 23436137 AR Orphanet Autosomal recessive myosin storage myopathy; and 3 others . AD +NRL chr14 24078662 24115026 AR Orphanet Retinitis pigmentosa . . +PCK2 chr14 24094053 24110598 AR Orphanet Phosphoenolpyruvate carboxykinase deficiency . . +RNF31 chr14 24146683 24160660 AR Orphanet Autoinflammatory syndrome with pyogenic bacterial infection and amylopectinosis . . +TINF2 chr14 24234009 24242666 AR Orphanet Dyskeratosis congenita; and 1 other . . +TGM1 chr14 24249114 24264432 AR Orphanet Acral self-healing collodion baby; and 4 others . . +FOXG1 chr14 28764329 28770277 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +AP4S1 chr14 31024922 31130996 AR Orphanet Severe intellectual disability and progressive spastic paraplegia . . +NUBPL chr14 31489956 31861304 AR Orphanet Isolated complex I deficiency . . +RNU6-8 chr14 32203163 32203269 AR Orphanet Retinitis pigmentosa . . +CFL2 chr14 34707001 34714946 AR Orphanet Typical nemaline myopathy . . +PPP2R3C chr14 35085467 35122547 AR Orphanet Male infertility due to globozoospermia; and 1 other . . +PRORP chr14 35121842 35278538 AR Orphanet Perrault syndrome type 1; and 1 other . . +PAX9 chr14 36657568 36679362 AR Orphanet Oligodontia . . +SEC23A chr14 39031917 39109646 AR Orphanet Craniolenticulosutural dysplasia . . +TOGARAM1 chr14 44962183 45074431 AR Orphanet Isolated Joubert syndrome . . +FANCM chr14 45135909 45200890 AR Orphanet Fanconi anemia; and 1 other . . +RPL10L chr14 46651010 46651781 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +MDGA2 chr14 46836520 47675605 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +MGAT2 chr14 49620799 49633312 AR Orphanet MGAT2-CDG . . +DNAAF2 chr14 49623701 49635284 AR Orphanet Primary ciliary dyskinesia . . +NEMF chr14 49780955 49853055 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +SOS2 chr14 50116801 50231930 AR Orphanet Noonan syndrome . . +L2HGDH chr14 50237563 50312243 AR Orphanet L-2-hydroxyglutaric aciduria . . +NIN chr14 50719763 50832038 AR Orphanet Microcephalic primordial dwarfism, Dauber type; and 1 other . . +PYGL chr14 50857891 50944734 AR Orphanet Glycogen storage disease due to liver glycogen phosphorylase deficiency . . +DDHD1 chr14 53036745 53153353 AR Orphanet Autosomal recessive spastic paraplegia type 28 . . +GCH1 chr14 54841961 54903280 AR Orphanet GTP cyclohydrolase I deficiency . . +TMEM260 chr14 56488354 56650606 AR Orphanet Structural heart defects-renal anomalies syndrome . . +OTX2 chr14 56799810 56816792 AR Orphanet Combined pituitary hormone deficiencies, genetic forms; and 5 others . . +KIAA0586 chr14 58427385 58551297 AR Orphanet Isolated Joubert syndrome; and 1 other . . +C14orf39 chr14 60396469 60515543 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +SIX6 chr14 60509146 60512850 AR Orphanet Colobomatous optic disc-macular atrophy-chorioretinopathy syndrome . . +TRMT5 chr14 60971441 60981694 AR Orphanet Combined oxidative phosphorylation defect type 26 . . +KCNH5 chr14 62699464 63102037 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +MTHFD1 chr14 64388031 64463457 AR Orphanet Combined immunodeficiency-megaloblastic anemia due to methylenetetrahydrofolate dehydrogenase 1 deficiency . . +SPTB chr14 64746283 64880019 AR Orphanet Hereditary elliptocytosis; and 1 other . . +GPHN chr14 66507407 67181806 AR Orphanet Hereditary hyperekplexia; and 1 other . . +PALS1 chr14 67240713 67336061 AR Orphanet Non-specific syndromic intellectual disability . . +RDH11 chr14 67676792 67695793 AR Orphanet Retinitis pigmentosa-juvenile cataract-short stature-intellectual disability syndrome . . +RDH12 chr14 67701886 67734451 AR Orphanet Leber congenital amaurosis; and 1 other . . +ZFYVE26 chr14 67727374 67816590 AR Orphanet Kjellin syndrome . . +SLC10A1 chr14 69768055 69797665 AR Orphanet Familial hypercholanemia . . +SMOC1 chr14 69854131 70092752 AR Orphanet Microphthalmia with limb anomalies . . +COX16 chr14 70325081 70416984 AR Orphanet Isolated cytochrome C oxidase deficiency . . +PSEN1 chr14 73136418 73223691 AR Orphanet Familial isolated dilated cardiomyopathy . . +DNAL1 chr14 73644875 73703732 AR Orphanet Primary ciliary dyskinesia . . +COQ6 chr14 73949926 73963670 AR Orphanet Familial steroid-resistant nephrotic syndrome with sensorineural deafness . . +ALDH6A1 chr14 74055997 74084492 AR Orphanet Developmental delay due to methylmalonate semialdehyde dehydrogenase deficiency . . +VSX2 chr14 74239449 74262738 AR Orphanet Isolated colobomatous microphthalmia . . +ABCD4 chr14 74285269 74303068 AR Orphanet Methylmalonic acidemia with homocystinuria, type cblJ . . +NPC2 chr14 74427119 74494177 AR Orphanet Niemann-Pick disease type C, adult neurologic onset; and 4 others . . +ISCA2 chr14 74493721 74499758 AR Orphanet Multiple mitochondrial dysfunctions syndrome type 4 . . +LTBP2 chr14 74498163 74612378 AR Orphanet Congenital glaucoma; and 2 others . . +EIF2B2 chr14 75002889 75013117 AR Orphanet Congenital or early infantile CACH syndrome; and 4 others . . +NEK9 chr14 75079353 75127344 AR Orphanet NEK9-related lethal skeletal dysplasia . . +FLVCR2 chr14 75578591 75663214 AR Orphanet Fowler vasculopathy . . +TTLL5 chr14 75633625 75955084 AR Orphanet Cone rod dystrophy . . +IFT43 chr14 75902136 76084611 AR Orphanet Cranioectodermal dysplasia; and 1 other . . +TGFB3 chr14 75958066 75983026 AR Orphanet Loeys-Dietz syndrome . . +ESRRB chr14 76310712 76501837 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +TMEM63C chr14 77116568 77259498 AR Orphanet Autosomal recessive spastic paraplegia type 87 . . +POMT2 chr14 77274956 77320898 AR Orphanet Congenital muscular dystrophy with cerebellar involvement; and 4 others . . +VIPAS39 chr14 77426674 77457952 AR Orphanet Arthrogryposis-renal dysfunction-cholestasis syndrome . . +SPTLC2 chr14 77505997 77616781 AR Orphanet Juvenile amyotrophic lateral sclerosis . . +TSHR chr14 80954989 81146306 AR Orphanet Hypothyroidism due to TSH receptor mutations . . +GALC chr14 87837820 87993665 AR Orphanet Adult Krabbe disease; and 2 others . . +SPATA7 chr14 88384924 88472529 AR Orphanet Leber congenital amaurosis; and 2 others . . +ZC3H14 chr14 88562948 88627596 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +TTC8 chr14 88824153 88881079 AR Orphanet Bardet-Biedl syndrome; and 1 other . . +TDP1 chr14 89954939 90044820 AR Orphanet Spinocerebellar ataxia with axonal neuropathy type 1 . . +GPR68 chr14 91232530 91264777 AR Orphanet Hypomaturation amelogenesis imperfecta . . +CCDC88C chr14 91271323 91417890 AR ACMG Congenital hydrocephalus 1 . . +FBLN5 chr14 91869410 91948064 AR Orphanet Autosomal recessive cutis laxa type 1 . . +TRIP11 chr14 91965991 92040902 AR Orphanet Achondrogenesis type 1A; and 1 other . . +SLC24A4 chr14 92322581 92501481 AR Orphanet Hypocalcified amelogenesis imperfecta; and 1 other . . +GON7 chr14 93190873 93207139 AR Orphanet Galloway-Mowat syndrome . . +UBR7 chr14 93207237 93229226 AR Orphanet Non-specific syndromic intellectual disability . . +SERPINA1 chr14 94376745 94391024 AR Orphanet Alpha-1-antitrypsin deficiency . . +GSC chr14 94766509 94770128 AR Orphanet Short stature-auditory canal atresia-mandibular hypoplasia-skeletal anomalies syndrome . . +GLRX5 chr14 95533503 95544724 AR Orphanet Adult-onset autosomal recessive sideroblastic anemia; and 1 other . . +AK7 chr14 96392097 96490031 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +VRK1 chr14 96797304 96954846 AR Orphanet Microcephaly-complex motor and sensory axonal neuropathy syndrome; and 1 other . . +EML1 chr14 99737693 99942060 AR Orphanet Subcortical band heterotopia . . +WARS1 chr14 100333782 100376805 AR Orphanet Autosomal recessive primary microcephaly; and 1 other . . +TECPR2 chr14 102362933 102502477 AR Orphanet Hereditary sensory and autonomic neuropathy due to TECPR2 mutation . . +AMN chr14 102922639 102933596 AR Orphanet Imerslund-Gräsbeck syndrome . . +BAG5 chr14 103556545 103576759 AR Orphanet Familial isolated dilated cardiomyopathy . . +COA8 chr14 103562355 103613948 AR Orphanet Non-progressive predominantly posterior cavitating leukoencephalopathy with peripheral neuropathy . . +TDRD9 chr14 103928424 104052682 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +INF2 chr14 104681146 104722535 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +ADSS1 chr14 104724174 104747523 AR Orphanet Adenylosuccinate synthetase-like 1-related distal myopathy . . +BRF1 chr14 105209277 105315589 AR Orphanet Cerebellar-facial-dental syndrome . . +PACS2 chr14 105300563 105398147 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +IGHM chr14 105851705 105856218 AR Orphanet Autosomal non-syndromic agammaglobulinemia . . +MAGEL2 chr15 23643549 23647867 AR Orphanet Fetal akinesia deformation sequence . . +GABRA5 chr15 26866709 26949208 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +OCA2 chr15 27754859 28099664 AR ACMG Oculocutaneous albinism type II . . +HERC2 chr15 28111040 28322179 AR Orphanet Developmental delay with autism spectrum disorder and gait instability . . +FAN1 chr15 30890559 30946209 AR Orphanet Karyomegalic interstitial nephritis . . +TRPM1 chr15 31001065 31161160 AR Orphanet Complete congenital stationary night blindness, Schubert-Bornschein type . . +SLC12A6 chr15 34229784 34338060 AR Orphanet Corpus callosum agenesis-neuronopathy syndrome . . +NOP10 chr15 34339159 34343180 AR Orphanet Dyskeratosis congenita . . +ACTC1 chr15 34790107 34795912 AR Orphanet Familial isolated dilated cardiomyopathy . AD +CDIN1 chr15 36579611 36810248 AR Orphanet Congenital dyserythropoietic anemia type I . . +RASGRP1 chr15 38488103 38565575 AR Orphanet EBV-induced lymphoproliferative disease due to RASGRP1 deficiency . . +EIF2AK4 chr15 39934062 40036656 AR Orphanet Heritable pulmonary arterial hypertension; and 2 others . . +BUB1B chr15 40160984 40221137 AR Orphanet Mosaic variegated aneuploidy syndrome . . +IVD chr15 40405485 40435956 AR Orphanet Isovaleric acidemia . . +CHST14 chr15 40470984 40473158 AR Orphanet Musculocontractural Ehlers-Danlos syndrome . . +CCDC32 chr15 40519519 40565054 AR Orphanet Non-specific syndromic intellectual disability . . +KNL1 chr15 40594002 40664342 AR Orphanet Autosomal recessive primary microcephaly . . +RAD51 chr15 40694774 40732344 AR Orphanet Familial congenital mirror movements; and 1 other . . +DLL4 chr15 40929333 40939081 AR Orphanet Adams-Oliver syndrome; and 1 other . . +INO80 chr15 40978880 41116568 AR Orphanet Hyper-IgM syndrome due to INO80 deficiency . . +NDUFAF1 chr15 41387218 41409403 AR Orphanet Isolated complex I deficiency . . +MAPKBP1 chr15 41774434 41827855 AR Orphanet Juvenile nephronophthisis; and 1 other . . +CAPN3 chr15 42359494 42412949 AR Orphanet Calpain-3-related limb-girdle muscular dystrophy R1 . . +CDAN1 chr15 42723544 42737156 AR Orphanet Congenital dyserythropoietic anemia type I . . +UBR1 chr15 42942897 43106141 AR Orphanet Johanson-Blizzard syndrome . . +EPB42 chr15 43191351 43221053 AR Orphanet Hereditary spherocytosis . . +TGM5 chr15 43232590 43266933 AR Orphanet Acral peeling skin syndrome . . +TUBGCP4 chr15 43369221 43409771 AR Orphanet Autosomal recessive chorioretinopathy-microcephaly syndrome . . +STRC chr15 43597892 43618800 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +SPG11 chr15 44554436 44663688 AR Orphanet Autosomal recessive Charcot-Marie-Tooth disease type 2X; and 2 others . . +PATL2 chr15 44665723 44711384 AR Orphanet Female infertility due to oocyte meiotic arrest . . +B2M chr15 44711253 44718851 AR Orphanet Immunodeficiency by defective expression of MHC class I . . +TERB2 chr15 44956687 44979229 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +SORD chr15 45023116 45077185 AR Orphanet Distal muscle weakness-foot deformity-elevated sorbitol level-hereditary motor neuropathy; and 1 other . . +DUOX2 chr15 45092650 45114185 AR Orphanet Familial thyroid dyshormonogenesis; and 1 other . . +DUOXA2 chr15 45114325 45118421 AR Orphanet Familial thyroid dyshormonogenesis . . +GATM chr15 45333479 45402327 AR Orphanet L-Arginine:glycine amidinotransferase deficiency; and 1 other . . +AFG2B chr15 45402325 45421415 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 1 other . . +BLOC1S6 chr15 45587108 45615945 AR Orphanet Hermansky-Pudlak syndrome due to BLOC-1 deficiency . . +SLC24A5 chr15 48120990 48142698 AR Orphanet Oculocutaneous albinism type 6 . . +SLC12A1 chr15 48178392 48304078 AR Orphanet Bartter syndrome type 1 . . +DUT chr15 48331011 48343373 AR Orphanet Bone marrow failure-diabetes mellitus syndrome . . +FBN1 chr15 48408016 48645791 AR Orphanet Geleophysic dysplasia; and 2 others . AD +CEP152 chr15 48712928 48811146 AR Orphanet Autosomal recessive primary microcephaly; and 1 other . . +USP8 chr15 50423584 50514421 AR Orphanet Autosomal recessive spastic paraplegia type 59 . . +AP4E1 chr15 50908668 51005899 AR Orphanet Severe intellectual disability and progressive spastic paraplegia . . +CYP19A1 chr15 51208057 51338606 AR Orphanet Aromatase deficiency . . +GLDN chr15 51341498 51408005 AR Orphanet Fetal akinesia deformation sequence . . +DMXL2 chr15 51447711 51622981 AR Orphanet Early infantile developmental and epileptic encephalopathy; and 1 other . . +GNB5 chr15 52115100 52191392 AR Orphanet GNB5-related intellectual disability-cardiac arrhythmia syndrome . . +MYO5A chr15 52307281 52529248 AR Orphanet Griscelli syndrome type 1; and 2 others . . +WDR72 chr15 53513741 53762878 AR Orphanet Autosomal recessive distal renal tubular acidosis; and 1 other . . +RAB27A chr15 55202966 55319174 AR Orphanet Griscelli syndrome type 2 . . +DNAAF4 chr15 55410525 55508234 AR Orphanet Primary ciliary dyskinesia . . +LIPC chr15 58410380 58570449 AR Orphanet Hyperlipidemia due to hepatic triacylglycerol lipase deficiency . . +MYO1E chr15 59132409 59373121 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +RORA chr15 60488284 61229302 AR Orphanet Non-specific syndromic intellectual disability . . +VPS13C chr15 61852389 62060482 AR Orphanet Young-onset Parkinson disease . . +TPM1 chr15 63042130 63071915 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . AD +CA12 chr15 63321378 63382252 AR Orphanet Isolated hyperchlorhidrosis . . +HERC1 chr15 63608618 63833997 AR Orphanet Megalencephaly-severe kyphoscoliosis-overgrowth syndrome . . +PPIB chr15 64155740 64163159 AR Orphanet Osteogenesis imperfecta type 2; and 2 others . . +TRIP4 chr15 64387748 64458653 AR Orphanet Congenital muscular dystrophy-respiratory failure-skin abnormalities-joint hyperlaxity syndrome; and 1 other . . +SPG21 chr15 64954566 64990312 AR Orphanet Autosomal recessive spastic paraplegia type 21 . . +MTFMT chr15 64990829 65029652 AR Orphanet Combined oxidative phosphorylation defect type 15 . . +UBAP1L chr15 65091766 65115200 AR Orphanet Cone rod dystrophy . . +SMAD3 chr15 67063763 67195173 AR Orphanet Loeys-Dietz syndrome . AD +RNU6-1 chr15 67839939 67840045 AR Orphanet Retinitis pigmentosa . . +CLN6 chr15 68206977 68257211 AR Orphanet Adult CLN6 disease; and 2 others . . +KIF23 chr15 69414246 69448427 AR Orphanet Congenital dyserythropoietic anemia type III . . +NR2E3 chr15 71792638 71818259 AR Orphanet Goldmann-Favre syndrome; and 1 other . . +MYO9A chr15 71822291 72118577 AR Orphanet Congenital myasthenic syndrome due to defective axonal transport . . +HEXA chr15 72340919 72376420 AR ACMG,ACOG Tay-Sachs disease pseudodeficiency chr15:72350584:G:A c.739C>T p.Arg247Trp; pseudodeficiency chr15:72350578:G:A c.745C>T p.Arg249Trp . +BBS4 chr15 72686181 72742006 AR Orphanet Bardet-Biedl syndrome . . +HCN4 chr15 73319859 73368958 AR Orphanet Hereditary sick sinus syndrome . . +STRA6 chr15 74179466 74212267 AR Orphanet Isolated colobomatous microphthalmia; and 1 other . . +CYP11A1 chr15 74337746 74367884 AR ACMG Congenital adrenal insufficiency with 46,XY sex reversal . . +EDC3 chr15 74630557 74696292 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +MPI chr15 74890005 74902219 AR Orphanet MPI-CDG . . +COX5A chr15 74919594 74939351 AR Orphanet Isolated cytochrome C oxidase deficiency . . +MAN2C1 chr15 75355207 75368656 AR Orphanet Non-specific syndromic intellectual disability . . +ETFA chr15 76188201 76311730 AR Orphanet Multiple acyl-CoA dehydrogenase deficiency, mild type; and 1 other . . +SCAPER chr15 76347904 76905970 AR Orphanet Bardet-Biedl syndrome; and 1 other . . +CIB2 chr15 78102300 78131565 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +MTHFS chr15 79833585 79897379 AR Orphanet MTHFS-related developmental delay-microcephaly-short stature-epilepsy syndrome . . +FAH chr15 80152292 80186990 AR ACMG Tyrosinemia type I . . +ARNT2 chr15 80404099 80597937 AR Orphanet Septo-optic dysplasia spectrum . . +MESD chr15 80946289 80989848 AR Orphanet Osteogenesis imperfecta type 2 . . +EFL1 chr15 82130206 82262773 AR Orphanet Shwachman-Diamond syndrome . . +AP3B2 chr15 82659281 82710112 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +BNC1 chr15 83255884 83284664 AR Orphanet 46,XX gonadal dysgenesis . . +WDR73 chr15 84639283 84654343 AR Orphanet CAMOS syndrome; and 1 other . . +ACAN chr15 88803427 88875353 AR Orphanet Spondyloepimetaphyseal dysplasia, aggrecan type . . +RLBP1 chr15 89209869 89222577 AR Orphanet Bothnia retinal dystrophy; and 3 others . . +FANCI chr15 89243854 89318091 AR Orphanet Fanconi anemia . . +POLG chr15 89305198 89334972 AR ACMG Mitochondrial DNA depletion syndrome 4A and 4B . . +KIF7 chr15 89608789 89663098 AR Orphanet Acrocallosal syndrome; and 3 others . . +MESP2 chr15 89760591 89778754 AR Orphanet Autosomal recessive spondylocostal dysostosis . . +IDH2 chr15 90083045 90102511 AR Orphanet D-2-hydroxyglutaric aciduria . . +CIB1 chr15 90229939 90234115 AR Orphanet Inherited epidermodysplasia verruciformis . . +BLM chr15 90717340 90816166 AR ACMG,ACOG Bloom syndrome . . +VPS33B chr15 90997635 91022614 AR Orphanet Arthrogryposis-renal dysfunction-cholestasis syndrome . . +IGF1R chr15 98648539 98964530 AR Orphanet Growth delay due to insulin-like growth factor I resistance . . +ADAMTS17 chr15 99971437 100342005 AR Orphanet Weill-Marchesani syndrome . . +CERS3 chr15 100400395 100544995 AR Orphanet Congenital ichthyosiform erythroderma . . +LINS1 chr15 100559369 100603230 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +ALDH1A3 chr15 100861924 100916760 AR Orphanet Isolated colobomatous microphthalmia; and 1 other . . +LRRK1 chr15 100918893 101078257 AR Orphanet Osteosclerotic metaphyseal dysplasia . . +CHSY1 chr15 101145640 101252339 AR Orphanet Temtamy preaxial brachydactyly syndrome . . +TM2D3 chr15 101555713 101652401 AR Orphanet Severe neurodevelopmental disorder-facial dysmorphism-cerebral-renal-cardiac anomalies syndrome . . +HBA2 chr16 172021 173910 AR ACMG,ACOG Alpha-thalassemia . . +HBA1 chr16 176660 177527 AR ACMG,ACOG Alpha-thalassemia . . +CAPN15 chr16 527698 554636 AR Orphanet Oculogastrointestinal-neurodevelopmental syndrome . . +PIGQ chr16 566995 584121 AR Orphanet Early infantile developmental and epileptic encephalopathy . . +STUB1 chr16 679980 682870 AR Orphanet Autosomal recessive cerebellar ataxia due to STUB1 deficiency . . +LMF1 chr16 853618 981318 AR Orphanet Familial lipase maturation factor 1 deficiency . . +GNPTG chr16 1351924 1365737 AR Orphanet Mucolipidosis type III gamma . . +PERCC1 chr16 1431078 1434441 AR Orphanet PERCC1-related congenital intractable malabsorptive diarrhea . . +CLCN7 chr16 1444934 1475104 AR Orphanet Autosomal recessive malignant osteopetrosis; and 1 other . . +TELO2 chr16 1493329 1512551 AR Orphanet TELO2-related intellectual disability-neurodevelopmental disorder . . +IFT140 chr16 1510427 1612082 AR Orphanet Jeune syndrome; and 3 others . . +MAPK8IP3 chr16 1706166 1770374 AR Orphanet Non-specific syndromic intellectual disability . . +IGFALS chr16 1790227 1794971 AR Orphanet Short stature due to primary acid-labile subunit deficiency . . +MEIOB chr16 1833986 1884294 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +RPL3L chr16 1943791 1957606 AR Orphanet Familial isolated dilated cardiomyopathy . . +NDUFB10 chr16 1959500 1962105 AR Orphanet Isolated complex I deficiency . . +GFER chr16 1983699 1987749 AR Orphanet Congenital cataract-progressive muscular hypotonia-hearing loss-developmental delay syndrome . . +NTHL1 chr16 2039814 2047866 AR Orphanet NTHL1-related polyposis . . +ABCA3 chr16 2275878 2340788 AR ACMG Surfactant metabolism dysfunction, pulmonary 3 . . +CCNF chr16 2429394 2458913 AR Orphanet Amyotrophic lateral sclerosis . . +TBC1D24 chr16 2475051 2509671 AR Orphanet Autosomal recessive non-syndromic genetic deafness; and 6 others . . +THOC6 chr16 3022541 3027755 AR Orphanet THOC6-related developmental delay-microcephaly-facial dysmorphism syndrome . . +MEFV chr16 3240392 3256954 AR Orphanet Familial Mediterranean fever . . +NAA60 chr16 3443623 3486961 AR Orphanet Bilateral striopallidodentate calcinosis . . +SLX4 chr16 3579654 3611617 AR Orphanet Fanconi anemia . . +DNASE1 chr16 3611678 3680143 AR Orphanet Autosomal systemic lupus erythematosus . . +GLIS2 chr16 4314761 4339597 AR Orphanet Juvenile nephronophthisis . . +PAM16 chr16 4330378 4355607 AR Orphanet Autosomal recessive spondylometaphyseal dysplasia, Mégarbané type . . +ANKS3 chr16 4696500 4734388 AR Orphanet Situs inversus totalis . . +SEPTIN12 chr16 4777606 4788398 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +ROGDI chr16 4796962 4802926 AR Orphanet Amelocerebrohypohidrotic syndrome . . +ALG1 chr16 5033702 5087379 AR Orphanet ALG1-CDG . . +ABAT chr16 8674596 8784575 AR Orphanet Gamma-aminobutyric acid transaminase deficiency . . +PMM2 chr16 8788823 8862534 AR ACMG Congenital disorder of glycosylation type Ia . . +EMP2 chr16 10528422 10580857 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +CIITA chr16 10866222 10943021 AR Orphanet Immunodeficiency by defective expression of MHC class II . . +RMI2 chr16 11249619 11381662 AR Orphanet Intrauterine growth restriction-congenital multiple café-au-lait macules-increased sister chromatid exchange syndrome . . +ERCC4 chr16 13920138 13952348 AR Orphanet Cockayne syndrome type 1; and 3 others . . +PARN chr16 14435699 14632728 AR Orphanet Dyskeratosis congenita; and 1 other . . +NDE1 chr16 15643267 15734691 AR Orphanet Hydranencephaly; and 2 others . . +MYH11 chr16 15703135 15858438 AR Orphanet Megacystis-microcolon-intestinal hypoperistalsis syndrome . AD +ABCC6 chr16 16149565 16223637 AR Orphanet Generalized arterial calcification of infancy; and 1 other . . +XYLT1 chr16 17101769 17470977 AR Orphanet Desbuquois syndrome; and 1 other . . +ARL6IP1 chr16 18791609 18801572 AR Orphanet Autosomal recessive spastic paraplegia type 61 . . +COQ7 chr16 19067564 19082190 AR Orphanet COQ7-related distal hereditary motor neuropathy; and 1 other . . +VPS35L chr16 19555240 19706793 AR Orphanet 3C syndrome . . +GPRC5B chr16 19856691 19886173 AR Orphanet Megalencephalic leukoencephalopathy with subcortical cysts . . +ZP2 chr16 21197450 21214510 AR Orphanet Female infertility due to zona pellucida defect . . +OTOA chr16 21663968 21761935 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +UQCRC2 chr16 21952636 21990814 AR Orphanet Isolated complex III deficiency . . +SCNN1G chr16 23182677 23216883 AR Orphanet Generalized pseudohypoaldosteronism type 1 . . +SCNN1B chr16 23278231 23381299 AR Orphanet Generalized pseudohypoaldosteronism type 1 . . +COG7 chr16 23388493 23453210 AR Orphanet COG7-CDG . . +PALB2 chr16 23603158 23641342 AR Orphanet Fanconi anemia . AD +IL21R chr16 27402174 27452050 AR Orphanet Combined immunodeficiency due to IL21R deficiency . . +KATNIP chr16 27550133 27780371 AR Orphanet Isolated Joubert syndrome . . +CLN3 chr16 28474111 28495575 AR Orphanet Juvenile CLN3 disease; and 1 other . . +TUFM chr16 28841618 28846419 AR Orphanet Combined oxidative phosphorylation defect type 4 . . +ATP2A1 chr16 28878383 28904511 AR Orphanet Brody myopathy . . +CD19 chr16 28931965 28939342 AR Orphanet Common variable immunodeficiency phenotype due to CD19/CD81 deficiency . . +LAT chr16 28984808 28990784 AR Orphanet T-B+NK+ severe combined immunodeficiency due to LAT deficiency . . +TLCD3B chr16 30024425 30052978 AR Orphanet Cone rod dystrophy . . +ALDOA chr16 30064164 30070457 AR Orphanet Glycogen storage disease due to aldolase A deficiency . . +TBX6 chr16 30085793 30091933 AR Orphanet Autosomal recessive spondylocostal dysostosis . . +CORO1A chr16 30182798 30189085 AR Orphanet T-B+NK+ severe combined immunodeficiency due to CORO1A deficiency . . +SRCAP chr16 30698128 30741409 AR Orphanet Non-specific syndromic intellectual disability . . +PHKG2 chr16 30748245 30761176 AR Orphanet Glycogen storage disease due to liver phosphorylase kinase deficiency . . +SETD1A chr16 30957294 30984664 AR Orphanet Non-specific syndromic intellectual disability . . +HSD3B7 chr16 30985029 30989154 AR Orphanet Congenital bile acid synthesis defect type 1 . . +VKORC1 chr16 31090260 31095980 AR Orphanet Hereditary combined deficiency of vitamin K-dependent clotting factors . . +BCKDK chr16 31106107 31113464 AR Orphanet Autism-epilepsy syndrome due to branched chain ketoacid dehydrogenase kinase deficiency . . +KAT8 chr16 31114489 31131396 AR Orphanet Non-specific syndromic intellectual disability . . +FUS chr16 31180131 31196963 AR Orphanet Amyotrophic lateral sclerosis; and 1 other . . +COX6A2 chr16 31427731 31428433 AR Orphanet Isolated cytochrome C oxidase deficiency . . +SLC5A2 chr16 31483002 31490860 AR Orphanet Familial renal glucosuria . . +ORC6 chr16 46689301 46698399 AR Orphanet Ear-patella-short stature syndrome . . +GPT2 chr16 46882857 46931299 AR Orphanet Postnatal microcephaly-infantile hypotonia-spastic diplegia-dysarthria-intellectual disability syndrome . . +PHKB chr16 47461123 47701524 AR Orphanet Glycogen storage disease due to liver and muscle phosphorylase kinase deficiency . . +SIAH1 chr16 48356364 48448402 AR Orphanet Non-specific syndromic intellectual disability . . +ZNF423 chr16 49487524 49857919 AR Orphanet Infantile nephronophthisis; and 1 other . . +RPGRIP1L chr16 53598153 53703938 AR Orphanet Joubert syndrome with hepatic defect; and 2 others . . +FTO chr16 53701692 54158512 AR Orphanet Lethal polymalformative syndrome, Boissel type . . +IRX5 chr16 54930779 54934485 AR Orphanet Facial dysmorphism-ocular anomalies-osteopenia-intellectual disability-dental anomalies syndrome . . +MMP2 chr16 55389700 55508058 AR Orphanet Multicentric osteolysis-nodulosis-arthropathy spectrum . . +GNAO1 chr16 56189660 56357444 AR Orphanet Early infantile developmental and epileptic encephalopathy . . +BBS2 chr16 56465640 56582667 AR ACMG Bardet-Biedl syndrome 2 . . +NUP93 chr16 56730095 56850286 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +SLC12A3 chr16 56865203 56915850 AR Orphanet Gitelman syndrome . . +RSPRY1 chr16 57186137 57242505 AR Orphanet Progressive spondyloepimetaphyseal dysplasia-short stature-short fourth metatarsals-intellectual disability syndrome . . +ARL2BP chr16 57245098 57259830 AR Orphanet Retinitis pigmentosa . . +COQ9 chr16 57447425 57461275 AR Orphanet Encephalopathy-hypertrophic cardiomyopathy-renal tubular disease syndrome . . +ADGRG1 chr16 57610652 57665580 AR Orphanet Bilateral frontoparietal polymicrogyria; and 1 other . . +KATNB1 chr16 57735669 57758271 AR Orphanet Lissencephaly syndrome, Norman-Roberts type . . +CNGB1 chr16 57881892 57971128 AR Orphanet Retinitis pigmentosa . . +USB1 chr16 57999546 58021618 AR Orphanet Dyskeratosis congenita; and 1 other . . +CFAP20 chr16 58113167 58129429 AR Orphanet Retinitis pigmentosa . . +CNOT1 chr16 58518546 58629885 AR Orphanet Non-specific syndromic intellectual disability . . +CDH11 chr16 64943753 65126112 AR Orphanet Branchioskeletogenital syndrome . . +TK2 chr16 66508003 66552544 AR Orphanet Autosomal recessive progressive external ophthalmoplegia; and 3 others . . +TERB1 chr16 66754640 66801620 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +HSF4 chr16 67164681 67169945 AR Orphanet Total early-onset cataract . . +HSD11B2 chr16 67430652 67437553 AR Orphanet Apparent mineralocorticoid excess . . +CARMIL2 chr16 67644988 67657569 AR Orphanet EBV-induced lymphoproliferative disease due to CARMIL2 deficiency . . +ACD chr16 67657512 67660810 AR Orphanet Dyskeratosis congenita; and 1 other . . +PSMB10 chr16 67934504 67936865 AR Orphanet Omenn syndrome . . +LCAT chr16 67939150 67944681 AR Orphanet Familial LCAT deficiency; and 1 other . . +PRMT7 chr16 68310916 68360852 AR Orphanet Short stature-brachydactyly-obesity-global developmental delay syndrome . . +CDH3 chr16 68636189 68727468 AR Orphanet EEM syndrome; and 1 other . . +UTP4 chr16 69131291 69231130 AR Orphanet Hereditary North American Indian childhood cirrhosis . . +COG8 chr16 69320140 69339920 AR Orphanet COG8-CDG . . +AARS1 chr16 70251983 70289707 AR Orphanet Non-specific early-onset epileptic encephalopathy; and 1 other . . +COG4 chr16 70480567 70523582 AR Orphanet COG4-CDG; and 1 other . . +MTSS2 chr16 70661204 70686086 AR Orphanet Non-specific syndromic intellectual disability . . +VAC14 chr16 70687436 70801178 AR Orphanet Childhood-onset basal ganglia degeneration syndrome; and 1 other . . +HYDIN chr16 70802084 71230735 AR Orphanet Primary ciliary dyskinesia . . +TAT chr16 71565660 71577096 AR Orphanet Tyrosinemia type 2 . . +AP1G1 chr16 71729000 71809201 AR Orphanet Non-specific syndromic intellectual disability . . +DHODH chr16 72008588 72027664 AR Orphanet Postaxial acrofacial dysostosis . . +DHX38 chr16 72093613 72112912 AR Orphanet Retinitis pigmentosa . . +PMFBP1 chr16 72111574 72176878 AR Orphanet Male infertility due to acephalic spermatozoa . . +RFWD3 chr16 74621393 74666912 AR Orphanet Fanconi anemia . . +FA2H chr16 74712955 74774837 AR Orphanet Autosomal recessive spastic paraplegia type 35; and 1 other . . +CHST6 chr16 75472052 75495478 AR Orphanet Macular corneal dystrophy . . +TMEM231 chr16 75536573 75556289 AR Orphanet Joubert syndrome with oculorenal defect; and 2 others . . +KARS1 chr16 75624160 75648663 AR Orphanet Adult-onset progressive leukoencephalopathy-early-onset deafness; and 3 others . . +ADAMTS18 chr16 77247813 77435034 AR Orphanet Microcornea-myopic chorioretinal atrophy-telecanthus syndrome . . +WWOX chr16 78099400 79212667 AR Orphanet 46,XY partial gonadal dysgenesis; and 2 others . . +MAF chr16 79583128 79600737 AR Orphanet Aymé-Gripp syndrome; and 2 others . . +GCSH chr16 81078232 81096426 AR Orphanet Infantile glycine encephalopathy; and 1 other . . +GAN chr16 81314932 81390884 AR Orphanet Giant axonal neuropathy . . +MLYCD chr16 83899057 83951445 AR Orphanet Malonic aciduria . . +SLC38A8 chr16 84009558 84043143 AR Orphanet Foveal hypoplasia-optic nerve decussation defect-anterior segment dysgenesis syndrome . . +DNAAF1 chr16 84145261 84178769 AR Orphanet Primary ciliary dyskinesia . . +COX4I1 chr16 85798633 85810195 AR Orphanet Isolated cytochrome C oxidase deficiency . . +FBXO31 chr16 87326987 87392142 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +CA5A chr16 87881546 87936603 AR Orphanet Hyperammonemic encephalopathy due to carbonic anhydrase VA deficiency . . +ZNF469 chr16 88382959 88440757 AR Orphanet Brittle cornea syndrome . . +CYBA chr16 88643275 88651083 AR Orphanet Chronic granulomatous disease . . +PIEZO1 chr16 88715338 88785251 AR Orphanet PIEZO1-related generalized lymphatic dysplasia with non-immune hydrops fetalis . . +CDT1 chr16 88803777 88809258 AR Orphanet Ear-patella-short stature syndrome . . +APRT chr16 88808323 88811970 AR Orphanet Adenine phosphoribosyltransferase deficiency . . +GALNS chr16 88813733 88857832 AR Orphanet Mucopolysaccharidosis type 4A . . +ACSF3 chr16 89088375 89164121 AR Orphanet Combined malonic and methylmalonic acidemia . . +SPG7 chr16 89490719 89557768 AR Orphanet Primary lateral sclerosis; and 1 other . . +CHMP1A chr16 89640816 89657738 AR Orphanet Pontocerebellar hypoplasia type 8 . . +CDK10 chr16 89680737 89696372 AR Orphanet Developmental delay-cervical spine anomalies-facial dysmorphism-intellectual disability syndrome . . +FANCA chr16 89726683 89816977 AR Orphanet Fanconi anemia . . +TUBB3 chr16 89921392 89938761 AR Orphanet Congenital fibrosis of extraocular muscles . . +DRC4 chr16 90019629 90045369 AR Orphanet Primary ciliary dyskinesia . . +VPS53 chr17 508503 721717 AR Orphanet Progressive cerebello-cerebral atrophy . . +NXN chr17 799310 979816 AR Orphanet Autosomal recessive Robinow syndrome . . +BHLHA9 chr17 1270444 1271815 AR Orphanet Mesoaxial synostotic syndactyly with phalangeal reduction . . +INPP5K chr17 1494571 1516759 AR Orphanet Congenital muscular dystrophy-cataract-intellectual disability syndrome . . +PRPF8 chr17 1650624 1684909 AR Orphanet Non-specific syndromic intellectual disability; and 1 other . . +WDR81 chr17 1716523 1738599 AR Orphanet Congenital communicating hydrocephalus; and 2 others . . +SERPINF2 chr17 1742069 1755271 AR Orphanet Congenital alpha2-antiplasmin deficiency . . +SERPINF1 chr17 1761958 1777627 AR Orphanet Osteogenesis imperfecta type 3; and 1 other . . +DPH1 chr17 2030136 2043898 AR Orphanet Craniofacial dysplasia-short stature-ectodermal anomalies-intellectual disability syndrome . . +ASPA chr17 3472374 3503405 AR ACMG,ACOG Canavan disease . . +SHPK chr17 3607433 3636637 AR Orphanet Isolated sedoheptulokinase deficiency . . +CTNS chr17 3636446 3663103 AR Orphanet Infantile nephropathic cystinosis; and 2 others . . +ANKFY1 chr17 4163821 4263995 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +ZMYND15 chr17 4739108 4746119 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +CHRNE chr17 4897769 4934438 AR ACMG Congenital myasthenic syndrome 4 . . +GP1BA chr17 4932261 4935023 AR Orphanet Bernard-Soulier syndrome . . +PFN1 chr17 4945652 4950517 AR Orphanet Amyotrophic lateral sclerosis . . +ENO3 chr17 4948034 4957132 AR Orphanet Glycogen storage disease due to muscle beta-enolase deficiency . . +KIF1C chr17 4997629 5028401 AR Orphanet Autosomal spastic paraplegia type 58 . . +NUP88 chr17 5359641 5420164 AR Orphanet Fetal akinesia deformation sequence . . +AIPL1 chr17 6393693 6435199 AR Orphanet Leber congenital amaurosis . . +PITPNM3 chr17 6451263 6556567 AR Orphanet Cone rod dystrophy . . +KIAA0753 chr17 6578031 6640741 AR Orphanet Isolated Joubert syndrome; and 2 others . . +SLC13A5 chr17 6684715 6713377 AR Orphanet Amelocerebrohypohidrotic syndrome; and 1 other . . +DLG4 chr17 7187187 7219836 AR Orphanet Non-specific syndromic intellectual disability . . +ACADVL chr17 7217125 7225273 AR ACMG Very long-chain acyl-CoA dehydrogenase deficiency . . +EIF5A chr17 7306944 7312506 AR Orphanet Non-specific syndromic intellectual disability . . +CHRNB1 chr17 7445004 7457710 AR Orphanet Congenital myasthenic syndrome with primary acetylcholine receptor deficiency; and 2 others . . +MPDU1 chr17 7583214 7594419 AR Orphanet MPDU1-CDG . . +WRAP53 chr17 7686071 7703505 AR Orphanet Dyskeratosis congenita . . +KDM6B chr17 7834193 7854808 AR Orphanet Non-specific syndromic intellectual disability . . +GUCY2D chr17 8002615 8020342 AR Orphanet Cone rod dystrophy; and 1 other . . +ALOX12B chr17 8068594 8087716 AR Orphanet Congenital ichthyosiform erythroderma; and 2 others . . +ALOXE3 chr17 8095900 8119047 AR Orphanet Congenital ichthyosiform erythroderma; and 2 others . . +HES7 chr17 8120592 8124114 AR Orphanet Autosomal recessive spondylocostal dysostosis . . +TMEM107 chr17 8172440 8176408 AR Orphanet Meckel syndrome . . +SNORD118 chr17 8173452 8173588 AR Orphanet Leukoencephalopathy with calcifications and cysts . . +CTC1 chr17 8224815 8248075 AR Orphanet Coats plus syndrome; and 1 other . . +PFAS chr17 8247618 8271150 AR Orphanet Phosphoribosylformylglycinamidine synthase deficiency . . +PIK3R5 chr17 8878911 8966008 AR Orphanet Spinocerebellar ataxia with axonal neuropathy type 2 . . +NTN1 chr17 9003080 9244000 AR Orphanet Familial congenital mirror movements . . +CFAP52 chr17 9576627 9643455 AR Orphanet Situs inversus totalis . . +MYH2 chr17 10521147 10549700 AR Orphanet Childhood-onset autosomal recessive myopathy with external ophthalmoplegia . . +MYH3 chr17 10628526 10657309 AR Orphanet Autosomal recessive multiple pterygium syndrome; and 2 others . . +SCO1 chr17 10672474 10698375 AR Orphanet Fatal infantile cytochrome C oxidase deficiency . . +DNAH9 chr17 11598457 11969748 AR Orphanet Primary ciliary dyskinesia; and 1 other . . +ELAC2 chr17 12991268 13018065 AR Orphanet Combined oxidative phosphorylation defect type 17 . . +COX10 chr17 14069490 14231736 AR Orphanet Isolated cytochrome C oxidase deficiency . . +PMP22 chr17 15176316 15272292 AR Orphanet Dejerine-Sottas syndrome . . +TEKT3 chr17 15303811 15341632 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +ZSWIM7 chr17 15976219 15999717 AR Orphanet 46,XX gonadal dysgenesis; and 1 other . . +TTC19 chr17 15999386 16068416 AR Orphanet Isolated complex III deficiency . . +PIGL chr17 16217181 16351797 AR Orphanet CHIME syndrome; and 1 other . . +TNFRSF13B chr17 16929816 16972118 AR Orphanet Common variable immunodeficiency phenotype due to homozygous TACI deficiency . . +SREBF1 chr17 17810399 17837035 AR Orphanet Hirschsprung disease . . +ATPAF2 chr17 17977409 18040833 AR Orphanet Isolated ATP synthase deficiency . . +MYO15A chr17 18108756 18179802 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +TOP3A chr17 18271428 18315025 AR Orphanet Autosomal recessive progressive external ophthalmoplegia; and 1 other . . +GRAP chr17 19020656 19047143 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +B9D1 chr17 19334308 19378193 AR Orphanet Isolated Joubert syndrome; and 1 other . . +ALDH3A2 chr17 19647291 19685881 AR Orphanet Sjögren-Larsson syndrome . . +VMA12 chr17 28357636 28363683 AR Orphanet TMEM199-CDG . . +SLC46A1 chr17 28394642 28407197 AR Orphanet Hereditary folate malabsorption . . +FOXN1 chr17 28506243 28538900 AR Orphanet T-B+NK+ severe combined immunodeficiency due to FOXN1 deficiency . . +UNC119 chr17 28546705 28552655 AR Orphanet Cone rod dystrophy . . +NEK8 chr17 28725897 28743455 AR Orphanet Infantile nephronophthisis; and 1 other . . +ERAL1 chr17 28854983 28861067 AR Orphanet Perrault syndrome type 1; and 1 other . . +CRYBA1 chr17 29246859 29254494 AR Orphanet Early-onset nuclear cataract . . +TEFM chr17 30897336 30906762 AR Orphanet Congenital myasthenic syndrome with mitochondrial defect . . +TMEM98 chr17 32917424 32945259 AR Orphanet Isolated complete colobomatous microphthalmia . . +TMEM132E chr17 34579487 34639318 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +LIG3 chr17 34980462 35009743 AR Orphanet Mitochondrial neurogastrointestinal encephalomyopathy . . +UNC45B chr17 35146495 35189346 AR Orphanet Early-onset nuclear cataract; and 1 other . . +PEX12 chr17 35574795 35578863 AR Orphanet Infantile Refsum disease; and 2 others . . +GAS2L2 chr17 35744511 35753260 AR Orphanet Primary ciliary dyskinesia . . +ZNHIT3 chr17 36486629 36499310 AR Orphanet PEHO syndrome . . +PIGW chr17 36534981 36542354 AR Orphanet Hypercoagulability syndrome due to glycosylphosphatidylinositol deficiency; and 1 other . . +GPR179 chr17 38324571 38343956 AR Orphanet Complete congenital stationary night blindness, Schubert-Bornschein type . . +NEUROD2 chr17 39603536 39609777 AR Orphanet Early infantile developmental and epileptic encephalopathy . . +TCAP chr17 39664990 39666554 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . . +PGAP3 chr17 39671120 39696797 AR Orphanet Hyperphosphatasia-intellectual disability syndrome . . +ERBB2 chr17 39687914 39730426 AR Orphanet Hirschsprung disease . . +IKZF3 chr17 39757715 39864368 AR Orphanet Combined immunodeficiency-lymphopenia-cancer predisposing syndrome due to AIOLOS deficiency; and 1 other . . +CDC6 chr17 40287831 40304657 AR Orphanet Ear-patella-short stature syndrome . . +KRT25 chr17 40748021 40755331 AR Orphanet Woolly hair . . +KRT10 chr17 40817784 40822614 AR Orphanet Autosomal recessive epidermolytic ichthyosis . . +KRT14 chr17 41582279 41586896 AR Orphanet Autosomal recessive generalized epidermolysis bullosa simplex . . +KRT16 chr17 41609778 41615899 AR Orphanet Pachyonychia congenita . . +KRT17 chr17 41619437 41624842 AR Orphanet Pachyonychia congenita . . +JUP chr17 41750887 41797798 AR Orphanet Lethal acantholytic erosive disorder; and 1 other . . +FKBP10 chr17 41812079 41823221 AR Orphanet Bruck syndrome; and 3 others . . +KLHL10 chr17 41835685 41848384 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +ODAD4 chr17 41930599 41966503 AR Orphanet Primary ciliary dyskinesia . . +STAT5B chr17 42199176 42288633 AR Orphanet Laron syndrome with immunodeficiency . . +STAT3 chr17 42313322 42388574 AR Orphanet Isolated permanent neonatal diabetes mellitus . . +CAVIN1 chr17 42402449 42423322 AR Orphanet Congenital generalized lipodystrophy type 4 . . +ATP6V0A1 chr17 42458823 42522582 AR Orphanet Non-specific syndromic intellectual disability . . +NAGLU chr17 42536216 42544449 AR Orphanet Sanfilippo syndrome type B . . +COASY chr17 42561467 42566277 AR Orphanet COASY protein-associated neurodegeneration; and 1 other . . +PSMC3IP chr17 42572310 42577831 AR Orphanet 46,XX gonadal dysgenesis . . +CNTNAP1 chr17 42682368 42699993 AR Orphanet Hypomyelination neuropathy-arthrogryposis syndrome . . +COA3 chr17 42793154 42798719 AR Orphanet Isolated cytochrome C oxidase deficiency . . +G6PC1 chr17 42900722 42923502 AR ACMG,ACOG Glycogen storage disease type Ia . . +BRCA1 chr17 43044292 43170245 AR Orphanet Fanconi anemia . AD +MEOX1 chr17 43640072 43661929 AR Orphanet Isolated Klippel-Feil syndrome . . +SOST chr17 43753738 43758791 AR Orphanet Craniodiaphyseal dysplasia; and 2 others . . +NAGS chr17 44004581 44011213 AR Orphanet Hyperammonemia due to N-acetylglutamate synthase deficiency . . +G6PC3 chr17 44070620 44094678 AR Orphanet Severe congenital neutropenia due to G6PC3 deficiency . . +SLC4A1 chr17 44248390 44268162 AR Orphanet Hereditary spherocytosis . . +ITGA2B chr17 44372177 44389649 AR Orphanet Glanzmann thrombasthenia . . +DNAAF19 chr17 44889234 44905390 AR Orphanet Primary ciliary dyskinesia . . +MAP3K14 chr17 45263119 45317112 AR Orphanet NIK deficiency . . +PLEKHM1 chr17 45435900 45490986 AR Orphanet Intermediate osteopetrosis . . +WNT3 chr17 46762493 46833154 AR Orphanet Tetraamelia-multiple malformations syndrome . . +WNT9B chr17 46833201 46886730 AR Orphanet Renal agenesis, bilateral . . +GOSR2 chr17 46923075 46975524 AR Orphanet Progressive myoclonic epilepsy type 6 . . +ITGB3 chr17 47253649 47323218 AR Orphanet Glanzmann thrombasthenia . . +SP6 chr17 47844908 47855874 AR Orphanet Hypoplastic amelogenesis imperfecta . . +PNPO chr17 47941506 47964354 AR Orphanet Pyridoxamine-5-phosphate deficiency-developmental and epileptic encephalopathy . . +HOXB1 chr17 48528526 48531011 AR Orphanet Congenital hereditary facial paralysis-variable hearing loss syndrome . . +ITGA3 chr17 50055968 50090933 AR Orphanet Interstitial lung disease-nephrotic syndrome-epidermolysis bullosa syndrome . . +SGCA chr17 50164214 50175935 AR Orphanet Alpha-sarcoglycan-related limb-girdle muscular dystrophy R3 . . +COL1A1 chr17 50184101 50201704 AR Orphanet Osteogenesis imperfecta type 2; and 2 others . . +XYLT2 chr17 50346080 50363138 AR Orphanet Spondylo-ocular syndrome . . +DGKE chr17 56833170 56869567 AR Orphanet Hemolytic uremic syndrome with DGKE deficiency . . +VEZF1 chr17 57971547 57988389 AR Orphanet Familial isolated dilated cardiomyopathy . . +MKS1 chr17 58205350 58219605 AR Orphanet Bardet-Biedl syndrome; and 3 others . . +MPO chr17 58269855 58280935 AR Orphanet Myeloperoxidase deficiency . . +TSPOAP1 chr17 58301228 58328823 AR Orphanet Autosomal recessive dopa-responsive dystonia . . +SEPTIN4 chr17 58519969 58544368 AR Orphanet Male infertility due to globozoospermia . . +TEX14 chr17 58556678 58692055 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +RAD51C chr17 58692569 58735611 AR Orphanet Fanconi anemia . . +TRIM37 chr17 58982633 59106921 AR Orphanet Mulibrey nanism . . +CLTC chr17 59619606 59696956 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +PTRH2 chr17 59674636 59707638 AR Orphanet Infantile multisystem neurologic-endocrine-pancreatic disease . . +BCAS3 chr17 60677453 61392838 AR Orphanet Global developmental delay-intellectual disability-microcephaly-short stature-brain iron accumulation syndrome . . +TBX4 chr17 61451906 61485110 AR Orphanet Heritable pulmonary arterial hypertension; and 1 other . . +BRIP1 chr17 61679139 61863561 AR Orphanet Fanconi anemia . . +MED13 chr17 61942546 62065365 AR Orphanet Non-specific syndromic intellectual disability . . +TANC2 chr17 62966201 63427703 AR Orphanet Non-specific syndromic intellectual disability . . +ACE chr17 63477058 63498380 AR Orphanet Renal tubular dysgenesis of genetic origin . . +STRADA chr17 63682336 63742005 AR Orphanet Polyhydramnios-megalencephaly-symptomatic epilepsy syndrome . . +SMARCD2 chr17 63832078 63843065 AR Orphanet Recurrent infections due to specific granule deficiency . . +GH1 chr17 63917200 63918839 AR Orphanet Isolated growth hormone deficiency type IA; and 2 others . . +CD79B chr17 63928738 63932629 AR Orphanet Autosomal non-syndromic agammaglobulinemia . . +SCN4A chr17 63938554 63972918 AR Orphanet Congenital myasthenic syndrome due to a sodium channel 1.4 defect . . +RGS9 chr17 65100812 65227703 AR Orphanet Bradyopsia . . +PSMD12 chr17 67337916 67366675 AR Orphanet Non-specific syndromic intellectual disability . . +ARSG chr17 68259170 68422731 AR Orphanet Usher syndrome type 3 . . +FAM20A chr17 68535113 68601407 AR Orphanet Enamel-renal syndrome . . +SOX9 chr17 72121013 72126416 AR Orphanet 46,XX ovotesticular difference of sex development; and 2 others . . +COG1 chr17 73193029 73218530 AR Orphanet COG1-CDG . . +DNAI2 chr17 74274230 74314886 AR Orphanet Primary ciliary dyskinesia . . +FDXR chr17 74862494 74873039 AR Orphanet Auditory neuropathy-optic atrophy syndrome; and 1 other . . +USH1G chr17 74916083 74923256 AR Orphanet Usher syndrome type 1 . . +NUP85 chr17 75205482 75235759 AR Orphanet Hereditary steroid-resistant nephrotic syndrome; and 1 other . . +MRPS7 chr17 75261662 75270708 AR Orphanet Syndromic sensorineural deafness due to combined oxidative phosphorylation defect . . +SLC25A19 chr17 75272012 75289968 AR Orphanet Amish lethal microcephaly; and 1 other . . +TMEM94 chr17 75441159 75500452 AR Orphanet TMEM94-associated congenital heart defect-facial dysmorphism-developmental delay syndrome . . +TSEN54 chr17 75515944 75524748 AR Orphanet Pontocerebellar hypoplasia type 2; and 1 other . . +ITGB4 chr17 75721190 75757821 AR Orphanet Aplasia cutis congenita; and 4 others . . +GALK1 chr17 75751470 75765251 AR Orphanet Galactokinase deficiency . . +UNC13D chr17 75827032 75845353 AR Orphanet Familial hemophagocytic lymphohistiocytosis . . +WBP2 chr17 75845699 75856507 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +ACOX1 chr17 75941507 75979459 AR Orphanet Peroxisomal acyl-CoA oxidase deficiency . . +FOXJ1 chr17 76136333 76141256 AR Orphanet Primary ciliary dyskinesia . . +PRCD chr17 76527586 76553578 AR Orphanet Retinitis pigmentosa . . +METTL23 chr17 76725981 76735416 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +TMC6 chr17 78107397 78132579 AR Orphanet Inherited epidermodysplasia verruciformis . . +TMC8 chr17 78130770 78142968 AR Orphanet Inherited epidermodysplasia verruciformis . . +DNAH17 chr17 78423697 78577396 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +CANT1 chr17 78991707 79009867 AR Orphanet Desbuquois syndrome; and 1 other . . +CBX2 chr17 79778135 79788394 AR Orphanet 46,XY complete gonadal dysgenesis . . +CCDC40 chr17 80036000 80100613 AR Orphanet Primary ciliary dyskinesia . . +GAA chr17 80101526 80119881 AR ACMG Pompe disease (glycogen storage disease type II) . . +EIF4A3 chr17 80132700 80147151 AR Orphanet Richieri Costa-Pereira syndrome . . +SGSH chr17 80206716 80220928 AR Orphanet Sanfilippo syndrome type A . . +NDUFAF8 chr17 81239305 81241310 AR Orphanet Isolated complex I deficiency . . +FSCN2 chr17 81528372 81542415 AR Orphanet Retinitis pigmentosa . . +FAAP100 chr17 81539885 81553961 AR Orphanet Fanconi anemia . . +PDE6G chr17 81650459 81663112 AR Orphanet Retinitis pigmentosa . . +GCGR chr17 81803105 81814023 AR Orphanet GCGR-related hyperglucagonemia . . +P4HB chr17 81843158 81860856 AR Orphanet Cole-Carpenter syndrome . . +ARHGDIA chr17 81867719 81871378 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +PCYT2 chr17 81900958 81911507 AR Orphanet Autosomal recessive spastic paraplegia type 82 . . +PYCR1 chr17 81932378 81942412 AR Orphanet Autosomal recessive cutis laxa type 2B; and 2 others . . +RAC3 chr17 82031192 82034218 AR Orphanet Non-specific syndromic intellectual disability . . +DCXR chr17 82035136 82037777 AR Orphanet Pentosuria . . +CYBC1 chr17 82440351 82450829 AR Orphanet Chronic granulomatous disease . . +WDR45B chr17 82614562 82648553 AR Orphanet Global developmental delay-early-onset refractory epilepsy-spastic quadriplegia-microcephaly-cerebral atrophy syndrome . . +TBCD chr17 82751845 82945918 AR Orphanet Early-onset progressive diffuse brain atrophy-microcephaly-muscle weakness-optic atrophy syndrome . . +TYMS chr18 657127 676613 AR Orphanet Dyskeratosis congenita . . +LPIN2 chr18 2885271 3013356 AR Orphanet Majeed syndrome . . +LAMA1 chr18 6941742 7117859 AR Orphanet Ataxia-intellectual disability-oculomotor apraxia-cerebellar cysts syndrome . . +NDUFV2 chr18 9102433 9134570 AR Orphanet Isolated complex I deficiency; and 1 other . . +APCDD1 chr18 10454589 10489949 AR Orphanet Hypotrichosis simplex . . +PIEZO2 chr18 10666483 11149591 AR Orphanet Arthrogryposis-oculomotor limitation-electroretinal anomalies syndrome; and 2 others . . +AFG3L2 chr18 12328871 12377473 AR Orphanet Early-onset spastic ataxia-myoclonic epilepsy-neuropathy syndrome . . +MC2R chr18 13882041 13915707 AR Orphanet Familial glucocorticoid deficiency . . +GREB1L chr18 21242200 21526112 AR Orphanet Renal agenesis, bilateral . . +MIB1 chr18 21704957 21870953 AR Orphanet Left ventricular noncompaction . . +RBBP8 chr18 22798261 23027561 AR Orphanet Jawad syndrome; and 1 other . . +NPC1 chr18 23506184 23586969 AR Orphanet Niemann-Pick disease type C, adult neurologic onset; and 4 others . . +LAMA3 chr18 23689414 23957475 AR Orphanet Intermediate generalized junctional epidermolysis bullosa; and 2 others . . +TAF4B chr18 26226386 26391685 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +AQP4 chr18 26851707 26865820 AR Orphanet Megalencephalic leukoencephalopathy with subcortical cysts . . +DSC3 chr18 30989365 31042976 AR Orphanet Hereditary hypotrichosis with recurrent skin vesicles . . +DSG1 chr18 31318125 31359246 AR Orphanet Severe dermatitis-multiple allergies-metabolic wasting syndrome . . +DSG4 chr18 31376777 31414979 AR Orphanet Hypotrichosis simplex; and 1 other . . +DSG2 chr18 31497624 31551351 AR Orphanet Familial isolated dilated cardiomyopathy . AD +MAPRE2 chr18 34976928 35143470 AR Orphanet Multiple benign circumferential skin creases on limbs . . +ELP2 chr18 36129444 36180557 AR Orphanet Developmental delay-spastic diplegia-choreoathetosis-intellectual disability syndrome . . +MOCOS chr18 36186894 36272157 AR Orphanet Xanthinuria type II . . +EPG5 chr18 45800477 45967346 AR Orphanet Vici syndrome . . +ATP5F1A chr18 46080248 46104334 AR Orphanet Isolated ATP synthase deficiency . . +LOXHD1 chr18 46476971 46657220 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +IER3IP1 chr18 47152834 47176381 AR Orphanet Primary microcephaly-epilepsy-permanent neonatal diabetes syndrome . . +SMAD2 chr18 47808957 47931569 AR Orphanet Loeys-Dietz syndrome . . +DYM chr18 49036387 49461347 AR Orphanet Dyggve-Melchior-Clausen disease; and 1 other . . +MYO5B chr18 49822789 50195208 AR Orphanet MYO5B-related progressive familial intrahepatic cholestasis; and 2 others . . +CFAP53 chr18 50227193 50266541 AR Orphanet Situs inversus totalis . . +DCC chr18 52340197 53535899 AR Orphanet Familial congenital mirror movements; and 2 others . . +FECH chr18 57544377 57586942 AR Orphanet Autosomal erythropoietic protoporphyria . . +NARS1 chr18 57589520 57622213 AR Orphanet Global developmental delay-microcephaly-ataxia-perpipheral demyelinating neuropathy-intellectual disability syndrome . . +ATP8B1 chr18 57646426 57803560 AR Orphanet Benign recurrent intrahepatic cholestasis type 1; and 1 other . . +NEDD4L chr18 58043980 58401540 AR Orphanet Periventricular nodular heterotopia . . +MALT1 chr18 58671426 58754477 AR Orphanet Combined immunodeficiency due to MALT1 deficiency . . +RAX chr18 59267035 59274086 AR Orphanet Isolated colobomatous microphthalmia; and 1 other . . +LMAN1 chr18 59327823 59359417 AR Orphanet Combined deficiency of factor V and factor VIII . . +CCBE1 chr18 59430939 59698154 AR Orphanet Hennekam syndrome . . +MC4R chr18 60371062 60372775 AR Orphanet Obesity due to melanocortin 4 receptor deficiency . . +PIGN chr18 61905255 62187118 AR Orphanet Fryns syndrome; and 1 other . . +TNFRSF11A chr18 62325086 62391288 AR Orphanet Dysosteosclerosis; and 1 other . . +KDSR chr18 63327566 63367615 AR Orphanet Erythrokeratodermia variabilis . . +VPS4B chr18 63389119 63422521 AR Orphanet Dentin dysplasia type I . . +SERPINB7 chr18 63752935 63805376 AR Orphanet Palmoplantar keratoderma, Nagashima type . . +SERPINB8 chr18 63970029 64019965 AR Orphanet Exfoliative ichthyosis; and 1 other . . +RTTN chr18 70003031 70206097 AR Orphanet Microcephalic cortical malformations-short stature due to RTTN deficiency . . +CYB5A chr18 74250846 74292029 AR Orphanet 46,XY difference of sex development due to isolated 17,20-lyase deficiency . . +NFATC1 chr18 79395856 79531338 AR Orphanet Combined immunodeficiency due to NFATC1 deficiency . . +CTDP1 chr18 79679781 79756608 AR Orphanet Congenital cataracts-facial dysmorphism-neuropathy syndrome . . +TXNL4A chr18 79970691 80033949 AR Orphanet Burn-McKeown syndrome . . +CFD chr19 859426 869492 AR Orphanet Recurrent Neisseria infections due to factor D deficiency . . +RNU6-9 chr19 893484 893590 AR Orphanet Retinitis pigmentosa . . +KISS1R chr19 917287 921005 AR Orphanet Normosmic congenital hypogonadotropic hypogonadism . . +RNU6-2 chr19 1021522 1021628 AR Orphanet Retinitis pigmentosa . . +GPX4 chr19 1103982 1106791 AR Orphanet Spondylometaphyseal dysplasia, Sedaghatian type . . +ATP5F1D chr19 1241734 1244828 AR Orphanet Isolated ATP synthase deficiency . . +NDUFS7 chr19 1383527 1395590 AR Orphanet Isolated complex I deficiency . . +GAMT chr19 1397026 1401731 AR Orphanet Guanidinoacetate methyltransferase deficiency . . +APC2 chr19 1446302 1473244 AR Orphanet Sotos syndrome . . +REEP6 chr19 1491016 1497928 AR Orphanet Retinitis pigmentosa . . +TCF3 chr19 1609291 1652911 AR Orphanet Autosomal non-syndromic agammaglobulinemia . . +ADAT3 chr19 1905214 1913448 AR Orphanet Intellectual disability-strabismus syndrome . . +AP3D1 chr19 2100982 2164468 AR Orphanet Early-onset severe Hermansky-Pudlak syndrome with hearing loss, due to AP3D1 deficiency . . +AMH chr19 2249309 2252073 AR Orphanet Persistent Müllerian duct syndrome . . +LMNB2 chr19 2427638 2456992 AR Orphanet Progressive myoclonic epilepsy type 9 . . +TLE6 chr19 2977538 2995179 AR Orphanet Female infertility due to oocyte meiotic arrest . . +DOHH chr19 3490821 3507203 AR Orphanet Non-specific syndromic intellectual disability . . +FZR1 chr19 3506270 3538334 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +GIPC3 chr19 3585474 3593541 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +TBXA2R chr19 3594506 3606900 AR Orphanet Bleeding diathesis due to thromboxane A2 receptor variants . . +PIP5K1C chr19 3630181 3700506 AR Orphanet Lethal congenital contracture syndrome type 3 . . +RAX2 chr19 3769089 3772238 AR Orphanet Cone rod dystrophy . . +ATCAY chr19 3879864 3928082 AR Orphanet Cerebellar ataxia, Cayman type . . +CREB3L3 chr19 4152949 4173057 AR Orphanet Transient infantile hypertriglyceridemia and hepatosteatosis . . +SIRT6 chr19 4174104 4182604 AR Orphanet Lethal brain and heart developmental defects . . +UHRF1 chr19 4903080 4962154 AR Orphanet ICF syndrome . . +KDM4B chr19 4969106 5153611 AR Orphanet Non-specific syndromic intellectual disability . . +MICOS13 chr19 5678414 5680940 AR Orphanet 3-methylglutaconic aciduria type 3 . . +LONP1 chr19 5691834 5720572 AR Orphanet CODAS syndrome . . +NDUFA11 chr19 5891207 5904006 AR Orphanet Isolated complex I deficiency . . +CLPP chr19 6361427 6370242 AR Orphanet Perrault syndrome type 1; and 1 other . . +TUBB4A chr19 6494308 6502848 AR Orphanet Hypomyelination with atrophy of basal ganglia and cerebellum . . +CD70 chr19 6583183 6604103 AR Orphanet EBV-induced lymphoproliferative disease due to CD70 deficiency . . +C3 chr19 6677704 6730562 AR Orphanet Complement component 3 deficiency . . +INSR chr19 7112255 7294443 AR Orphanet Donohue syndrome; and 2 others . . +ARHGEF18 chr19 7348931 7472485 AR Orphanet Retinitis pigmentosa . . +MCOLN1 chr19 7522611 7534009 AR ACMG,ACOG Mucolipidosis type IV . . +PNPLA6 chr19 7534004 7561764 AR Orphanet Ataxia-hypogonadism-choroidal dystrophy syndrome; and 4 others . . +STXBP2 chr19 7636772 7647875 AR Orphanet Familial hemophagocytic lymphohistiocytosis . . +CD320 chr19 8302123 8308379 AR Orphanet Methylmalonic aciduria due to transcobalamin receptor defect . . +ADAMTS10 chr19 8580240 8610846 AR Orphanet Weill-Marchesani syndrome . . +ACTL9 chr19 8697400 8698795 AR Orphanet Non-syndromic male infertility due to sperm motility disorder . . +ZNF699 chr19 9291140 9309838 AR Orphanet Non-specific syndromic intellectual disability . . +ANGPTL6 chr19 10092335 10106612 AR Orphanet Familial cerebral saccular aneurysm . . +S1PR2 chr19 10221433 10231331 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +TYK2 chr19 10350528 10380608 AR Orphanet Susceptibility to infection due to TYK2 deficiency . . +DNM2 chr19 10717967 10834209 AR Orphanet Fetal akinesia-cerebral and retinal hemorrhage syndrome . . +LDLR chr19 11089418 11133830 AR Orphanet Homozygous familial hypercholesterolemia . SD +KANK2 chr19 11164264 11197945 AR Orphanet Hereditary steroid-resistant nephrotic syndrome; and 1 other . . +DOCK6 chr19 11199295 11262533 AR Orphanet Adams-Oliver syndrome . . +ODAD3 chr19 11420604 11435782 AR Orphanet Primary ciliary dyskinesia . . +ACP5 chr19 11574653 11579993 AR Orphanet Spondyloenchondrodysplasia . . +MAN2B1 chr19 12643831 12666762 AR Orphanet Alpha-mannosidosis, adult form; and 1 other . . +GET3 chr19 12737139 12748325 AR Orphanet Familial isolated dilated cardiomyopathy . . +RNASEH2A chr19 12806505 12813644 AR Orphanet Aicardi-Goutières syndrome . . +KLF1 chr19 12884405 12887201 AR Orphanet Autosomal recessive KLF1-related severe anemia; and 1 other . . +GCDH chr19 12891128 12915261 AR Orphanet Glutaryl-CoA dehydrogenase deficiency . . +FARSA chr19 12921138 12934037 AR Orphanet Interstitial lung disease-brain calcification syndrome . . +TRMT1 chr19 13104899 13117567 AR Orphanet Non-specific syndromic intellectual disability . . +CACNA1A chr19 13206442 13624489 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +CC2D1A chr19 13906160 13930884 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +PRKACA chr19 14091688 14118084 AR Orphanet Ellis-Van Creveld syndrome . . +ADGRL1 chr19 14147743 14206852 AR Orphanet Non-specific syndromic intellectual disability . . +GIPC1 chr19 14477759 14496164 AR Orphanet Oculopharyngodistal myopathy . . +TECR chr19 14517085 14565988 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +NOTCH3 chr19 15159038 15201004 AR Orphanet Early-onset leucoencephalopaty-spasticity-stroke-neurodevelopmental disorder; and 1 other . . +CYP4F22 chr19 15508477 15552317 AR Orphanet Lamellar ichthyosis . . +EPS15L1 chr19 16354591 16472085 AR Orphanet Isolated split hand-split foot malformation . . +CPAMD8 chr19 16892951 17026982 AR Orphanet Autosomal recessive anterior segment dysgenesis . . +GTPBP3 chr19 17334920 17342735 AR Orphanet Combined oxidative phosphorylation defect type 23 . . +PLVAP chr19 17351450 17377356 AR Orphanet Congenital chronic diarrhea with protein-losing enteropathy . . +UNC13A chr19 17601327 17688382 AR Orphanet Autosomal recessive congenital myasthenic syndrome due to defective synaptic vesicles exocytosis . . +FCHO1 chr19 17747701 17788572 AR Orphanet Combined immunodeficiency due to FCHO1 deficiency . . +JAK3 chr19 17824780 17848071 AR Orphanet T-B+NK- severe combined immunodeficiency due to JAK3 deficiency . . +SLC5A5 chr19 17871939 17895174 AR Orphanet Familial thyroid dyshormonogenesis . . +IL12RB1 chr19 18058995 18098944 AR Orphanet Mendelian susceptibility to mycobacterial diseases due to complete IL12RB1 deficiency . . +CRLF1 chr19 18572220 18607741 AR Orphanet Cold-induced sweating syndrome; and 2 others . . +UPF1 chr19 18831905 18868232 AR Orphanet Non-specific syndromic intellectual disability . . +CERS1 chr19 18868545 18896727 AR Orphanet Progressive myoclonic epilepsy type 8 . . +GDF1 chr19 18868545 18896158 AR Orphanet Right isomerism . . +RFXANK chr19 19191957 19202844 AR Orphanet Immunodeficiency by defective expression of MHC class II . . +UQCRFS1 chr19 29202811 29213151 AR Orphanet Isolated complex III deficiency . . +C19orf12 chr19 29691270 29716060 AR Orphanet Autosomal recessive spastic paraplegia type 43; and 1 other . . +RGS9BP chr19 32675848 32678300 AR Orphanet Bradyopsia . . +PEPD chr19 33386950 33521823 AR Orphanet Prolidase deficiency . . +CHST8 chr19 33621942 33773509 AR Orphanet Peeling skin syndrome type A . . +GPI chr19 34359480 34402413 AR Orphanet Hemolytic anemia due to glucophosphate isomerase deficiency . . +UBA2 chr19 34428352 34471251 AR Orphanet Aplasia cutis congenita . . +SCN1B chr19 35030444 35040455 AR Orphanet Early infantile developmental and epileptic encephalopathy . . +LGI4 chr19 35124507 35142451 AR Orphanet Hypomyelination neuropathy-arthrogryposis syndrome . . +HAMP chr19 35280716 35285146 AR Orphanet HJV or HAMP-related hemochromatosis . . +MAG chr19 35291647 35316932 AR Orphanet Autosomal recessive spastic paraplegia type 75 . . +TMEM147 chr19 35545600 35547527 AR Orphanet Global developmental delay-intellectual disability-facial dysmorphism-pseudo-Pelger-Huët anomaly syndrome . . +ATP4A chr19 35549339 35563658 AR Orphanet Familial gastric type 1 neuroendocrine tumor . . +COX6B1 chr19 35648230 35662890 AR Orphanet Isolated cytochrome C oxidase deficiency . . +KMT2B chr19 35717973 35738880 AR Orphanet Non-specific syndromic intellectual disability . . +NPHS1 chr19 35825372 35869287 AR ACMG Congenital nephrotic syndrome, Finnish type . . +TYROBP chr19 35904398 35908318 AR Orphanet Nasu-Hakola disease . . +SDHAF1 chr19 35995188 35996312 AR Orphanet Isolated succinate-CoQ reductase deficiency . . +SYNE4 chr19 36000545 36008831 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +WDR62 chr19 36054649 36105112 AR Orphanet Autosomal recessive primary microcephaly . . +SIPA1L3 chr19 37907200 38208369 AR Orphanet Total early-onset cataract . . +SPINT2 chr19 38244035 38292615 AR Orphanet Syndromic congenital sodium diarrhea . . +YIF1B chr19 38303558 38317273 AR Orphanet Neurodevelopmental disorder-spasticity-movement disorder-epileptic syndrome . . +GGN chr19 38384267 38388274 AR Orphanet Male infertility due to globozoospermia . . +RYR1 chr19 38433691 38595273 AR Orphanet Autosomal recessive centronuclear myopathy; and 4 others . AD +ACTN4 chr19 38647515 38731589 AR Orphanet Hereditary steroid-resistant nephrotic syndrome . . +SARS2 chr19 38915265 38930779 AR Orphanet Hyperuricemia-pulmonary hypertension-renal failure-alkalosis syndrome . . +TIMM50 chr19 39479795 39493785 AR Orphanet 3-methylglutaconic aciduria type 9 . . +DLL3 chr19 39498895 39508481 AR Orphanet Autosomal recessive spondylocostal dysostosis . . +PRX chr19 40393764 40415070 AR Orphanet Charcot-Marie-Tooth disease type 4F; and 1 other . . +LTBP4 chr19 40592883 40629821 AR Orphanet Cutis laxa with severe pulmonary, gastrointestinal and urinary anomalies . . +COQ8B chr19 40691514 40725784 AR Orphanet Hereditary steroid-resistant nephrotic syndrome; and 1 other . . +TGFB1 chr19 41288203 41353961 AR Orphanet Infantile inflammatory bowel disease with neurological involvement . . +B9D2 chr19 41354417 41364165 AR Orphanet Isolated Joubert syndrome; and 1 other . . +EXOSC5 chr19 41367173 41397441 AR Orphanet Neurodevelopmental delay-hypotonia-cerebellar ataxia-cardiac conduction defects syndrome . . +BCKDHA chr19 41397792 41425092 AR Orphanet Classic maple syrup urine disease; and 2 others . . +CD79A chr19 41877104 41881372 AR Orphanet Autosomal non-syndromic agammaglobulinemia . . +ARHGEF1 chr19 41883063 41930150 AR Orphanet Childhood-onset common variable immunodeficiency phenotype due to ARHGEF1 deficiency . . +ATP1A3 chr19 41966582 41997497 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +ZNF526 chr19 42216774 42231887 AR Orphanet Non-specific syndromic intellectual disability . . +MEGF8 chr19 42325518 42378769 AR Orphanet Carpenter syndrome . . +LIPE chr19 42401497 42427388 AR Orphanet LIPE-related familial partial lipodystrophy . . +ETHE1 chr19 43506713 43527259 AR Orphanet Ethylmalonic encephalopathy . . +CEACAM16 chr19 44699151 44710718 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +APOC2 chr19 44936126 44949585 AR Orphanet Familial apolipoprotein C-II deficiency . . +RELB chr19 45001431 45038194 AR Orphanet Combined immunodeficiency due to RELB deficiency . . +BLOC1S3 chr19 45152811 45216933 AR Orphanet Hermansky-Pudlak syndrome due to BLOC-1 deficiency . . +ERCC2 chr19 45349773 45370918 AR ACMG Cerebrooculofacioskeletal syndrome 2; trichothiodystrophy 1 . . +ERCC1 chr19 45407333 45479055 AR Orphanet COFS syndrome; and 1 other . . +OPA3 chr19 45527767 45602212 AR Orphanet 3-methylglutaconic aciduria type 3 . . +NOVA2 chr19 45933734 45974044 AR Orphanet Non-specific syndromic intellectual disability . . +CCDC8 chr19 46410329 46413564 AR Orphanet 3M syndrome . . +FKRP chr19 46746046 46776988 AR ACMG Muscular dystrophy-dystroglycanopathy type A5 and B5 . . +KPTN chr19 47475141 47484265 AR Orphanet Macrocephaly-developmental delay syndrome . . +CRX chr19 47819779 47843330 AR Orphanet Cone rod dystrophy; and 2 others . . +ODAD1 chr19 48296355 48321971 AR Orphanet Primary ciliary dyskinesia . . +GRIN2D chr19 48393668 48444931 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +SULT2B1 chr19 48552140 48599425 AR Orphanet Congenital ichthyosiform erythroderma; and 1 other . . +FTL chr19 48965275 48967896 AR Orphanet Genetic hyperferritinemia without iron overload; and 1 other . . +GYS1 chr19 48968125 48993349 AR Orphanet Glycogen storage disease due to muscle and heart glycogen synthase deficiency . . +LHB chr19 49015980 49017091 AR Orphanet Leydig cell hypoplasia due to LHB deficiency . . +FUZ chr19 49806866 49817376 AR Orphanet Non-syndromic non-specific multisutural craniosynostosis . . +MED25 chr19 49818269 49840384 AR Orphanet Autosomal recessive non-syndromic intellectual disability; and 1 other . . +PNKP chr19 49859882 49878351 AR Orphanet Ataxia-oculomotor apraxia type 4; and 2 others . . +NUP62 chr19 49906825 49929926 AR Orphanet Familial infantile bilateral striatal necrosis . . +POLD1 chr19 50384204 50418018 AR Orphanet Combined immunodeficiency due to polymerase delta deficiency . . +EMC10 chr19 50476400 50510789 AR Orphanet Non-specific syndromic intellectual disability . . +ACP4 chr19 50790415 50795219 AR Orphanet Hypoplastic amelogenesis imperfecta . . +KLK4 chr19 50906351 50911395 AR Orphanet Hypomaturation amelogenesis imperfecta . . +ETFB chr19 51345161 51366449 AR Orphanet Multiple acyl-CoA dehydrogenase deficiency, mild type; and 1 other . . +LIM2 chr19 51379909 51388264 AR Orphanet Total early-onset cataract . . +FPR1 chr19 51742725 51804115 AR Orphanet Aggressive periodontitis . . +PRPF31 chr19 54115410 54131719 AR Orphanet Retinitis pigmentosa . . +CNOT3 chr19 54137710 54155708 AR Orphanet Non-specific syndromic intellectual disability . . +MBOAT7 chr19 54173412 54189882 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +TSEN34 chr19 54188464 54194538 AR Orphanet Pontocerebellar hypoplasia type 2 . . +NLRP7 chr19 54923454 54966312 AR Orphanet Complete hydatidiform mole; and 1 other . . +NLRP2 chr19 54953130 55001142 AR Orphanet Female infertility due to oocyte meiotic arrest . . +GP6 chr19 55012055 55038264 AR Orphanet Bleeding diathesis due to glycoprotein VI deficiency . . +TNNT1 chr19 55131662 55149351 AR Orphanet Amish nemaline myopathy . . +TNNI3 chr19 55151763 55157774 AR Orphanet Familial isolated dilated cardiomyopathy; and 1 other . AD +DNAAF3 chr19 55158661 55166722 AR Orphanet Primary ciliary dyskinesia . . +NLRP5 chr19 55986775 56061810 AR Orphanet Female infertility due to oocyte meiotic arrest . . +AURKC chr19 57231002 57235552 AR Orphanet Male infertility due to large-headed multiflagellar polyploid spermatozoa . . +RBCK1 chr20 407393 432139 AR Orphanet Autoinflammatory syndrome with pyogenic bacterial infection and amylopectinosis; and 1 other . . +TBC1D20 chr20 423596 462566 AR Orphanet Micro syndrome . . +CSNK2A1 chr20 472498 543835 AR Orphanet Non-specific syndromic intellectual disability . . +SLC52A3 chr20 758695 776015 AR Orphanet RFVT3-related riboflavin transporter deficiency . . +RSPO4 chr20 958452 1002510 AR Orphanet Anonychia congenita totalis . . +TGM3 chr20 2295994 2341177 AR Orphanet Uncombable hair syndrome . . +SNRPB chr20 2461634 2470884 AR Orphanet Cerebrocostomandibular syndrome . . +IDH3B chr20 2658393 2664219 AR Orphanet Retinitis pigmentosa . . +AVP chr20 3082556 3084724 AR Orphanet Hereditary arginine vasopressin deficiency . . +DDRGK1 chr20 3188734 3204700 AR Orphanet Spondyloepimetaphyseal dysplasia, Shohat type . . +ITPA chr20 3208868 3227446 AR Orphanet ITPA-related lethal infantile neurological disorder with cataract and cardiac involvement . . +SLC4A11 chr20 3227417 3239580 AR Orphanet Congenital hereditary endothelial dystrophy type II; and 1 other . . +PANK2 chr20 3888777 3929887 AR Orphanet Atypical pantothenate kinase-associated neurodegeneration; and 1 other . . +PCNA chr20 5114953 5127630 AR Orphanet PCNA-related progressive neurodegenerative photosensitivity syndrome . . +PROKR2 chr20 5298871 5316959 AR Orphanet Kallmann syndrome; and 2 others . . +FERMT1 chr20 6070288 6123644 AR Orphanet Kindler epidermolysis bullosa . . +PLCB1 chr20 8077251 8968360 AR Orphanet Epilepsy of infancy with migrating focal seizures; and 1 other . . +PLCB4 chr20 9067825 9504605 AR Orphanet Auriculocondylar syndrome . . +SNAP25 chr20 10172395 10308258 AR Orphanet Autosomal recessive congenital myasthenic syndrome due to defective synaptic vesicles exocytosis . . +MKKS chr20 10401009 10434236 AR Orphanet Bardet-Biedl syndrome; and 1 other . . +NDUFAF5 chr20 13784978 13821580 AR Orphanet Isolated complex I deficiency . . +FLRT3 chr20 14322538 14337643 AR Orphanet Kallmann syndrome . . +BFSP1 chr20 17493905 17569220 AR Orphanet Early-onset nuclear cataract . . +MGME1 chr20 17968093 17991136 AR Orphanet Progressive external ophthalmoplegia-myopathy-emaciation syndrome . . +PET117 chr20 18137832 18143290 AR Orphanet Isolated cytochrome C oxidase deficiency . . +SEC23B chr20 18507520 18561422 AR Orphanet Congenital dyserythropoietic anemia type II . . +RIN2 chr20 19757594 20003572 AR Orphanet RIN2 syndrome . . +NAA20 chr20 20017310 20034387 AR Orphanet Autosomal recessive non-syndromic intellectual disability . . +CFAP61 chr20 20052511 20360703 AR Orphanet Male infertility due to large-headed multiflagellar polyploid spermatozoa . . +KIZ chr20 21125975 21273506 AR Orphanet Retinitis pigmentosa . . +PAX1 chr20 21705659 21718481 AR Orphanet Otofaciocervical syndrome with thymic hypoplasia . . +FOXA2 chr20 22580998 22585498 AR Orphanet Combined pituitary hormone deficiencies, genetic forms . . +GZF1 chr20 23361987 23373084 AR Orphanet Severe myopia-generalized joint laxity-short stature syndrome . . +ABHD12 chr20 25294742 25390922 AR Orphanet Polyneuropathy-hearing loss-ataxia-retinitis pigmentosa-cataract syndrome . . +GINS1 chr20 25391008 25452700 AR Orphanet Combined immunodeficiency due to GINS1 deficiency . . +COX4I2 chr20 31637581 31645027 AR Orphanet Pancreatic insufficiency-anemia-hyperostosis syndrome . . +DNMT3B chr20 32762385 32809359 AR Orphanet ICF syndrome . . +SUN5 chr20 32983773 33004433 AR Orphanet Male infertility due to acephalic spermatozoa . . +ZNF341 chr20 33731657 33792269 AR Orphanet Autosomal recessive hyper-IgE syndrome due to ZNF341 deficiency . . +CHMP4B chr20 33811253 33854366 AR Orphanet Early-onset posterior subcapsular cataract . . +AHCY chr20 34280263 34311802 AR Orphanet S-adenosylhomocysteine hydrolase deficiency . . +ITCH chr20 34363235 34511773 AR Orphanet Syndromic multisystem autoimmune disease due to Itch deficiency . . +GSS chr20 34928432 34956027 AR Orphanet Glutathione synthetase deficiency with 5-oxoprolinuria; and 1 other . . +MYH7B chr20 34955810 35002440 AR Orphanet Left ventricular noncompaction . . +GDF5 chr20 35433347 35454754 AR Orphanet Acromesomelic dysplasia, Grebe type; and 3 others . . +NFS1 chr20 35668052 35699376 AR Orphanet Severe neonatal lactic acidosis due to NFS1-ISD11 complex deficiency . . +SAMHD1 chr20 36890216 36951893 AR Orphanet Aicardi-Goutières syndrome . . +SLC32A1 chr20 38724394 38729372 AR Orphanet Early infantile developmental and epileptic encephalopathy . . +MAFB chr20 40685848 40689236 AR Orphanet Duane retraction syndrome . . +IFT52 chr20 43590895 43647299 AR Orphanet Cranioectodermal dysplasia . . +JPH2 chr20 44097006 44189032 AR Orphanet Familial isolated dilated cardiomyopathy . . +ADA chr20 44584896 44652252 AR Orphanet Omenn syndrome; and 1 other . . +STK4 chr20 44966474 45084214 AR Orphanet Combined immunodeficiency due to STK4 deficiency . . +PIGT chr20 45416084 45456934 AR Orphanet Intellectual disability-seizures-hypophosphatasia-ophthalmic-skeletal anomalies syndrome . . +CTSA chr20 45890144 45898949 AR Orphanet Galactosialidosis . . +ZNF335 chr20 45948653 45972358 AR Orphanet Microcephalic primordial dwarfism due to ZNF335 deficiency . . +MMP9 chr20 46008869 46016561 AR Orphanet Metaphyseal anadysplasia . . +SLC12A5 chr20 46021675 46060150 AR Orphanet Epilepsy of infancy with migrating focal seizures . . +CD40 chr20 46118240 46130378 AR Orphanet Hyper-IgM syndrome type 3 . . +ELMO2 chr20 46366045 46432985 AR Orphanet Familial intraosseous vascular malformation; and 1 other . . +TP53RK chr20 46684344 46689664 AR Orphanet Galloway-Mowat syndrome . . +SLC2A10 chr20 46709577 46737312 AR Orphanet Arterial tortuosity syndrome . . +ARFGEF2 chr20 48921707 49036693 AR Orphanet Periventricular nodular heterotopia . . +KCNB1 chr20 49293394 49484570 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +DPM1 chr20 50932897 50959145 AR Orphanet DPM1-CDG . . +ATP9A chr20 51596512 51768716 AR Orphanet Non-specific syndromic intellectual disability . . +SALL4 chr20 51782331 51802578 AR Orphanet Duane retraction syndrome . . +CYP24A1 chr20 54153446 54173986 AR Orphanet Autosomal recessive infantile hypercalcemia . . +PCK1 chr20 57546220 57570667 AR Orphanet Phosphoenolpyruvate carboxykinase deficiency . . +VAPB chr20 58389114 58451101 AR Orphanet Amyotrophic lateral sclerosis . . +ATP5F1E chr20 59025475 59032363 AR Orphanet Isolated ATP synthase deficiency . . +EDN3 chr20 59300213 59325992 AR Orphanet Waardenburg-Shah syndrome . . +TAF4 chr20 61953469 62065881 AR Orphanet Non-specific syndromic intellectual disability . . +LAMA5 chr20 62307955 62367333 AR Orphanet Autosomal recessive congenital myasthenic syndrome due to defective synaptic vesicles exocytosis; and 1 other . . +COL9A3 chr20 62816244 62841164 AR Orphanet Autosomal recessive Stickler syndrome . . +KCNQ2 chr20 63400208 63472689 AR Orphanet Epilepsy of infancy with migrating focal seizures . . +EEF1A2 chr20 63477488 63500533 AR Orphanet Non-specific early-onset epileptic encephalopathy; and 1 other . . +RTEL1 chr20 63657810 63696253 AR Orphanet Dyskeratosis congenita; and 1 other . . +PRPF6 chr20 63979671 64033984 AR Orphanet Retinitis pigmentosa . . +SOX18 chr20 64047582 64050629 AR Orphanet Hypotrichosis-lymphedema-telangiectasia-renal defect syndrome . . +TMPRSS15 chr21 18269116 18485879 AR Orphanet Congenital enteropathy due to enteropeptidase deficiency . . +JAM2 chr21 25639258 25717783 AR Orphanet Bilateral striopallidodentate calcinosis . . +TIAM1 chr21 31117985 31559977 AR Orphanet Non-specific syndromic intellectual disability . . +SOD1 chr21 31659617 31668931 AR Orphanet Amyotrophic lateral sclerosis . . +SCAF4 chr21 31667491 31732184 AR Orphanet Non-specific syndromic intellectual disability . . +MRAP chr21 32291813 32314784 AR Orphanet Familial glucocorticoid deficiency . . +CFAP298 chr21 32592074 32612881 AR Orphanet Primary ciliary dyskinesia . . +SYNJ1 chr21 32628756 32728395 AR Orphanet Atypical juvenile parkinsonism; and 2 others . . +IL10RB chr21 33265958 33311420 AR Orphanet Immune dysregulation-inflammatory bowel disease-arthritis-recurrent infections syndrome . . +IFNGR2 chr21 33403205 33479348 AR Orphanet Autosomal recessive mendelian susceptibility to mycobacterial diseases due to partial IFNgammaR2 deficiency; and 1 other . . +DONSON chr21 33559542 33589015 AR Orphanet Microcephaly-micromelia syndrome; and 1 other . . +ATP5PO chr21 33901027 33915853 AR Orphanet Isolated ATP synthase deficiency . . +KCNE1 chr21 34446688 34512214 AR Orphanet Jervell and Lange-Nielsen syndrome . . +CLDN14 chr21 36460616 36576569 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +HLCS chr21 36748626 36990236 AR Orphanet Holocarboxylase synthetase deficiency . . +PIGP chr21 37036533 37073820 AR Orphanet Early infantile developmental and epileptic encephalopathy . . +BRWD1 chr21 39184176 39321559 AR Orphanet Primary ciliary dyskinesia . . +RIPK4 chr21 41739369 41767109 AR Orphanet Bartsocas-Papas syndrome; and 1 other . . +TMPRSS3 chr21 42371840 42396122 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +RSPH1 chr21 42472486 42496366 AR Orphanet Primary ciliary dyskinesia . . +WDR4 chr21 42843013 42879583 AR Orphanet Galloway-Mowat syndrome . . +CBS chr21 43050900 43076943 AR ACMG Homocystinuria . . +CRYAA chr21 43169008 43172810 AR Orphanet Cataract-microcornea syndrome; and 2 others . . +SIK1 chr21 43414483 43427137 AR Orphanet Early infantile developmental and epileptic encephalopathy; and 1 other . . +CSTB chr21 43772511 43776608 AR Orphanet Autosomal recessive hypohidrotic ectodermal dysplasia; and 1 other . . +TRAPPC10 chr21 44012280 44106553 AR Orphanet Autosomal recessive primary microcephaly . . +ICOSLG chr21 44215382 44241446 AR Orphanet Late-onset combined immunodeficiency due to ICOSL deficiency . . +AIRE chr21 44285838 44298648 AR ACMG Autoimmune polyendocrinopathy syndrome type I . . +CFAP410 chr21 44328943 44339427 AR Orphanet Amyotrophic lateral sclerosis; and 2 others . . +TSPEAR chr21 44497893 44712286 AR Orphanet Hypodontia-scalp hypotrichosis-facial dysmorphism syndrome . . +ITGB2 chr21 44885948 44932079 AR Orphanet Leukocyte adhesion deficiency type I . . +COL18A1 chr21 45405118 45513721 AR Orphanet Knobloch syndrome . . +SLC19A1 chr21 45493572 45573564 AR Orphanet Megaloblastic anemia-immunodeficiency due to folate transporter 1 deficiency . . +COL6A1 chr21 45981727 46005050 AR Orphanet Bethlem muscular dystrophy; and 2 others . . +COL6A2 chr21 46096722 46132851 AR Orphanet Bethlem muscular dystrophy; and 3 others . . +FTCD chr21 46136082 46156047 AR Orphanet Formiminoglutamic aciduria . . +LSS chr21 46187299 46228840 AR Orphanet Alopecia-intellectual disability syndrome; and 3 others . . +PCNT chr21 46324082 46445769 AR Orphanet Microcephalic osteodysplastic primordial dwarfism type II . . +IL17RA chr22 17084934 17115693 AR Orphanet Chronic mucocutaneous candidiasis . . +ADA2 chr22 17178790 17258235 AR Orphanet Deficiency of adenosine deaminase 2 . . +ATP6V1E1 chr22 17592136 17630958 AR Orphanet Autosomal recessive cutis laxa type 2, classic type . . +PEX26 chr22 18077910 18105396 AR Orphanet Infantile Refsum disease; and 2 others . . +TUBA8 chr22 18109704 18146683 AR Orphanet Polymicrogyria with optic nerve hypoplasia . . +USP18 chr22 18148399 18177400 AR Orphanet Pseudo-TORCH syndrome type 2 . . +PRODH chr22 18912696 18936451 AR Orphanet Hyperprolinemia type 1 . . +SLC25A1 chr22 19175573 19178863 AR Orphanet Congenital myasthenic syndrome with mitochondrial defect; and 1 other . . +CLTCL1 chr22 19179319 19291774 AR Orphanet Congenital insensitivity to pain with severe intellectual disability . . +CDC45 chr22 19479457 19520612 AR Orphanet Ear-patella-short stature syndrome . . +GP1BB chr22 19723539 19724776 AR Orphanet Bernard-Soulier syndrome . . +TXNRD2 chr22 19875517 19941934 AR Orphanet Familial glucocorticoid deficiency; and 1 other . . +TANGO2 chr22 20016615 20067962 AR Orphanet Recurrent metabolic encephalomyopathic crises-rhabdomyolysis-cardiac arrhythmia-intellectual disability syndrome . . +SCARF2 chr22 20424584 20438332 AR Orphanet Van den Ende-Gupta syndrome . . +PI4KA chr22 20707691 20859417 AR Orphanet Autosomal recessive spastic paraplegia type 84; and 2 others . . +SNAP29 chr22 20858537 20891218 AR Orphanet CEDNIK syndrome . . +LZTR1 chr22 20981979 20999037 AR Orphanet Noonan syndrome . . +IGLL1 chr22 23573125 23580302 AR Orphanet Autosomal non-syndromic agammaglobulinemia . . +CHCHD10 chr22 23765834 23767982 AR Orphanet Amyotrophic lateral sclerosis . . +UPB1 chr22 24494107 24552470 AR Orphanet Beta-ureidopropionase deficiency . . +GGT1 chr22 24588696 24629011 AR Orphanet Gamma-glutamyl transpeptidase deficiency . . +CRYBB3 chr22 25199858 25207359 AR Orphanet Early-onset nuclear cataract . . +CRYBB2 chr22 25212564 25231870 AR Orphanet Cataract-microcornea syndrome; and 4 others . . +MYO18B chr22 25742142 26031045 AR Orphanet Klippel-Feil anomaly-myopathy-facial dysmorphism syndrome . . +HPS4 chr22 26442598 26483931 AR Orphanet Hermansky-Pudlak syndrome due to BLOC-3 deficiency . . +CRYBB1 chr22 26599277 26619630 AR Orphanet Cataract-microcornea syndrome; and 2 others . . +CRYBA4 chr22 26621958 26630669 AR Orphanet Cataract-microcornea syndrome . . +KREMEN1 chr22 29072937 29168333 AR Orphanet Ectodermal dysplasia with agenesis of maxillary lateral incisors and mandibular anterior teeth . . +AP1B1 chr22 29327680 29388612 AR Orphanet MEDNIK syndrome . . +TCN2 chr22 30607003 30630712 AR Orphanet Transcobalamin II deficiency . . +PISD chr22 31618489 31662251 AR Orphanet Short stature-skeletal dysplasia-retinal degeneration-intellectual disability-sensorineural hearing loss syndrome . . +DEPDC5 chr22 31753867 31908033 AR Orphanet Non-specific early-onset epileptic encephalopathy . . +SLC5A1 chr22 32043050 32113029 AR Orphanet Glucose-galactose malabsorption . . +FBXO7 chr22 32474676 32499787 AR Orphanet Parkinsonian-pyramidal syndrome . . +LARGE1 chr22 33162226 33922885 AR Orphanet Congenital muscular dystrophy with intellectual disability; and 1 other . . +HMOX1 chr22 35380361 35394214 AR Orphanet Heme oxygenase-1 deficiency . . +TXN2 chr22 36466895 36482072 AR Orphanet Combined oxidative phosphorylation defect type 29 . . +IFT27 chr22 36741346 36776309 AR Orphanet Bardet-Biedl syndrome . . +NCF4 chr22 36860795 36878067 AR Orphanet Chronic granulomatous disease . . +CSF2RB chr22 36913590 36940454 AR Orphanet Hereditary pulmonary alveolar proteinosis . . +TMPRSS6 chr22 37065005 37110890 AR Orphanet IRIDA syndrome . . +RAC2 chr22 37225270 37259594 AR Orphanet RAC2-related combined immunodeficiency-bronchiectasis-cancer-predisposing syndrome . . +TRIOBP chr22 37696983 37776581 AR Orphanet Autosomal recessive non-syndromic genetic deafness . . +SOX10 chr22 37970686 37987422 AR Orphanet Kallmann syndrome; and 1 other . . +PICK1 chr22 38056311 38076050 AR Orphanet Male infertility due to globozoospermia . . +PLA2G6 chr22 38111495 38214778 AR Orphanet PLA2G6-related neurodegeneration, adult-onset; and 1 other . . +CBY1 chr22 38656375 38673920 AR Orphanet Isolated Joubert syndrome . . +DNAL4 chr22 38778505 38794198 AR Orphanet Familial congenital mirror movements . . +PDGFB chr22 39221746 39244982 AR Orphanet Bilateral striopallidodentate calcinosis . . +TNRC6B chr22 40044756 40335808 AR Orphanet Non-specific syndromic intellectual disability . . +ADSL chr22 40346461 40390463 AR Orphanet Adenylosuccinate lyase deficiency . . +MRTFA chr22 40410281 40636726 AR Orphanet Congenital neutropenia-combined immunodeficiency due to MKL1 deficiency . . +XPNPEP3 chr22 40857054 40932815 AR Orphanet Late-onset nephronophthisis . . +ACO2 chr22 41447830 41529273 AR Orphanet Autosomal recessive isolated optic atrophy; and 1 other . . +POLR3H chr22 41525799 41544606 AR Orphanet 46,XX gonadal dysgenesis . . +MEI1 chr22 41699494 41799456 AR Orphanet Complete hydatidiform mole . . +TNFRSF13C chr22 41922032 41926806 AR Orphanet Adult-onset common variable immunodeficiency due to BAFF-receptor deficiency . . +NAGA chr22 42032595 42071198 AR ACMG Schindler disease . . +NDUFA6 chr22 42080336 42090884 AR Orphanet Isolated complex I deficiency . . +TCF20 chr22 42160013 42343616 AR Orphanet Non-specific syndromic intellectual disability . . +RNU12 chr22 42615244 42615393 AR Orphanet Congenital cerebellar ataxia due to RNU12 mutation; and 1 other . . +CYB5R3 chr22 42615730 42720870 AR Orphanet Autosomal recessive methemoglobinemia . . +MCAT chr22 43130627 43143401 AR Orphanet Autosomal recessive isolated optic atrophy . . +FBLN1 chr22 45502238 45601981 AR Orphanet FBLN1-related developmental delay-central nervous system anomaly-syndactyly syndrome . . +WNT7B chr22 45920366 45977260 AR Orphanet Matthew-Wood syndrome . . +TRMU chr22 46330875 46357344 AR Orphanet Acute infantile liver failure due to synthesis defect of mtDNA-encoded proteins . . +ALG12 chr22 49854503 49918473 AR Orphanet ALG12-CDG . . +MLC1 chr22 50059391 50085969 AR ACMG Megalencephalic leukoencephalopathy with subcortical cysts . . +MOV10L1 chr22 50090002 50161690 AR Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +TUBGCP6 chr22 50217621 50245033 AR Orphanet Autosomal recessive chorioretinopathy-microcephaly syndrome . . +SBF1 chr22 50443219 50483923 AR Orphanet Charcot-Marie-Tooth disease type 4B3 . . +SCO2 chr22 50523564 50526461 AR ACMG Mitochondrial complex IV deficiency, nuclear type 2 . . +TYMP chr22 50525752 50530326 AR Orphanet Mitochondrial neurogastrointestinal encephalomyopathy . . +CHKB chr22 50578959 50601455 AR Orphanet Megaconial congenital muscular dystrophy . . +ARSA chr22 50622754 50628177 AR ACMG Metachromatic leukodystrophy . . +SHOX chrX 624344 659411 AR Orphanet Langer mesomelic dysplasia . . +CSF2RA chrX 1268779 1325373 AR Orphanet Hereditary pulmonary alveolar proteinosis . . +ARSL chrX 2932983 2968475 XL Orphanet Brachytelephalangic chondrodysplasia punctata . . +STS chrX 7147237 7804358 XL Orphanet Recessive X-linked ichthyosis . . +ANOS1 chrX 8528874 8732195 XL Orphanet Kallmann syndrome . . +GPR143 chrX 9724039 9786297 XL Orphanet X-linked recessive ocular albinism . . +CLCN4 chrX 10156938 10237663 XL Orphanet CLCN4-related X-linked intellectual disability syndrome; and 1 other . XLD +MID1 chrX 10445310 10833730 XL ACMG Opitz GBBB syndrome type I . . +HCCS chrX 11111299 11123086 XLD Orphanet Microphthalmia with linear skin defects syndrome . . +AMELX chrX 11293413 11300761 XLD Orphanet Hypomaturation amelogenesis imperfecta . . +MSL3 chrX 11757788 11776782 XLD Orphanet X-linked intellectual disability, Basilicata-Akhtar type . . +FRMPD4 chrX 11822423 12724523 XL Orphanet X-linked non-syndromic intellectual disability . . +TLR8 chrX 12906620 12923169 XL Orphanet TLR8-related inflammation-severe neutropenia-bone marrow failure-lymphoproliferation syndrome . . +TRAPPC2 chrX 13712244 13734638 XL Orphanet Spondyloepiphyseal dysplasia tarda . . +OFD1 chrX 13734667 13777955 XLD Orphanet Orofaciodigital syndrome type 1; and 3 others . . +FANCB chrX 14690388 14873255 XL Orphanet Fanconi anemia; and 1 other . . +PIGA chrX 15319452 15335556 XL Orphanet Epilepsy of infancy with migrating focal seizures; and 3 others . XLD +AP1S2 chrX 15812775 15855705 XL Orphanet Fried syndrome; and 2 others . . +RBBP7 chrX 16838236 16870415 XL Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +NHS chrX 17375200 17735994 XL Orphanet Early-onset nuclear cataract; and 1 other . XLD +CDKL5 chrX 18425581 18653629 XLD Orphanet Atypical Rett syndrome; and 3 others . . +RS1 chrX 18639688 18672108 XL ACMG X-linked juvenile retinoschisis . . +PHKA2 chrX 18889806 18984998 XL Orphanet Glycogen storage disease due to liver phosphorylase kinase deficiency . . +PDHA1 chrX 19343893 19361718 XLD Orphanet Pyruvate dehydrogenase E1-alpha deficiency . . +SH3KBP1 chrX 19533966 19887650 XL Orphanet X-linked common variable immunodeficiency phenotype due to SH3KBP1 deficiency . . +RPS6KA3 chrX 20149911 20267519 XL Orphanet Coffin-Lowry syndrome; and 1 other . XLD +CNKSR2 chrX 21372801 21654701 XL Orphanet Non-specific early-onset epileptic encephalopathy; and 1 other . . +SMPX chrX 21704788 21758254 XL Orphanet SMPX-related distal myopathy; and 1 other . . +MBTPS2 chrX 21839600 21935555 XL Orphanet BRESEK syndrome; and 5 others . XLD +SMS chrX 21940557 21994837 XL Orphanet X-linked intellectual disability, Snyder type . . +PHEX chrX 22032293 22494713 XLD Orphanet X-linked hypophosphatemia . . +EIF2S3 chrX 24054628 24078810 XL Orphanet MEHMO syndrome . . +PDK3 chrX 24465244 24550466 XLD Orphanet X-linked Charcot-Marie-Tooth disease type 6 . . +POLA1 chrX 24693864 24996986 XL Orphanet X-linked intellectual disability, Van Esch type; and 1 other . XLD +ARX chrX 25003694 25016420 XL ACMG Developmental and epileptic encephalopathy 1 . XLD +IL1RAPL1 chrX 28587123 29958600 XL Orphanet X-linked non-syndromic intellectual disability . . +NR0B1 chrX 30304206 30309394 XL ACMG Congenital adrenal hypoplasia . . +GK chrX 30653336 30733182 XL Orphanet Glycerol kinase deficiency, adult form; and 1 other . . +DMD chrX 31097677 33339609 XL ACMG Duchenne and Becker muscular dystrophy . . +XK chrX 37685558 37732130 XL Orphanet McLeod neuroacanthocytosis syndrome . . +CYBB chrX 37780018 37816994 XL Orphanet Chronic granulomatous disease; and 1 other . . +RPGR chrX 38269115 38327573 XL ACMG Retinitis pigmentosa 3 . . +OTC chrX 38327598 38424632 XL ACMG Ornithine transcarbamylase deficiency . . +TSPAN7 chrX 38561498 38689249 XL Orphanet X-linked non-syndromic intellectual disability . . +BCOR chrX 40049815 40177329 XL Orphanet Microphthalmia, Lenz type; and 1 other . XLD +ATP6AP2 chrX 40579372 40607713 XL Orphanet X-linked intellectual disability, Hedera type; and 1 other . . +USP9X chrX 41085346 41236579 XL Orphanet X-linked female restricted facial dysmorphism-short stature-choanal atresia-intellectual disability; and 1 other . XLD +DDX3X chrX 41333348 41364472 XLD Orphanet X-linked intellectual disability-hypotonia-movement disorder syndrome . . +CASK chrX 41514934 41923684 XL Orphanet Early infantile developmental and epileptic encephalopathy; and 2 others . XLD +MAOA chrX 43654907 43746821 XL Orphanet Monoamine oxidase A deficiency . . +NDP chrX 43948772 43973603 XL Orphanet Familial exudative vitreoretinopathy; and 1 other . . +SLC9A7 chrX 46599251 46759215 XL Orphanet X-linked non-syndromic intellectual disability . . +RP2 chrX 46836922 46889240 XL Orphanet Retinitis pigmentosa . . +NDUFB11 chrX 47142071 47145507 XLD Orphanet Microphthalmia with linear skin defects syndrome . . +RBM10 chrX 47144284 47186814 XL Orphanet TARP syndrome . . +UBA1 chrX 47190713 47215173 XL Orphanet Infantile-onset X-linked spinal muscular atrophy . . +SYN1 chrX 47571890 47619970 XL Orphanet X-linked epilepsy-learning disabilities-behavior disorders syndrome . . +CFP chrX 47621537 47630305 XL Orphanet Properdin deficiency . . +ZNF81 chrX 47836471 48003066 XL Orphanet X-linked non-syndromic intellectual disability . . +FTSJ1 chrX 48476021 48486364 XL Orphanet X-linked non-syndromic intellectual disability . . +PORCN chrX 48508574 48520814 XLD Orphanet Focal dermal hypoplasia . . +EBP chrX 48521089 48528716 XL Orphanet MEND syndrome; and 1 other . XLD +WAS chrX 48676593 48691431 XL Orphanet Wiskott-Aldrich syndrome; and 2 others . . +GATA1 chrX 48783122 48794311 XL Orphanet Beta-thalassemia-X-linked thrombocytopenia syndrome; and 2 others . . +HDAC6 chrX 48801372 48824986 XLD Orphanet X-linked dominant chondrodysplasia, Chassaing-Lacombe type . . +PQBP1 chrX 48890197 48903640 XL Orphanet Hamel cerebro-palato-cardiac syndrome; and 3 others . . +OTUD5 chrX 48922024 48958390 XL Orphanet Non-specific syndromic intellectual disability . . +TFE3 chrX 49028726 49043512 XLD Orphanet Developmental delay-facial dysmorphism-Blaschko lines hypopigmentation-obesity-intellectual disability syndrome . . +WDR45 chrX 49074431 49101203 XLD Orphanet Beta-propeller protein-associated neurodegeneration; and 1 other . . +GPKOW chrX 49112941 49123750 XL Orphanet Lethal intrauterine growth restriction-cortical malformation-congenital contractures syndrome . . +SYP chrX 49187807 49200218 XL Orphanet X-linked non-syndromic intellectual disability . . +CACNA1F chrX 49205063 49233371 XL Orphanet Cone rod dystrophy; and 2 others . . +CCDC22 chrX 49235444 49250526 XL Orphanet 3C syndrome . . +FOXP3 chrX 49250436 49264800 XL Orphanet Immune dysregulation-polyendocrinopathy-enteropathy-X-linked syndrome . . +USP27X chrX 49879484 49882558 XL Orphanet X-linked non-syndromic intellectual disability . . +CLCN5 chrX 49922549 50099235 XL Orphanet Dent disease type 1 . . +SHROOM4 chrX 50586796 50814316 XL Orphanet X-linked intellectual disability, Stocco Dos Santos type . . +BMP15 chrX 50910735 50916641 XL Orphanet 46,XX gonadal dysgenesis . . +KDM5C chrX 53176277 53225422 XL Orphanet KDM5C-related syndromic X-linked intellectual disability . . +IQSEC2 chrX 53225828 53321396 XL Orphanet Severe intellectual disability-progressive postnatal microcephaly-midline stereotypic hand movements syndrome . . +SMC1A chrX 53361522 53422750 XL Orphanet Atypical Rett syndrome; and 2 others . XLD +HSD17B10 chrX 53431258 53434403 XLD Orphanet HSD10 disease, atypical type; and 2 others . . +HUWE1 chrX 53532096 53686752 XL Orphanet Non-specific syndromic intellectual disability . . +PHF8 chrX 53934245 54048958 XL Orphanet X-linked intellectual disability, Siderius type . . +FGD1 chrX 54445454 54496248 XL Orphanet Aarskog-Scott syndrome . . +MAGED2 chrX 54807572 54816015 XL Orphanet Bartter syndrome type 5 . . +ALAS2 chrX 55009055 55030986 XL Orphanet X-linked erythropoietic protoporphyria; and 1 other . XLD +UBQLN2 chrX 56563627 56567868 XL Orphanet Amyotrophic lateral sclerosis; and 1 other . XLD +ARHGEF9 chrX 63634967 63809274 XL Orphanet Hyperekplexia-epilepsy syndrome . . +AMER1 chrX 64185117 64205708 XLD Orphanet Osteopathia striata-cranial sclerosis syndrome . . +ZC4H2 chrX 64915802 65034713 XL Orphanet Wieacker-Wolff syndrome . . +LAS1L chrX 65438549 65534818 XL Orphanet Wilson-Turner syndrome . XLD +MSN chrX 65588377 65766886 XL Orphanet Combined immunodeficiency due to Moesin deficiency . . +EDA2R chrX 66594384 66639326 XL Orphanet X-linked hypohidrotic ectodermal dysplasia . . +AR chrX 67543353 67730619 XL Orphanet Complete androgen insensitivity syndrome; and 2 others . . +OPHN1 chrX 67949349 68434120 XLD Orphanet X-linked intellectual disability-cerebellar hypoplasia syndrome . . +EFNB1 chrX 68828950 68842160 XLD Orphanet Craniofrontonasal dysplasia . . +EDA chrX 69616067 70039472 XL Orphanet Oligodontia; and 1 other . . +IGBP1 chrX 70133345 70166327 XL Orphanet Corpus callosum agenesis-intellectual disability-coloboma-micrognathia syndrome . . +DLG3 chrX 70444793 70505490 XL Orphanet X-linked non-syndromic intellectual disability . . +TEX11 chrX 70528940 70908711 XL Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +IL2RG chrX 71107404 71112108 XL Orphanet T-B+NK- severe combined immunodeficiency due to gamma chain deficiency . . +MED12 chrX 71118543 71144103 XL Orphanet Blepharophimosis-intellectual disability syndrome, MKB type; and 3 others . XLD +GJB1 chrX 71212811 71225519 XL Orphanet X-linked Charcot-Marie-Tooth disease type 1; and 1 other . XLD +NONO chrX 71254270 71301522 XL Orphanet Macrocephaly-intellectual disability-left ventricular non compaction syndrome . . +TAF1 chrX 71366129 71532374 XL Orphanet X-linked dystonia-parkinsonism; and 1 other . . +GCNA chrX 71578436 71613590 XL Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +HDAC8 chrX 72329516 72573101 XL Orphanet Cornelia de Lange syndrome; and 1 other . XLD +PHKA1 chrX 72578814 72714332 XL Orphanet Glycogen storage disease due to muscle phosphorylase kinase deficiency . . +SLC16A2 chrX 74421383 74534693 XL Orphanet Allan-Herndon-Dudley syndrome . . +RLIM chrX 74582976 74614646 XL Orphanet Non-specific syndromic intellectual disability . . +NEXMIF chrX 74732856 74925484 XL Orphanet X-linked intellectual disability, Cantagrel type . . +ABCB7 chrX 75044938 75156732 XL Orphanet X-linked sideroblastic anemia and spinocerebellar ataxia . . +FGF16 chrX 77447388 77457278 XL Orphanet Syndactyly type 8 . . +ATRX chrX 77504862 77786233 XL Orphanet X-linked alpha-thalassemia-intellectual disability syndrome . . +MAGT1 chrX 77825747 77899271 XL Orphanet XMEN . . +COX7B chrX 77895727 77907555 XLD Orphanet Microphthalmia with linear skin defects syndrome . . +ATP7A chrX 77910688 78050395 XL Orphanet Menkes disease; and 2 others . . +PGK1 chrX 77910739 78132378 XL Orphanet Glycogen storage disease due to phosphoglycerate kinase 1 deficiency . . +TBX22 chrX 80014747 80031908 XL Orphanet Abruzzo-Erickson syndrome; and 1 other . XLD +BRWD3 chrX 80669503 80809877 XL Orphanet Non-specific syndromic intellectual disability . . +POU3F4 chrX 83508290 83512127 XL Orphanet Xq21 microdeletion syndrome . . +ZNF711 chrX 85243839 85273771 XL Orphanet X-linked non-syndromic intellectual disability . . +CHM chrX 85861180 86047561 XL Orphanet Choroideremia . . +PCDH19 chrX 100291644 100410296 XLD Orphanet PCDH19 clustering epilepsy . . +SRPX2 chrX 100644195 100675788 XLD Orphanet Rolandic epilepsy-speech dyspraxia syndrome . . +TRMT2B chrX 100973670 101052135 XL Orphanet Juvenile amyotrophic lateral sclerosis . XLD +TIMM8A chrX 101320050 101349001 XL Orphanet Mohr-Tranebjaerg syndrome . . +BTK chrX 101349338 101390796 XL Orphanet Short stature due to isolated growth hormone deficiency with X-linked hypogammaglobulinemia; and 1 other . . +GLA chrX 101393273 101408012 XL ACMG Fabry disease . XLD +HNRNPH2 chrX 101408114 101414778 XLD Orphanet Neurodevelopmental delay-intellectual disability-skeletal defects syndrome . . +GPRASP2 chrX 102712056 102718761 XL Orphanet X-linked external auditory canal atresia-dilated internal auditory canal-facial dysmorphism syndrome . . +PLP1 chrX 103742560 103792678 XL ACMG Spastic paraplegia 2, X-linked; Pelizaeus-Merzbacher disease . XLD +DNAAF6 chrX 107206606 107244247 XL Orphanet Primary ciliary dyskinesia . . +PRPS1 chrX 107628428 107651993 XL Orphanet Lethal ataxia with deafness and optic atrophy; and 5 others . . +MID2 chrX 107825730 107931637 XL Orphanet X-linked non-syndromic intellectual disability . . +COL4A6 chrX 108155297 108439497 XL Orphanet X-linked non-syndromic genetic deafness . . +COL4A5 chrX 108439717 108697766 XLD Orphanet X-linked Alport syndrome . . +ACSL4 chrX 109624244 109733889 XL Orphanet X-linked non-syndromic intellectual disability . . +AMMECR1 chrX 110194186 110440318 XL Orphanet Midface hypoplasia-hearing impairment-elliptocytosis-nephrocalcinosis syndrome . . +CHRDL1 chrX 110673856 110796192 XL Orphanet Isolated congenital megalocornea . . +PAK3 chrX 110944285 111227361 XL Orphanet Non-specific syndromic intellectual disability . . +DCX chrX 111293779 111412429 XL Orphanet Lissencephaly type 1 due to doublecortin gene mutation; and 1 other . . +ALG13 chrX 111665811 111766130 XL Orphanet ALG13-CDG; and 1 other . . +PLS3 chrX 115560914 115651439 XL Orphanet X-linked osteoporosis with fractures . . +AGTR2 chrX 116170743 116174974 XL Orphanet X-linked non-syndromic intellectual disability . . +DOCK11 chrX 118495612 118686976 XL Orphanet Early-onset immune dysregulation due to DOCK11 complete deficiency; and 1 other . . +UBE2A chrX 119474802 119592795 XL Orphanet X-linked intellectual disability, Nascimento type . . +STEEP1 chrX 119535669 119565417 XL Orphanet X-linked non-syndromic intellectual disability . . +UPF3B chrX 119832664 119853083 XL Orphanet Lujan-Fryns syndrome; and 1 other . . +RNF113A chrX 119870475 119871733 XL Orphanet Trichothiodystrophy . . +NDUFA1 chrX 119871437 119878147 XLD Orphanet Isolated complex I deficiency . . +NKAP chrX 119920672 119943781 XL Orphanet NKAP-related intellectual disability-facial dysmorphism-marfanoid habitus-scoliosis syndrome . . +LAMP2 chrX 120426148 120469365 XLD Orphanet Danon disease . . +CUL4B chrX 120505920 120604074 XL Orphanet X-linked intellectual disability, Cabezas type . . +GRIA3 chrX 123184023 123490915 XL Orphanet X-linked intellectual disability due to GRIA3 mutations . . +THOC2 chrX 123600561 123733061 XL Orphanet X-linked intellectual disability-short stature-overweight syndrome . . +XIAP chrX 123859693 123913972 XL Orphanet X-linked lymphoproliferative disease due to XIAP deficiency . . +SH2D1A chrX 124227868 124373197 XL Orphanet X-linked lymphoproliferative disease due to SAP deficiency . . +TENM1 chrX 124375903 125204312 XL Orphanet Isolated congenital anosmia . . +OCRL chrX 129539849 129592772 XL Orphanet Dent disease type 2; and 1 other . . +SASH3 chrX 129779901 129795201 XL Orphanet X-linked combined immunodeficiency due to SASH3 deficiency . . +ZDHHC9 chrX 129797030 129844215 XL Orphanet Lujan-Fryns syndrome . . +BCORL1 chrX 129981107 130058071 XL Orphanet Non-specific syndromic intellectual disability . . +ELF4 chrX 130063955 130110951 XL Orphanet Short stature due to isolated growth hormone deficiency with X-linked hypogammaglobulinemia; and 1 other . . +AIFM1 chrX 130124666 130165884 XL Orphanet Leukoencephalopathy-spondyloepimetaphyseal dysplasia syndrome; and 3 others . . +IGSF1 chrX 131273506 131578899 XL Orphanet X-linked central congenital hypothyroidism with late-onset testicular enlargement . . +GPC4 chrX 133298158 133416214 XL Orphanet Keipert syndrome . . +GPC3 chrX 133535745 133987100 XL Orphanet Simpson-Golabi-Behmel syndrome . . +PHF6 chrX 134373284 134428792 XL Orphanet Borjeson-Forssman-Lehmann syndrome . . +HPRT1 chrX 134460139 134527168 XL Orphanet Hypoxanthine guanine phosphoribosyltransferase partial deficiency; and 1 other . . +CT55 chrX 135156540 135171398 XL Orphanet Male infertility with azoospermia or oligozoospermia due to single gene mutation . . +SLC9A6 chrX 135973841 136047269 XL Orphanet Christianson syndrome . . +FHL1 chrX 136146702 136211359 XL Orphanet Reducing body myopathy; and 3 others . XLD +CD40LG chrX 136648139 136660390 XL Orphanet X-linked hyper-IgM syndrome . . +ARHGEF6 chrX 136665547 136781688 XL Orphanet X-linked non-syndromic intellectual disability . . +RBMX chrX 136847801 136880784 XL Orphanet Severe X-linked intellectual disability, Gustavson type; and 1 other . . +F9 chrX 139530731 139568549 XL ACMG Hemophilia B . . +SOX3 chrX 140502985 140505069 XL Orphanet Non-acquired panhypopituitarism; and 2 others . XLD +FMR1 chrX 147911858 147951125 XL ACMG,ACOG Fragile X syndrome . XLD +AFF2 chrX 148500611 149000663 XL ACMG Intellectual disability, X-linked, FRAXE type . . +IDS chrX 149476988 149521096 XL Orphanet Mucopolysaccharidosis type 2, attenuated form; and 1 other . . +MAMLD1 chrX 150361422 150514178 XL Orphanet Non-syndromic posterior hypospadias . . +MTM1 chrX 150547904 150673322 XL Orphanet X-linked centronuclear myopathy . . +VMA21 chrX 151396515 151409571 XL Orphanet X-linked myopathy with excessive autophagy . . +CNGA2 chrX 151734746 151745564 XL Orphanet Isolated congenital anosmia . . +NSDHL chrX 152830967 152880958 XL Orphanet CHILD syndrome; and 1 other . XLD +BGN chrX 153488654 153510711 XL Orphanet X-linked severe syndromic thoracic aortic aneurysm and dissection; and 1 other . . +ATP2B3 chrX 153517620 153582939 XL Orphanet X-linked non progressive cerebellar ataxia . . +CCNQ chrX 153587925 153600045 XLD Orphanet Syndactyly-telecanthus-anogenital and renal malformations syndrome . . +SLC6A8 chrX 153687914 153696591 XL ACMG Cerebral creatine deficiency syndrome 1 . . +ABCD1 chrX 153724495 153744755 XL ACMG X-linked adrenoleukodystrophy . . +SSR4 chrX 153793516 153798510 XL Orphanet SSR4-CDG . . +L1CAM chrX 153861511 153886204 XL ACMG Hydrocephalus due to stenosis of the aqueduct of Sylvius . . +AVPR2 chrX 153902531 153907169 XL Orphanet Arginine vasopressin resistance; and 1 other . . +NAA10 chrX 153928799 153935083 XL Orphanet Microphthalmia, Lenz type; and 1 other . XLD +HCFC1 chrX 153946434 153972427 XL Orphanet Methylmalonic acidemia with homocystinuria, type cblX; and 1 other . . +MECP2 chrX 154021573 154137103 XLD Orphanet Atypical Rett syndrome; and 4 others . . +OPN1LW chrX 154144243 154159032 XL Orphanet Blue cone monochromatism; and 1 other . . +OPN1MW chrX 154182596 154196861 XL Orphanet Blue cone monochromatism; and 1 other . . +FLNA chrX 154348524 154374643 XL Orphanet Congenital short bowel syndrome; and 10 others . XLD +EMD chrX 154379205 154381574 XL Orphanet X-linked Emery-Dreifuss muscular dystrophy . . +RPL10 chrX 154389955 154409168 XL Orphanet X-linked intellectual disability-cerebellar hypoplasia-spondylo-epiphyseal dysplasia syndrome; and 1 other . . +TAFAZZIN chrX 154409456 154421726 XL Orphanet Barth syndrome; and 1 other . . +ATP6AP1 chrX 154428618 154436517 XL Orphanet ATP6AP1-CDG . . +GDI1 chrX 154436600 154443467 XL Orphanet X-linked non-syndromic intellectual disability . . +FAM50A chrX 154444103 154450655 XL Orphanet Non-specific syndromic intellectual disability . . +LAGE3 chrX 154477598 154479291 XL Orphanet Galloway-Mowat syndrome . . +G6PD chrX 154517825 154547584 XL Orphanet Class I glucose-6-phosphate dehydrogenase deficiency . . +IKBKG chrX 154541179 154568543 XLD Orphanet Incontinentia pigmenti; and 3 others . . +DKC1 chrX 154762741 154777697 XL Orphanet Dyskeratosis congenita; and 1 other . . +F8 chrX 154835788 155026940 XL ACMG Hemophilia A . . +RAB39B chrX 155258235 155264531 XL Orphanet Early-onset parkinsonism-intellectual disability syndrome; and 1 other . . +CLIC2 chrX 155272944 155334824 XL Orphanet X-linked intellectual disability-cardiomegaly-congestive heart failure syndrome . . diff --git a/docs/39-couple.md b/docs/39-couple.md index ae1c30dc2..6d1272584 100644 --- a/docs/39-couple.md +++ b/docs/39-couple.md @@ -5,10 +5,10 @@ For two people who both ran the pipeline and are marked as partners in a pedigree, the step lists the recessive and X-linked genes where they carry a change, and says what that means for their children: - **Shared risk.** Both partners carry a change in the same autosomal recessive gene. A child who inherits both changes can have the condition: 1 in 4 per pregnancy when both are heterozygous, 1 in 2 when one partner is homozygous. -- **X-linked findings.** A change on the X chromosome. From a female partner, each son has a 1 in 2 chance of inheriting it and can have the condition, and each daughter a 1 in 2 chance of being a carrier. From a male partner, every daughter is a carrier and no son inherits it. -- **One partner only.** A change in a recessive gene that only one partner carries. A child can be a carrier, not affected, unless the other partner carries a change the screen does not see. +- **X-linked findings.** A change on the X chromosome. From a female partner, each son has a 1 in 2 chance of inheriting it and can have the condition, and each daughter a 1 in 2 chance of being a carrier. From a male partner, every daughter is a carrier and no son inherits it. When the gene also has an X-linked dominant disorder (GJB1, GLA, PLP1 and FMR1, for example), the explanation adds that females can show signs. In an X-linked dominant gene (`XLD`: Rett syndrome in MECP2, PCDH19 clustering epilepsy) a daughter or a son who inherits the change can be affected: from a female partner, each child has a 1 in 2 chance; from a male partner, every daughter. +- **One partner only.** A change in a recessive gene that only one partner carries. A child can be a carrier, not affected, unless the other partner carries a change the screen does not see. Some genes of the list also cause a dominant condition: the genes the ACMG secondary findings list (`assets/acmg_sf.tsv`) gives as autosomal dominant or semidominant, such as BRCA1, MLH1 and LDLR. For them the row reads that a child who inherits the change can be affected, 1 in 2 per child, and the partner can be too. -Each finding comes with its ClinVar review stars, the condition, and a one-line explanation. A residual-risk list names what the screen does not see. Opt-in: it runs only when the pedigree marks two samples as partners. +Each finding comes with its ClinVar review stars, the condition ClinVar names for the allele, and a one-line explanation. A residual-risk list names what the screen does not see. Opt-in: it runs only when the pedigree marks two samples as partners. This is a screen, not a diagnosis, and not medical advice. A result that matters for a pregnancy needs a clinical carrier test and a genetic counsellor, who can also say what a negative screen leaves out for your ancestry. @@ -22,7 +22,7 @@ Before this step a couple had to compare two ClinVar tables by hand ([Multi-Samp | Finding | From | Counted when | |---|---|---| -| ClinVar pathogenic or likely pathogenic hit | step 06, `clinvar/_clinvar_hits.vcf` (required) | the genotype carries the alternate allele and ClinVar's `GENEINFO` names a gene of the carrier list | +| ClinVar pathogenic or likely pathogenic hit | step 06, `clinvar/_clinvar_hits.vcf` (required) | the genotype carries the alternate allele and ClinVar's `GENEINFO` names a gene of the carrier list. A call below step 06's floor (GQ 30 and DP 10, or the file's `##PGP_CALL_FLOOR` line) still counts, marked "low-confidence call (GQ .., DP ..): check the reads", and its row says to confirm it first | | Deletion | step 19 (Delly), `delly/_sv.vcf.gz` | `SVTYPE=DEL`, `FILTER` PASS and a per-sample `FT` that is not a failed filter, the genotype carries it, it is 50 bp or longer, it removes at least one exon of a listed gene (GENCODE exons), when it is longer than 1,000 bp read depth shows the loss, and it does not match a common deletion (see below) | | SMN1 copy number | step 35 (Parascopy), `paralogs/_smn_copy_number.tsv` | SMN1 exon 7 at 1 copy (a carrier) or 0, with filter PASS and quality 20 or more, by step 35's rule | | CYP21A2 deletion or conversion | step 35 (depth and six PSV sites), `paralogs/_cyp21a2_psv.tsv` | the table's `finding` is `deletion` or `conversion` (on both copies when a site has no CYP21A2 copy left); unconfirmed, short reads. A table whose `status` is `not assessed` gives no finding, and the list of what was not assessed prints its `message` (why, such as a BAM without multi-mapping reads), or its `reason` for a table without that row. Step 39 and the Nextflow couple screen (`COUPLE_CARRIER`) both pass it | @@ -49,9 +49,13 @@ Only the ClinVar screen is required. Each of the others is used when its file is - marked as ACOG too, the genes of the conditions in ACOG Committee Opinions 690 and 691 (2017): cystic fibrosis, spinal muscular atrophy, the hemoglobinopathies, fragile X and the Ashkenazi Jewish panel. All 20 are also in the ACMG list; - every other gene of an Orphanet disorder with autosomal recessive or X-linked inheritance and a disease-causing germline association Orphanet assessed (Orphadata of 2026-06-23, CC BY 4.0). These rows cover the recessive genes of a ClinVar hit outside the ACMG list. A gene on chrX outside the pseudoautosomal regions is X-linked, every other gene autosomal recessive. +An X-linked gene is `XLD` (X-linked dominant) only when its main disorder is dominant: every X-linked disorder Orphanet gives the gene is dominant (28 genes, PCDH19 among them), or the gene has dominant and recessive disorders and the main one is dominant, which the list names: CDKL5, IKBKG, MECP2 and OFD1. Every other X-linked gene is `XL`. The hand-written ACMG rows keep `XL`. + +The `dominant` column marks a dominant condition of the gene besides the one it is listed for. `AD` or `SD`: the ACMG secondary findings list gives the gene as autosomal dominant or semidominant (43 genes, written by hand and checked against `assets/acmg_sf.tsv` by a test). `XLD` on an `XL` gene: one of its Orphanet disorders is X-linked dominant, so females who carry a change can show signs (28 genes, GLA, PLP1, FMR1 and GJB1 among them). `.` for none. + The `severity` column names the alleles of a gene that are not a full loss of function: a hypomorph (BTD p.Asp444His, the GALT Duarte variants) or a pseudodeficiency allele (HEXA c.739C>T and c.745C>T). Such an allele is never a carrier finding on its own; the couple report lists it under what the screen does not see, and the sample report's own carrier list sets it aside. The couple screen does count a hypomorph beside the other partner's full loss of function in the same gene: an autosomal recessive gene is then `shared`, because a child who inherits both can have the condition, for some genes in a milder form. An X-linked gene keeps the `x_linked` result. For example, an RBM8A low-expression allele in one partner and, in the other, a deletion that removes RBM8A (the 1q21.1 deletion) is the pair behind TAR syndrome, and the report names the allele as a hypomorph in that row. A hypomorph in both partners, or in one alone, stays set aside. -A ClinVar hit in a gene outside the list (a dominant gene, for example) is not part of this screen; each partner's own ClinVar section lists it. An emptied or damaged list stops the step instead of reporting no shared gene. +A ClinVar hit in a gene outside the list (a gene with only a dominant condition, for example) is not part of this screen; each partner's own ClinVar section lists it. An emptied or damaged list stops the step instead of reporting no shared gene. ## Docker Image @@ -83,11 +87,13 @@ In the Nextflow pipeline the screen runs inside the family workflow, as the proc | File | Contents | |---|---| -| `/couple__.tsv` (Nextflow: `/family/`, or `//` with `--family_name`) | one row per gene where either partner has a finding: `gene`, `inheritance` (AR or XL), `lists` (ACMG, ACOG, Orphanet), `condition`, `result` (`shared`, `x_linked` or `one_partner`), `offspring_risk`, `partner_a`, `findings_a`, `partner_b`, `findings_b`, `explanation`. A and B are sorted by name | +| `/couple__.tsv` (Nextflow: `/family/`, or `//` with `--family_name`) | one row per gene where either partner has a finding: `gene`, `inheritance` (AR, XL or XLD), `lists` (ACMG, ACOG, Orphanet), `condition`, `result` (`shared`, `x_linked` or `one_partner`), `offspring_risk`, `partner_a`, `findings_a`, `partner_b`, `findings_b`, `explanation`. A and B are sorted by name | | `/couple__.md` | the same in words, a table of what was assessed for each partner, and the residual-risk list | | `/couple/_couple_carrier.tsv` | the same table, for each partner's own reports: the HTML report (step 24) and the text report get a Couple Carrier Screen section with the shared and X-linked genes | -A finding reads, for example, `chr22:42070000 A>G het, Pathogenic, 2 stars, ClinVar 12345` or `deletion chr12:47855001-47858000 (3.0 kb) het, 3 exons of the gene (Delly)`. +A finding reads, for example, `chr22:42070000 A>G het, Pathogenic, 2 stars, ClinVar 12345, Schindler disease` (the last part is ClinVar's condition for the allele, `CLNDN`, without its "not provided") or `deletion chr12:47855001-47858000 (3.0 kb) het, 3 exons of the gene (Delly)`. + +A heterozygous call is on one copy, a homozygous one on two. On a male's chrX or chrY outside the pseudoautosomal regions a call is hemizygous. The regions are `assets/par_grch38.bed`, which both callers pass; without `--par-bed`, `og couple screen` uses the same GRCh38 regions, so a male's call in PAR1 (CSF2RA, SHOX) is never read as hemizygous. A haploid call on an autosome (genotype `1`, from a hand-made VCF) reads "one copy, a haploid call (1)" and counts as one copy, never as homozygous. ## What the screen does not see @@ -111,7 +117,7 @@ Not measured on whole genomes. The step reads only the partners' result files, n ## Rebuilding the carrier list -The ACMG and ACOG rows are written by hand and kept; the Orphanet rows and every span are made again from the sources: +The ACMG and ACOG rows, the `severity` column and the `AD` and `SD` marks of the `dominant` column are written by hand and kept; the Orphanet rows, every span, the `XLD` inheritance and the `XLD` marks are made again from the sources: ```bash bin/og couple genes --table assets/carrier_genes.tsv \ @@ -123,4 +129,4 @@ with `en_product6.xml` and `en_product9_ages.xml` from https://www.orphadata.com ## Testing -`cargo test -p og-couple` checks the rules on synthetic step outputs at real coordinates, including a red control with the list emptied, and the parity cases `couple-screen` and `couple-genes` (`tests/parity/cases.tsv`) compare `og couple screen` and `og couple genes` with the Python they replaced. The e2e case `tests/e2e/couple-carrier-1.sh` runs steps 06 and 39 on HG002 and a synthetic partner, with planted ClinVar records and a planted deletion, and compares the Nextflow pipeline's couple table and report with step 39's. `tests/e2e/couple-common-sv-1.sh` runs step 39 with a small benign loss set: a 30 bp deletion and a common one are set aside, a rare one counts, and without the set the common one counts and the report says the filter was off; a stub run of the pipeline stages the set into `COUPLE_CARRIER` when `--annotsv_annotations` holds it, and none when it does not. +`cargo test -p og-couple` checks the rules on synthetic step outputs at real coordinates, including a red control with the list emptied; `tests/inheritance_and_confidence.rs` there checks the dominant genes, the `XLD` genes, the built-in PARs, the haploid call, the low-confidence mark and ClinVar's condition; and the parity cases `couple-screen` and `couple-genes` (`tests/parity/cases.tsv`) compare `og couple screen` and `og couple genes` with the Python they replaced. The e2e case `tests/e2e/couple-carrier-1.sh` runs steps 06 and 39 on HG002 and a synthetic partner, with planted ClinVar records and a planted deletion, and compares the Nextflow pipeline's couple table and report with step 39's. `tests/e2e/couple-common-sv-1.sh` runs step 39 with a small benign loss set: a 30 bp deletion and a common one are set aside, a rare one counts, and without the set the common one counts and the report says the filter was off; a stub run of the pipeline stages the set into `COUPLE_CARRIER` when `--annotsv_annotations` holds it, and none when it does not. diff --git a/rust/crates/og-couple/src/findings.rs b/rust/crates/og-couple/src/findings.rs index 01686e3d5..0bd3dbaac 100644 --- a/rust/crates/og-couple/src/findings.rs +++ b/rust/crates/og-couple/src/findings.rs @@ -7,7 +7,7 @@ use crate::list::{CarrierList, GeneIndex}; use og_io::Utf8; use og_pedigree::{Die, Par}; use og_steps::sv::{DEPTH_MIN_SIZE, Rdcn, Sex, SvKind, depth_contradicts}; -use og_summary::collect::clinvar::{Floor, Hit}; +use og_summary::collect::clinvar::{Floor, Hit, floor_values}; use std::collections::HashMap; /// A structural variant is 50 bp or longer. A shorter Delly deletion is @@ -27,6 +27,41 @@ const FMR1_FULL: i64 = 201; /// The repeat loci of the list: the smallest repeat count counted as a /// carrier finding, and the repeat unit. const REPEATS: [(&str, i64, &str); 2] = [("FMR1", 55, "CGG"), ("FXN", 66, "GAA")]; +/// GRCh38's pseudoautosomal regions as a BED (0-based start, end), the rows +/// of `assets/par_grch38.bed`: the screen's PARs when no `--par-bed` is +/// given, so a male's call in PAR1 is never read as hemizygous. +pub const GRCH38_PAR: [(&str, i64, i64); 4] = [ + ("chrX", 10000, 2781479), + ("chrX", 155701382, 156030895), + ("chrY", 10000, 2781479), + ("chrY", 56887902, 57217415), +]; + +/// The pseudoautosomal regions the screen reads: the `--par-bed` file, or +/// GRCh38's when none is given. +pub enum Pars { + File(Par), + Grch38, +} + +impl Pars { + pub fn read(path: Option<&str>) -> Result { + Ok(match path { + Some(p) => Pars::File(Par::read(Some(p))?), + None => Pars::Grch38, + }) + } + + /// Whether the 1-based `pos` on `chrom` is in a PAR. + pub fn contains(&self, chrom: &str, pos: i64) -> bool { + match self { + Pars::File(p) => p.contains(chrom, pos), + Pars::Grch38 => GRCH38_PAR + .iter() + .any(|&(c, s, e)| c == chrom && s < pos && pos <= e), + } + } +} /// One carrier finding of one person in one gene. #[derive(Debug, Clone, PartialEq, Eq)] @@ -38,6 +73,8 @@ pub struct Finding { /// The name of a low-function allele of the list's severity column: it /// counts only beside a full loss of function in the partner. pub hypomorph: Option, + /// A call below step 06's floor (GQ or DP): it still counts, marked. + pub low: bool, } impl Finding { @@ -47,6 +84,7 @@ impl Finding { text, copies, hypomorph: None, + low: false, } } } @@ -80,7 +118,9 @@ fn sex_chrom(chrom: &str) -> bool { /// The zygosity of a GT, or `None` when it carries no alt allele. A `.` /// allele still counts in the ploidy: step 06 splits a GT 1/2 record into -/// `./1` halves, and each half is one copy, never hom. +/// `./1` halves, and each half is one copy, never hom. A haploid call on an +/// autosome (GT `1`) is one copy too: nothing shows that the other copy +/// carries the change. pub fn zygosity(gt: &str, chrom: &str, sex: Option<&str>, in_par: bool) -> Option { let alleles: Vec<&str> = gt.split(['/', '|']).filter(|a| !a.is_empty()).collect(); let alt = alleles.iter().filter(|a| !matches!(**a, "0" | ".")).count(); @@ -94,7 +134,7 @@ pub fn zygosity(gt: &str, chrom: &str, sex: Option<&str>, in_par: bool) -> Optio return Some(if sex_chrom(chrom) { Zygosity::Hemizygous } else { - Zygosity::Hom + Zygosity::Het }); } Some(if alt == alleles.len() { @@ -114,6 +154,32 @@ fn half_call(gt: &str) -> bool { (alt(b[0]) && b[2] == b'.') || (b[0] == b'.' && alt(b[2])) } +/// A haploid call on an autosome: one allele, as `1`. +fn haploid_autosome(gt: &str, chrom: &str) -> bool { + !sex_chrom(chrom) && !gt.is_empty() && !gt.contains(['/', '|']) +} + +/// ClinVar's condition for the allele (`CLNDN`), as words, without its +/// placeholders "not provided" and "not specified"; `None` when nothing is +/// left. +fn condition(info: &str) -> Option { + let names: Vec = info_get(info, "CLNDN")? + .split('|') + .map(|n| n.replace('_', " ")) + .filter(|n| !n.is_empty() && n != "not provided" && n != "not specified") + .collect(); + (!names.is_empty()).then(|| names.join(" / ")) +} + +/// The mark of a call below step 06's floor, as the reports word it. +fn low_text(h: &Hit) -> String { + let vals: Vec = [("GQ", h.gq), ("DP", h.dp)] + .iter() + .filter_map(|(k, v)| v.map(|v| format!("{k} {v}"))) + .collect(); + format!("low-confidence call ({}): check the reads", vals.join(", ")) +} + /// `1 star`, `2 stars`. fn stars_text(n: u8) -> String { format!("{n} star{}", if n == 1 { "" } else { "s" }) @@ -134,25 +200,37 @@ pub struct Clinvar { /// hypomorph is also kept as a finding marked hypomorph, which beside a /// full loss of function in the partner's same gene is the child's second /// hit (TAR syndrome is a null allele plus an RBM8A low-expression allele). +/// Each finding names the condition ClinVar gives for the allele; a call +/// below the run's floor (the file's `##PGP_CALL_FLOOR` line, else GQ 30 +/// and DP 10) is marked low confidence, and still counts. pub fn clinvar( path: &str, list: &CarrierList, sex: Option<&str>, - par: &Par, + par: &Pars, ) -> Result { let mut out = Clinvar { findings: Vec::new(), total: 0, aside: Vec::new(), }; - each_record(path, |r| { + let mut floor = Floor::default(); + let mut header = true; + each_line(path, Utf8::Replace, |line| { + header &= line.starts_with("##"); + if header && line.starts_with("##PGP_CALL_FLOOR=") { + floor_values(line, false, &mut floor); + } + if line.starts_with('#') { + return Ok(()); + } + let r: Vec<&str> = line.split('\t').collect(); if r.len() < 8 { return Ok(()); } out.total += 1; let owned: Vec = r.iter().map(|s| (*s).to_owned()).collect(); - let h = - Hit::parse(&owned, Floor::default()).map_err(|e| Die::one(format!("{path}: {e}")))?; + let h = Hit::parse(&owned, floor).map_err(|e| Die::one(format!("{path}: {e}")))?; let gt = r.get(9).map_or("", |s| s.split(':').next().unwrap_or("")); let pos = i64::try_from(h.pos) .map_err(|_| Die::one(format!("{path}: POS {} is out of range", h.pos)))?; @@ -160,6 +238,11 @@ pub fn clinvar( return Ok(()); }; let variant = format!("{}:{} {}>{}", h.chrom, h.pos, h.reference, h.alt); + let low = if h.low_confidence { + format!(", {}", low_text(&h)) + } else { + String::new() + }; for g in h.gene.split(',') { let Some(gene) = list.get(g) else { continue }; if let Some(sev) = gene.alleles.get(&h.key()) { @@ -172,9 +255,14 @@ pub fn clinvar( if kind == "hypomorph" { out.findings.push(Finding { gene: g.to_owned(), - text: format!("{variant} {}, {}, a hypomorph allele", z.word(), sev.name), + text: format!( + "{variant} {}, {}, a hypomorph allele{low}", + z.word(), + sev.name + ), copies: z.copies(), hypomorph: Some(sev.name.clone()), + low: h.low_confidence, }); } continue; @@ -187,15 +275,20 @@ pub fn clinvar( // other reports word it. let words = if z == Zygosity::Het && half_call(gt) { format!("one copy, other copy not called ref ({gt})") + } else if z == Zygosity::Het && haploid_autosome(gt, &h.chrom) { + format!("one copy, a haploid call ({gt})") } else { z.word().to_owned() }; + let cond = condition(r[7]).map_or(String::new(), |c| format!(", {c}")); let text = format!( - "{variant} {words}, {}, {}{ident}", + "{variant} {words}, {}, {}{ident}{cond}{low}", h.significance, stars_text(h.stars) ); - out.findings.push(Finding::new(g, text, z.copies())); + let mut f = Finding::new(g, text, z.copies()); + f.low = h.low_confidence; + out.findings.push(f); } Ok(()) })?; @@ -356,7 +449,7 @@ pub fn delly( index: &GeneIndex, exons: &Exons, sex: Option<&str>, - par: &Par, + par: &Pars, benign: Option<&Benign>, ) -> Result<(Vec, DellySkips), Die> { let mut out = Vec::new(); @@ -636,6 +729,10 @@ mod tests { assert_eq!(z("1|.", "chr7", Some("male")), Some(Zygosity::Het)); assert_eq!(z("1/1", "chr7", Some("female")), Some(Zygosity::Hom)); assert_eq!(z("1", "chrX", Some("female")), Some(Zygosity::Hemizygous)); + // A haploid call on an autosome is one copy, never hom. + assert_eq!(z("1", "chr7", Some("male")), Some(Zygosity::Het)); + assert!(haploid_autosome("1", "chr7") && !haploid_autosome("1", "chrX")); + assert!(!haploid_autosome("0/1", "chr7")); assert_eq!(z("./1", "chrX", Some("male")), Some(Zygosity::Hemizygous)); assert_eq!(z("./.", "chr7", Some("female")), None); assert_eq!(z("./0", "chr7", Some("female")), None); @@ -643,6 +740,38 @@ mod tests { assert!(half_call("./1") && half_call("2|.") && !half_call("0/1") && !half_call("./.")); } + #[test] + fn the_built_in_pars_are_the_assets() { + let bed = std::fs::read_to_string(format!( + "{}/../../../assets/par_grch38.bed", + env!("CARGO_MANIFEST_DIR") + )) + .unwrap(); + let rows: Vec<(String, i64, i64)> = bed + .lines() + .map(|l| { + let c: Vec<&str> = l.split('\t').collect(); + ( + c[0].to_owned(), + c[1].parse().unwrap(), + c[2].parse().unwrap(), + ) + }) + .collect(); + let built: Vec<(String, i64, i64)> = GRCH38_PAR + .iter() + .map(|&(c, s, e)| (c.to_owned(), s, e)) + .collect(); + assert_eq!(built, rows); + let p = Pars::Grch38; + assert!(p.contains("chrX", 10001) && p.contains("chrX", 2781479)); + assert!( + !p.contains("chrX", 10000) + && !p.contains("chrX", 2781480) + && !p.contains("chr7", 20000) + ); + } + #[test] fn exons_merge_and_count() { let mut m = HashMap::new(); diff --git a/rust/crates/og-couple/src/genes.rs b/rust/crates/og-couple/src/genes.rs index 39d5547cb..3f830787c 100644 --- a/rust/crates/og-couple/src/genes.rs +++ b/rust/crates/og-couple/src/genes.rs @@ -11,10 +11,18 @@ //! autosomal recessive or X-linked inheritance), and every row gets its //! GRCh38 span from the GENCODE gene lines. Each input is read once, as a //! stream. +//! +//! An X-linked gene is `XLD` when its main disorder is X-linked dominant: +//! every X-linked disorder Orphanet gives the gene is dominant, or the gene +//! is one of [`MAIN_DOMINANT`]. Every other X-linked gene is `XL`; when one +//! of its disorders is X-linked dominant, its `dominant` cell is `XLD` +//! (females who carry a change can show signs). The `severity` cell and an +//! autosomal gene's `dominant` cell (`AD` or `SD`, from the ACMG secondary +//! findings list) are written by hand and kept. use crate::args::{self, Kind, Spec}; use crate::files::{each_line, int}; -use crate::list::{GENE_COLUMNS, SEVERITY_COLUMN}; +use crate::list::{DOMINANT_COLUMN, GENE_COLUMNS, SEVERITY_COLUMN, header_ok}; use crate::xml::{self, Event}; use indexmap::IndexMap; use og_io::Utf8; @@ -66,17 +74,29 @@ fn primary(chrom: &str) -> Option { PRIMARY.iter().position(|c| *c == chrom) } +/// The genes with both X-linked dominant and X-linked recessive disorders +/// whose main disorder is the dominant one, with that disorder. A gene whose +/// X-linked disorders are all dominant needs no entry. +pub const MAIN_DOMINANT: [(&str, &str); 4] = [ + ("CDKL5", "CDKL5-deficiency disorder"), + ("IKBKG", "Incontinentia pigmenti"), + ("MECP2", "Rett syndrome"), + ("OFD1", "Orofaciodigital syndrome type 1"), +]; + /// An Orphanet mode of inheritance the list keeps. #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] enum Mode { Ar, - Xl, + Xlr, + Xld, } fn mode(name: &str) -> Option { match name { "Autosomal recessive" => Some(Mode::Ar), - "X-linked recessive" | "X-linked dominant" => Some(Mode::Xl), + "X-linked recessive" => Some(Mode::Xlr), + "X-linked dominant" => Some(Mode::Xld), _ => None, } } @@ -341,13 +361,9 @@ fn run( Ok(()) })?; let cols = lines.first().cloned().unwrap_or_default(); - let ok = cols == GENE_COLUMNS - || (cols.len() == GENE_COLUMNS.len() + 1 - && cols[..GENE_COLUMNS.len()] == GENE_COLUMNS - && cols[GENE_COLUMNS.len()] == SEVERITY_COLUMN); - if !ok { + if !header_ok(&cols) { return Err(Die::one(format!( - "{table}: the header must be {}, optionally followed by {SEVERITY_COLUMN}", + "{table}: the header must be {}, optionally followed by {SEVERITY_COLUMN} and {DOMINANT_COLUMN}", GENE_COLUMNS.join("\t") ))); } @@ -362,14 +378,20 @@ fn run( }) .collect(); let cell = |r: &HashMap<&str, &str>, k: &str| r.get(k).copied().unwrap_or_default().to_owned(); - // The severity cell is written by hand: every gene keeps its own. + // The severity cell, and the dominant cell of an autosomal gene, are + // written by hand: every gene keeps its own. let mut severity: HashMap = HashMap::new(); + let mut dominant: HashMap = HashMap::new(); for r in &rows_in { let s = cell(r, SEVERITY_COLUMN); severity.insert( cell(r, "gene"), if s.is_empty() { ".".to_owned() } else { s }, ); + let d = cell(r, DOMINANT_COLUMN); + if matches!(d.as_str(), "AD" | "SD") { + dominant.insert(cell(r, "gene"), d); + } } let panel: Vec<&HashMap<&str, &str>> = rows_in .iter() @@ -406,6 +428,21 @@ fn run( let inh = inheritance(p9)?; let (disorders, date) = associations(p6, &inh)?; + // The X-linked disorders of each listed gene: (name, dominant, recessive). + let mut x_of: HashMap<&str, Vec<(&str, bool, bool)>> = HashMap::new(); + for (sym, ds) in &disorders { + let Some(gene) = canonical(sym) else { continue }; + if x_of.contains_key(gene) { + continue; + } + let x: Vec<(&str, bool, bool)> = ds + .iter() + .filter(|(_, m)| m.contains(&Mode::Xld) || m.contains(&Mode::Xlr)) + .map(|(n, m)| (n.as_str(), m.contains(&Mode::Xld), m.contains(&Mode::Xlr))) + .collect(); + x_of.insert(gene, x); + } + let some_dominant = |g: &str| x_of.get(g).is_some_and(|x| x.iter().any(|d| d.1)); // gene -> its seven cells, in order. let mut rows: IndexMap = IndexMap::new(); for r in &panel { @@ -431,22 +468,34 @@ fn run( let (c, s, e) = &genes[gene]; // The chromosome decides how a gene is passed on: X outside the // PARs is X-linked, an autosome or a PAR is autosomal. - let m = if c == "chrX" && !par.contains(c, *s) { - Mode::Xl - } else { - Mode::Ar - }; + let x = c == "chrX" && !par.contains(c, *s); let names: BTreeSet<&str> = ds .iter() - .filter(|(_, modes)| modes.contains(&m)) + .filter(|(_, modes)| { + if x { + modes.contains(&Mode::Xlr) || modes.contains(&Mode::Xld) + } else { + modes.contains(&Mode::Ar) + } + }) .map(|(n, _)| n.as_str()) .collect(); - let Some(first) = names.first() else { continue }; - if c == "chrY" { + if names.is_empty() || c == "chrY" { continue; } + // Rule (y): X-linked dominant only when the main disorder is. + let xd = &x_of[gene]; + let xld = x + && xd.iter().any(|d| d.1) + && (xd.iter().all(|d| !d.2) || MAIN_DOMINANT.iter().any(|(g, _)| *g == gene)); + // An X-linked dominant gene is named by a dominant disorder first. + let mut names: Vec<&str> = names.into_iter().collect(); + if xld { + names.sort_by_key(|n| !xd.iter().any(|d| d.0 == *n && d.1)); + } + let first = names[0]; let cond = match names.len() { - 1 => (*first).to_owned(), + 1 => first.to_owned(), n => format!( "{first}; and {} other{}", n - 1, @@ -460,7 +509,14 @@ fn run( c.clone(), s.to_string(), e.to_string(), - if m == Mode::Xl { "XL" } else { "AR" }.to_owned(), + if xld { + "XLD" + } else if x { + "XL" + } else { + "AR" + } + .to_owned(), "Orphanet".to_owned(), cond.replace('\t', " "), ], @@ -475,6 +531,8 @@ fn run( text.push_str(&GENE_COLUMNS.join("\t")); text.push('\t'); text.push_str(SEVERITY_COLUMN); + text.push('\t'); + text.push_str(DOMINANT_COLUMN); text.push('\n'); let mut order: Vec<&String> = rows.keys().collect(); order.sort_by_key(|g| { @@ -485,6 +543,13 @@ fn run( text.push_str(&rows[g].join("\t")); text.push('\t'); text.push_str(severity.get(g).map_or(".", String::as_str)); + text.push('\t'); + let d = match rows[g][4].as_str() { + "XL" if some_dominant(g) => "XLD", + "AR" => dominant.get(g.as_str()).map_or(".", String::as_str), + _ => ".", + }; + text.push_str(d); text.push('\n'); } let mut f = og_io::AtomicFile::create(out_path).map_err(|e| Die::io(out_path, &e))?; @@ -505,7 +570,9 @@ fn header(release: &str, date6: &str) -> String { "# carrier_genes.tsv: the genes of the couple carrier screen (step 39, og couple screen).".to_owned(), "# One row per gene. chrom, start and end: the gene's GRCh38 span (1-based, inclusive) from the".to_owned(), format!("# gene lines of GENCODE release {release} (basic annotation). inheritance: AR (autosomal, or in a"), - "# pseudoautosomal region) or XL (chrX outside the PARs). lists: where the gene comes from:".to_owned(), + "# pseudoautosomal region), XL (chrX outside the PARs) or XLD (X-linked with a dominant main".to_owned(), + "# disorder: every X-linked disorder Orphanet gives the gene is dominant, or the gene is CDKL5,".to_owned(), + "# IKBKG, MECP2 or OFD1). lists: where the gene comes from:".to_owned(), "# ACMG Gregg et al., Genet Med 2021;23(10):1793-1806 (doi:10.1038/s41436-021-01203-z),".to_owned(), "# tier 3: the 97 autosomal recessive genes of its tables 1 to 5 and the 16 X-linked".to_owned(), "# genes of table 6; condition names from those tables".to_owned(), @@ -514,13 +581,18 @@ fn header(release: &str, date6: &str) -> String { "# Orphanet every other gene of an Orphanet disorder with autosomal recessive or X-linked".to_owned(), format!("# inheritance (Orphadata en_product6 and en_product9_ages of {date6}, CC BY 4.0,"), "# https://www.orphadata.com), with a disease-causing germline association that".to_owned(), - "# Orphanet assessed; condition: the first such disorder by name".to_owned(), + "# Orphanet assessed; condition: the first such disorder by name (for XLD, the first".to_owned(), + "# X-linked dominant one)".to_owned(), "# severity: alleles of the gene that are not a full loss of function, separated by \";\": each is".to_owned(), "# hypomorph or pseudodeficiency, then chrom:pos:ref:alt (GRCh38), then a name; \".\" for none. Such".to_owned(), "# an allele never makes a carrier finding on its own (the couple screen, step 39, and the".to_owned(), "# carrier list of the sample report). With a called deletion of the gene it is a second hit (the".to_owned(), "# two-hit lines of the sample report, og summary collect). In the couple screen a".to_owned(), "# hypomorph beside a full loss of function in the other partner's same gene is a shared gene.".to_owned(), + "# dominant: a dominant condition of the gene besides the one it is listed for. AD or SD: the".to_owned(), + "# gene's condition on the ACMG secondary findings list (assets/acmg_sf.tsv) is autosomal".to_owned(), + "# dominant or semidominant, written by hand; XLD: an XL gene with an Orphanet X-linked dominant".to_owned(), + "# disorder, so females who carry a change can show signs; \".\" for none.".to_owned(), "# Rebuilt with: og couple genes (docs/39-couple.md says how).".to_owned(), ] .iter() diff --git a/rust/crates/og-couple/src/list.rs b/rust/crates/og-couple/src/list.rs index 977509d55..49e57a632 100644 --- a/rust/crates/og-couple/src/list.rs +++ b/rust/crates/og-couple/src/list.rs @@ -1,6 +1,7 @@ //! The carrier list, `assets/carrier_genes.tsv`: one row per gene with its //! GRCh38 span, how it is passed on, where it comes from, its condition, -//! and the alleles that are not a full loss of function. +//! the alleles that are not a full loss of function, and a dominant +//! condition of the gene besides the one it is listed for. use crate::files::{each_line, is_digits}; use indexmap::IndexMap; @@ -22,14 +23,35 @@ pub const GENE_COLUMNS: [&str; 7] = [ /// The optional column after them: alleles that are not a full loss of /// function. pub const SEVERITY_COLUMN: &str = "severity"; +/// The optional column after `severity`: a dominant condition of the gene +/// besides the one its inheritance gives ([`Dominant`]). +pub const DOMINANT_COLUMN: &str = "dominant"; + +/// Whether `cols` is a list's header: the gene columns, then optionally +/// `severity`, then optionally `dominant`. +pub fn header_ok>(cols: &[S]) -> bool { + let n = GENE_COLUMNS.len(); + let more = [SEVERITY_COLUMN, DOMINANT_COLUMN]; + cols.len() >= n + && cols.len() <= n + more.len() + && cols.iter().map(AsRef::as_ref).eq(GENE_COLUMNS + .iter() + .chain(more.iter()) + .take(cols.len()) + .copied()) +} /// How a gene of the list is passed on. #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum Inheritance { /// Autosomal recessive, or in a pseudoautosomal region. Ar, - /// X-linked: chrX outside the PARs. + /// X-linked: chrX outside the PARs, the main disorder recessive. Xl, + /// X-linked dominant: chrX outside the PARs, the main disorder + /// dominant, so a daughter or a son who inherits a change can be + /// affected. + Xld, } impl Inheritance { @@ -37,6 +59,7 @@ impl Inheritance { match s { "AR" => Some(Inheritance::Ar), "XL" => Some(Inheritance::Xl), + "XLD" => Some(Inheritance::Xld), _ => None, } } @@ -46,6 +69,38 @@ impl Inheritance { match self { Inheritance::Ar => "AR", Inheritance::Xl => "XL", + Inheritance::Xld => "XLD", + } + } + + /// X-linked, recessive or dominant. + pub fn x_linked(self) -> bool { + self != Inheritance::Ar + } +} + +/// A dominant condition of a gene besides the one its inheritance gives: +/// the `dominant` column. +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum Dominant { + /// `.`: none. + No, + /// `AD` or `SD`: the gene's condition on the ACMG secondary findings + /// list (`assets/acmg_sf.tsv`) is autosomal dominant or semidominant, + /// so one change can affect a child who inherits it. + Autosomal, + /// `XLD` on an X-linked gene: an Orphanet disorder of the gene is X-linked + /// dominant, so females who carry a change can show signs. + XLinked, +} + +impl Dominant { + pub fn parse(s: &str) -> Option { + match s { + "." => Some(Dominant::No), + "AD" | "SD" => Some(Dominant::Autosomal), + "XLD" => Some(Dominant::XLinked), + _ => None, } } } @@ -62,6 +117,8 @@ pub struct Gene { pub condition: String, /// The severity column: hypomorph and pseudodeficiency alleles. pub alleles: IndexMap, + /// The dominant column. + pub dominant: Dominant, } /// The list: every gene by name, a gene on two rows keeping its last. @@ -85,14 +142,10 @@ impl CarrierList { } let vals: Vec<&str> = line.split('\t').collect(); let Some(head) = &header else { - let ok = vals.len() >= GENE_COLUMNS.len() - && vals[..GENE_COLUMNS.len()] == GENE_COLUMNS - && (vals.len() == GENE_COLUMNS.len() - || (vals.len() == GENE_COLUMNS.len() + 1 - && vals[GENE_COLUMNS.len()] == SEVERITY_COLUMN)); - if !ok { + if !header_ok(&vals) { return Err(Die::one(format!( - "{path}: the header must be {}, optionally followed by {SEVERITY_COLUMN}", + "{path}: the header must be {}, optionally followed by {SEVERITY_COLUMN} and \ + {DOMINANT_COLUMN}", GENE_COLUMNS.join("\t") ))); } @@ -107,11 +160,16 @@ impl CarrierList { ))); } let inheritance = Inheritance::parse(vals[4]); - let (Some(inheritance), true, true) = - (inheritance, is_digits(vals[2]), is_digits(vals[3])) - else { + let dominant = Dominant::parse(vals.get(8).copied().unwrap_or(".")); + let (Some(inheritance), Some(dominant), true, true) = ( + inheritance, + dominant, + is_digits(vals[2]), + is_digits(vals[3]), + ) else { return Err(Die::one(format!( - "{path} line {n}: inheritance must be AR or XL, start and end whole numbers" + "{path} line {n}: inheritance must be AR, XL or XLD, dominant ., AD, SD or XLD, start and \ + end whole numbers" ))); }; let num = |s: &str| crate::files::int(s, &format!("{path} line {n}")); @@ -126,6 +184,7 @@ impl CarrierList { lists: vals[5].to_owned(), condition: vals[6].to_owned(), alleles, + dominant, }; genes.insert(gene.name.clone(), gene); Ok(()) diff --git a/rust/crates/og-couple/src/prose.rs b/rust/crates/og-couple/src/prose.rs index c4a2ea279..dbd513e51 100644 --- a/rust/crates/og-couple/src/prose.rs +++ b/rust/crates/og-couple/src/prose.rs @@ -2,7 +2,7 @@ //! mean for a child, gene by gene, then in words. use crate::findings::{DEPTH_MIN, Finding, SV_MIN_SIZE}; -use crate::list::{CarrierList, Gene, Inheritance}; +use crate::list::{CarrierList, Dominant, Gene, Inheritance}; use std::collections::{BTreeSet, HashMap}; use std::fmt::Write as _; @@ -141,8 +141,65 @@ fn ar_row( (Outcome::Shared, risk, why) } +/// One partner's lines for an X-linked dominant gene: the risk and the +/// explanation. A child who inherits the change can be affected, a +/// daughter as well as a son. +fn xld_lines(g: &Gene, who: &str, sex: Option<&str>, f: &[&Finding]) -> (String, String) { + match sex { + Some("female") if two_copies(f) => ( + format!("{who}: every child, can be affected"), + format!( + "{who} carries the change in {} on both X chromosomes (X-linked dominant: {}): every son and \ + every daughter inherits it and can be affected.", + g.name, g.condition + ), + ), + Some("female") => ( + format!("{who}: each child 1 in 2, can be affected"), + format!( + "{who} carries a change in {} on one X chromosome (X-linked dominant: {}). Each child has a 1 in \ + 2 chance of inheriting it, and a daughter or a son who inherits it can be affected; {who} can \ + have signs herself.", + g.name, g.condition + ), + ), + Some("male") => ( + format!("{who}: every daughter, can be affected"), + format!( + "{who} has a change in {} on his X chromosome (X-linked dominant: {}). Every daughter inherits it \ + and can be affected; a son gets his Y chromosome, not this X.", + g.name, g.condition + ), + ), + _ => ( + format!("{who}: sex unknown"), + format!( + "{who} has a change in {} (X-linked dominant: {}). The pedigree gives no sex for {who}, so the \ + chance for sons and daughters cannot be said.", + g.name, g.condition + ), + ), + } +} + /// One partner's lines for an X-linked gene: the risk and the explanation. fn xl_lines(g: &Gene, who: &str, sex: Option<&str>, f: &[&Finding]) -> (String, String) { + if g.inheritance == Inheritance::Xld { + return xld_lines(g, who, sex, f); + } + let (risk, mut why) = xlr_lines(g, who, sex, f); + if g.dominant == Dominant::XLinked { + let _ = write!( + why, + " {} also has an X-linked dominant disorder: females can show signs.", + g.name + ); + } + (risk, why) +} + +/// One partner's lines for an X-linked recessive gene. +fn xlr_lines(g: &Gene, who: &str, sex: Option<&str>, f: &[&Finding]) -> (String, String) { let fmr1 = g.name == "FMR1" && f.iter().any(|x| x.text.contains("premutation")); match sex { Some("female") => { @@ -234,7 +291,7 @@ pub fn screen_couple( .collect() }; let (fa, fb) = (pick(a, &full_b), pick(b, &full_a)); - let (outcome, risk, why) = if g.inheritance == Inheritance::Xl { + let (outcome, risk, mut why) = if g.inheritance.x_linked() { let parts: Vec<(String, String)> = [(a, &fa), (b, &fb)] .iter() .filter(|(_, f)| !f.is_empty()) @@ -254,7 +311,28 @@ pub fn screen_couple( .join(" "), ) } else if !fa.is_empty() && !fb.is_empty() { - ar_row(g, a, b, &fa, &fb) + let (o, r, mut w) = ar_row(g, a, b, &fa, &fb); + if g.dominant == Dominant::Autosomal { + let _ = write!( + w, + " {name} also causes a dominant condition (it is on the ACMG secondary findings list): a child \ + who inherits either parent's change can be affected by it." + ); + } + (o, r, w) + } else if g.dominant == Dominant::Autosomal { + let (who, other) = if fa.is_empty() { (b, a) } else { (a, b) }; + ( + Outcome::OnePartner, + "each child 1 in 2, dominant".to_owned(), + format!( + "Only {who} carries a change in {name}. {name} also causes a dominant condition (it is on the \ + ACMG secondary findings list): a child who inherits it can be affected, 1 in 2 per child, and \ + {who} can be too. For {} (autosomal recessive), a child can be a carrier like {who}, unless \ + {other} carries a change this screen does not see.", + g.condition + ), + ) } else { let (who, other) = if fa.is_empty() { (b, a) } else { (a, b) }; ( @@ -267,6 +345,19 @@ pub fn screen_couple( ), ) }; + let weak: Vec<&str> = [(a, &fa), (b, &fb)] + .iter() + .filter(|(_, f)| f.iter().any(|x| x.low)) + .map(|(w, _)| *w) + .collect(); + if !weak.is_empty() { + let _ = write!( + why, + " The finding of {} rests on a low-confidence call (GQ or DP below step 06's floor): confirm it in \ + the reads, or with a clinical test, before reading the chance.", + weak.join(" and ") + ); + } rows.push(Row { gene: (*name).to_owned(), inheritance: g.inheritance.code(), diff --git a/rust/crates/og-couple/src/screen.rs b/rust/crates/og-couple/src/screen.rs index 94f0f5cde..cae17ef42 100644 --- a/rust/crates/og-couple/src/screen.rs +++ b/rust/crates/og-couple/src/screen.rs @@ -19,6 +19,8 @@ //! each partner's own report, `D/A_couple_carrier.tsv` and //! `D/B_couple_carrier.tsv`. //! +//! Without `--par-bed` the PARs are GRCh38's, the rows of `assets/par_grch38.bed`. +//! //! Every couple is computed before anything is written: an input problem in //! any couple stops the screen with no table at all, never with the tables //! of the couples before it. Exits 1 when no couple could be screened, 2 on @@ -26,10 +28,10 @@ use crate::args::{self, Kind, Spec}; use crate::cn::{self, Intervals}; -use crate::findings::{self, Benign, DEPTH_MIN, Exons, Finding, SV_MIN_SIZE}; +use crate::findings::{self, Benign, DEPTH_MIN, Exons, Finding, Pars, SV_MIN_SIZE}; use crate::list::{CarrierList, GeneIndex}; use crate::prose::{self, Assessed, Outcome, Report}; -use og_pedigree::{Die, Par}; +use og_pedigree::Die; use std::collections::{BTreeSet, HashMap}; use std::io::Write; use std::path::Path; @@ -188,7 +190,7 @@ fn run(a: &args::Args, said: &mut Vec) -> Result<(), Die> { common = "not filtered, the benign SV set holds no deletion of 1% or more".to_owned(); } } - let par = Par::read(a.one("--par-bed"))?; + let par = Pars::read(a.one("--par-bed"))?; let sexes: HashMap> = members .iter() .map(|(s, m)| (s.clone(), m.sex.clone())) @@ -251,11 +253,17 @@ fn run(a: &args::Args, said: &mut Vec) -> Result<(), Die> { } let cv = findings::clinvar(of("clinvar", s).unwrap_or_default(), &list, sex, &par)?; let mut f = cv.findings; + let low = f.iter().filter(|x| x.hypomorph.is_none() && x.low).count(); let mut info = Assessed { clinvar: format!( - "{} / {}", + "{} / {}{}", f.iter().filter(|x| x.hypomorph.is_none()).count(), - cv.total + cv.total, + if low > 0 { + format!(" ({low} low-confidence)") + } else { + String::new() + } ), ..Assessed::default() }; diff --git a/rust/crates/og-couple/tests/common/mod.rs b/rust/crates/og-couple/tests/common/mod.rs index 2d01464ad..1a9e75b3d 100644 --- a/rust/crates/og-couple/tests/common/mod.rs +++ b/rust/crates/og-couple/tests/common/mod.rs @@ -103,6 +103,8 @@ pub struct Gene { pub inheritance: String, pub lists: String, pub condition: String, + /// The dominant column, "." when the list has none. + pub dominant: String, } /// The rows of a carrier list, by gene. @@ -113,6 +115,7 @@ pub fn genes(path: &str) -> HashMap { .filter(|l| !l.trim().is_empty() && !l.starts_with('#')); let head: Vec<&str> = lines.next().unwrap().split('\t').collect(); let at = |k: &str| head.iter().position(|h| *h == k).unwrap(); + let dom = head.iter().position(|h| *h == "dominant"); let (g, c, s, e, i, l, n) = ( at("gene"), at("chrom"), @@ -134,6 +137,7 @@ pub fn genes(path: &str) -> HashMap { inheritance: f[i].to_owned(), lists: f[l].to_owned(), condition: f[n].to_owned(), + dominant: dom.map_or(".", |d| f[d]).to_owned(), }, ) }) diff --git a/rust/crates/og-couple/tests/couple_report.rs b/rust/crates/og-couple/tests/couple_report.rs index 3ded86044..9218036b8 100644 --- a/rust/crates/og-couple/tests/couple_report.rs +++ b/rust/crates/og-couple/tests/couple_report.rs @@ -155,9 +155,9 @@ fn the_carrier_list_holds_the_panels() { for (n, g) in &f.list { let outside = g.chrom == "chrX" && !par.contains("chrX", g.start); assert_eq!( - g.inheritance == "XL", + g.inheritance != "AR", outside, - "{n}: a chrX gene outside the PARs is X-linked, inside a PAR autosomal" + "{n}: a chrX gene outside the PARs is X-linked (XL or XLD), inside a PAR autosomal" ); } assert!( diff --git a/rust/crates/og-couple/tests/inheritance_and_confidence.rs b/rust/crates/og-couple/tests/inheritance_and_confidence.rs new file mode 100644 index 000000000..e59804592 --- /dev/null +++ b/rust/crates/og-couple/tests/inheritance_and_confidence.rs @@ -0,0 +1,422 @@ +//! What a finding means for a child, beyond a recessive gene, and how sure +//! the call is: a gene that also causes a dominant condition, an X-linked +//! dominant gene, a male's call in a PAR when no PAR file is given, a +//! haploid call on an autosome, a call below step 06's floor, and the +//! condition ClinVar names for the allele. Each check reads the +//! repository's `assets/carrier_genes.tsv` at a gene's real place. + +mod common; + +use common::{Dir, HEAD, by_gene, cell, genes, og, read, repo}; +use std::collections::{BTreeSet, HashMap}; + +const PED: &str = "sample\tsex\tfather\tmother\tpartner\nA\tfemale\t.\t.\tB\nB\tmale\t.\t.\tA\n"; +const REVIEWED: &str = "criteria_provided,_multiple_submitters,_no_conflicts"; +const FORMAT_HEAD: &str = "##fileformat=VCFv4.2\n\ +##FORMAT=\n\ +##FORMAT=\n\ +##FORMAT=\n"; +const COLUMNS: &str = "#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\tFORMAT\tS\n"; + +/// A ClinVar pathogenic hit of step 06 in the middle of `gene`, with its +/// FORMAT and sample fields as given, and CLNDN when `clndn` is not empty. +fn hit(gene: &str, format: &str, sample: &str, clndn: &str) -> String { + let g = &genes(&repo("assets/carrier_genes.tsv"))[gene]; + let dn = if clndn.is_empty() { + String::new() + } else { + format!(";CLNDN={clndn}") + }; + format!( + "{}\t{}\t9001\tA\tG\t.\tPASS\tGENEINFO={gene}:1;CLNSIG=Pathogenic;CLNREVSTAT={REVIEWED}{dn}\t{format}\t{sample}\n", + g.chrom, + (g.start + g.end) / 2 + ) +} + +/// `og couple screen` on A's and B's hits (A female, B male); `par`: pass +/// the repository's PAR file. The couple table by gene, and the report. +fn screen( + t: &Dir, + name: &str, + a: &str, + b: &str, + par: bool, +) -> (HashMap>, String) { + let ped = t.put(&format!("{name}/pedigree.tsv"), PED); + let va = t.put(&format!("{name}/A.vcf"), a); + let vb = t.put(&format!("{name}/B.vcf"), b); + let out = t.path(&format!("{name}/out")); + let genes = repo("assets/carrier_genes.tsv"); + let par_bed = repo("assets/par_grch38.bed"); + let (ca, cb) = (format!("A={va}"), format!("B={vb}")); + let mut args = vec![ + "--pedigree", + &ped, + "--genes", + &genes, + "--clinvar", + &ca, + "--clinvar", + &cb, + "--out-dir", + &out, + ]; + if par { + args.extend(["--par-bed", &par_bed]); + } + let (rc, log) = og("screen", &args); + assert_eq!(rc, 0, "{log}"); + ( + by_gene(&format!("{out}/couple_A_B.tsv")), + read(&format!("{out}/couple_A_B.md")), + ) +} + +fn plain(rows: &[String]) -> String { + format!("{HEAD}{}", rows.concat()) +} + +#[test] +fn a_gene_with_a_dominant_condition_reads_that_a_child_can_be_affected() { + let t = Dir::new("dominant"); + let a = plain(&[ + hit("MLH1", "GT", "0/1", "Lynch_syndrome_1|not_provided"), + hit("CFTR", "GT", "0/1", ""), + ]); + let b = plain(&[hit( + "BRCA1", + "GT", + "0/1", + "Hereditary_breast_ovarian_cancer_syndrome", + )]); + let (rows, md) = screen(&t, "d", &a, &b, true); + for (gene, who) in [("MLH1", "A"), ("BRCA1", "B")] { + let why = cell(&rows, gene, "explanation"); + assert!( + why.contains("a child who inherits it can be affected") + && !why.contains("not affected"), + "{gene}: {why}" + ); + assert_eq!(cell(&rows, gene, "result"), "one_partner"); + assert_eq!( + cell(&rows, gene, "offspring_risk"), + "each child 1 in 2, dominant" + ); + assert!(md.contains(why), "the report says it too"); + assert!(why.contains(&format!("Only {who} carries")), "{why}"); + } + // ClinVar's condition for the allele is named, without its placeholder. + let fa = cell(&rows, "MLH1", "findings_a"); + assert!(fa.ends_with(", Lynch syndrome 1"), "{fa}"); + assert!(!fa.contains("not provided"), "{fa}"); + assert!( + cell(&rows, "BRCA1", "findings_b").ends_with(", Hereditary breast ovarian cancer syndrome") + ); + // Control: a recessive gene with no dominant condition keeps its words. + let cf = cell(&rows, "CFTR", "explanation"); + assert!( + cf.contains("not affected") && !cf.contains("dominant"), + "{cf}" + ); + assert_eq!(cell(&rows, "CFTR", "offspring_risk"), "none shared"); + assert!( + cell(&rows, "CFTR", "findings_a").ends_with(", ClinVar 9001"), + "no CLNDN, no condition" + ); +} + +#[test] +fn the_list_marks_the_dominant_genes_of_the_acmg_secondary_findings() { + let list = genes(&repo("assets/carrier_genes.tsv")); + let mut acmg: HashMap = HashMap::new(); + for line in read(&repo("assets/acmg_sf.tsv")).lines() { + let c: Vec<&str> = line.split('\t').collect(); + if !line.starts_with('#') && c[0] != "gene" { + acmg.insert(c[0].to_owned(), c[2].to_owned()); + } + } + let marked: BTreeSet<&str> = list + .iter() + .filter(|(_, g)| matches!(g.dominant.as_str(), "AD" | "SD")) + .map(|(n, _)| n.as_str()) + .collect(); + let want: BTreeSet<&str> = list + .iter() + .filter(|(n, g)| { + g.inheritance == "AR" && acmg.get(*n).is_some_and(|m| m == "AD" || m == "SD") + }) + .map(|(n, _)| n.as_str()) + .collect(); + assert_eq!( + marked, want, + "AD or SD exactly on the ACMG SF dominant genes" + ); + assert!(want.len() > 40 && want.contains("MLH1") && want.contains("BRCA1")); + for n in &marked { + assert_eq!( + list[*n].dominant, acmg[*n], + "{n}: the value acmg_sf.tsv gives" + ); + } + for (n, g) in &list { + assert!( + g.dominant != "XLD" || g.inheritance == "XL", + "{n}: an XLD mark is on an XL gene only" + ); + } +} + +#[test] +fn x_linked_dominant_genes_read_that_a_daughter_can_be_affected() { + let list = genes(&repo("assets/carrier_genes.tsv")); + for g in ["MECP2", "CDKL5", "IKBKG", "OFD1", "PCDH19"] { + assert_eq!( + list[g].inheritance, "XLD", + "{g}: its main disorder is dominant" + ); + } + for g in ["GJB1", "GLA", "PLP1", "FMR1"] { + assert_eq!(list[g].inheritance, "XL", "{g} stays XL"); + assert_eq!(list[g].dominant, "XLD", "{g}: females can show signs"); + } + assert_eq!(list["OTC"].dominant, "."); + let t = Dir::new("xld"); + let a = plain(&[ + hit("MECP2", "GT", "0/1", "Rett_syndrome"), + hit("GLA", "GT", "0/1", ""), + ]); + let b = plain(&[hit("PCDH19", "GT", "1", ""), hit("OTC", "GT", "1", "")]); + let (rows, _) = screen(&t, "x", &a, &b, true); + let mecp2 = cell(&rows, "MECP2", "explanation"); + assert!( + mecp2.contains("a daughter or a son who inherits it can be affected") + && !mecp2.contains("carrier"), + "{mecp2}" + ); + assert_eq!(cell(&rows, "MECP2", "inheritance"), "XLD"); + assert_eq!( + cell(&rows, "MECP2", "offspring_risk"), + "A: each child 1 in 2, can be affected" + ); + let pcdh19 = cell(&rows, "PCDH19", "explanation"); + assert!( + pcdh19.contains("Every daughter inherits it and can be affected") + && !pcdh19.contains("carrier"), + "{pcdh19}" + ); + let gla = cell(&rows, "GLA", "explanation"); + assert!( + gla.contains("females can show signs") && gla.contains("carrier"), + "{gla}" + ); + assert_eq!(cell(&rows, "GLA", "inheritance"), "XL"); + // Control: a recessive X-linked gene with no dominant disorder. + let otc = cell(&rows, "OTC", "explanation"); + assert!( + otc.contains("Every daughter inherits it and is a carrier") && !otc.contains("show signs"), + "{otc}" + ); + assert_eq!(cell(&rows, "OTC", "result"), "x_linked"); +} + +#[test] +fn without_a_par_file_a_male_call_in_par1_is_one_copy_and_outside_hemizygous() { + let list = genes(&repo("assets/carrier_genes.tsv")); + let par = og_pedigree::Par::read(Some(&repo("assets/par_grch38.bed"))).unwrap(); + let in_par = |g: &str| par.contains(&list[g].chrom, (list[g].start + list[g].end) / 2); + assert!(in_par("CSF2RA") && !in_par("DMD")); + let t = Dir::new("par"); + let a = plain(&[hit("CSF2RA", "GT", "0/1", "")]); + let b = plain(&[hit("CSF2RA", "GT", "0/1", ""), hit("DMD", "GT", "0/1", "")]); + for with_file in [false, true] { + let (rows, _) = screen( + &t, + if with_file { "file" } else { "none" }, + &a, + &b, + with_file, + ); + assert_eq!( + cell(&rows, "CSF2RA", "offspring_risk"), + "1 in 4 per pregnancy", + "PAR file given: {with_file}" + ); + assert!(cell(&rows, "CSF2RA", "findings_b").contains(" het, ")); + assert!(cell(&rows, "DMD", "findings_b").contains(" hemizygous, ")); + assert_eq!( + cell(&rows, "DMD", "offspring_risk"), + "B: daughters carriers" + ); + } +} + +#[test] +fn a_haploid_call_on_an_autosome_is_one_copy() { + let t = Dir::new("haploid"); + let a = plain(&[hit("CFTR", "GT", "0/1", "")]); + let (rows, _) = screen(&t, "one", &a, &plain(&[hit("CFTR", "GT", "1", "")]), true); + assert_eq!( + cell(&rows, "CFTR", "offspring_risk"), + "1 in 4 per pregnancy" + ); + let fb = cell(&rows, "CFTR", "findings_b"); + assert!( + fb.contains("one copy, a haploid call (1)") && !fb.contains(" hom"), + "{fb}" + ); + // Control: two copies are still two. + let (rows, _) = screen(&t, "two", &a, &plain(&[hit("CFTR", "GT", "1/1", "")]), true); + assert_eq!( + cell(&rows, "CFTR", "offspring_risk"), + "1 in 2 per pregnancy" + ); +} + +#[test] +fn a_call_below_the_floor_is_marked_low_confidence_and_still_counts() { + let t = Dir::new("low"); + let weak = format!( + "{FORMAT_HEAD}{COLUMNS}{}", + hit("CFTR", "GT:GQ:DP", "0/1:1:1", "") + ); + let strong = format!( + "{FORMAT_HEAD}{COLUMNS}{}", + hit("CFTR", "GT:GQ:DP", "0/1:99:40", "") + ); + let (rows, md) = screen(&t, "low", &weak, &strong, true); + assert_eq!(cell(&rows, "CFTR", "result"), "shared", "it still counts"); + assert!( + cell(&rows, "CFTR", "findings_a") + .ends_with(", low-confidence call (GQ 1, DP 1): check the reads") + ); + assert!(!cell(&rows, "CFTR", "findings_b").contains("low-confidence")); + let why = cell(&rows, "CFTR", "explanation"); + assert!( + why.contains("The finding of A rests on a low-confidence call"), + "{why}" + ); + assert!(md.contains("| A | 1 / 1 (1 low-confidence) |"), "{md}"); + // Control: the run's own floor (the file's ##PGP_CALL_FLOOR line) of 0 marks nothing. + let floor0 = format!( + "{FORMAT_HEAD}##PGP_CALL_FLOOR=GQ=0,DP=0\n{COLUMNS}{}", + hit("CFTR", "GT:GQ:DP", "0/1:1:1", "") + ); + let (rows, _) = screen(&t, "floor0", &floor0, &strong, true); + assert!(!cell(&rows, "CFTR", "findings_a").contains("low-confidence")); + assert!(!cell(&rows, "CFTR", "explanation").contains("low-confidence")); +} + +#[test] +fn genes_keeps_x_linked_dominant_only_where_the_main_disorder_is() { + let t = Dir::new("genes-xld"); + let par = repo("assets/par_grch38.bed"); + let gtf = t.put( + "g.gtf", + &[ + ("DOMX", "chrX", 5000000, 5000100), + ("MIXX", "chrX", 6000000, 6000100), + ("MECP2", "chrX", 7000000, 7000100), + ("RECX", "chrX", 8000000, 8000100), + ("AUT1", "chr3", 10, 20), + ] + .iter() + .map(|(g, c, s, e)| { + format!("{c}\tHAVANA\tgene\t{s}\t{e}\t.\t+\t.\tgene_id \"X\"; gene_name \"{g}\";\n") + }) + .collect::(), + ); + let modes = [ + ("1", "X-linked dominant"), + ("2", "X-linked recessive"), + ("3", "Autosomal recessive"), + ]; + let p9 = t.put( + "p9.xml", + &format!( + "{}", + modes + .iter() + .map(|(c, m)| format!( + "{c}{m}\ + " + )) + .collect::() + ), + ); + let dis = |code: &str, name: &str, sym: &str| { + format!( + "{code}{name}\ + {sym}\ + Disease-causing germline mutation(s) in\ + Assessed\ + " + ) + }; + let p6 = t.put( + "p6.xml", + &format!( + "{}", + [ + dis("1", "Dominant only", "DOMX"), + dis("1", "Z dominant", "MIXX"), + dis("2", "A recessive", "MIXX"), + dis("1", "Z rett", "MECP2"), + dis("2", "A recessive mecp2", "MECP2"), + dis("2", "Recessive only", "RECX"), + dis("3", "Autosomal one", "AUT1"), + ] + .concat() + ), + ); + let seed = t.put( + "seed.tsv", + "gene\tchrom\tstart\tend\tinheritance\tlists\tcondition\tseverity\tdominant\n\ + AUT1\t.\t0\t0\tAR\tOrphanet\tx\t.\tAD\n", + ); + let new = t.path("new.tsv"); + let (rc, log) = og( + "genes", + &[ + "--table", + &seed, + "--orphanet-genes", + &p6, + "--orphanet-inheritance", + &p9, + "--gtf", + >f, + "--par-bed", + &par, + "--out", + &new, + ], + ); + assert_eq!(rc, 0, "{log}"); + let g = genes(&new); + let row = |n: &str| { + ( + g[n].inheritance.as_str(), + g[n].dominant.as_str(), + g[n].condition.as_str(), + ) + }; + assert_eq!(row("DOMX"), ("XLD", ".", "Dominant only")); + assert_eq!( + row("MIXX"), + ("XL", "XLD", "A recessive; and 1 other"), + "mixed: XL, females can show signs" + ); + assert_eq!( + row("MECP2"), + ("XLD", ".", "Z rett; and 1 other"), + "a named mixed gene is XLD, named by its dominant disorder" + ); + assert_eq!(row("RECX"), ("XL", ".", "Recessive only")); + assert_eq!( + row("AUT1"), + ("AR", "AD", "Autosomal one"), + "the AD mark is kept" + ); + assert!(read(&new).contains("\tseverity\tdominant\n")); +} diff --git a/tests/parity/golden/couple-genes/bad-header/stderr b/tests/parity/golden/couple-genes/bad-header/stderr new file mode 100644 index 000000000..e029ad3f3 --- /dev/null +++ b/tests/parity/golden/couple-genes/bad-header/stderr @@ -0,0 +1 @@ +ERROR: bad_header.tsv: the header must be gene chrom start end inheritance lists condition, optionally followed by severity and dominant diff --git a/tests/parity/golden/couple-genes/rebuild/new.tsv b/tests/parity/golden/couple-genes/rebuild/new.tsv index ebb3eb3f2..c9802664c 100644 --- a/tests/parity/golden/couple-genes/rebuild/new.tsv +++ b/tests/parity/golden/couple-genes/rebuild/new.tsv @@ -1,7 +1,9 @@ # carrier_genes.tsv: the genes of the couple carrier screen (step 39, og couple screen). # One row per gene. chrom, start and end: the gene's GRCh38 span (1-based, inclusive) from the # gene lines of GENCODE release 99 (basic annotation). inheritance: AR (autosomal, or in a -# pseudoautosomal region) or XL (chrX outside the PARs). lists: where the gene comes from: +# pseudoautosomal region), XL (chrX outside the PARs) or XLD (X-linked with a dominant main +# disorder: every X-linked disorder Orphanet gives the gene is dominant, or the gene is CDKL5, +# IKBKG, MECP2 or OFD1). lists: where the gene comes from: # ACMG Gregg et al., Genet Med 2021;23(10):1793-1806 (doi:10.1038/s41436-021-01203-z), # tier 3: the 97 autosomal recessive genes of its tables 1 to 5 and the 16 X-linked # genes of table 6; condition names from those tables @@ -10,18 +12,23 @@ # Orphanet every other gene of an Orphanet disorder with autosomal recessive or X-linked # inheritance (Orphadata en_product6 and en_product9_ages of 2026-01-02, CC BY 4.0, # https://www.orphadata.com), with a disease-causing germline association that -# Orphanet assessed; condition: the first such disorder by name +# Orphanet assessed; condition: the first such disorder by name (for XLD, the first +# X-linked dominant one) # severity: alleles of the gene that are not a full loss of function, separated by ";": each is # hypomorph or pseudodeficiency, then chrom:pos:ref:alt (GRCh38), then a name; "." for none. Such # an allele never makes a carrier finding on its own (the couple screen, step 39, and the # carrier list of the sample report). With a called deletion of the gene it is a second hit (the # two-hit lines of the sample report, og summary collect). In the couple screen a # hypomorph beside a full loss of function in the other partner's same gene is a shared gene. +# dominant: a dominant condition of the gene besides the one it is listed for. AD or SD: the +# gene's condition on the ACMG secondary findings list (assets/acmg_sf.tsv) is autosomal +# dominant or semidominant, written by hand; XLD: an XL gene with an Orphanet X-linked dominant +# disorder, so females who carry a change can show signs; "." for none. # Rebuilt with: og couple genes (docs/39-couple.md says how). -gene chrom start end inheritance lists condition severity -TWO1 chr1 70 80 AR Orphanet Two places . -AAA1 chr3 10 20 AR Orphanet Recessive & two; and 1 other pseudodeficiency chr3:15:C:T p.Y -C9orf72 chr9 1 2 AR Orphanet Upper case orf . -NAGA chr22 100 900 AR ACMG Schindler disease hypomorph chr22:500:A:G p.X -PARG1 chrX 20000 30000 AR Orphanet Pseudo . -XXL1 chrX 5000000 5000100 XL Orphanet X dominant; and 1 other . +gene chrom start end inheritance lists condition severity dominant +TWO1 chr1 70 80 AR Orphanet Two places . . +AAA1 chr3 10 20 AR Orphanet Recessive & two; and 1 other pseudodeficiency chr3:15:C:T p.Y . +C9orf72 chr9 1 2 AR Orphanet Upper case orf . . +NAGA chr22 100 900 AR ACMG Schindler disease hypomorph chr22:500:A:G p.X . +PARG1 chrX 20000 30000 AR Orphanet Pseudo . . +XXL1 chrX 5000000 5000100 XL Orphanet X dominant; and 1 other . XLD diff --git a/tests/parity/golden/couple-screen/par-and-haploid/out/A_couple_carrier.tsv b/tests/parity/golden/couple-screen/par-and-haploid/out/A_couple_carrier.tsv new file mode 100644 index 000000000..5f835354c --- /dev/null +++ b/tests/parity/golden/couple-screen/par-and-haploid/out/A_couple_carrier.tsv @@ -0,0 +1,3 @@ +gene inheritance lists condition result offspring_risk partner_a findings_a partner_b findings_b explanation +CFTR AR ACMG,ACOG Cystic fibrosis shared 1 in 4 per pregnancy A chr7:117501545 A>G one copy, a haploid call (1), Pathogenic, 2 stars, ClinVar 90000 B chr7:117501545 A>G one copy, a haploid call (1), Pathogenic, 2 stars, ClinVar 90000 Both partners carry a change in CFTR, linked to Cystic fibrosis (autosomal recessive). A child who inherits the change of each parent can have the condition: 1 in 4 per pregnancy. +SHOX AR Orphanet Langer mesomelic dysplasia shared 1 in 4 per pregnancy A chrX:641877 A>G het, Pathogenic, 2 stars, ClinVar 90000 B chrX:641877 A>G het, Pathogenic, 2 stars, ClinVar 90000 Both partners carry a change in SHOX, linked to Langer mesomelic dysplasia (autosomal recessive). A child who inherits the change of each parent can have the condition: 1 in 4 per pregnancy. diff --git a/tests/parity/golden/couple-screen/par-and-haploid/out/B_couple_carrier.tsv b/tests/parity/golden/couple-screen/par-and-haploid/out/B_couple_carrier.tsv new file mode 100644 index 000000000..5f835354c --- /dev/null +++ b/tests/parity/golden/couple-screen/par-and-haploid/out/B_couple_carrier.tsv @@ -0,0 +1,3 @@ +gene inheritance lists condition result offspring_risk partner_a findings_a partner_b findings_b explanation +CFTR AR ACMG,ACOG Cystic fibrosis shared 1 in 4 per pregnancy A chr7:117501545 A>G one copy, a haploid call (1), Pathogenic, 2 stars, ClinVar 90000 B chr7:117501545 A>G one copy, a haploid call (1), Pathogenic, 2 stars, ClinVar 90000 Both partners carry a change in CFTR, linked to Cystic fibrosis (autosomal recessive). A child who inherits the change of each parent can have the condition: 1 in 4 per pregnancy. +SHOX AR Orphanet Langer mesomelic dysplasia shared 1 in 4 per pregnancy A chrX:641877 A>G het, Pathogenic, 2 stars, ClinVar 90000 B chrX:641877 A>G het, Pathogenic, 2 stars, ClinVar 90000 Both partners carry a change in SHOX, linked to Langer mesomelic dysplasia (autosomal recessive). A child who inherits the change of each parent can have the condition: 1 in 4 per pregnancy. diff --git a/tests/parity/golden/couple-screen/par-and-haploid/out/couple_A_B.md b/tests/parity/golden/couple-screen/par-and-haploid/out/couple_A_B.md new file mode 100644 index 000000000..1e5ed6762 --- /dev/null +++ b/tests/parity/golden/couple-screen/par-and-haploid/out/couple_A_B.md @@ -0,0 +1,55 @@ +# Couple carrier screen: A and B + +A (female) and B (male), partners in the pedigree. The screen covers 3292 genes of autosomal recessive and X-linked conditions (assets/carrier_genes.tsv: the ACMG and ACOG carrier screening genes and the recessive and X-linked genes of Orphanet). + +This is a screen, not a diagnosis, and not medical advice. Before acting on a result, or on its absence, see a genetic counsellor: a clinical carrier test confirms a finding, and the counsellor can say what a negative screen leaves out for your ancestry. + +## Shared risk: both partners carry a change in the same gene + +- **CFTR** (Cystic fibrosis; ACMG,ACOG): 1 in 4 per pregnancy + - A: chr7:117501545 A>G one copy, a haploid call (1), Pathogenic, 2 stars, ClinVar 90000 + - B: chr7:117501545 A>G one copy, a haploid call (1), Pathogenic, 2 stars, ClinVar 90000 + - Both partners carry a change in CFTR, linked to Cystic fibrosis (autosomal recessive). A child who inherits the change of each parent can have the condition: 1 in 4 per pregnancy. +- **SHOX** (Langer mesomelic dysplasia; Orphanet): 1 in 4 per pregnancy + - A: chrX:641877 A>G het, Pathogenic, 2 stars, ClinVar 90000 + - B: chrX:641877 A>G het, Pathogenic, 2 stars, ClinVar 90000 + - Both partners carry a change in SHOX, linked to Langer mesomelic dysplasia (autosomal recessive). A child who inherits the change of each parent can have the condition: 1 in 4 per pregnancy. + +## X-linked findings + +No change in an X-linked gene of the list. + +## Genes where only one partner carries a change + +None. + +## What was assessed + +| Partner | ClinVar hits (in listed genes / all) | Deletions | SMN1 | FMR1 and FXN repeats | +|---|---|---|---|---| +| A | 2 / 2 | not assessed (no Delly calls, step 19) | not assessed (no Parascopy, step 35) | not assessed (no ExpansionHunter, step 09) | +| B | 2 / 2 | not assessed (no Delly calls, step 19) | not assessed (no Parascopy, step 35) | not assessed (no ExpansionHunter, step 09) | + +Deletions shorter than 50 bp are left to the small-variant caller. Common deletions: not filtered, no benign SV set was given (AnnotSV's annotations, step 05): a deletion many people carry can show as a finding. + +## What this screen does not see + +- Deletions of A: no Delly calls (step 19). +- SMN1 copy number of A: no Parascopy (step 35). +- CYP21A2 deletion and conversions of A: step 35's CYP21A2 table was not passed to the couple screen (--cyp21a2). +- FMR1 and FXN repeats of A: no ExpansionHunter (step 09). +- Deletions of B: no Delly calls (step 19). +- SMN1 copy number of B: no Parascopy (step 35). +- CYP21A2 deletion and conversions of B: step 35's CYP21A2 table was not passed to the couple screen (--cyp21a2). +- FMR1 and FXN repeats of B: no ExpansionHunter (step 09). +- Changes ClinVar does not list as pathogenic or likely pathogenic: a new loss-of-function change, or one of uncertain significance, is not counted. +- Genes outside the carrier list (assets/carrier_genes.tsv). +- SMN1 silent carriers: two copies on one chromosome and none on the other read as two copies. +- Changes in genes with a near-identical copy (HBA1 and HBA2, CYP21A2, GBA1, SMN1): short reads place them poorly, and a gene conversion is not seen. A deletion there counts only when Delly calls it; for CYP21A2, step 35's table (--cyp21a2) adds the 30 kb chimeric deletion and conversions at six of its pseudogene variant sites, nothing else. +- Repeat expansions other than FMR1 and FXN, and the exact size of a long FMR1 or FXN allele: short reads do not span it. +- Deletions Delly does not call, deletions longer than 1000 bp that read depth (Delly's RDCN) does not confirm, duplications, inversions and insertions. +- Delly deletions shorter than 50 bp: they count only when the small-variant caller also calls them and ClinVar lists them, so one it misses is missed here. +- With AnnotSV's benign set, a deletion that matches a common one there (1% or more, 50% reciprocal overlap) is not counted: a rare pathogenic deletion at the same place as a common one is missed. +- Low-level mosaicism, and whether two changes of one person in one gene sit on the same copy. + +A screen that finds no shared gene lowers the chance of a child with one of these conditions; it does not remove it. diff --git a/tests/parity/golden/couple-screen/par-and-haploid/out/couple_A_B.tsv b/tests/parity/golden/couple-screen/par-and-haploid/out/couple_A_B.tsv new file mode 100644 index 000000000..5f835354c --- /dev/null +++ b/tests/parity/golden/couple-screen/par-and-haploid/out/couple_A_B.tsv @@ -0,0 +1,3 @@ +gene inheritance lists condition result offspring_risk partner_a findings_a partner_b findings_b explanation +CFTR AR ACMG,ACOG Cystic fibrosis shared 1 in 4 per pregnancy A chr7:117501545 A>G one copy, a haploid call (1), Pathogenic, 2 stars, ClinVar 90000 B chr7:117501545 A>G one copy, a haploid call (1), Pathogenic, 2 stars, ClinVar 90000 Both partners carry a change in CFTR, linked to Cystic fibrosis (autosomal recessive). A child who inherits the change of each parent can have the condition: 1 in 4 per pregnancy. +SHOX AR Orphanet Langer mesomelic dysplasia shared 1 in 4 per pregnancy A chrX:641877 A>G het, Pathogenic, 2 stars, ClinVar 90000 B chrX:641877 A>G het, Pathogenic, 2 stars, ClinVar 90000 Both partners carry a change in SHOX, linked to Langer mesomelic dysplasia (autosomal recessive). A child who inherits the change of each parent can have the condition: 1 in 4 per pregnancy. diff --git a/tests/parity/golden/couple-screen/par-and-haploid/stdout b/tests/parity/golden/couple-screen/par-and-haploid/stdout new file mode 100644 index 000000000..b61a994b2 --- /dev/null +++ b/tests/parity/golden/couple-screen/par-and-haploid/stdout @@ -0,0 +1,3 @@ +A and B: 2 shared genes, 0 X-linked, 0 with one partner only (out/couple_A_B.tsv) + shared: CFTR (Cystic fibrosis): 1 in 4 per pregnancy + shared: SHOX (Langer mesomelic dysplasia): 1 in 4 per pregnancy From c206e1379d43dbaad58fbd2e0ba6a241cc731fec Mon Sep 17 00:00:00 2001 From: GeiserX <9169332+GeiserX@users.noreply.github.com> Date: Sun, 15 Nov 2026 20:53:02 +0100 Subject: [PATCH 3/5] fix(couple): a partner with both copies of a dominant gene passes it to every child --- CHANGELOG.md | 2 +- docs/39-couple.md | 4 +- rust/crates/og-couple/src/prose.rs | 43 +++++++++++++------ .../tests/inheritance_and_confidence.rs | 21 +++++++++ 4 files changed, 55 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4a319c3f..a0a7ef6f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ Each release's notes. From 1.0.0 on, a major or minor release has hand-written n ## Unreleased - The couple carrier screen (step 39) now says when a change can affect a child, not only make a carrier, and when a call is weak. Before, it told the carrier of a BRCA1, MLH1 or LDLR change that a child "can be a carrier, not affected", gave a MECP2 or PCDH19 change the recessive "daughters are carriers" wording, read a male's call in PAR1 as hemizygous when no PAR file was given, read a haploid autosome call as homozygous, and counted a GQ 1, DP 1 call like any other. Now: - - `assets/carrier_genes.tsv` gets a `dominant` column: `AD` or `SD` on the 43 genes the ACMG secondary findings list gives as dominant, and `XLD` on the 28 X-linked genes that also have an X-linked dominant disorder (GLA, PLP1, FMR1 and GJB1 among them). A one-partner row in an `AD` or `SD` gene reads that a child who inherits the change can be affected, 1 in 2 per child; its `offspring_risk` is `each child 1 in 2, dominant` instead of `none shared`. An `XLD`-marked gene keeps the X-linked recessive wording and adds that females can show signs. + - `assets/carrier_genes.tsv` gets a `dominant` column: `AD` or `SD` on the 43 genes the ACMG secondary findings list gives as dominant, and `XLD` on the 28 X-linked genes that also have an X-linked dominant disorder (GLA, PLP1, FMR1 and GJB1 among them). A one-partner row in an `AD` or `SD` gene reads that a child who inherits the change can be affected, 1 in 2 per child; its `offspring_risk` is `each child 1 in 2, dominant` instead of `none shared`, or `every child, dominant` when that partner carries the change on both copies. An `XLD`-marked gene keeps the X-linked recessive wording and adds that females can show signs. - The `inheritance` column gets the value `XLD` for 28 X-linked genes whose main disorder is dominant: every X-linked disorder Orphanet gives them is dominant, or they are CDKL5, IKBKG, MECP2 or OFD1. Their rows read that a daughter or a son who inherits the change can be affected. `og couple genes` writes both columns. - Without `--par-bed`, `og couple screen` uses GRCh38's pseudoautosomal regions, the rows of `assets/par_grch38.bed`. Both callers pass the file, so a pipeline run does not change. - A haploid call on an autosome (genotype `1`) is one copy: "one copy, a haploid call (1)". Beside a partner's het call it gives 1 in 4, not 1 in 2. diff --git a/docs/39-couple.md b/docs/39-couple.md index 6d1272584..63d287abe 100644 --- a/docs/39-couple.md +++ b/docs/39-couple.md @@ -6,7 +6,7 @@ For two people who both ran the pipeline and are marked as partners in a pedigre - **Shared risk.** Both partners carry a change in the same autosomal recessive gene. A child who inherits both changes can have the condition: 1 in 4 per pregnancy when both are heterozygous, 1 in 2 when one partner is homozygous. - **X-linked findings.** A change on the X chromosome. From a female partner, each son has a 1 in 2 chance of inheriting it and can have the condition, and each daughter a 1 in 2 chance of being a carrier. From a male partner, every daughter is a carrier and no son inherits it. When the gene also has an X-linked dominant disorder (GJB1, GLA, PLP1 and FMR1, for example), the explanation adds that females can show signs. In an X-linked dominant gene (`XLD`: Rett syndrome in MECP2, PCDH19 clustering epilepsy) a daughter or a son who inherits the change can be affected: from a female partner, each child has a 1 in 2 chance; from a male partner, every daughter. -- **One partner only.** A change in a recessive gene that only one partner carries. A child can be a carrier, not affected, unless the other partner carries a change the screen does not see. Some genes of the list also cause a dominant condition: the genes the ACMG secondary findings list (`assets/acmg_sf.tsv`) gives as autosomal dominant or semidominant, such as BRCA1, MLH1 and LDLR. For them the row reads that a child who inherits the change can be affected, 1 in 2 per child, and the partner can be too. +- **One partner only.** A change in a recessive gene that only one partner carries. A child can be a carrier, not affected, unless the other partner carries a change the screen does not see. Some genes of the list also cause a dominant condition: the genes the ACMG secondary findings list (`assets/acmg_sf.tsv`) gives as autosomal dominant or semidominant, such as BRCA1, MLH1 and LDLR. For them the row reads that a child who inherits the change can be affected, 1 in 2 per child, and the partner can be too. A partner who carries the change on both copies passes it to every child (`every child, dominant`). Each finding comes with its ClinVar review stars, the condition ClinVar names for the allele, and a one-line explanation. A residual-risk list names what the screen does not see. Opt-in: it runs only when the pedigree marks two samples as partners. @@ -49,7 +49,7 @@ Only the ClinVar screen is required. Each of the others is used when its file is - marked as ACOG too, the genes of the conditions in ACOG Committee Opinions 690 and 691 (2017): cystic fibrosis, spinal muscular atrophy, the hemoglobinopathies, fragile X and the Ashkenazi Jewish panel. All 20 are also in the ACMG list; - every other gene of an Orphanet disorder with autosomal recessive or X-linked inheritance and a disease-causing germline association Orphanet assessed (Orphadata of 2026-06-23, CC BY 4.0). These rows cover the recessive genes of a ClinVar hit outside the ACMG list. A gene on chrX outside the pseudoautosomal regions is X-linked, every other gene autosomal recessive. -An X-linked gene is `XLD` (X-linked dominant) only when its main disorder is dominant: every X-linked disorder Orphanet gives the gene is dominant (28 genes, PCDH19 among them), or the gene has dominant and recessive disorders and the main one is dominant, which the list names: CDKL5, IKBKG, MECP2 and OFD1. Every other X-linked gene is `XL`. The hand-written ACMG rows keep `XL`. +An X-linked gene is `XLD` (X-linked dominant) only when its main disorder is dominant: every X-linked disorder Orphanet gives the gene is dominant (PCDH19, for example), or the gene has dominant and recessive disorders and the main one is dominant, which the list names: CDKL5, IKBKG, MECP2 and OFD1. That makes 28 `XLD` genes in all, these four among them. Every other X-linked gene is `XL`. The hand-written ACMG rows keep `XL`. The `dominant` column marks a dominant condition of the gene besides the one it is listed for. `AD` or `SD`: the ACMG secondary findings list gives the gene as autosomal dominant or semidominant (43 genes, written by hand and checked against `assets/acmg_sf.tsv` by a test). `XLD` on an `XL` gene: one of its Orphanet disorders is X-linked dominant, so females who carry a change can show signs (28 genes, GLA, PLP1, FMR1 and GJB1 among them). `.` for none. diff --git a/rust/crates/og-couple/src/prose.rs b/rust/crates/og-couple/src/prose.rs index dbd513e51..10a3f8fb3 100644 --- a/rust/crates/og-couple/src/prose.rs +++ b/rust/crates/og-couple/src/prose.rs @@ -321,18 +321,37 @@ pub fn screen_couple( } (o, r, w) } else if g.dominant == Dominant::Autosomal { - let (who, other) = if fa.is_empty() { (b, a) } else { (a, b) }; - ( - Outcome::OnePartner, - "each child 1 in 2, dominant".to_owned(), - format!( - "Only {who} carries a change in {name}. {name} also causes a dominant condition (it is on the \ - ACMG secondary findings list): a child who inherits it can be affected, 1 in 2 per child, and \ - {who} can be too. For {} (autosomal recessive), a child can be a carrier like {who}, unless \ - {other} carries a change this screen does not see.", - g.condition - ), - ) + let (who, other, f) = if fa.is_empty() { + (b, a, &fb) + } else { + (a, b, &fa) + }; + if two_copies(f) { + // Both copies changed: every child inherits one of them. + ( + Outcome::OnePartner, + "every child, dominant".to_owned(), + format!( + "Only {who} carries a change in {name}, on both copies. {name} also causes a dominant \ + condition (it is on the ACMG secondary findings list): every child inherits it and can be \ + affected, and {who} can be too. For {} (autosomal recessive), a child can also have the \ + condition if {other} carries a change this screen does not see.", + g.condition + ), + ) + } else { + ( + Outcome::OnePartner, + "each child 1 in 2, dominant".to_owned(), + format!( + "Only {who} carries a change in {name}. {name} also causes a dominant condition (it is on \ + the ACMG secondary findings list): a child who inherits it can be affected, 1 in 2 per \ + child, and {who} can be too. For {} (autosomal recessive), a child can be a carrier like \ + {who}, unless {other} carries a change this screen does not see.", + g.condition + ), + ) + } } else { let (who, other) = if fa.is_empty() { (b, a) } else { (a, b) }; ( diff --git a/rust/crates/og-couple/tests/inheritance_and_confidence.rs b/rust/crates/og-couple/tests/inheritance_and_confidence.rs index e59804592..66c0fe421 100644 --- a/rust/crates/og-couple/tests/inheritance_and_confidence.rs +++ b/rust/crates/og-couple/tests/inheritance_and_confidence.rs @@ -126,6 +126,27 @@ fn a_gene_with_a_dominant_condition_reads_that_a_child_can_be_affected() { ); } +#[test] +fn a_partner_with_both_copies_of_a_dominant_gene_passes_it_to_every_child() { + let t = Dir::new("dominant-hom"); + let a = plain(&[hit("LDLR", "GT", "1/1", "")]); + let b = plain(&[]); + let (rows, md) = screen(&t, "h", &a, &b, true); + let why = cell(&rows, "LDLR", "explanation"); + assert_eq!(cell(&rows, "LDLR", "result"), "one_partner"); + assert_eq!( + cell(&rows, "LDLR", "offspring_risk"), + "every child, dominant" + ); + assert!( + why.contains("every child inherits it and can be affected") + && !why.contains("1 in 2") + && !why.contains("a carrier like"), + "{why}" + ); + assert!(md.contains(why), "the report says it too"); +} + #[test] fn the_list_marks_the_dominant_genes_of_the_acmg_secondary_findings() { let list = genes(&repo("assets/carrier_genes.tsv")); From b72696c1594dfaa070e8468a33a952ebe262cb93 Mon Sep 17 00:00:00 2001 From: GeiserX <9169332+GeiserX@users.noreply.github.com> Date: Sun, 15 Nov 2026 21:46:55 +0100 Subject: [PATCH 4/5] ci(personal-data): skip the invented ExpansionHunter inputs of the couple parity cases --- scripts/ci/check-personal-data.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ci/check-personal-data.sh b/scripts/ci/check-personal-data.sh index 4ed26da74..8d3a8642c 100755 --- a/scripts/ci/check-personal-data.sh +++ b/scripts/ci/check-personal-data.sh @@ -163,6 +163,7 @@ tests/fixtures/* public or invented test data; each fixture direc tests/smoke/*.vcf.in invented tool inputs for the image smoke tests tests/parity/inputs/pgx-refblock-fill/* built from the public PharmCAT data of tests/fixtures/pharmcat tests/parity/golden/pgx-refblock-fill/* the output og writes on those inputs +tests/parity/inputs/couple-screen/*_eh*.vcf invented ExpansionHunter calls for the couple screen parity cases ' # scan [FILE...]: og dev scan personal-data (rust/crates/og-dev) with the From eb449b884bddd775ff6456d5560aaf0e6bc89d2a Mon Sep 17 00:00:00 2001 From: GeiserX <9169332+GeiserX@users.noreply.github.com> Date: Sun, 15 Nov 2026 23:02:10 +0100 Subject: [PATCH 5/5] fix(couple): give the daughters' risk, keep haploid PAR calls one copy, refuse clashing names and cut-off XML --- CHANGELOG.md | 7 +- docs/39-couple.md | 12 ++- rust/crates/og-couple/src/findings.rs | 25 +++-- rust/crates/og-couple/src/prose.rs | 90 ++++++++++++++---- rust/crates/og-couple/src/screen.rs | 11 +++ rust/crates/og-couple/src/xml.rs | 48 +++++++++- .../tests/inheritance_and_confidence.rs | 94 +++++++++++++++++++ 7 files changed, 249 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a0a7ef6f4..6dbf714bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,15 +5,16 @@ Each release's notes. From 1.0.0 on, a major or minor release has hand-written n ## Unreleased - The couple carrier screen (step 39) now says when a change can affect a child, not only make a carrier, and when a call is weak. Before, it told the carrier of a BRCA1, MLH1 or LDLR change that a child "can be a carrier, not affected", gave a MECP2 or PCDH19 change the recessive "daughters are carriers" wording, read a male's call in PAR1 as hemizygous when no PAR file was given, read a haploid autosome call as homozygous, and counted a GQ 1, DP 1 call like any other. Now: - - `assets/carrier_genes.tsv` gets a `dominant` column: `AD` or `SD` on the 43 genes the ACMG secondary findings list gives as dominant, and `XLD` on the 28 X-linked genes that also have an X-linked dominant disorder (GLA, PLP1, FMR1 and GJB1 among them). A one-partner row in an `AD` or `SD` gene reads that a child who inherits the change can be affected, 1 in 2 per child; its `offspring_risk` is `each child 1 in 2, dominant` instead of `none shared`, or `every child, dominant` when that partner carries the change on both copies. An `XLD`-marked gene keeps the X-linked recessive wording and adds that females can show signs. + - `assets/carrier_genes.tsv` gets a `dominant` column: `AD` or `SD` on the 43 genes the ACMG secondary findings list gives as dominant, and `XLD` on the 28 X-linked genes that also have an X-linked dominant disorder (GLA, PLP1, FMR1 and GJB1 among them). A one-partner row in an `AD` or `SD` gene reads that a child who inherits the change can be affected, 1 in 2 per child; its `offspring_risk` is `each child 1 in 2, dominant` instead of `none shared`, or `every child, dominant` when that partner carries the change on both copies. Two heterozygous changes in one partner add a note that every child inherits one when they sit on different copies. When a female and a male partner both carry a change in one X-linked recessive gene, `offspring_risk` adds `daughters 1 in 2, can be affected`. An `XLD`-marked gene keeps the X-linked recessive wording and adds that females can show signs. - The `inheritance` column gets the value `XLD` for 28 X-linked genes whose main disorder is dominant: every X-linked disorder Orphanet gives them is dominant, or they are CDKL5, IKBKG, MECP2 or OFD1. Their rows read that a daughter or a son who inherits the change can be affected. `og couple genes` writes both columns. - Without `--par-bed`, `og couple screen` uses GRCh38's pseudoautosomal regions, the rows of `assets/par_grch38.bed`. Both callers pass the file, so a pipeline run does not change. - - A haploid call on an autosome (genotype `1`) is one copy: "one copy, a haploid call (1)". Beside a partner's het call it gives 1 in 4, not 1 in 2. + - A haploid call on an autosome or in a pseudoautosomal region (genotype `1`) is one copy: "one copy, a haploid call (1)". Beside a partner's het call it gives 1 in 4, not 1 in 2. - A ClinVar call below step 06's floor (GQ 30 and DP 10, or the hits file's `##PGP_CALL_FLOOR` line) is marked "low-confidence call (GQ .., DP ..): check the reads". It still counts, and its row says to confirm it before reading the chance; the report's table counts these calls. - Each ClinVar finding ends with the condition ClinVar names for the allele (`CLNDN`, without "not provided"). No column is renamed or removed. Part of #411. - Step 39's couple carrier screen now runs in the Rust `og` binary: `og couple screen` in `scripts/39-couple.sh` and the Nextflow `COUPLE_CARRIER` process, and `og couple genes` to rebuild `assets/carrier_genes.tsv`. They replace `bin/couple_report.py`, which is gone, with the two modules only it still used, `bin/cnvpytor_to_vcf.py` and `bin/paraphase_report.py`. Their tests (`tests/test_couple_report.py`, `test_paraphase_report.py` and `test_paralog_loci.py`) are now cargo tests in og-couple and og-steps. The outputs are the same, byte for byte, on the 37 parity cases, except for the two changes below. No option, output file or column changes. On a synthetic couple with 200,000 ClinVar hits and 100,000 Delly deletions each, the screen takes 3.0-3.5 s and 206 MB, where the Python took 25.5-28.8 s and 327-329 MB. Rebuilding the carrier list takes 6.5 s and 40 MB instead of 8.7 s and 320 MB. What changes on purpose: - - The screen reads and computes every couple before it writes a file. The Python wrote each couple's files as it went, so an error on the second couple left the first couple's files new and the second's old or missing. Now an error stops the step with nothing written. + - The screen reads and computes every couple before it writes a file. The Python wrote each couple's files as it went, so an error on the second couple left the first couple's files new and the second's old or missing. Now an error stops the step with nothing written. Two couples whose file names would be the same (sample ids with `_`, as A with B_C and A_B with C) stop it the same way, where the Python let the second couple overwrite the first's files. + - `og couple genes` refuses an Orphadata file with no root element or one cut off before its root closes. The Python's XML parser refused it too. - The header lines of `assets/carrier_genes.tsv` name `og couple screen`, `og summary collect` and `og couple genes` where they named the Python files. The gene rows do not change. - The reports now get summary.json from the Rust `og` binary. Step 24, the Nextflow HTML_REPORT process and `generate-report.sh` collect it with `og summary collect` (through `bin/render_report.py`), and a run collects each sample once: `generate-report.sh` renders the text report from the summary.json step 24 wrote, and collects again when a file it reads is newer than that summary.json, or a file was added to or removed from a step folder since, or a file a section names as its source, the run status or a table in `bin/` or `assets/` is gone. When it renders from step 24's summary.json, the text report's generated time is step 24's, the same as the HTML report's; it was the minute of its own collect. When it collects again, the text report carries the new collect's values and time, and the HTML report keeps step 24's until step 24 runs again, as before. The deliberate fixes the `og summary collect` entries below list now reach the reports; apart from them, nothing in summary.json or either report changes. `bin/collect_summary.py` keeps only what the report renderer (`bin/render_report.py`), the couple report, the results index and the live view import from it. The Python modules that only the old collector imported are gone: `bin/pgx_outside_calls.py`, `ancestry_fine_report.py`, `clip_check.py`, `annotsv_postfilter.py`, `chip_report.py`, `traits_report.py`, `run_delta.py` and `genotype_rules_indels.py`. On the synthetic demo sample (4.7 million VCF records) the collect takes 1.1 s of CPU and 12-15 MB, where the Python took 7.8-8.0 s and 34-37 MB. What changes on purpose: - The walk of the sample folder leaves out `/nextflow`. `run-all.sh` launches Nextflow there, and its `work/` holds every task's files and staged links. No section reads a file there. With 200,000 files under it, the collect took 67 MB walked and 14 MB skipped. diff --git a/docs/39-couple.md b/docs/39-couple.md index 63d287abe..0457ca67e 100644 --- a/docs/39-couple.md +++ b/docs/39-couple.md @@ -5,8 +5,8 @@ For two people who both ran the pipeline and are marked as partners in a pedigree, the step lists the recessive and X-linked genes where they carry a change, and says what that means for their children: - **Shared risk.** Both partners carry a change in the same autosomal recessive gene. A child who inherits both changes can have the condition: 1 in 4 per pregnancy when both are heterozygous, 1 in 2 when one partner is homozygous. -- **X-linked findings.** A change on the X chromosome. From a female partner, each son has a 1 in 2 chance of inheriting it and can have the condition, and each daughter a 1 in 2 chance of being a carrier. From a male partner, every daughter is a carrier and no son inherits it. When the gene also has an X-linked dominant disorder (GJB1, GLA, PLP1 and FMR1, for example), the explanation adds that females can show signs. In an X-linked dominant gene (`XLD`: Rett syndrome in MECP2, PCDH19 clustering epilepsy) a daughter or a son who inherits the change can be affected: from a female partner, each child has a 1 in 2 chance; from a male partner, every daughter. -- **One partner only.** A change in a recessive gene that only one partner carries. A child can be a carrier, not affected, unless the other partner carries a change the screen does not see. Some genes of the list also cause a dominant condition: the genes the ACMG secondary findings list (`assets/acmg_sf.tsv`) gives as autosomal dominant or semidominant, such as BRCA1, MLH1 and LDLR. For them the row reads that a child who inherits the change can be affected, 1 in 2 per child, and the partner can be too. A partner who carries the change on both copies passes it to every child (`every child, dominant`). +- **X-linked findings.** A change on the X chromosome. From a female partner, each son has a 1 in 2 chance of inheriting it and can have the condition, and each daughter a 1 in 2 chance of being a carrier. From a male partner, every daughter is a carrier and no son inherits it. When the gene also has an X-linked dominant disorder (GJB1, GLA, PLP1 and FMR1, for example), the explanation adds that females can show signs. In an X-linked dominant gene (`XLD`: Rett syndrome in MECP2, PCDH19 clustering epilepsy) a daughter or a son who inherits the change can be affected: from a female partner, each child has a 1 in 2 chance; from a male partner, every daughter. When a female and a male partner both carry a change in the same X-linked recessive gene, every daughter gets the father's changed X, so `offspring_risk` adds `daughters 1 in 2, can be affected` (`every daughter can be affected` when the mother carries it on both X chromosomes). +- **One partner only.** A change in a recessive gene that only one partner carries. A child can be a carrier, not affected, unless the other partner carries a change the screen does not see. Some genes of the list also cause a dominant condition: the genes the ACMG secondary findings list (`assets/acmg_sf.tsv`) gives as autosomal dominant or semidominant, such as BRCA1, MLH1 and LDLR. For them the row reads that a child who inherits the change can be affected, 1 in 2 per child, and the partner can be too. A partner who carries the change on both copies passes it to every child (`every child, dominant`). A partner with two heterozygous changes in the gene gets a note that every child inherits one when they sit on different copies. Each finding comes with its ClinVar review stars, the condition ClinVar names for the allele, and a one-line explanation. A residual-risk list names what the screen does not see. Opt-in: it runs only when the pedigree marks two samples as partners. @@ -93,7 +93,9 @@ In the Nextflow pipeline the screen runs inside the family workflow, as the proc A finding reads, for example, `chr22:42070000 A>G het, Pathogenic, 2 stars, ClinVar 12345, Schindler disease` (the last part is ClinVar's condition for the allele, `CLNDN`, without its "not provided") or `deletion chr12:47855001-47858000 (3.0 kb) het, 3 exons of the gene (Delly)`. -A heterozygous call is on one copy, a homozygous one on two. On a male's chrX or chrY outside the pseudoautosomal regions a call is hemizygous. The regions are `assets/par_grch38.bed`, which both callers pass; without `--par-bed`, `og couple screen` uses the same GRCh38 regions, so a male's call in PAR1 (CSF2RA, SHOX) is never read as hemizygous. A haploid call on an autosome (genotype `1`, from a hand-made VCF) reads "one copy, a haploid call (1)" and counts as one copy, never as homozygous. +A heterozygous call is on one copy, a homozygous one on two. On a male's chrX or chrY outside the pseudoautosomal regions a call is hemizygous. The regions are `assets/par_grch38.bed`, which both callers pass; without `--par-bed`, `og couple screen` uses the same GRCh38 regions, so a male's call in PAR1 (CSF2RA, SHOX) is never read as hemizygous. A haploid call on an autosome or in a pseudoautosomal region (genotype `1`, from a hand-made VCF) reads "one copy, a haploid call (1)" and counts as one copy, never as homozygous or hemizygous. + +The file names join the two sample ids with `_`, so ids that contain `_` can give two couples the same name (A with B_C, A_B with C). The screen then stops before it writes anything and asks to rename a sample. ## What the screen does not see @@ -125,8 +127,8 @@ bin/og couple genes --table assets/carrier_genes.tsv \ --gtf gencode.v50.basic.annotation.gtf.gz --par-bed assets/par_grch38.bed --out new_carrier_genes.tsv ``` -with `en_product6.xml` and `en_product9_ages.xml` from https://www.orphadata.com/data/xml/ and the GENCODE GTF of the release in `GENCODE_RELEASE` (`scripts/lib/common.sh`). It stops when a hand-written gene has no GENCODE gene line (give the current HGNC symbol). The header of the new file names the releases. +with `en_product6.xml` and `en_product9_ages.xml` from https://www.orphadata.com/data/xml/ and the GENCODE GTF of the release in `GENCODE_RELEASE` (`scripts/lib/common.sh`). It stops when a hand-written gene has no GENCODE gene line (give the current HGNC symbol), and when an Orphadata file has no root element or ends before its root closes (a cut-off download). The header of the new file names the releases. ## Testing -`cargo test -p og-couple` checks the rules on synthetic step outputs at real coordinates, including a red control with the list emptied; `tests/inheritance_and_confidence.rs` there checks the dominant genes, the `XLD` genes, the built-in PARs, the haploid call, the low-confidence mark and ClinVar's condition; and the parity cases `couple-screen` and `couple-genes` (`tests/parity/cases.tsv`) compare `og couple screen` and `og couple genes` with the Python they replaced. The e2e case `tests/e2e/couple-carrier-1.sh` runs steps 06 and 39 on HG002 and a synthetic partner, with planted ClinVar records and a planted deletion, and compares the Nextflow pipeline's couple table and report with step 39's. `tests/e2e/couple-common-sv-1.sh` runs step 39 with a small benign loss set: a 30 bp deletion and a common one are set aside, a rare one counts, and without the set the common one counts and the report says the filter was off; a stub run of the pipeline stages the set into `COUPLE_CARRIER` when `--annotsv_annotations` holds it, and none when it does not. +`cargo test -p og-couple` checks the rules on synthetic step outputs at real coordinates, including a red control with the list emptied; `tests/inheritance_and_confidence.rs` there checks the dominant genes (one copy, both copies, two changes), the `XLD` genes, the daughters' risk when both partners carry an X-linked change, the built-in PARs, the haploid call, the low-confidence mark, ClinVar's condition and two couples with one file name; and the parity cases `couple-screen` and `couple-genes` (`tests/parity/cases.tsv`) compare `og couple screen` and `og couple genes` with the Python they replaced. The e2e case `tests/e2e/couple-carrier-1.sh` runs steps 06 and 39 on HG002 and a synthetic partner, with planted ClinVar records and a planted deletion, and compares the Nextflow pipeline's couple table and report with step 39's. `tests/e2e/couple-common-sv-1.sh` runs step 39 with a small benign loss set: a 30 bp deletion and a common one are set aside, a rare one counts, and without the set the common one counts and the report says the filter was off; a stub run of the pipeline stages the set into `COUPLE_CARRIER` when `--annotsv_annotations` holds it, and none when it does not. diff --git a/rust/crates/og-couple/src/findings.rs b/rust/crates/og-couple/src/findings.rs index 0bd3dbaac..52dff9889 100644 --- a/rust/crates/og-couple/src/findings.rs +++ b/rust/crates/og-couple/src/findings.rs @@ -120,7 +120,8 @@ fn sex_chrom(chrom: &str) -> bool { /// allele still counts in the ploidy: step 06 splits a GT 1/2 record into /// `./1` halves, and each half is one copy, never hom. A haploid call on an /// autosome (GT `1`) is one copy too: nothing shows that the other copy -/// carries the change. +/// carries the change. So is a haploid call in a PAR, where a male has two +/// copies as on an autosome. pub fn zygosity(gt: &str, chrom: &str, sex: Option<&str>, in_par: bool) -> Option { let alleles: Vec<&str> = gt.split(['/', '|']).filter(|a| !a.is_empty()).collect(); let alt = alleles.iter().filter(|a| !matches!(**a, "0" | ".")).count(); @@ -131,7 +132,7 @@ pub fn zygosity(gt: &str, chrom: &str, sex: Option<&str>, in_par: bool) -> Optio return Some(Zygosity::Hemizygous); } if alleles.len() == 1 { - return Some(if sex_chrom(chrom) { + return Some(if sex_chrom(chrom) && !in_par { Zygosity::Hemizygous } else { Zygosity::Het @@ -154,9 +155,9 @@ fn half_call(gt: &str) -> bool { (alt(b[0]) && b[2] == b'.') || (b[0] == b'.' && alt(b[2])) } -/// A haploid call on an autosome: one allele, as `1`. -fn haploid_autosome(gt: &str, chrom: &str) -> bool { - !sex_chrom(chrom) && !gt.is_empty() && !gt.contains(['/', '|']) +/// A haploid call: one allele, as `1`. +fn haploid(gt: &str) -> bool { + !gt.is_empty() && !gt.contains(['/', '|']) } /// ClinVar's condition for the allele (`CLNDN`), as words, without its @@ -275,7 +276,7 @@ pub fn clinvar( // other reports word it. let words = if z == Zygosity::Het && half_call(gt) { format!("one copy, other copy not called ref ({gt})") - } else if z == Zygosity::Het && haploid_autosome(gt, &h.chrom) { + } else if z == Zygosity::Het && haploid(gt) { format!("one copy, a haploid call ({gt})") } else { z.word().to_owned() @@ -731,8 +732,16 @@ mod tests { assert_eq!(z("1", "chrX", Some("female")), Some(Zygosity::Hemizygous)); // A haploid call on an autosome is one copy, never hom. assert_eq!(z("1", "chr7", Some("male")), Some(Zygosity::Het)); - assert!(haploid_autosome("1", "chr7") && !haploid_autosome("1", "chrX")); - assert!(!haploid_autosome("0/1", "chr7")); + assert!(haploid("1") && !haploid("0/1") && !haploid("")); + // So is a haploid call in a PAR: a male has two copies there. + assert_eq!( + zygosity("1", "chrX", Some("male"), true), + Some(Zygosity::Het) + ); + assert_eq!( + zygosity("1", "chrX", Some("female"), true), + Some(Zygosity::Het) + ); assert_eq!(z("./1", "chrX", Some("male")), Some(Zygosity::Hemizygous)); assert_eq!(z("./.", "chr7", Some("female")), None); assert_eq!(z("./0", "chr7", Some("female")), None); diff --git a/rust/crates/og-couple/src/prose.rs b/rust/crates/og-couple/src/prose.rs index 10a3f8fb3..73f918bec 100644 --- a/rust/crates/og-couple/src/prose.rs +++ b/rust/crates/og-couple/src/prose.rs @@ -249,6 +249,46 @@ fn xlr_lines(g: &Gene, who: &str, sex: Option<&str>, f: &[&Finding]) -> (String, } } +/// The daughters' risk when a female and a male partner both carry a change +/// in one X-linked recessive gene: each daughter gets the father's X, so she +/// is affected when she also gets a changed X from her mother. `None` for +/// any other pair, and for an X-linked dominant gene, whose lines already +/// say a daughter can be affected. +fn xlr_both( + g: &Gene, + partners: [(&str, Option<&str>, &Vec<&Finding>); 2], +) -> Option<(String, String)> { + if g.inheritance == Inheritance::Xld || partners.iter().any(|(_, _, f)| f.is_empty()) { + return None; + } + let of = |want: &str| { + partners + .iter() + .find(|(_, s, _)| *s == Some(want)) + .map(|(w, _, f)| (*w, f.as_slice())) + }; + let ((mother, fm), (father, _)) = (of("female")?, of("male")?); + Some(if two_copies(fm) { + ( + "every daughter can be affected".to_owned(), + format!( + "Both partners carry a change in {}: every daughter inherits a changed X from each parent and \ + can have {}.", + g.name, g.condition + ), + ) + } else { + ( + "daughters 1 in 2, can be affected".to_owned(), + format!( + "Both partners carry a change in {}: every daughter inherits {father}'s changed X, and has a 1 \ + in 2 chance of inheriting {mother}'s too; a daughter with both can have {}.", + g.name, g.condition + ), + ) + }) +} + fn joined(f: &[&Finding]) -> String { if f.is_empty() { ".".to_owned() @@ -297,19 +337,21 @@ pub fn screen_couple( .filter(|(_, f)| !f.is_empty()) .map(|(w, f)| xl_lines(g, w, sex(w), f)) .collect(); - ( - Outcome::XLinked, - parts - .iter() - .map(|p| p.0.as_str()) - .collect::>() - .join("; "), - parts - .iter() - .map(|p| p.1.as_str()) - .collect::>() - .join(" "), - ) + let mut risk = parts + .iter() + .map(|p| p.0.as_str()) + .collect::>() + .join("; "); + let mut why = parts + .iter() + .map(|p| p.1.as_str()) + .collect::>() + .join(" "); + if let Some((r, w)) = xlr_both(g, [(a, sex(a), &fa), (b, sex(b), &fb)]) { + let _ = write!(risk, "; {r}"); + let _ = write!(why, " {w}"); + } + (Outcome::XLinked, risk, why) } else if !fa.is_empty() && !fb.is_empty() { let (o, r, mut w) = ar_row(g, a, b, &fa, &fb); if g.dominant == Dominant::Autosomal { @@ -340,16 +382,24 @@ pub fn screen_couple( ), ) } else { + let mut w = format!( + "Only {who} carries a change in {name}. {name} also causes a dominant condition (it is on the \ + ACMG secondary findings list): a child who inherits it can be affected, 1 in 2 per child, and \ + {who} can be too. For {} (autosomal recessive), a child can be a carrier like {who}, unless \ + {other} carries a change this screen does not see.", + g.condition + ); + if f.len() > 1 { + let _ = write!( + w, + " {who} has two changes in the gene; when they sit on different copies, every child gets \ + one, and the chance is higher." + ); + } ( Outcome::OnePartner, "each child 1 in 2, dominant".to_owned(), - format!( - "Only {who} carries a change in {name}. {name} also causes a dominant condition (it is on \ - the ACMG secondary findings list): a child who inherits it can be affected, 1 in 2 per \ - child, and {who} can be too. For {} (autosomal recessive), a child can be a carrier like \ - {who}, unless {other} carries a change this screen does not see.", - g.condition - ), + w, ) } } else { diff --git a/rust/crates/og-couple/src/screen.rs b/rust/crates/og-couple/src/screen.rs index cae17ef42..0869e4e60 100644 --- a/rust/crates/og-couple/src/screen.rs +++ b/rust/crates/og-couple/src/screen.rs @@ -214,6 +214,17 @@ fn run(a: &args::Args, said: &mut Vec) -> Result<(), Die> { code: 1, }); } + // couple__ must name one couple: with "_" in the ids, A and B_C + // and A_B and C would write the same files. + let mut names: HashMap = HashMap::new(); + for c in &couples { + if let Some(o) = names.insert(format!("couple_{}_{}", c.0, c.1), c) { + return Err(Die::one(format!( + "{pedigree}: the couples {} + {} and {} + {} would both write couple_{}_{}.tsv: rename a sample", + o.0, o.1, c.0, c.1, c.0, c.1 + ))); + } + } let out_dir = req("--out-dir"); std::fs::create_dir_all(out_dir) .map_err(|e| Die::one(format!("cannot create {out_dir}: {e}")))?; diff --git a/rust/crates/og-couple/src/xml.rs b/rust/crates/og-couple/src/xml.rs index 1dfede828..cd775023c 100644 --- a/rust/crates/og-couple/src/xml.rs +++ b/rust/crates/og-couple/src/xml.rs @@ -81,9 +81,13 @@ fn bad(path: &str, what: &str) -> Die { Die::one(format!("{path}: not well-formed XML ({what})")) } -/// Calls `f` with every event of the XML file at `path` (plain or gzip). +/// Calls `f` with every event of the XML file at `path` (plain or gzip). A +/// file with no root element, or one that ends before its root closes (a +/// truncated download), is refused. pub fn each_event(path: &str, mut f: impl FnMut(Event<'_>) -> Result<(), Die>) -> Result<(), Die> { let mut r = og_io::open(path).map_err(|e| Die::io(path, &e))?; + // Open elements, and whether a root has started. + let (mut depth, mut root) = (0usize, false); let mut buf: Vec = Vec::new(); let io = |e: std::io::Error| Die::io(path, &e); loop { @@ -98,7 +102,11 @@ pub fn each_event(path: &str, mut f: impl FnMut(Event<'_>) -> Result<(), Die>) - f(Event::Text(decode(text)))?; } if !open { - return Ok(()); + return match (root, depth) { + (false, _) => Err(bad(path, "no root element")), + (true, 0) => Ok(()), + _ => Err(bad(path, "the file ends before its root element closes")), + }; } buf.clear(); r.read_until(b'>', &mut buf).map_err(io)?; @@ -132,6 +140,9 @@ pub fn each_event(path: &str, mut f: impl FnMut(Event<'_>) -> Result<(), Die>) - } let tag = std::str::from_utf8(&buf).map_err(|_| bad(path, "a tag is not UTF-8"))?; if let Some(name) = tag.strip_prefix('/') { + depth = depth + .checked_sub(1) + .ok_or_else(|| bad(path, "an end tag with no start tag"))?; f(Event::End(name.trim()))?; continue; } @@ -143,9 +154,15 @@ pub fn each_event(path: &str, mut f: impl FnMut(Event<'_>) -> Result<(), Die>) - .find(|c: char| c.is_ascii_whitespace()) .unwrap_or(tag.len()); let (name, attrs) = tag.split_at(split); + if root && depth == 0 { + return Err(bad(path, "a second root element")); + } + root = true; f(Event::Start(name, attrs))?; if closed { f(Event::End(name))?; + } else { + depth += 1; } } } @@ -190,4 +207,31 @@ mod tests { ] ); } + + #[test] + fn a_truncated_or_rootless_file_is_refused() { + let dir = std::env::temp_dir().join(format!("og-couple-xml-cut-{}", std::process::id())); + std::fs::create_dir_all(&dir).unwrap(); + let run = |name: &str, body: &str| { + let p = dir.join(name); + std::fs::write(&p, body).unwrap(); + each_event(&p.to_string_lossy(), |_| Ok(())) + .err() + .map(|e| e.lines.join(" ")) + }; + let cut = run("cut.xml", "a"); + assert!(cut.unwrap().contains("ends before its root element closes")); + let none = run("none.xml", "\n"); + assert!(none.unwrap().contains("no root element")); + let two = run("two.xml", ""); + assert!(two.unwrap().contains("a second root element")); + let stray = run("stray.xml", ""); + assert!(stray.unwrap().contains("an end tag with no start tag")); + // Control: a whole document passes, with a comment after its root. + assert_eq!( + run("whole.xml", "a\n\n"), + None + ); + std::fs::remove_dir_all(&dir).unwrap(); + } } diff --git a/rust/crates/og-couple/tests/inheritance_and_confidence.rs b/rust/crates/og-couple/tests/inheritance_and_confidence.rs index 66c0fe421..e88f3fa0f 100644 --- a/rust/crates/og-couple/tests/inheritance_and_confidence.rs +++ b/rust/crates/og-couple/tests/inheritance_and_confidence.rs @@ -147,6 +147,91 @@ fn a_partner_with_both_copies_of_a_dominant_gene_passes_it_to_every_child() { assert!(md.contains(why), "the report says it too"); } +#[test] +fn two_changes_in_a_dominant_gene_say_the_chance_can_be_higher() { + let t = Dir::new("dominant-two"); + let second = hit("LDLR", "GT", "0/1", "").replacen("\tA\tG\t", "\tC\tT\t", 1); + let a = plain(&[hit("LDLR", "GT", "0/1", ""), second]); + let (rows, _) = screen(&t, "t", &a, &plain(&[]), true); + let why = cell(&rows, "LDLR", "explanation"); + assert_eq!( + cell(&rows, "LDLR", "offspring_risk"), + "each child 1 in 2, dominant" + ); + assert!( + why.contains( + "A has two changes in the gene; when they sit on different copies, every child gets one" + ), + "{why}" + ); + // Control: one change keeps the plain 1 in 2. + let (rows, _) = screen( + &t, + "o", + &plain(&[hit("LDLR", "GT", "0/1", "")]), + &plain(&[]), + true, + ); + assert!(!cell(&rows, "LDLR", "explanation").contains("two changes")); +} + +#[test] +fn both_partners_in_one_x_linked_recessive_gene_give_the_daughters_risk() { + let t = Dir::new("xl-both"); + // A is female, B male: OTC is X-linked recessive. + let b = plain(&[hit("OTC", "GT", "1", "")]); + let (rows, md) = screen(&t, "het", &plain(&[hit("OTC", "GT", "0/1", "")]), &b, true); + assert_eq!( + cell(&rows, "OTC", "offspring_risk"), + "A: sons 1 in 2; B: daughters carriers; daughters 1 in 2, can be affected" + ); + let why = cell(&rows, "OTC", "explanation"); + assert!( + why.contains( + "every daughter inherits B's changed X, and has a 1 in 2 chance of inheriting A's too" + ), + "{why}" + ); + assert!(md.contains(why), "the report says it too"); + let (rows, _) = screen(&t, "hom", &plain(&[hit("OTC", "GT", "1/1", "")]), &b, true); + assert!( + cell(&rows, "OTC", "offspring_risk").ends_with("; every daughter can be affected"), + "{}", + cell(&rows, "OTC", "offspring_risk") + ); + // Control: one partner alone keeps its own line. + let (rows, _) = screen(&t, "one", &plain(&[]), &b, true); + assert_eq!( + cell(&rows, "OTC", "offspring_risk"), + "B: daughters carriers" + ); +} + +#[test] +fn two_couples_with_one_file_name_are_refused() { + let t = Dir::new("collide"); + let ped = t.put( + "pedigree.tsv", + "sample\tsex\tfather\tmother\tpartner\nA\tfemale\t.\t.\tB_C\nB_C\tmale\t.\t.\tA\n\ + A_B\tfemale\t.\t.\tC\nC\tmale\t.\t.\tA_B\n", + ); + let v = t.put("hits.vcf", &plain(&[hit("CFTR", "GT", "0/1", "")])); + let out = t.path("out"); + let genes = repo("assets/carrier_genes.tsv"); + let mut args = vec!["--pedigree", &ped, "--genes", &genes, "--out-dir", &out]; + let cv: Vec = ["A", "B_C", "A_B", "C"] + .iter() + .map(|s| format!("{s}={v}")) + .collect(); + for c in &cv { + args.extend(["--clinvar", c]); + } + let (rc, log) = og("screen", &args); + assert_eq!(rc, 2, "{log}"); + assert!(log.contains("would both write couple_A_B_C.tsv"), "{log}"); + assert!(!std::path::Path::new(&format!("{out}/couple_A_B_C.tsv")).exists()); +} + #[test] fn the_list_marks_the_dominant_genes_of_the_acmg_secondary_findings() { let list = genes(&repo("assets/carrier_genes.tsv")); @@ -292,6 +377,15 @@ fn a_haploid_call_on_an_autosome_is_one_copy() { cell(&rows, "CFTR", "offspring_risk"), "1 in 2 per pregnancy" ); + // A male's haploid call in PAR1 is one copy too, not hemizygous. + let a = plain(&[hit("CSF2RA", "GT", "0/1", "")]); + let (rows, _) = screen(&t, "par", &a, &plain(&[hit("CSF2RA", "GT", "1", "")]), true); + assert_eq!( + cell(&rows, "CSF2RA", "offspring_risk"), + "1 in 4 per pregnancy" + ); + let fb = cell(&rows, "CSF2RA", "findings_b"); + assert!(fb.contains("one copy, a haploid call (1)"), "{fb}"); } #[test]