diff --git a/CHANGELOG.md b/CHANGELOG.md index eb7a130e7..e16816b5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Each release's notes. From 1.0.0 on, a major or minor release has hand-written n ## Unreleased +- Step 41 (blood groups) no longer reads a VCF that does not cover a gene as the reference allele. Without a BAM, a system with no VCF record at any of its sites now reads `not assessed` (phenotype and confidence) instead of the reference phenotype at confidence medium, so a VCF with no chr9 record no longer reads ABO as O. A call with a genotype quality (`GQ`) under 20 or a read depth (`DP`, else `MIN_DP`) under 8 keeps its genotype but gives its system confidence low, and the note and the evidence file name the values. An ABO A allele now reads at confidence low, because no variant shows it: it is what is left of a functional allele with neither c.802G>A nor c.803G>C. Duffy reads the VCF's phase: a GATA box phased with one Fyb in one phase set goes on the chromosome the VCF gives (on Fya that is Fy(a-b+)). When H reads H- and ABO is `not assessed` or `not determined`, the ABO row no longer carries the Bombay note about its alleles. The notes now say what the DNA cannot check: the ABO alleles outside the five variants, RHD null and DEL alleles behind a D+, and null alleles the table does not hold. The table keeps its columns; `not assessed` is a new value in the phenotype and confidence columns. - A third-party outage no longer fails the Freshness check of a pull request. Since 2026-11-18 rest.ensembl.org has not answered, and the pull-request job's dry run of `og dev freshness` failed on every pull request that touched `versions.env` or `og-fresh`. `og dev freshness --unreachable-warns` now lists a lookup whose upstream did not answer (no connection, a timeout, HTTP 5xx or 429 after the retries, or HTTP 403) under "Upstreams that did not answer" as a warning, and its database row reads `NO ANSWER`; it does not change the exit. The 403 counts because rest.ensembl.org came back on 2026-11-19 answering 403 to GitHub's runners and 200 elsewhere, which still failed the pull-request job. A 404, an empty answer or an answer in an odd shape still exits 1. `freshness.yml` passes the flag only in the pull-request dry run. Without the flag the report and the exit are as before, and the monthly report on main still counts an outage as an error in the issue. - Three statements in the docs were wrong. Troubleshooting said exit code 137 confirms a kill for memory, and checked it with `docker ps -a --latest`. 137 is any SIGKILL, and the step scripts run their containers with `--rm`, so that command shows an older, unrelated container. The page now says how to confirm a kill for memory: `docker events --filter event=oom`, the kernel log, or `.State.OOMKilled` for a container kept without `--rm`. The run-state and troubleshooting pages said `bin/og` does not run on a Mac and told Mac users to build `og` with cargo or run it in a container. `bin/og` runs the native macOS build that `scripts/setup.sh --og` installs, and the pages now say so; on a Mac, `og run headroom` reports the machine's memory as unknown. Troubleshooting, the FAQ and the lessons-learned page said the step scripts run their containers as root, and lessons-learned gave `:latest` images and `chmod 777` as current fixes. The step scripts run their containers as you; those entries are now marked as past fixes and name what the pipeline does today. Documentation only: no option, output or behaviour changes. - Lint's ShellCheck job now checks every tracked shell script, not only `scripts/`: the e2e cases and their library, the fake-docker and parity tests, `tests/*.sh`, `bin/og` and the fake tools, 482 files in all, at every ShellCheck level. The 265 findings these files hold today are listed in `tests/shellcheck-baseline.txt` and still pass; any other finding fails lint. A listed finding is matched by its file, its code and the text of its line, so it keeps matching when lines above it move, and a new line with the same mistake still fails. Each run plants an unquoted `$1` in a new test script and on a new line of a listed script, and fails if either passes or if the file search misses the new script or `bin/og`. The `scripts/` check at warning level stays as it was. Part of #411 (plat-10). diff --git a/docs/41-bloodtype.md b/docs/41-bloodtype.md index 650c9de24..2fc8e8d10 100644 --- a/docs/41-bloodtype.md +++ b/docs/41-bloodtype.md @@ -36,7 +36,7 @@ Pinned in `versions.env`; [Image versions](versions.md) lists the current tags. - `${SAMPLE}/vcf/${SAMPLE}.vcf.gz`: one sample, from any caller. Its records near the marker sites are left-aligned first, so an indel need not be written the way the table writes it. Split and whole multi-allelic records, all-sites VCFs (a reference record and then the variant at one position) and gVCF reference blocks are read too: every record that covers a site counts, whatever their order (see below) - the reference (`REF_FASTA`, `reference/GRCh38_no_alt_analysis_set.fasta` by default) with its `.fai`, for the left-alignment; `--reference` in the Nextflow pipeline -- `${SAMPLE}/aligned/${SAMPLE}_sorted.bam` with its `.bai` (`ALIGN_DIR` as for the other BAM steps). Optional: without it RhD is not determined, and a site the VCF has no record for is read as the reference allele at confidence medium. +- `${SAMPLE}/aligned/${SAMPLE}_sorted.bam` with its `.bai` (`ALIGN_DIR` as for the other BAM steps). Optional: without it RhD is not determined, and a site the VCF has no record for is read as the reference allele at confidence medium. A system with no VCF record at any of its sites is then not assessed (see [Without the BAM](#without-the-bam)). ## Command @@ -54,17 +54,30 @@ With `run-all.sh`: `TOOLS=...,bloodtype`. It is opt-in and needs no data, so a r | RhD | read depth over RHD; c.487-19_504dup with c.609G>A | Copies = 2 x RHD depth / depth of the two flanks outside the RHD deletion (0 under 0.5, 1 under 1.5, else 2). The RHD pseudogene (RHD*08N.01) is an inactive copy. Exons 3 to 7 without RHD reads in a gene that is there is the pattern of an RHD-RHCE hybrid gene: RhD is then not determined | | RhCE | c.307C>T (C/c), c.676G>C (E/e) | one allele per copy of the variant | | Kell | c.578C>T (K/k), c.841C>T (Kp), c.1790T>C (Js) | the same | -| Duffy | c.125G>A (Fya/Fyb), c.-67T>C (GATA box), c.265C>T (FY*X) | The GATA box stops expression on red cells; with no phase it is placed on a Fyb chromosome first, where it usually lies (FY*02N.01). FY*X gives a weak Fyb (`b+w`) | +| Duffy | c.125G>A (Fya/Fyb), c.-67T>C (GATA box), c.265C>T (FY*X) | The GATA box stops expression on red cells. With one Fyb and one GATA box, both phased calls in one phase set (the same `PS`, or no `PS` on either), it goes on the chromosome the VCF gives: on the Fya chromosome that is Fy(a-b+). Else it is placed on a Fyb chromosome first, where it usually lies (FY*02N.01). FY*X gives a weak Fyb (`b+w`) | | Kidd, MNS, Lutheran, Diego, Dombrock, Colton | one variant each pair (c.838G>A; c.59T>C and c.143C>T; c.230G>A; c.2561C>T; c.793G>A; c.134C>T) | one allele per copy | | HPA-1, -2, -3, -4, -5, -6, -15 | ITGB3 c.176T>C, GP1BA c.482C>T, ITGA2B c.2621T>G, ITGB3 c.506G>A, ITGA2 c.1600G>A, ITGB3 c.1544G>A, CD109 c.2108C>A | one allele per copy; GRCh38 carries HPA-15b. HPA-6b is a low-frequency antigen, written HPA-6bw in the ISBT table | | HNA-1 | FCGR3B c.108G>C, c.114C>T, c.244G>A, c.316G>A (a or b); c.194A>G (checked); c.233C>A (c) | FCGR3B\*01 (HNA-1a) and \*02 (HNA-1b) differ at five bases. GRCh38 carries the \*02 base at four of them and the \*01 base at c.194, so the copies of HNA-1a are counted on the four, which must agree (else not determined), and c.194 is only checked: a c.194 that does not match is named in the note. FCGR3B\*03 (HNA-1c) is \*02 with c.233C>A and carries HNA-1b too. Without a call at c.233 an HNA-1b allele reads \*02 or \*03. Confidence is always low: FCGR3B and FCGR3A are near copies, and FCGR3B has from none to four or more copies, which the step does not count | | Vel, Langereis, Junior | SMIM1 c.64_80del; 36 ABCB6 null rows; 23 ABCG2 null rows | Read from the null rows alone: two null copies lack the antigen (Vel-, Lan-, Jr(a-)). One copy is a carrier, still positive. Two different null alleles, each once, are taken to sit on different chromosomes (no phase), so the antigen is lacking at confidence low | -| H, Secretor | 34 FUT1 null rows; 14 FUT2 null rows (c.461G>A among them, often written c.428G>A) | The same rule. Two FUT1 null copies give H- on red cells: `H- (Bombay, Oh)` with a non-secretor, `H- (para-Bombay)` with a secretor. The ABO row then says the red cells carry little or no A or B and usually group as O, whatever the ABO alleles are | +| H, Secretor | 34 FUT1 null rows; 14 FUT2 null rows (c.461G>A among them, often written c.428G>A) | The same rule. Two FUT1 null copies give H- on red cells: `H- (Bombay, Oh)` with a non-secretor, `H- (para-Bombay)` with a secretor. The ABO row then says the red cells carry little or no A or B and usually group as O, whatever the ABO alleles are; an ABO row that reads `not assessed` or `not determined` has no alleles to qualify and gets no such note | | Kell null (K0), Kidd null (Jk(a-b-)) | 57 KEL null rows; 40 SLC14A1 null rows, c.342-1G>A and c.871T>C among them | Each null copy silences one chromosome. With no phase it is placed on a chromosome with the antigens of the row's `null_on` column (k, Kpb and Jsb for KEL; Jka or Jkb, as the ISBT table finds it): one KEL null with K/k reads K+k-. Two null copies give K-k- Kp(a-b-) Js(a-b-) (lacking Ku) or Jk(a-b-) (lacking Jk3), also when an antigen site has no call. Two different nulls with different `null_on` alleles are each named with their own in the note | | HPA-7 to -14, -16 to -35 | one variant each in ITGB3, ITGA2B, ITGA2, GP1BB or GP9 | one allele per copy; the a antigen is on the reference allele, the low-prevalence b antigen on the other | | HNA-3, -4, -5 | SLC44A2 c.461G>A, ITGAM c.230G>A, ITGAL c.2372G>C | one allele per copy; GRCh38 carries HNA-3b | -A site the VCF has no record for is the reference allele when the BAM has at least 8 reads there at MAPQ 20, and not determined below that. Without the BAM it is read as reference, and the confidence says so. The step leaves out of `samtools bedcov` the rows on a contig the BAM has no `@SQ` line for (a BAM cut to a few chromosomes), because `bedcov` would stop on them. Those sites then have no depth row: the ones with no VCF record are not determined, and RhD is not determined without chr1. A record at a site whose REF is not the table's REF is a no call, because it says nothing about the table's ALT. There are two exceptions. A 0/0 call over a longer REF that starts with the table's REF is the reference allele. A 0/0 record over a shorter REF (an all-sites VCF's `C . 0/0`, or a gVCF block that starts at a deletion marker such as ABO c.1061delC) says nothing past its own base, so the site reads as one with no record: the reads decide. +A site the VCF has no record for is the reference allele when the BAM has at least 8 reads there at MAPQ 20, and not determined below that. Without the BAM it is read as reference, and the confidence says so (see [Without the BAM](#without-the-bam)). The step leaves out of `samtools bedcov` the rows on a contig the BAM has no `@SQ` line for (a BAM cut to a few chromosomes), because `bedcov` would stop on them. Those sites then have no depth row: the ones with no VCF record are not determined, and RhD is not determined without chr1. A record at a site whose REF is not the table's REF is a no call, because it says nothing about the table's ALT. There are two exceptions. A 0/0 call over a longer REF that starts with the table's REF is the reference allele. A 0/0 record over a shorter REF (an all-sites VCF's `C . 0/0`, or a gVCF block that starts at a deletion marker such as ABO c.1061delC) says nothing past its own base, so the site reads as one with no record: the reads decide. A gVCF reference block (ALT `.`, `<*>` or ``) whose `INFO/END` reaches the table's last REF base is a reference call there, wherever the block starts, with the block's `GQ` and `DP` (else `MIN_DP`) (see [Weak calls](#weak-calls)). + +### Without the BAM + +A VCF lists where the genome differs from the reference. A site with no record is either the reference allele or a site the VCF does not cover, and only the reads tell the two apart. So without the BAM: + +- A system with a record at one of its sites at least is read, and its sites with no record count as the reference allele at confidence medium. The record shows that the VCF covers the gene. +- A system with no record at any of its sites is `not assessed` (phenotype and confidence), and the note names the sites' chromosome. A VCF with no chr9 record would otherwise read ABO as O, the group GRCh38 carries. + +A person who matches GRCh38 at every site of a system (group O at ABO, HPA-1a/1a, most null rows) also has no record there in a variants-only VCF, so that system is not assessed either. A gVCF covers every site with a record or a reference block, and needs no BAM for this. RhD needs the BAM in every case. + +### Weak calls + +A call keeps its genotype, but it is weak when its genotype quality (FORMAT `GQ`) is under 20 or its read depth (FORMAT `DP`, else a gVCF block's `MIN_DP`) is under 8, the same depth a site with no record needs. A system that uses a weak call has confidence low, and its note names the site and the values (`KEL c.578C>T: weak call (GQ 0 under 20, DP 1 under 8)`). The evidence file adds the same values to the site's note. A record without `GQ` or `DP` is not checked. The allele balance of a call (the share of reads that carry the ALT) is not checked. ### Indels written another way @@ -99,8 +112,9 @@ Confidence: - **high**: every site was called in the VCF or covered by reads - **medium**: a site was read as reference with no BAM depth to confirm it, or one of the system's null rows was not determined (for example too few reads there) -- **low**: a site in a region where short reads are unreliable, named in the note (RHCE exon 2 for C/c, which is RHD-like on a C allele; GYPA, GYPB and GYPE, which are near copies), markers that disagree, another allele at a site of a two-antigen pair, or two different null alleles taken to sit on different chromosomes +- **low**: a site in a region where short reads are unreliable, named in the note (RHCE exon 2 for C/c, which is RHD-like on a C allele; GYPA, GYPB and GYPE, which are near copies), markers that disagree, another allele at a site of a two-antigen pair, two different null alleles taken to sit on different chromosomes, a weak call (see [Weak calls](#weak-calls)), or an ABO A allele (no variant shows A: it is a functional allele with neither c.802G>A nor c.803G>C, so a rare O allele that keeps c.261 or a weak A subgroup reads A too) - **not determined**: a needed site had no call or too few reads; RhD without the BAM, with flanks under 10x, or with the hybrid pattern +- **not assessed**: without the BAM, no VCF record at any of the system's sites Row order: first the systems where the genome predicts the person lacks a high-prevalence antigen, then the others in the table's order. The high-prevalence antigens are the ones in the marker table's `high_prevalence` column: ISBT's high-prevalence antigens Vel, Lan, Jra, H, k, Kpb, Jsb, Ku, Jk3, Lub, Dib and Coa, and for platelets HPA-1a and the a antigen of HPA-4 and of HPA-6 to HPA-35 except HPA-15, whose b antigen is a low-prevalence one. Such a row's note ends with `lacks , carried by most people (high prevalence)`. A genome with only the reference alleles lacks none of them, so its rows keep the table's order. @@ -121,9 +135,9 @@ Not measured on a whole genome. bcftools reads the VCF's records near the marker ## Notes -- RhD here is the number of RHD copies, not their kind: weak D and partial D (RHD missense alleles) are not assessed, and neither are the RHD-CE-D hybrids that keep exons 3 to 7. The common RhD-negative allele, the deletion of the whole gene (RHD*01N.01), is what the depth sees. -- Phase is not read. ABO assumes A and B sit on different chromosomes, Duffy places the GATA box on Fyb first. -- Rare and null alleles outside the table (null alleles of two or more variants, ABO's weak subgroups, cis-AB) are not assessed. A high-prevalence antigen reads positive when none of the table's null alleles is found, so a null allele the table does not hold goes unseen. Neither are HNA-2 (CD177), HNA-1d and HNA-1null (no FCGR3B gene) assessed. +- RhD here is the number of RHD copies, not their kind: weak D and partial D (RHD missense alleles) are not assessed, and neither are RHD null alleles other than RHD*08N.01, the RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles. The common RhD-negative allele, the deletion of the whole gene (RHD*01N.01), is what the depth sees. A D+ row's note says so. +- Phase is read for Duffy only (see the table). ABO assumes A and B sit on different chromosomes, and two different null alleles of one system are taken to sit on different chromosomes. +- Rare and null alleles outside the table (null alleles of two or more variants, ABO's weak subgroups, cis-AB) are not assessed. A high-prevalence antigen reads positive when none of the table's null alleles is found, so a null allele the table does not hold goes unseen: the note of each system read from null rows (Vel, Langereis, Junior, H, secretor, Kell, Kidd) says so while the antigen reads present. The ABO row's note names the ABO alleles outside its five variants. Neither are HNA-2 (CD177), HNA-1d and HNA-1null (no FCGR3B gene) assessed. - Every null row's allele was looked up in gnomAD v4 (genomes and exomes, 2026-11-03): 214 alleles, 53 of them not in gnomAD at all. Three were dropped because they are far more common than their null phenotype allows: FUT2 c.772G>A (rs602662, about 0.5 of chromosomes) and c.335C>T (rs200157007, 0.14 in South Asians) sit on the same haplotype as the common non-secretor allele c.461G>A, so with no phase they turned Se/se carriers into non-secretors; SLC14A1 c.810G>A (rs17675299, 0.08 in Finns) is far too common for a Kidd null. The rows kept that pass 1% in some population are known nulls of that population: FUT2 c.461G>A (the common non-secretor allele), SMIM1 c.64_80del (Vel), ABCG2 c.376C>T (Jr(a-), East Asians), SLC14A1 c.871T>C (Finns), and FUT2 c.812delC (rs1799761, 0.015 in African genomes). - Another ALT at a null row's position (for example G>T at the position of KEL c.1546C>T, rs8176034) is not that null allele: the note names it, and the confidence stays as the other sites set it. - Secretor status: weak secretor alleles (such as FUT2 c.418A>T, often written c.385A>T) and a deletion of the whole FUT2 gene are not assessed; the row's note says so. diff --git a/docs/vcf-first.md b/docs/vcf-first.md index 35cf56a68..8a4758714 100644 --- a/docs/vcf-first.md +++ b/docs/vcf-first.md @@ -7,7 +7,7 @@ Many providers send a VCF, the file that lists where your DNA differs from the r ## What runs on a VCF alone -With only `sample`, `vcf` and `vcf_index` in the [samplesheet](nextflow.md#samplesheet-format), these tools run: `pharmcat`, `cpic`, `clinvar`, `vep`, `vcfanno`, `slivar`, `clinical_filter`, `cpsr`, `roh`, `prs`, `ancestry`, `mito_haplogroup` and `html_report`. +With only `sample`, `vcf` and `vcf_index` in the [samplesheet](nextflow.md#samplesheet-format), these tools run: `pharmcat`, `cpic`, `clinvar`, `vep`, `vcfanno`, `slivar`, `clinical_filter`, `cpsr`, `roh`, `prs`, `ancestry`, `mito_haplogroup` and `html_report`. The blood groups run too when `--tools` names `bloodtype` (it is opt-in), with RhD not determined. Without reads, a site the VCF does not list may be the reference allele or a site the file does not cover, so a blood group system with no record at any of its sites reads "not assessed" ([Step 41](41-bloodtype.md#without-the-bam)). Everything that reads the aligned reads has nothing to work on, so it does not run: coverage (`mosdepth`, and `multiqc`, which reads it), structural variants and copy-number changes (`manta`, `delly`, `cnvpytor`, `duphold`, `annotsv`, `survivor_merge`), HLA typing, repeat expansions, telomere length, mitochondrial heteroplasmy and the read-depth CYP2D6 calls (`cyrius`, `pypgx`). If your provider can send the BAM or FASTQ, get it. The [Vendor Compatibility Guide](vendor-guide.md) says what each provider delivers. diff --git a/modules/local/bloodtype/main.nf b/modules/local/bloodtype/main.nf index c03d3ff6a..0c0316661 100644 --- a/modules/local/bloodtype/main.nf +++ b/modules/local/bloodtype/main.nf @@ -15,8 +15,10 @@ wrote further right in a repeat meets its marker; then og bloodtype report on that file and the depth, reading the marker sites through its index; without a BAM - ([] in its place) RhD is not determined and sites with - no VCF record are read as reference (confidence medium) + ([] in its place) RhD is not determined, sites with + no VCF record are read as reference (confidence medium), + and a system with no record at any of its sites is not + assessed Equivalent to: scripts/41-bloodtype.sh ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/rust/crates/og-bloodtype/src/genotypes.rs b/rust/crates/og-bloodtype/src/genotypes.rs index f2506464b..1a5c9ce65 100644 --- a/rust/crates/og-bloodtype/src/genotypes.rs +++ b/rust/crates/og-bloodtype/src/genotypes.rs @@ -26,7 +26,16 @@ //! calls of the same ALT count once, and incompatible dosages are no call; //! - a reference-only record whose REF is shorter than the marker's (an //! all-sites record or a gVCF block starting at a deletion marker) says -//! nothing past its own bases, so the site reads as if it had no record. +//! nothing past its own bases, so the site reads as if it had no record; +//! - a gVCF reference block (ALT `.`, `<*>` or ``) whose `INFO/END` +//! reaches the marker's last REF base is a reference call there, wherever +//! the block starts, with the block's quality. +//! +//! A call keeps its genotype whatever its quality, but one with a genotype +//! quality under [`MIN_GQ`] or a read depth under [`MIN_DEPTH`] (FORMAT `GQ`, +//! and `DP`, else a gVCF block's `MIN_DP`) is marked weak: the rules then give +//! the systems that use it confidence low. A phased call (`0|1`) keeps the +//! haplotype that carries the marker's ALT, and its phase set (`PS`). use crate::Error; use crate::markers::{Marker, Sites}; @@ -34,9 +43,13 @@ use indexmap::IndexMap; use std::collections::{BTreeMap, HashMap}; use std::path::Path; -/// Reads (MAPQ >= 20) before a site missing from the VCF counts as reference. +/// Reads (MAPQ >= 20) before a site missing from the VCF counts as reference, +/// and the read depth (FORMAT `DP`) under which a call is weak. pub const MIN_DEPTH: f64 = 8.0; +/// The genotype quality (FORMAT `GQ`) under which a call is weak. +pub const MIN_GQ: f64 = 20.0; + /// What is known at one site. #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum Status { @@ -68,6 +81,15 @@ impl Status { } } +/// The phase of a call: which of its two haplotypes carries the marker's +/// ALT (`0|1` is `[false, true]`), and its phase set (`PS`), `None` when the +/// record gives none (then the call is phased with the whole chromosome). +#[derive(Debug, Clone, PartialEq, Eq)] +pub struct Phase { + pub alt_on: [bool; 2], + pub block: Option, +} + /// What the VCF and the reads say at one site: status, alt copies (`None` /// when not known), read depth, note. #[derive(Debug, Clone, PartialEq)] @@ -77,6 +99,10 @@ pub struct Site { pub n: Option, pub depth: Option, pub note: String, + /// Why the call is weak (`GQ 5 under 20`), empty when it is not. + pub weak: String, + /// The phase of the call, when the VCF gives one. + pub phase: Option, } impl Site { @@ -87,6 +113,8 @@ impl Site { n: None, depth: None, note: String::new(), + weak: String::new(), + phase: None, } } } @@ -178,6 +206,9 @@ struct Reading { note: String, /// Called marker ALTs and their dosages, independent of VCF allele indices. alts: BTreeMap, + /// Why the call is weak, empty when it is not. + weak: String, + phase: Option, } impl Reading { @@ -188,7 +219,65 @@ impl Reading { n: None, note, alts: BTreeMap::new(), + weak: String::new(), + phase: None, + } + } +} + +/// The sample's FORMAT values a call's quality and phase come from. +#[derive(Debug, Clone, Default, PartialEq)] +struct Quality { + /// `GQ`, as written and as read. + gq: Option<(String, f64)>, + /// `DP`, else `MIN_DP`, as written and as read. + dp: Option<(String, f64)>, + /// The genotype is written with `|`. + phased: bool, + /// `PS`, when given and not `.`. + ps: Option, +} + +impl Quality { + /// The quality of the sample column `smp` under the keys `fmt`. + fn of(fmt: &[&str], smp: &[&str], gt: &str) -> Quality { + let get = |key: &str| { + fmt.iter() + .position(|k| *k == key) + .and_then(|i| smp.get(i)) + .copied() + .filter(|v| !v.is_empty() && *v != ".") + }; + let num = |key: &str| { + get(key).and_then(|v| { + pycompat::num::parse_float(v) + .ok() + .filter(|x| x.is_finite()) + .map(|x| (v.to_owned(), x)) + }) + }; + Quality { + gq: num("GQ"), + dp: num("DP").or_else(|| num("MIN_DP")), + phased: gt.contains('|') && !gt.contains('/'), + ps: get("PS").map(str::to_owned), + } + } + + /// Why a call with this quality is weak, empty when it is not. + fn weak(&self) -> String { + let mut why = Vec::new(); + if let Some((raw, gq)) = &self.gq + && *gq < MIN_GQ + { + why.push(format!("GQ {raw} under {}", MIN_GQ as i64)); + } + if let Some((raw, dp)) = &self.dp + && *dp < MIN_DEPTH + { + why.push(format!("DP {raw} under {}", MIN_DEPTH as i64)); } + why.join(", ") } } @@ -205,10 +294,15 @@ struct Evidence { alts: BTreeMap, /// Different calls of one ALT disagree about its dosage. incompatible: bool, + /// Why the first weak call of a marker ALT is weak. + alt_weak: Option, } impl Evidence { fn add(&mut self, r: Reading) { + if !r.alts.is_empty() && !r.weak.is_empty() && self.alt_weak.is_none() { + self.alt_weak = Some(r.weak.clone()); + } for (alt, &copies) in &r.alts { match self.alts.get(alt) { Some(&previous) if previous != copies => self.incompatible = true, @@ -255,6 +349,19 @@ impl Evidence { } else { b.n }; + // The copies of an ALT may come from several records: the call + // is weak when any of them is, and its phase is the record's only + // when one ALT was called. + site.weak = if b.weight == Weight::Alt && b.weak.is_empty() { + self.alt_weak.clone().unwrap_or_default() + } else { + b.weak.clone() + }; + site.phase = if b.weight == Weight::Alt && self.alts.len() == 1 { + b.phase.clone() + } else { + None + }; site.note = if b.status == Status::Called { let others = self.others.into_iter().filter(|o| *o != b.note); std::iter::once(b.note.clone()) @@ -269,9 +376,47 @@ impl Evidence { } } +/// Whether every ALT of a record is a reference-only symbol: a gVCF +/// reference block (`.`, `<*>`, ``). +fn is_block(alts: &str) -> bool { + alts.split(',') + .all(|a| matches!(a, "." | "<*>" | "")) +} + +/// `INFO/END` as htslib reads it (`og_io::tabix`): the key at the start or +/// after a `;`, its leading digits. +fn info_end(info: &str) -> Option { + let at = if info.starts_with("END=") { + 4 + } else { + info.find(";END=")? + 5 + }; + let digits = info[at..].bytes().take_while(u8::is_ascii_digit).count(); + info[at..at + digits].parse().ok() +} + +/// What a reference block that covers a whole marker says about it: a +/// reference call, with the block's quality, unless its genotype is not +/// `0/0`. +fn read_block(alleles: &[&str], quality: &Quality) -> Reading { + if alleles.len() != 2 || !alleles.iter().all(|a| *a == "0") { + return Reading::no_call(Weight::Other, format!("genotype {}", alleles.join("/"))); + } + Reading { + weight: Weight::Reference, + status: Status::Called, + n: Some(0), + note: String::new(), + alts: BTreeMap::new(), + weak: quality.weak(), + phase: None, + } +} + /// Applies one record line (no line ending) to the sites it covers: those -/// at its position and those its REF spans. `only` keeps the sites at one -/// position (the index path reads each position's records on their own). +/// at its position, those its REF spans, and those a reference block covers +/// to its `INFO/END`. `only` keeps the sites at one position (the index +/// path reads each position's records on their own). fn apply_record( line: &str, by_pos: &ByPos, @@ -280,7 +425,7 @@ fn apply_record( only: Option, ) { let mut c = line.splitn(5, '\t'); - let (Some(chrom), Some(pos), Some(_), Some(rf), Some(_)) = + let (Some(chrom), Some(pos), Some(_), Some(rf), Some(rest)) = (c.next(), c.next(), c.next(), c.next(), c.next()) else { return; @@ -297,6 +442,15 @@ fn apply_record( return; }; let span = i64::try_from(rf.len().max(1)).unwrap_or(1); + // A reference block reaches its INFO/END (the index finds it there too). + let block_end = { + let mut r = rest.split('\t'); + match (r.next(), r.nth(2)) { + (Some(alt), Some(info)) if is_block(alt) => info_end(info).filter(|e| *e >= p), + _ => None, + } + }; + let span = block_end.map_or(span, |e| span.max(e - p + 1)); let mut hits = here .range(p..p.saturating_add(span)) .filter(|(at, _)| only.is_none_or(|o| o == **at)) @@ -318,10 +472,29 @@ fn apply_record( .copied() .unwrap_or("."); let alleles: Vec<&str> = gt.split(['/', '|']).collect(); + let quality = Quality::of(&fmt, &smp, gt); + // A block covers a marker when it reaches the marker's last REF base. + let covers = |i: usize, at: i64| { + block_end.is_some_and(|e| { + at + i64::try_from(sites[i].row.ref_.len().max(1)).unwrap_or(1) - 1 <= e + }) + }; for (&at, names) in hits { + if names.iter().any(|&i| covers(i, at)) { + for &i in names { + if covers(i, at) { + ev[i].add(read_block(&alleles, &quality)); + } else if at == p + && let Some(r) = read_record(&sites[i].row, rf, &alts, filt, &alleles, &quality) + { + ev[i].add(r); + } + } + continue; + } if at == p { for &i in names { - if let Some(r) = read_record(&sites[i].row, rf, &alts, filt, &alleles) { + if let Some(r) = read_record(&sites[i].row, rf, &alts, filt, &alleles, &quality) { ev[i].add(r); } } @@ -368,6 +541,7 @@ fn read_record( alts: &[&str], filt: &str, alleles: &[&str], + quality: &Quality, ) -> Option { // A null row may list several ALTs (null alleles at one position): any of them counts. let wants: Vec<&str> = if r.ref_ == rf { @@ -433,6 +607,10 @@ fn read_record( } else { String::new() }; + let phase = quality.phased.then(|| Phase { + alt_on: [0, 1].map(|h| idx.iter().any(|i| i == alleles[h])), + block: quality.ps.clone(), + }); Some(Reading { weight: if n > 0 { Weight::Alt @@ -443,6 +621,8 @@ fn read_record( n: Some(n), note, alts: called_alts, + weak: quality.weak(), + phase, }) } @@ -658,7 +838,7 @@ mod tests { fn records(s: &mut Site, recs: &[Rec]) { let mut e = Evidence::default(); for (rf, alts, filt, alleles) in recs { - if let Some(r) = read_record(&s.row, rf, alts, filt, alleles) { + if let Some(r) = read_record(&s.row, rf, alts, filt, alleles, &Quality::default()) { e.add(r); } } @@ -793,6 +973,89 @@ mod tests { assert!(!changes_base("CG", &["C"], &[".", "."], 1)); } + /// The site as one record with these FORMAT keys and values leaves it. + fn with_format(r: &str, alt: &str, alleles: &[&str], fmt: &[&str], smp: &[&str]) -> Site { + let mut s = site(r, alt); + let mut e = Evidence::default(); + let q = Quality::of(fmt, smp, smp[0]); + if let Some(rd) = read_record(&s.row, r, &[alt], "PASS", alleles, &q) { + e.add(rd); + } + e.settle(&mut s); + s + } + + #[test] + fn a_call_under_the_gq_or_dp_floor_is_weak_and_keeps_its_genotype() { + let gt = |g: &str| g.split(['/', '|']).map(str::to_owned).collect::>(); + for (fmt, smp, want) in [ + ( + &["GT", "GQ", "DP"][..], + &["0/1", "0", "1"][..], + "GQ 0 under 20, DP 1 under 8", + ), + (&["GT", "GQ", "DP"], &["0/1", "19", "30"], "GQ 19 under 20"), + (&["GT", "GQ", "DP"], &["0/1", "20", "8"], ""), + (&["GT", "GQ", "MIN_DP"], &["0/1", "50", "3"], "DP 3 under 8"), + (&["GT", "DP", "MIN_DP"], &["0/1", "30", "3"], ""), + (&["GT", "GQ", "DP"], &["0/1", ".", "."], ""), + (&["GT"], &["0/1"], ""), + ] { + let a = gt(smp[0]); + let alleles: Vec<&str> = a.iter().map(String::as_str).collect(); + let s = with_format("G", "A", &alleles, fmt, smp); + assert_eq!( + (s.status, s.n, s.weak.as_str()), + (Status::Called, Some(1), want), + "{smp:?}" + ); + } + // A weak reference call is weak too; a no call is not marked. + let s = with_format("G", "A", &["0", "0"], &["GT", "GQ"], &["0/0", "3"]); + assert_eq!((s.n, s.weak.as_str()), (Some(0), "GQ 3 under 20")); + let s = with_format("G", "A", &[".", "."], &["GT", "GQ"], &["./.", "3"]); + assert_eq!((s.status, s.weak.as_str()), (Status::NoCall, "")); + } + + #[test] + fn a_phased_call_keeps_the_haplotype_of_the_alt() { + let s = with_format("G", "A", &["0", "1"], &["GT", "PS"], &["0|1", "100"]); + assert_eq!( + s.phase, + Some(Phase { + alt_on: [false, true], + block: Some("100".to_owned()) + }) + ); + let s = with_format("G", "A", &["1", "0"], &["GT", "PS"], &["1|0", "."]); + assert_eq!( + s.phase, + Some(Phase { + alt_on: [true, false], + block: None + }) + ); + let s = with_format("G", "A", &["0", "1"], &["GT"], &["0/1"]); + assert_eq!(s.phase, None); + } + + #[test] + fn a_reference_block_reads_to_its_end() { + assert_eq!(info_end("END=120"), Some(120)); + assert_eq!(info_end("MIN_DP=3;END=99;X=1"), Some(99)); + assert_eq!(info_end("SVEND=99;CIEND=5"), None); + assert_eq!(info_end("END=."), None); + assert!(is_block("<*>") && is_block(".") && is_block("")); + assert!(!is_block("A,<*>") && !is_block("")); + let q = Quality::of(&["GT", "GQ", "MIN_DP"], &["0/0", "3", "20"], "0/0"); + let r = read_block(&["0", "0"], &q); + assert_eq!( + (r.status, r.n, r.weak.as_str()), + (Status::Called, Some(0), "GQ 3 under 20") + ); + assert_eq!(read_block(&[".", "."], &q).status, Status::NoCall); + } + #[test] fn depth_decides_a_site_with_no_record() { let mut g: Genotyped = IndexMap::new(); diff --git a/rust/crates/og-bloodtype/src/lib.rs b/rust/crates/og-bloodtype/src/lib.rs index dbc178a6b..c6ed4e744 100644 --- a/rust/crates/og-bloodtype/src/lib.rs +++ b/rust/crates/og-bloodtype/src/lib.rs @@ -24,7 +24,7 @@ //! the top. //! //! What changes on purpose: the VCF is read through its `.tbi` or `.csi` -//! (318 positions, not the whole file), the catalog is read and the RHD row +//! (271 positions, not the whole file), the catalog is read and the RHD row //! assessed once, a rule site missing from the table is an `ERROR:` line, //! not a traceback, and each output is written whole or not at all. diff --git a/rust/crates/og-bloodtype/src/rules.rs b/rust/crates/og-bloodtype/src/rules.rs index c1f8c654a..90cfc1836 100644 --- a/rust/crates/og-bloodtype/src/rules.rs +++ b/rust/crates/og-bloodtype/src/rules.rs @@ -1,11 +1,17 @@ //! The rules: from the sites to one row per blood group system. //! -//! Phase is not read: two variants of one system are placed on the -//! chromosomes the common alleles carry them on, and the note says so. +//! Phase is read for Duffy only: a GATA box phased with c.125G>A in one +//! phase set goes on the chromosome the VCF puts it on. Elsewhere two +//! variants of one system are placed on the chromosomes the common alleles +//! carry them on, and the note says so. //! Confidence: high (every site called or covered by reads), medium (a site //! read as reference with no depth to confirm it, or a null row of the //! system not determined), low (a site in a region where short reads are -//! unreliable, named in the note, or markers that disagree), not determined. +//! unreliable, named in the note, markers that disagree, a weak call (GQ +//! under 20 or DP under 8), or an ABO A allele, which is read from the +//! absence of the O and B variants), not determined. Without a BAM, a +//! system with no VCF record at any of its sites is not assessed: a VCF +//! that does not cover the gene would otherwise read as the reference. use crate::Error; use crate::genotypes::{Genotyped, Site, Status}; @@ -19,6 +25,10 @@ use std::sync::LazyLock; /// The exons an RHD-CE(3-7)-D hybrid takes from RHCE. pub const RHD_HYBRID_EXONS: [i64; 5] = [3, 4, 5, 6, 7]; pub const NOT_DETERMINED: &str = "not determined"; +pub const NOT_ASSESSED: &str = "not assessed"; + +/// The note of a system read from null rows, while the antigen reads present. +const NULL_LIMIT: &str = "a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen"; /// A two-allele site: its label and its phenotype template, where /// `{antigen}` is replaced by `+` or `-`. The antigen names are the marker @@ -297,6 +307,10 @@ impl Row { Row::new(system, NOT_DETERMINED, ".", NOT_DETERMINED, note) } + fn not_assessed(system: &str, note: impl Into) -> Row { + Row::new(system, NOT_ASSESSED, ".", NOT_ASSESSED, note) + } + fn add_note(&mut self, part: &str) { self.note = join_parts([self.note.as_str(), part]); } @@ -333,14 +347,14 @@ fn is_stray(s: &Site) -> bool { s.note.starts_with("another allele") } -/// Confidence from the sites a call used: low for a caveat or a stray -/// allele, medium for a site read as reference without depth, else high. -/// Another ALT at a null row's position is not that null allele and leaves -/// the antigens read, so it is only named in the note. +/// Confidence from the sites a call used: low for a caveat, a stray +/// allele or a weak call, medium for a site read as reference without +/// depth, else high. Another ALT at a null row's position is not that null +/// allele and leaves the antigens read, so it is only named in the note. fn level_of(used: &[&Site]) -> &'static str { let mut lv = "high"; for s in used { - if !s.row.caveat.is_empty() || (is_stray(s) && !s.row.is_null()) { + if !s.row.caveat.is_empty() || (is_stray(s) && !s.row.is_null()) || !s.weak.is_empty() { return "low"; } if s.status == Status::Assumed { @@ -359,6 +373,9 @@ fn notes_of(used: &[&Site], extra: Vec) -> String { if is_stray(s) { out.push(format!("{}: {}", s.row.hgvs, s.note)); } + if !s.weak.is_empty() { + out.push(format!("{}: weak call ({})", s.row.hgvs, s.weak)); + } } if used.iter().any(|s| s.status == Status::Assumed) { out.push( @@ -686,6 +703,9 @@ fn system_pairs(system: &str, names: &[&str], sites: &Genotyped) -> Row { } else { genos.join(" ") }; + if !nulls.is_empty() && nc.n < 2 { + extra.push(NULL_LIMIT.to_owned()); + } extra.extend(meaning(system, &lacks, &used)); let row = Row::new( system, @@ -716,13 +736,17 @@ fn system_null(ns: &NullSystem, sites: &Genotyped) -> Row { } else { Vec::new() }; + let mut extra = nc.extra.clone(); + if nc.n < 2 { + extra.push(NULL_LIMIT.to_owned()); + } let geno: Vec<&str> = rep(ns.ok, 2 - nc.n).chain(rep(ns.null, nc.n)).collect(); let row = Row::new( ns.system, if nc.n >= 2 { ns.minus } else { ns.plus }, geno.join("/"), conf, - notes_of(&used, nc.extra.clone()), + notes_of(&used, extra), ); with_lacks(row, &lacks, &used) } @@ -856,6 +880,10 @@ fn system_abo(sites: &Genotyped) -> Row { } if s1061.status == Status::Assumed { used.push(s1061); + } else if !s1061.weak.is_empty() { + // Named here, not through `used`, so the caveat is not + // repeated; any A allele already reads low. + extra.push(format!("{}: weak call ({})", s1061.row.hgvs, s1061.weak)); } let n_a2 = n1061.min(n_a); alleles.extend(rep("A1", n_a - n_a2).chain(rep("A2", n_a2))); @@ -869,6 +897,9 @@ fn system_abo(sites: &Genotyped) -> Row { .chain(rep("O.02", n_o2)), ); let s796 = site(sites, "ABO_796"); + if s796.n.is_some() { + used.push(s796); + } let mut low = false; if let Some(n796) = s796.n && n796 != n_b @@ -882,6 +913,19 @@ fn system_abo(sites: &Genotyped) -> Row { if pheno.is_empty() { pheno = "O".to_owned(); } + if n_a != 0 { + // A is what is left of a functional allele with neither c.802G>A + // nor c.803G>C: no variant shows it. + low = true; + extra.push( + "an A allele is read from a c.261 insertion with neither c.802G>A nor c.803G>C, so an O allele that keeps c.261 (a non-deletional O) or a weak A subgroup also reads A" + .to_owned(), + ); + } + extra.push( + "ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed" + .to_owned(), + ); let conf = if low { "low" } else { level_of(&used) }; if n_b != 0 && n_a != 0 { extra.push("A and B on different chromosomes assumed (no phase)".to_owned()); @@ -906,7 +950,19 @@ fn system_duffy(sites: &Genotyped) -> Row { return unknown("Duffy", &missing, ""); } let (nb, ng) = (s125.n.unwrap_or(0), sg.n.unwrap_or(0)); - let sil_b = ng.min(nb); + // One GATA box and one Fyb: the VCF's phase says which chromosome it + // is on, when both calls are phased in one phase set. + let phased_on_a = match (&s125.phase, &sg.phase) { + (Some(p), Some(q)) if nb == 1 && ng == 1 && p.block == q.block => { + Some(p.alt_on != q.alt_on) + } + _ => None, + }; + let sil_b = if phased_on_a == Some(true) { + 0 + } else { + ng.min(nb) + }; let sil_a = ng - sil_b; let (a_expr, b_expr) = ((2 - nb) - sil_a, nb - sil_b); let (mut used, mut extra) = (vec![s125, sg], Vec::new()); @@ -928,11 +984,16 @@ fn system_duffy(sites: &Genotyped) -> Row { .chain(rep("FY*X", weak)) .chain(rep("FY*B GATA", sil_b)) .collect(); - if ng != 0 { - extra.push( + match phased_on_a { + Some(on_a) => extra.push(format!( + "c.-67T>C (GATA box) stops Duffy expression on red cells only; the VCF's phase puts it on the {} chromosome", + if on_a { "Fya" } else { "Fyb" } + )), + None if ng != 0 => extra.push( "c.-67T>C (GATA box) stops Duffy expression on red cells only; with no phase it is placed on the Fyb chromosome first, where it usually lies (FY*02N.01)" .to_owned(), - ); + ), + None => {} } Row::new( "Duffy", @@ -1134,6 +1195,12 @@ fn system_rhd(sites: &Genotyped, rhd: &RhdDepth, row: &Locus) -> Result 0 { + extra.push( + "an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed" + .to_owned(), + ); + } Ok(Row::new( "RhD", if call - n_psi > 0 { "D+" } else { "D-" }, @@ -1167,6 +1234,10 @@ fn bombay(rows: &mut [Row]) { "para-Bombay: a working FUT2 makes H in secretions, and red cells carry little or none", ); } + // No ABO alleles were read: there is nothing for the note to qualify. + if rows[abo].phenotype == NOT_ASSESSED || rows[abo].phenotype == NOT_DETERMINED { + return; + } rows[abo].add_note( "no FUT1 (H-): the red cells carry no H (or very little, para-Bombay), so these ABO alleles make little or no A or B on them and the cells usually group as O", ); @@ -1183,6 +1254,55 @@ fn missing_sites(sites: &Genotyped) -> Vec<&'static str> { out } +/// Every site a system's row reads (none for RhD, read from depth). +fn system_sites<'a>(system: &str, names: Option<&[&str]>, sites: &'a Genotyped) -> Vec<&'a Site> { + let named: &[&str] = match system { + "ABO" => &["ABO_261", "ABO_802", "ABO_803", "ABO_796", "ABO_1061"], + "Duffy" => &["FY_125", "FY_GATA", "FY_265"], + "HNA-1" => &[ + "FCGR3B_108", + "FCGR3B_114", + "FCGR3B_244", + "FCGR3B_316", + "FCGR3B_194", + "FCGR3B_233", + ], + "RhD" => return Vec::new(), + _ => names.unwrap_or_default(), + }; + let mut out: Vec<&Site> = named.iter().map(|n| site(sites, n)).collect(); + if names.is_some() || null_system(system).is_some() { + out.extend(null_rows(system, sites)); + } + out +} + +/// Without a BAM, a system none of whose sites has a VCF record is not +/// assessed: the VCF may not cover the gene at all (a file cut to some +/// chromosomes, a panel, a dropped contig), which reads the same as the +/// reference everywhere. +fn no_record(system: &str, names: Option<&[&str]>, sites: &Genotyped) -> Option { + let used = system_sites(system, names, sites); + if used.is_empty() || used.iter().any(|s| s.status != Status::Assumed) { + return None; + } + let mut chroms: Vec<&str> = Vec::new(); + for s in &used { + if !chroms.contains(&s.row.chrom.as_str()) { + chroms.push(&s.row.chrom); + } + } + Some(Row::not_assessed( + system, + format!( + "no VCF record at any of its {} site{} and no BAM: a VCF that does not cover {} would read as the reference", + used.len(), + if used.len() > 1 { "s" } else { "" }, + chroms.join(", ") + ), + )) +} + /// One row per system: the systems that lack a high-prevalence antigen /// first, each list in the base order of [`SYSTEMS`]. pub fn predict(sites: &Genotyped, rhd: &RhdDepth, rhd_row: &Locus) -> Result, Error> { @@ -1195,6 +1315,10 @@ pub fn predict(sites: &Genotyped, rhd: &RhdDepth, rhd_row: &Locus) -> Result system_abo(sites), ("RhD", _) => system_rhd(sites, rhd, rhd_row)?, @@ -1206,6 +1330,7 @@ pub fn predict(sites: &Genotyped, rhd: &RhdDepth, rhd_row: &Locus) -> ResultT, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed", @@ -1242,7 +1367,7 @@ pub fn evidence_rows( s.status.as_str().to_owned(), dot(s.n.map(|n| n.to_string())), dot(s.depth.map(|d| fixed(d, 1))), - s.note.clone(), + join_parts([s.note.as_str(), s.weak.as_str()]), ]); } let flank = rhd.flank().filter(|f| *f != 0.0); diff --git a/rust/crates/og-bloodtype/tests/port_tests_cn_traits.rs b/rust/crates/og-bloodtype/tests/port_tests_cn_traits.rs index cf0e4365f..6efbbf51f 100644 --- a/rust/crates/og-bloodtype/tests/port_tests_cn_traits.rs +++ b/rust/crates/og-bloodtype/tests/port_tests_cn_traits.rs @@ -12,8 +12,8 @@ //! 1. the table and the code agree (`og bloodtype check-markers`); a table //! missing a rule's site fails the check //! 2. nothing planted, reads everywhere: the reference alleles at -//! confidence high; without the BAM the same calls at medium, and RhD -//! not determined +//! confidence high; without the BAM a system with no VCF record at any +//! of its sites is not assessed, and RhD not determined //! 3. ABO: A1, A2, B, AB, O.02, and markers that do not add up //! 4. RhD from depth: two copies, one, none, the RHD pseudogene, a hybrid //! gene, low flank depth @@ -519,14 +519,9 @@ fn s02_nothing_planted() { c.eq("Kell high", r.cf("Kell").as_str(), "high"); let nobam = T(report(&[], NO_BAM)); c.eq( - "without the BAM, ABO is still O", - nobam.ph("ABO").as_str(), - "O", - ); - c.eq( - "without the BAM, confidence medium", - nobam.cf("ABO").as_str(), - "medium", + "without the BAM and with no ABO record, ABO is not assessed", + (nobam.ph("ABO"), nobam.cf("ABO")), + ("not assessed".into(), "not assessed".into()), ); c.eq( "without the BAM, RhD is not determined", @@ -585,9 +580,9 @@ fn s03_abo() { &d2, ); c.eq( - "A1B", + "A1B, low: no variant shows the A allele", (ab.ph("ABO"), ab.cf("ABO")), - ("A1B".into(), "high".into()), + ("A1B".into(), "low".into()), ); c.eq( "the A1 or A2 caveat is in the note", diff --git a/rust/crates/og-bloodtype/tests/report.rs b/rust/crates/og-bloodtype/tests/report.rs index 43de618cf..ce97841d9 100644 --- a/rust/crates/og-bloodtype/tests/report.rs +++ b/rust/crates/og-bloodtype/tests/report.rs @@ -317,7 +317,7 @@ fn the_abo_insertion_counts_after_a_reference_or_other_record() { &[line("chr9", 133257521, "T", ".", ".", "0/0"), ins("0/1")], Some(depth(&d, 2.0, &HashMap::new())), ); - assert_eq!(t["ABO"][..3], ["A1", "A1/O.01", "high"]); + assert_eq!(t["ABO"][..3], ["A1", "A1/O.01", "low"]); } #[test] @@ -361,7 +361,7 @@ fn a_shorter_reference_record_leaves_a_deletion_marker_to_the_reads() { ("absent".to_owned(), None, String::new()) ); let t = run(&d, &recs, Some(depth(&d, 2.0, &HashMap::new()))); - assert_eq!(t["ABO"][..3], ["A1", "A1/O.01", "high"], "{r}"); + assert_eq!(t["ABO"][..3], ["A1", "A1/O.01", "low"], "{r}"); // The deletion after it still counts, in either order. let del = line("chr9", 133255669, "CG", "C", "PASS", "0/1"); for recs in [[r.clone(), del.clone()], [del.clone(), r.clone()]] { @@ -540,3 +540,204 @@ fn incompatible_null_alt_dosages_are_no_call_in_both_readers() { } } } + +/// A one-sample VCF record at the marker `name` with these FORMAT keys and values. +fn recf(name: &str, fmt: &str, smp: &str) -> String { + let m = &read_markers(&markers()).unwrap()[name]; + format!( + "{}\t{}\t.\t{}\t{}\t50\tPASS\t.\t{fmt}\t{smp}\n", + m.chrom, m.pos, m.ref_, m.alt + ) +} + +#[test] +fn a_call_under_the_gq_and_dp_floor_lowers_confidence() { + let d = dir("weak"); + let reads = || Some(depth(&d, 2.0, &HashMap::new())); + // KEL c.578C>T 0/1 with GQ 0 and one read: K+k+ still, at confidence low. + let t = run(&d, &[recf("KEL_578", "GT:GQ:DP", "0/1:0:1")], reads()); + assert_eq!(t["Kell"][0], "K+k+ Kp(a-b+) Js(a-b+)"); + assert_eq!(t["Kell"][2], "low"); + assert!( + t["Kell"][3].contains("KEL c.578C>T: weak call (GQ 0 under 20, DP 1 under 8)"), + "{}", + t["Kell"][3] + ); + let ev = std::fs::read_to_string(d.join("e.tsv")).unwrap(); + let row = ev.lines().find(|l| l.contains("\tKEL_578\t")).unwrap(); + assert!(row.ends_with("GQ 0 under 20, DP 1 under 8"), "{row}"); + // The same call with GQ 20 and 8 reads, at the floors, stays high. + let t = run(&d, &[recf("KEL_578", "GT:GQ:DP", "0/1:20:8")], reads()); + assert_eq!( + t["Kell"][..3], + ["K+k+ Kp(a-b+) Js(a-b+)", "K/k Kpb/Kpb Jsb/Jsb", "high"] + ); + // A gVCF reference block with GQ 3 at a site: low too. + let t = run(&d, &[recf("JK_838", "GT:GQ:MIN_DP", "0/0:3:20")], reads()); + assert_eq!(t["Kidd"][..3], ["Jk(a+b-)", "Jka/Jka", "low"]); +} + +#[test] +fn a_vcf_with_no_chr9_record_reads_abo_not_assessed_without_a_bam() { + let d = dir("nochr9"); + // A VCF with records elsewhere, none on chr9, and no BAM: ABO is not + // assessed, not O; Kell, with its record, is read. + let t = run(&d, &[rec("KEL_578", "0/1")], None); + assert_eq!(t["ABO"][..3], ["not assessed", ".", "not assessed"]); + assert!(t["ABO"][3].contains("no VCF record at any of its 5 sites and no BAM")); + assert!(t["ABO"][3].contains("chr9")); + assert_eq!(t["Kell"][0], "K+k+ Kp(a-b+) Js(a-b+)"); + // One ABO record is enough to read the others as the reference. + let t = run(&d, &[rec("ABO_802", "0/0")], None); + assert_eq!(t["ABO"][..3], ["O", "O.01/O.01", "medium"]); + // A VCF with no record at all is no error: every system not assessed, + // and RhD not determined (it needs the BAM). + let t = run(&d, &[], None); + assert_eq!(t["ABO"][0], "not assessed"); + assert_eq!(t["Vel"][0], "not assessed"); + assert_eq!(t["RhD"][0], "not determined"); + // With reads the reads decide, as before. + let t = run(&d, &[], Some(depth(&d, 2.0, &HashMap::new()))); + assert_eq!(t["ABO"][..3], ["O", "O.01/O.01", "high"]); +} + +#[test] +fn a_phased_gata_box_goes_on_the_chromosome_the_vcf_gives() { + let d = dir("duffy-phase"); + let reads = || Some(depth(&d, 2.0, &HashMap::new())); + let duffy = |fy: &str, gata: &str| { + let t = run( + &d, + &[recf("FY_GATA", "GT:PS", gata), recf("FY_125", "GT:PS", fy)], + reads(), + ); + t["Duffy"].clone() + }; + // On the Fya chromosome: Fya silenced on red cells, Fyb expressed. + let r = duffy("0|1:7", "1|0:7"); + assert_eq!(r[..3], ["Fy(a-b+)", "FY*A GATA/FY*B", "high"]); + assert!( + r[3].contains("the VCF's phase puts it on the Fya chromosome"), + "{}", + r[3] + ); + // On the Fyb chromosome. + let r = duffy("0|1:7", "0|1:7"); + assert_eq!(r[..2], ["Fy(a+b-)", "FY*A/FY*B GATA"]); + assert!(r[3].contains("the VCF's phase puts it on the Fyb chromosome")); + // Two phase sets, or no phase: Fyb first, as before. + for (fy, gata) in [("0|1:7", "1|0:9"), ("0/1:.", "0/1:.")] { + let r = duffy(fy, gata); + assert_eq!(r[..2], ["Fy(a+b-)", "FY*A/FY*B GATA"], "{fy} {gata}"); + assert!(r[3].contains("with no phase it is placed on the Fyb chromosome first")); + } +} + +#[test] +fn an_abo_a_allele_reads_low_and_o_or_b_keeps_its_confidence() { + let d = dir("abo-a-low"); + let reads = || Some(depth(&d, 2.0, &HashMap::new())); + let t = run(&d, &[rec("ABO_261", "0/1")], reads()); + assert_eq!(t["ABO"][..3], ["A1", "A1/O.01", "low"]); + assert!(t["ABO"][3].contains("an A allele is read from a c.261 insertion")); + let t = run( + &d, + &[ + rec("ABO_261", "0/1"), + rec("ABO_803", "0/1"), + rec("ABO_796", "0/1"), + ], + reads(), + ); + assert_eq!(t["ABO"][..3], ["B", "B/O.01", "high"]); + assert!(t["ABO"][3].contains("ABO alleles outside these five variants")); + assert!(!t["ABO"][3].contains("an A allele is read")); +} + +#[test] +fn rows_state_what_dna_cannot_check() { + let d = dir("limits"); + let t = run(&d, &[], Some(depth(&d, 2.0, &HashMap::new()))); + assert!(t["RhD"][3].contains("RHD-CE-D hybrids that keep exons 3 to 7")); + for system in [ + "Vel", + "Langereis", + "Junior", + "H", + "Secretor", + "Kell", + "Kidd", + ] { + assert!( + t[system][3].contains("a null allele the table does not hold"), + "{system}: {}", + t[system][3] + ); + } + assert!(!t["Lutheran"][3].contains("null allele")); + // Both deleted: D-, and no D+ limit to state. + let t = run(&d, &[], Some(depth(&d, 0.0, &HashMap::new()))); + assert!(!t["RhD"][3].contains("RHD-CE-D hybrids")); +} + +#[test] +fn a_gvcf_block_that_reaches_a_marker_through_end_is_a_reference_call() { + let d = dir("block-end"); + let m = read_markers(&markers()).unwrap()["JK_838"].clone(); + let block = |gq: i64, end: i64| { + format!( + "{}\t{}\t.\tA\t<*>\t0\t.\tEND={end}\tGT:GQ:MIN_DP\t0/0:{gq}:20\n", + m.chrom, + m.pos - 10 + ) + }; + // A block from ten bases before the marker to past it, GQ 3: a weak + // reference call, the same through the index and a full pass. + let recs = [block(3, m.pos + 5)]; + assert_eq!( + site_both_ways(&d, &recs, "JK_838"), + ("called".to_owned(), Some(0), String::new()) + ); + // Without a BAM, Kidd is read from it (not "not assessed"), at low. + let t = run(&d, &recs, None); + assert_eq!(t["Kidd"][..3], ["Jk(a+b-)", "Jka/Jka", "low"]); + assert!( + t["Kidd"][3].contains("weak call (GQ 3 under 20)"), + "{}", + t["Kidd"][3] + ); + // GQ 50: the block's call, and the null rows read as reference: medium. + let t = run(&d, &[block(50, m.pos + 5)], None); + assert_eq!(t["Kidd"][..3], ["Jk(a+b-)", "Jka/Jka", "medium"]); + // A block that ends before the marker says nothing about it. + let recs = [block(50, m.pos - 1)]; + assert_eq!(site_both_ways(&d, &recs, "JK_838").0, "absent"); + assert_eq!(run(&d, &recs, None)["Kidd"][0], "not assessed"); +} + +#[test] +fn a_weak_abo_1061_call_is_named_and_h_minus_leaves_an_unread_abo_alone() { + let d = dir("abo-1061-bombay"); + let reads = || Some(depth(&d, 2.0, &HashMap::new())); + // A weak c.1061delC call under an A allele is named in the note, once. + let t = run( + &d, + &[ + rec("ABO_261", "0/1"), + recf("ABO_1061", "GT:GQ:DP", "0/0:3:30"), + ], + reads(), + ); + assert_eq!(t["ABO"][2], "low"); + assert!( + t["ABO"][3].contains("ABO c.1061delC: weak call (GQ 3 under 20)"), + "{}", + t["ABO"][3] + ); + // Two FUT1 null copies on chr19 and no chr9 record, no BAM: H-, and + // ABO, not assessed, gets no note about its alleles. + let t = run(&d, &[rec("FUT1_01N36", "1/1")], None); + assert!(t["H"][0].starts_with("H-"), "{}", t["H"][0]); + assert_eq!(t["ABO"][0], "not assessed"); + assert!(!t["ABO"][3].contains("no FUT1 (H-)"), "{}", t["ABO"][3]); +} diff --git a/scripts/41-bloodtype.sh b/scripts/41-bloodtype.sh index 7371f5382..4e5ad002b 100755 --- a/scripts/41-bloodtype.sh +++ b/scripts/41-bloodtype.sh @@ -18,8 +18,9 @@ # Input: vcf/.vcf.gz; the reference (REF_FASTA) with its .fai; # aligned/_sorted.bam with its .bai # (ALIGN_DIR as for the other BAM steps), optional: without it RhD is -# not determined and sites the VCF has no record for are read as -# reference with confidence medium. +# not determined, sites the VCF has no record for are read as +# reference with confidence medium, and a system with no record at +# any of its sites is not assessed. # Output: bloodtype/_bloodtype.tsv one row per system # bloodtype/_bloodtype_evidence.tsv what the VCF and the reads said per site # bloodtype/_bloodtype_depth.tsv samtools bedcov over the sites and RHD (with a BAM) diff --git a/tests/e2e/bloodtype-1.sh b/tests/e2e/bloodtype-1.sh index ff8e0cb5a..c829c261d 100755 --- a/tests/e2e/bloodtype-1.sh +++ b/tests/e2e/bloodtype-1.sh @@ -16,7 +16,10 @@ # Kell (c.578C>T: K+k+); # - the same reads without any RHD read (both copies deleted) give D-, and # with half of them (one copy) D+ with one copy; -# - the VCF without a BAM gives RhD not determined and ABO O at medium; +# - the VCF without a BAM gives RhD not determined, and ABO, with no +# record at any of its sites (HG002 matches GRCh38 there), not assessed: +# without reads nothing tells that from a VCF that does not cover ABO; +# Kidd, with GIAB's record at c.838, is still read; # - ABO c.1061delC written two bases right (GG>G) gives A2/A2 as the table's # CG>C does, because step 41 left-aligns first (og on the VCF as written # reads A1/A1, the control), and a C>A,G 1/2 at c.803 keeps its one B copy; @@ -148,7 +151,10 @@ sample "$V" "${T}/truth.vcf.gz" step "$V" check_eq "without a BAM RhD is not determined" "$(cell "$V" RhD phenotype)" "not determined" check "and the step says why" has 'No BAM .*RhD needs read depth' "$(cat "$STEP_LOG")" -check_eq "without a BAM ABO is O at medium" "$(cell "$V" ABO phenotype)/$(cell "$V" ABO confidence)" "O/medium" +check_eq "without a BAM and with no ABO record, ABO is not assessed" \ + "$(cell "$V" ABO phenotype)/$(cell "$V" ABO confidence)" "not assessed/not assessed" +check "and the note says why" has 'no VCF record at any of its 5 sites and no BAM' "$(cell "$V" ABO note)" +check_eq "control: Kidd, with GIAB's record at c.838, is read without a BAM" "$(cell "$V" Kidd phenotype)" "Jk(a-b+)" # --- an indel written further right, and a multi-allelic record ------------------------ # og matches a marker by position, REF and ALT. A caller can write ABO c.1061delC diff --git a/tests/e2e/cn-engine-1-parity.sh b/tests/e2e/cn-engine-1-parity.sh index ea9b64143..dd6267231 100755 --- a/tests/e2e/cn-engine-1-parity.sh +++ b/tests/e2e/cn-engine-1-parity.sh @@ -7,8 +7,10 @@ # fixture's header, at full depth and at an eighth of it. For each BAM: # - step 46 of this tree and of the old tree write the same lpa table, byte # for byte, once the old message is put in today's wording; -# - step 41 of this tree and of the old tree write the same RhD row and the -# same RhD evidence rows (other systems may change after the engine); +# - step 41 of this tree and of the old tree write the same RhD row (its +# phenotype, genotype and confidence; step 41's notes are not the +# engine's) and the same RhD evidence rows (other systems may change +# after the engine); # - step 35's HBA block (bedcov all MAPQ and MAPQ >= 1, then the verdict) # writes the same table through og cn as the old hba_copy_number.py # does. @@ -110,7 +112,9 @@ for V in full thin; do done # Step 41: the header and the RhD rows only; other systems are not the engine's. for f in bloodtype evidence; do - for d in "$NEW" "$OLDO"; do awk -F'\t' 'NR == 1 || $1 == "RhD"' "${d}/${f}.tsv" > "${d}/${f}.rhd.tsv"; done + for d in "$NEW" "$OLDO"; do + awk -F'\t' -v OFS='\t' -v f="$f" 'NR == 1 || $1 == "RhD" {if (f == "bloodtype") NF = 4; print}' "${d}/${f}.tsv" > "${d}/${f}.rhd.tsv" + done check_ge "${V}: RhD rows in this tree's ${f} table" "$(($(wc -l < "${NEW}/${f}.rhd.tsv") - 1))" 1 done # Step 46's message names what its interval covers since the old tree diff --git a/tests/e2e/platelet-antigens-1.sh b/tests/e2e/platelet-antigens-1.sh index e94eaae16..6090e7516 100755 --- a/tests/e2e/platelet-antigens-1.sh +++ b/tests/e2e/platelet-antigens-1.sh @@ -2,13 +2,14 @@ # Step 41's platelet (HPA) and neutrophil (HNA) antigens, through the real # step and its pinned images. The fixture's slices hold none of these genes, # so the case writes a synthetic VCF with planted genotypes at the sites of -# assets/bloodtype_markers.tsv (no BAM: every site with no record is read as -# the reference allele, confidence medium) and checks the rows: +# assets/bloodtype_markers.tsv (no BAM: a site with no record is read as the +# reference allele, confidence medium, when its system has a record at one +# of its sites; a system with none is not assessed) and checks the rows: # - HPA-1 1/1 is HPA-1(a-b+), and the note says the person lacks HPA-1a, # with FNAIT and anti-HPA-1a; # - HPA-6 0/1, HNA-3 0/1 and HNA-4 1/1 flip those systems; # - four FCGR3B markers 0/1 (with c.194 0/1) give HNA-1a/1b at confidence low; -# - control: the same step on a VCF with none of these records gives the +# - control: the same step on a VCF with 0/0 at those sites gives the # reference phenotypes, so the checks above see the planted genotypes. . "$(dirname "$0")/lib.sh" @@ -60,12 +61,12 @@ check_eq "HNA-1 from FCGR3B: a+b+, FCGR3B*01/FCGR3B*02, low" \ check "the evidence file has the HNA-1 sites as called" \ test "$(awk -F'\t' '$2 ~ /^FCGR3B_/ && $9 == "called"' "${G}/${P}/bloodtype/${P}_bloodtype_evidence.tsv" | wc -l)" -eq 5 -# --- control: none of these records ------------------------------------------------ -vcf "${T}/none.vcf.gz" KEL_578:0/1 +# --- control: the reference allele at these sites -------------------------------------- +vcf "${T}/none.vcf.gz" KEL_578:0/1 HPA1_176:0/0 HNA4_230:0/0 HNA3_461:0/0 R="${SAMPLE}plr" sample "$R" "${T}/none.vcf.gz" run_step 41-bloodtype.sh "$R"; check_step_exit 41-bloodtype.sh -check_eq "control: HPA-1 is HPA-1(a+b-) without the planted record" "$(cell "$R" HPA-1 phenotype)" "HPA-1(a+b-)" +check_eq "control: HPA-1 is HPA-1(a+b-) with 0/0 there" "$(cell "$R" HPA-1 phenotype)" "HPA-1(a+b-)" check_eq "control: HNA-4 is HNA-4(a+b-)" "$(cell "$R" HNA-4 phenotype)" "HNA-4(a+b-)" check_eq "control: HNA-3 is GRCh38's HNA-3(a-b+)" "$(cell "$R" HNA-3 phenotype)" "HNA-3(a-b+)" diff --git a/tests/parity/golden/bloodtype/abo-ab-duffy-gata-kell-null/stdout b/tests/parity/golden/bloodtype/abo-ab-duffy-gata-kell-null/stdout new file mode 100644 index 000000000..38df98ddc --- /dev/null +++ b/tests/parity/golden/bloodtype/abo-ab-duffy-gata-kell-null/stdout @@ -0,0 +1,56 @@ +Blood groups of S, predicted from the genome (not a serological typing): + Kell K+k- Kp(a-b+) Js(a-b+) high + ABO A2B low + RhD D+ high + RhCE C-c+ E-e+ low + Duffy Fy(a+b-) high + Kidd Jk(a+b-) high + MNS M-N+ S-s+ low + Lutheran Lu(a-b+) high + Diego Di(a-b+) high + Dombrock Do(a-b+) high + Colton Co(a+b-) high + Vel Vel+ high + Langereis Lan+ high + Junior Jr(a+) high + H H+ high + Secretor secretor high + HPA-1 HPA-1(a+b-) high + HPA-2 HPA-2(a+b-) high + HPA-3 HPA-3(a+b-) high + HPA-4 HPA-4(a+b-) high + HPA-5 HPA-5(a+b-) high + HPA-6 HPA-6(a+b-) high + HPA-7 HPA-7(a+b-) high + HPA-8 HPA-8(a+b-) high + HPA-9 HPA-9(a+b-) high + HPA-10 HPA-10(a+b-) high + HPA-11 HPA-11(a+b-) high + HPA-12 HPA-12(a+b-) high + HPA-13 HPA-13(a+b-) high + HPA-14 HPA-14(a+b-) high + HPA-15 HPA-15(a+b-) high + HPA-16 HPA-16(a+b-) high + HPA-17 HPA-17(a+b-) high + HPA-18 HPA-18(a+b-) high + HPA-19 HPA-19(a+b-) high + HPA-20 HPA-20(a+b-) high + HPA-21 HPA-21(a+b-) high + HPA-22 HPA-22(a+b-) high + HPA-23 HPA-23(a+b-) high + HPA-24 HPA-24(a+b-) high + HPA-25 HPA-25(a+b-) high + HPA-26 HPA-26(a+b-) high + HPA-27 HPA-27(a+b-) high + HPA-28 HPA-28(a+b-) high + HPA-29 HPA-29(a+b-) high + HPA-30 HPA-30(a+b-) high + HPA-31 HPA-31(a+b-) high + HPA-32 HPA-32(a+b-) high + HPA-33 HPA-33(a+b-) high + HPA-34 HPA-34(a+b-) high + HPA-35 HPA-35(a+b-) high + HNA-1 HNA-1(a-b+c-) low + HNA-3 HNA-3(a-b+) high + HNA-4 HNA-4(a+b-) high + HNA-5 HNA-5(a+b-) high diff --git a/tests/parity/golden/bloodtype/abo-ab-duffy-gata-kell-null/t.tsv b/tests/parity/golden/bloodtype/abo-ab-duffy-gata-kell-null/t.tsv new file mode 100644 index 000000000..b557124a5 --- /dev/null +++ b/tests/parity/golden/bloodtype/abo-ab-duffy-gata-kell-null/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +Kell K+k- Kp(a-b+) Js(a-b+) K/null Kpb/null Jsb/null high null allele: KEL c.246T>A x1; each null copy is placed with k, Kpb, Jsb first, the alleles the ISBT table finds it with (phase is not read); a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; lacks k, carried by most people (high prevalence) +ABO A2B A2/B low A1 or A2 rests on ABO c.1061delC, a deletion in a run of C: short-read calls are less reliable here; an A allele is read from a c.261 insertion with neither c.802G>A nor c.803G>C, so an O allele that keeps c.261 (a non-deletional O) or a weak A subgroup also reads A; ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed; A and B on different chromosomes assumed (no phase) +RhD D+ RHD/RHD*08N.01 (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Duffy Fy(a+b-) FY*A/FY*B GATA high c.-67T>C (GATA box) stops Duffy expression on red cells only; with no phase it is placed on the Fyb chromosome first, where it usually lies (FY*02N.01) +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a+b-) 15a/15a high lacks HPA-15b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/abo-ab-no-bam/stdout b/tests/parity/golden/bloodtype/abo-ab-no-bam/stdout new file mode 100644 index 000000000..7381c46ad --- /dev/null +++ b/tests/parity/golden/bloodtype/abo-ab-no-bam/stdout @@ -0,0 +1,56 @@ +Blood groups of S, predicted from the genome (not a serological typing): + Kell K+k- Kp(a-b+) Js(a-b+) medium + ABO A2B low + RhD not determined not determined + RhCE not assessed not assessed + Duffy Fy(a+b-) medium + Kidd not assessed not assessed + MNS not assessed not assessed + Lutheran not assessed not assessed + Diego not assessed not assessed + Dombrock not assessed not assessed + Colton not assessed not assessed + Vel not assessed not assessed + Langereis not assessed not assessed + Junior not assessed not assessed + H not assessed not assessed + Secretor not assessed not assessed + HPA-1 not assessed not assessed + HPA-2 not assessed not assessed + HPA-3 not assessed not assessed + HPA-4 not assessed not assessed + HPA-5 not assessed not assessed + HPA-6 not assessed not assessed + HPA-7 not assessed not assessed + HPA-8 not assessed not assessed + HPA-9 not assessed not assessed + HPA-10 not assessed not assessed + HPA-11 not assessed not assessed + HPA-12 not assessed not assessed + HPA-13 not assessed not assessed + HPA-14 not assessed not assessed + HPA-15 HPA-15(a+b-) high + HPA-16 not assessed not assessed + HPA-17 not assessed not assessed + HPA-18 not assessed not assessed + HPA-19 not assessed not assessed + HPA-20 not assessed not assessed + HPA-21 not assessed not assessed + HPA-22 not assessed not assessed + HPA-23 not assessed not assessed + HPA-24 not assessed not assessed + HPA-25 not assessed not assessed + HPA-26 not assessed not assessed + HPA-27 not assessed not assessed + HPA-28 not assessed not assessed + HPA-29 not assessed not assessed + HPA-30 not assessed not assessed + HPA-31 not assessed not assessed + HPA-32 not assessed not assessed + HPA-33 not assessed not assessed + HPA-34 not assessed not assessed + HPA-35 not assessed not assessed + HNA-1 not assessed not assessed + HNA-3 not assessed not assessed + HNA-4 not assessed not assessed + HNA-5 not assessed not assessed diff --git a/tests/parity/golden/bloodtype/abo-ab-no-bam/t.tsv b/tests/parity/golden/bloodtype/abo-ab-no-bam/t.tsv new file mode 100644 index 000000000..f6ff12cb0 --- /dev/null +++ b/tests/parity/golden/bloodtype/abo-ab-no-bam/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +Kell K+k- Kp(a-b+) Js(a-b+) K/null Kpb/null Jsb/null medium null allele: KEL c.246T>A x1; each null copy is placed with k, Kpb, Jsb first, the alleles the ISBT table finds it with (phase is not read); a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; sites with no VCF record read as reference (no BAM depth to confirm them); lacks k, carried by most people (high prevalence) +ABO A2B A2/B low A1 or A2 rests on ABO c.1061delC, a deletion in a run of C: short-read calls are less reliable here; an A allele is read from a c.261 insertion with neither c.802G>A nor c.803G>C, so an O allele that keeps c.261 (a non-deletional O) or a weak A subgroup also reads A; ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed; A and B on different chromosomes assumed (no phase); sites with no VCF record read as reference (no BAM depth to confirm them) +RhD not determined . not determined needs the BAM: the common RhD-negative allele (RHD*01N.01) deletes the whole RHD gene, which a VCF does not show +RhCE not assessed . not assessed no VCF record at any of its 2 sites and no BAM: a VCF that does not cover chr1 would read as the reference +Duffy Fy(a+b-) FY*A/FY*B GATA medium c.-67T>C (GATA box) stops Duffy expression on red cells only; with no phase it is placed on the Fyb chromosome first, where it usually lies (FY*02N.01); sites with no VCF record read as reference (no BAM depth to confirm them) +Kidd not assessed . not assessed no VCF record at any of its 41 sites and no BAM: a VCF that does not cover chr18 would read as the reference +MNS not assessed . not assessed no VCF record at any of its 2 sites and no BAM: a VCF that does not cover chr4 would read as the reference +Lutheran not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr19 would read as the reference +Diego not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +Dombrock not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr12 would read as the reference +Colton not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr7 would read as the reference +Vel not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr1 would read as the reference +Langereis not assessed . not assessed no VCF record at any of its 36 sites and no BAM: a VCF that does not cover chr2 would read as the reference +Junior not assessed . not assessed no VCF record at any of its 23 sites and no BAM: a VCF that does not cover chr4 would read as the reference +H not assessed . not assessed no VCF record at any of its 34 sites and no BAM: a VCF that does not cover chr19 would read as the reference +Secretor not assessed . not assessed no VCF record at any of its 14 sites and no BAM: a VCF that does not cover chr19 would read as the reference +HPA-1 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-2 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-3 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-4 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-5 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr5 would read as the reference +HPA-6 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-7 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-8 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-9 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-10 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-11 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-12 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr22 would read as the reference +HPA-13 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr5 would read as the reference +HPA-14 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-15 HPA-15(a+b-) 15a/15a high lacks HPA-15b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-17 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-18 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr5 would read as the reference +HPA-19 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-20 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-21 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-22 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-23 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-24 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-25 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr5 would read as the reference +HPA-26 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-27 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-28 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-29 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-30 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-31 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr3 would read as the reference +HPA-32 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-33 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-34 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-35 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HNA-1 not assessed . not assessed no VCF record at any of its 6 sites and no BAM: a VCF that does not cover chr1 would read as the reference +HNA-3 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr19 would read as the reference +HNA-4 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr16 would read as the reference +HNA-5 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr16 would read as the reference diff --git a/tests/parity/golden/bloodtype/abo-bad-para-bombay-lan/t.tsv b/tests/parity/golden/bloodtype/abo-bad-para-bombay-lan/t.tsv new file mode 100644 index 000000000..13e7678ae --- /dev/null +++ b/tests/parity/golden/bloodtype/abo-bad-para-bombay-lan/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +Langereis Lan- null/null low null alleles: ABCB6 c.717G>A x1, ABCB6 c.574C>T x1; two different null alleles, assumed to sit on different chromosomes (phase is not read); lacks Lan, carried by most people (high prevalence) +H H- (para-Bombay) h/h high null allele: FUT1 c.695G>A x2; lacks H, carried by most people (high prevalence); para-Bombay: a working FUT2 makes H in secretions, and red cells carry little or none +ABO not determined . not determined the markers do not add up to two ABO alleles (c.261 insertion x1, c.802G>A x1, c.803G>C x2) +RhD D+ RHD/RHD (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy Fy(a+b-) FY*A/FY*A high +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/null high null allele: SMIM1 c.64_80delAGCCTAGGGGCTGTGTC x1; a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/abo-odd-fyx-kidd-two-nulls/t.tsv b/tests/parity/golden/bloodtype/abo-odd-fyx-kidd-two-nulls/t.tsv new file mode 100644 index 000000000..d3d786a7a --- /dev/null +++ b/tests/parity/golden/bloodtype/abo-odd-fyx-kidd-two-nulls/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +Kidd Jk(a-b-) null/null low two null copies: no Kidd antigen on the red cells (Jk3-); null alleles: SLC14A1 c.118G>A x1, SLC14A1 c.151+1G>C x1; two different null alleles, assumed to sit on different chromosomes (phase is not read); each null copy is placed with the alleles the ISBT table finds it with first (SLC14A1 c.118G>A: Jkb; SLC14A1 c.151+1G>C: Jka; phase is not read); lacks Jk3, carried by most people (high prevalence) +ABO B B/O.01 low c.796C>A (x0) and c.803G>C (x1) disagree: a rare A or B allele; ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD D+ RHD/RHD (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy Fy(a-b+w) FY*X/FY*X high +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/bam-without-chr1-chr9/t.tsv b/tests/parity/golden/bloodtype/bam-without-chr1-chr9/t.tsv new file mode 100644 index 000000000..feda5b398 --- /dev/null +++ b/tests/parity/golden/bloodtype/bam-without-chr1-chr9/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +ABO not determined . not determined ABO c.261delG: no call (no VCF record and no depth row (the BAM has no such contig)); ABO c.802G>A: no call (no VCF record and no depth row (the BAM has no such contig)); ABO c.803G>C: no call (no VCF record and no depth row (the BAM has no such contig)) +RhD not determined . not determined no read depth over RHD and its flanks (the BAM has no chr1 contig) +RhCE not determined . not determined RHCE c.307C>T: no call (no VCF record and no depth row (the BAM has no such contig)); RHCE c.676G>C: no call (no VCF record and no depth row (the BAM has no such contig)) +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy not determined . not determined ACKR1 c.125G>A: no call (no VCF record and no depth row (the BAM has no such contig)); ACKR1 c.-67T>C: no call (no VCF record and no depth row (the BAM has no such contig)) +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel not determined . not determined no null row of Vel was determined; SMIM1 c.64_80delAGCCTAGGGGCTGTGTC: no call (no VCF record and no depth row (the BAM has no such contig)) +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 not determined . not determined FCGR3B c.108G>C: no call (no VCF record and no depth row (the BAM has no such contig)); FCGR3B c.114C>T: no call (no VCF record and no depth row (the BAM has no such contig)); FCGR3B c.244G>A: no call (no VCF record and no depth row (the BAM has no such contig)); FCGR3B c.316G>A: no call (no VCF record and no depth row (the BAM has no such contig)) +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/bgzip-no-index-abo/stdout b/tests/parity/golden/bloodtype/bgzip-no-index-abo/stdout new file mode 100644 index 000000000..38df98ddc --- /dev/null +++ b/tests/parity/golden/bloodtype/bgzip-no-index-abo/stdout @@ -0,0 +1,56 @@ +Blood groups of S, predicted from the genome (not a serological typing): + Kell K+k- Kp(a-b+) Js(a-b+) high + ABO A2B low + RhD D+ high + RhCE C-c+ E-e+ low + Duffy Fy(a+b-) high + Kidd Jk(a+b-) high + MNS M-N+ S-s+ low + Lutheran Lu(a-b+) high + Diego Di(a-b+) high + Dombrock Do(a-b+) high + Colton Co(a+b-) high + Vel Vel+ high + Langereis Lan+ high + Junior Jr(a+) high + H H+ high + Secretor secretor high + HPA-1 HPA-1(a+b-) high + HPA-2 HPA-2(a+b-) high + HPA-3 HPA-3(a+b-) high + HPA-4 HPA-4(a+b-) high + HPA-5 HPA-5(a+b-) high + HPA-6 HPA-6(a+b-) high + HPA-7 HPA-7(a+b-) high + HPA-8 HPA-8(a+b-) high + HPA-9 HPA-9(a+b-) high + HPA-10 HPA-10(a+b-) high + HPA-11 HPA-11(a+b-) high + HPA-12 HPA-12(a+b-) high + HPA-13 HPA-13(a+b-) high + HPA-14 HPA-14(a+b-) high + HPA-15 HPA-15(a+b-) high + HPA-16 HPA-16(a+b-) high + HPA-17 HPA-17(a+b-) high + HPA-18 HPA-18(a+b-) high + HPA-19 HPA-19(a+b-) high + HPA-20 HPA-20(a+b-) high + HPA-21 HPA-21(a+b-) high + HPA-22 HPA-22(a+b-) high + HPA-23 HPA-23(a+b-) high + HPA-24 HPA-24(a+b-) high + HPA-25 HPA-25(a+b-) high + HPA-26 HPA-26(a+b-) high + HPA-27 HPA-27(a+b-) high + HPA-28 HPA-28(a+b-) high + HPA-29 HPA-29(a+b-) high + HPA-30 HPA-30(a+b-) high + HPA-31 HPA-31(a+b-) high + HPA-32 HPA-32(a+b-) high + HPA-33 HPA-33(a+b-) high + HPA-34 HPA-34(a+b-) high + HPA-35 HPA-35(a+b-) high + HNA-1 HNA-1(a-b+c-) low + HNA-3 HNA-3(a-b+) high + HNA-4 HNA-4(a+b-) high + HNA-5 HNA-5(a+b-) high diff --git a/tests/parity/golden/bloodtype/bgzip-no-index-abo/t.tsv b/tests/parity/golden/bloodtype/bgzip-no-index-abo/t.tsv new file mode 100644 index 000000000..b557124a5 --- /dev/null +++ b/tests/parity/golden/bloodtype/bgzip-no-index-abo/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +Kell K+k- Kp(a-b+) Js(a-b+) K/null Kpb/null Jsb/null high null allele: KEL c.246T>A x1; each null copy is placed with k, Kpb, Jsb first, the alleles the ISBT table finds it with (phase is not read); a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; lacks k, carried by most people (high prevalence) +ABO A2B A2/B low A1 or A2 rests on ABO c.1061delC, a deletion in a run of C: short-read calls are less reliable here; an A allele is read from a c.261 insertion with neither c.802G>A nor c.803G>C, so an O allele that keeps c.261 (a non-deletional O) or a weak A subgroup also reads A; ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed; A and B on different chromosomes assumed (no phase) +RhD D+ RHD/RHD*08N.01 (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Duffy Fy(a+b-) FY*A/FY*B GATA high c.-67T>C (GATA box) stops Duffy expression on red cells only; with no phase it is placed on the Fyb chromosome first, where it usually lies (FY*02N.01) +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a+b-) 15a/15a high lacks HPA-15b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/bombay-null-null/t.tsv b/tests/parity/golden/bloodtype/bombay-null-null/t.tsv new file mode 100644 index 000000000..1bafc7a1e --- /dev/null +++ b/tests/parity/golden/bloodtype/bombay-null-null/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +Kell K-k- Kp(a-b-) Js(a-b-) null/null high two null copies: no Kell antigen on the red cells (Ku-); null allele: KEL c.246T>A x2; each null copy is placed with k, Kpb, Jsb first, the alleles the ISBT table finds it with (phase is not read); lacks k, Kpb, Jsb, Ku, carried by most people (high prevalence) +Kidd Jk(a-b-) null/null high two null copies: no Kidd antigen on the red cells (Jk3-); null allele: SLC14A1 c.342-1G>A, c.342-1G>C x2; each null copy is placed with Jkb, Jka first, the alleles the ISBT table finds it with (phase is not read); lacks Jk3, carried by most people (high prevalence) +H H- (Bombay, Oh) h/h high null allele: FUT1 c.695G>A x2; lacks H, carried by most people (high prevalence) +ABO O O.01/O.02 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed; no FUT1 (H-): the red cells carry no H (or very little, para-Bombay), so these ABO alleles make little or no A or B on them and the cells usually group as O +RhD D+ RHD/RHD (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Duffy Fy(a+b-) FY*A/FY*A high +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor non-secretor se/se high null allele: FUT2 c.461G>A x2; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/gvcf-hna-disagree/t.tsv b/tests/parity/golden/bloodtype/gvcf-hna-disagree/t.tsv new file mode 100644 index 000000000..9f8dd2b4c --- /dev/null +++ b/tests/parity/golden/bloodtype/gvcf-hna-disagree/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +Kidd Jk(a-b-) null/null high two null copies: no Kidd antigen on the red cells (Jk3-); null allele: SLC14A1 c.342-1G>A, c.342-1G>C x2; each null copy is placed with Jkb, Jka first, the alleles the ISBT table finds it with (phase is not read); lacks Jk3, carried by most people (high prevalence) +HPA-21 HPA-21(a-b+) 21b/21b high lacks HPA-21a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions); lacks HPA-21a, carried by most people (high prevalence) +ABO O O.01/O.01 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD D+ RHD/RHD (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; KEL c.1546C>T: another allele at this position (G>T, genotype 0/1) +Duffy Fy(a+b-) FY*A/FY*A high +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 not determined . not determined the FCGR3B markers do not agree on HNA-1a or HNA-1b (FCGR3B c.108G>C x1, FCGR3B c.114C>T x1, FCGR3B c.244G>A x1, FCGR3B c.316G>A x2): an FCGR3A read placed on FCGR3B, an extra FCGR3B copy, or a rare allele; FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/hna1c/t.tsv b/tests/parity/golden/bloodtype/hna1c/t.tsv new file mode 100644 index 000000000..5b5ec63ef --- /dev/null +++ b/tests/parity/golden/bloodtype/hna1c/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +ABO O O.01/O.01 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD D+ RHD/RHD (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy Fy(a+b-) FY*A/FY*A high +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a+b+c+) FCGR3B*01/FCGR3B*03 low FCGR3B c.194A>G (x2) does not match the other FCGR3B markers; HNA-1c with no HNA-1b allele left for it: often an extra FCGR3B copy carrying FCGR3B*03; FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/indexed-abo/stdout b/tests/parity/golden/bloodtype/indexed-abo/stdout new file mode 100644 index 000000000..38df98ddc --- /dev/null +++ b/tests/parity/golden/bloodtype/indexed-abo/stdout @@ -0,0 +1,56 @@ +Blood groups of S, predicted from the genome (not a serological typing): + Kell K+k- Kp(a-b+) Js(a-b+) high + ABO A2B low + RhD D+ high + RhCE C-c+ E-e+ low + Duffy Fy(a+b-) high + Kidd Jk(a+b-) high + MNS M-N+ S-s+ low + Lutheran Lu(a-b+) high + Diego Di(a-b+) high + Dombrock Do(a-b+) high + Colton Co(a+b-) high + Vel Vel+ high + Langereis Lan+ high + Junior Jr(a+) high + H H+ high + Secretor secretor high + HPA-1 HPA-1(a+b-) high + HPA-2 HPA-2(a+b-) high + HPA-3 HPA-3(a+b-) high + HPA-4 HPA-4(a+b-) high + HPA-5 HPA-5(a+b-) high + HPA-6 HPA-6(a+b-) high + HPA-7 HPA-7(a+b-) high + HPA-8 HPA-8(a+b-) high + HPA-9 HPA-9(a+b-) high + HPA-10 HPA-10(a+b-) high + HPA-11 HPA-11(a+b-) high + HPA-12 HPA-12(a+b-) high + HPA-13 HPA-13(a+b-) high + HPA-14 HPA-14(a+b-) high + HPA-15 HPA-15(a+b-) high + HPA-16 HPA-16(a+b-) high + HPA-17 HPA-17(a+b-) high + HPA-18 HPA-18(a+b-) high + HPA-19 HPA-19(a+b-) high + HPA-20 HPA-20(a+b-) high + HPA-21 HPA-21(a+b-) high + HPA-22 HPA-22(a+b-) high + HPA-23 HPA-23(a+b-) high + HPA-24 HPA-24(a+b-) high + HPA-25 HPA-25(a+b-) high + HPA-26 HPA-26(a+b-) high + HPA-27 HPA-27(a+b-) high + HPA-28 HPA-28(a+b-) high + HPA-29 HPA-29(a+b-) high + HPA-30 HPA-30(a+b-) high + HPA-31 HPA-31(a+b-) high + HPA-32 HPA-32(a+b-) high + HPA-33 HPA-33(a+b-) high + HPA-34 HPA-34(a+b-) high + HPA-35 HPA-35(a+b-) high + HNA-1 HNA-1(a-b+c-) low + HNA-3 HNA-3(a-b+) high + HNA-4 HNA-4(a+b-) high + HNA-5 HNA-5(a+b-) high diff --git a/tests/parity/golden/bloodtype/indexed-abo/t.tsv b/tests/parity/golden/bloodtype/indexed-abo/t.tsv new file mode 100644 index 000000000..b557124a5 --- /dev/null +++ b/tests/parity/golden/bloodtype/indexed-abo/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +Kell K+k- Kp(a-b+) Js(a-b+) K/null Kpb/null Jsb/null high null allele: KEL c.246T>A x1; each null copy is placed with k, Kpb, Jsb first, the alleles the ISBT table finds it with (phase is not read); a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; lacks k, carried by most people (high prevalence) +ABO A2B A2/B low A1 or A2 rests on ABO c.1061delC, a deletion in a run of C: short-read calls are less reliable here; an A allele is read from a c.261 insertion with neither c.802G>A nor c.803G>C, so an O allele that keeps c.261 (a non-deletional O) or a weak A subgroup also reads A; ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed; A and B on different chromosomes assumed (no phase) +RhD D+ RHD/RHD*08N.01 (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Duffy Fy(a+b-) FY*A/FY*B GATA high c.-67T>C (GATA box) stops Duffy expression on red cells only; with no phase it is placed on the Fyb chromosome first, where it usually lies (FY*02N.01) +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a+b-) 15a/15a high lacks HPA-15b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/indexed-blocks/t.tsv b/tests/parity/golden/bloodtype/indexed-blocks/t.tsv new file mode 100644 index 000000000..2a5dd0d22 --- /dev/null +++ b/tests/parity/golden/bloodtype/indexed-blocks/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +ABO O O.01/O.01 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD D+ RHD/RHD (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy Fy(a+b-) FY*A/FY*A high +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S+s+ N/N S/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/indexed-bombay/t.tsv b/tests/parity/golden/bloodtype/indexed-bombay/t.tsv new file mode 100644 index 000000000..1bafc7a1e --- /dev/null +++ b/tests/parity/golden/bloodtype/indexed-bombay/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +Kell K-k- Kp(a-b-) Js(a-b-) null/null high two null copies: no Kell antigen on the red cells (Ku-); null allele: KEL c.246T>A x2; each null copy is placed with k, Kpb, Jsb first, the alleles the ISBT table finds it with (phase is not read); lacks k, Kpb, Jsb, Ku, carried by most people (high prevalence) +Kidd Jk(a-b-) null/null high two null copies: no Kidd antigen on the red cells (Jk3-); null allele: SLC14A1 c.342-1G>A, c.342-1G>C x2; each null copy is placed with Jkb, Jka first, the alleles the ISBT table finds it with (phase is not read); lacks Jk3, carried by most people (high prevalence) +H H- (Bombay, Oh) h/h high null allele: FUT1 c.695G>A x2; lacks H, carried by most people (high prevalence) +ABO O O.01/O.02 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed; no FUT1 (H-): the red cells carry no H (or very little, para-Bombay), so these ABO alleles make little or no A or B on them and the cells usually group as O +RhD D+ RHD/RHD (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Duffy Fy(a+b-) FY*A/FY*A high +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor non-secretor se/se high null allele: FUT2 c.461G>A x2; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/indexed-gvcf/t.tsv b/tests/parity/golden/bloodtype/indexed-gvcf/t.tsv new file mode 100644 index 000000000..9f8dd2b4c --- /dev/null +++ b/tests/parity/golden/bloodtype/indexed-gvcf/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +Kidd Jk(a-b-) null/null high two null copies: no Kidd antigen on the red cells (Jk3-); null allele: SLC14A1 c.342-1G>A, c.342-1G>C x2; each null copy is placed with Jkb, Jka first, the alleles the ISBT table finds it with (phase is not read); lacks Jk3, carried by most people (high prevalence) +HPA-21 HPA-21(a-b+) 21b/21b high lacks HPA-21a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions); lacks HPA-21a, carried by most people (high prevalence) +ABO O O.01/O.01 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD D+ RHD/RHD (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; KEL c.1546C>T: another allele at this position (G>T, genotype 0/1) +Duffy Fy(a+b-) FY*A/FY*A high +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 not determined . not determined the FCGR3B markers do not agree on HNA-1a or HNA-1b (FCGR3B c.108G>C x1, FCGR3B c.114C>T x1, FCGR3B c.244G>A x1, FCGR3B c.316G>A x2): an FCGR3A read placed on FCGR3B, an extra FCGR3B copy, or a rare allele; FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/indexed-nochr/stdout b/tests/parity/golden/bloodtype/indexed-nochr/stdout new file mode 100644 index 000000000..d07df796f --- /dev/null +++ b/tests/parity/golden/bloodtype/indexed-nochr/stdout @@ -0,0 +1,56 @@ +Blood groups of S, predicted from the genome (not a serological typing): + ABO A1 low + RhD D+ high + RhCE C-c+ E-e+ low + Kell K-k+ Kp(a-b+) Js(a-b+) high + Duffy Fy(a+b+) high + Kidd Jk(a-b+) high + MNS M-N+ S-s+ low + Lutheran Lu(a-b+) high + Diego Di(a-b+) high + Dombrock Do(a-b+) high + Colton Co(a+b-) high + Vel Vel+ high + Langereis Lan+ high + Junior Jr(a+) high + H H+ high + Secretor secretor high + HPA-1 HPA-1(a+b-) high + HPA-2 HPA-2(a+b-) high + HPA-3 HPA-3(a+b-) high + HPA-4 HPA-4(a+b-) high + HPA-5 HPA-5(a+b-) high + HPA-6 HPA-6(a+b-) high + HPA-7 HPA-7(a+b-) high + HPA-8 HPA-8(a+b-) high + HPA-9 HPA-9(a+b-) high + HPA-10 HPA-10(a+b-) high + HPA-11 HPA-11(a+b-) high + HPA-12 HPA-12(a+b-) high + HPA-13 HPA-13(a+b-) high + HPA-14 HPA-14(a+b-) high + HPA-15 HPA-15(a-b+) high + HPA-16 HPA-16(a+b-) high + HPA-17 HPA-17(a+b-) high + HPA-18 HPA-18(a+b-) high + HPA-19 HPA-19(a+b-) high + HPA-20 HPA-20(a+b-) high + HPA-21 HPA-21(a+b-) high + HPA-22 HPA-22(a+b-) high + HPA-23 HPA-23(a+b-) high + HPA-24 HPA-24(a+b-) high + HPA-25 HPA-25(a+b-) high + HPA-26 HPA-26(a+b-) high + HPA-27 HPA-27(a+b-) high + HPA-28 HPA-28(a+b-) high + HPA-29 HPA-29(a+b-) high + HPA-30 HPA-30(a+b-) high + HPA-31 HPA-31(a+b-) high + HPA-32 HPA-32(a+b-) high + HPA-33 HPA-33(a+b-) high + HPA-34 HPA-34(a+b-) high + HPA-35 HPA-35(a+b-) high + HNA-1 HNA-1(a-b+c-) low + HNA-3 HNA-3(a-b+) high + HNA-4 HNA-4(a+b-) high + HNA-5 HNA-5(a+b-) high diff --git a/tests/parity/golden/bloodtype/indexed-nochr/t.tsv b/tests/parity/golden/bloodtype/indexed-nochr/t.tsv new file mode 100644 index 000000000..5fca1b719 --- /dev/null +++ b/tests/parity/golden/bloodtype/indexed-nochr/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +ABO A1 A1/O.01 low A1 or A2 rests on ABO c.1061delC, a deletion in a run of C: short-read calls are less reliable here; an A allele is read from a c.261 insertion with neither c.802G>A nor c.803G>C, so an O allele that keeps c.261 (a non-deletional O) or a weak A subgroup also reads A; ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD D+ RHD/RHD (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy Fy(a+b+) FY*A/FY*B high +Kidd Jk(a-b+) Jkb/Jkb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/indexed-vcf-quirks/t.tsv b/tests/parity/golden/bloodtype/indexed-vcf-quirks/t.tsv new file mode 100644 index 000000000..d9d9298fb --- /dev/null +++ b/tests/parity/golden/bloodtype/indexed-vcf-quirks/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +Kell K-k- Kp(a-b-) Js(a-b-) null/null low two null copies: no Kell antigen on the red cells (Ku-); null allele: KEL c.223+1G>C, c.223+1G>A, c.223+1G>T x2; each null copy is placed with k, Kpb, Jsb first, the alleles the ISBT table finds it with (phase is not read); KEL c.578C>T: another allele at this position (G>C,A, genotype 1/2); lacks k, Kpb, Jsb, Ku, carried by most people (high prevalence) +ABO O O.01/O.01 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD D+ RHD/RHD (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Duffy Fy(a+b-) FY*A/FY*A high +Kidd not determined . not determined SLC14A1 c.838G>A: no call (FILTER LowQual) +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran not determined . not determined BCAM c.230G>A: no call (genotype ./.) +Diego not determined . not determined SLC4A1 c.2561C>T: no call (genotype 1) +Dombrock Do(a+b+) Doa/Dob high +Colton not determined . not determined AQP1 c.134C>T: no call (genotype .) +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 not determined . not determined ITGB3 c.176T>C: no call (genotype .) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/low-site-depth/t.tsv b/tests/parity/golden/bloodtype/low-site-depth/t.tsv new file mode 100644 index 000000000..139a6670b --- /dev/null +++ b/tests/parity/golden/bloodtype/low-site-depth/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +ABO O O.01/O.01 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD D+ RHD/RHD (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K/k not determined Kp(a-b+) Js(a-b+) Kpb/Kpb Jsb/Jsb low KEL c.578C>T: low depth (no VCF record and 3 reads at MAPQ 20 (fewer than 8)); 1 null row not determined (KEL c.246T>A: low depth); a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy Fy(a+b-) FY*A/FY*A high +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel not determined . not determined no null row of Vel was determined; SMIM1 c.64_80delAGCCTAGGGGCTGTGTC: low depth (no VCF record and 2 reads at MAPQ 20 (fewer than 8)) +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/plain-nochr/stdout b/tests/parity/golden/bloodtype/plain-nochr/stdout new file mode 100644 index 000000000..d07df796f --- /dev/null +++ b/tests/parity/golden/bloodtype/plain-nochr/stdout @@ -0,0 +1,56 @@ +Blood groups of S, predicted from the genome (not a serological typing): + ABO A1 low + RhD D+ high + RhCE C-c+ E-e+ low + Kell K-k+ Kp(a-b+) Js(a-b+) high + Duffy Fy(a+b+) high + Kidd Jk(a-b+) high + MNS M-N+ S-s+ low + Lutheran Lu(a-b+) high + Diego Di(a-b+) high + Dombrock Do(a-b+) high + Colton Co(a+b-) high + Vel Vel+ high + Langereis Lan+ high + Junior Jr(a+) high + H H+ high + Secretor secretor high + HPA-1 HPA-1(a+b-) high + HPA-2 HPA-2(a+b-) high + HPA-3 HPA-3(a+b-) high + HPA-4 HPA-4(a+b-) high + HPA-5 HPA-5(a+b-) high + HPA-6 HPA-6(a+b-) high + HPA-7 HPA-7(a+b-) high + HPA-8 HPA-8(a+b-) high + HPA-9 HPA-9(a+b-) high + HPA-10 HPA-10(a+b-) high + HPA-11 HPA-11(a+b-) high + HPA-12 HPA-12(a+b-) high + HPA-13 HPA-13(a+b-) high + HPA-14 HPA-14(a+b-) high + HPA-15 HPA-15(a-b+) high + HPA-16 HPA-16(a+b-) high + HPA-17 HPA-17(a+b-) high + HPA-18 HPA-18(a+b-) high + HPA-19 HPA-19(a+b-) high + HPA-20 HPA-20(a+b-) high + HPA-21 HPA-21(a+b-) high + HPA-22 HPA-22(a+b-) high + HPA-23 HPA-23(a+b-) high + HPA-24 HPA-24(a+b-) high + HPA-25 HPA-25(a+b-) high + HPA-26 HPA-26(a+b-) high + HPA-27 HPA-27(a+b-) high + HPA-28 HPA-28(a+b-) high + HPA-29 HPA-29(a+b-) high + HPA-30 HPA-30(a+b-) high + HPA-31 HPA-31(a+b-) high + HPA-32 HPA-32(a+b-) high + HPA-33 HPA-33(a+b-) high + HPA-34 HPA-34(a+b-) high + HPA-35 HPA-35(a+b-) high + HNA-1 HNA-1(a-b+c-) low + HNA-3 HNA-3(a-b+) high + HNA-4 HNA-4(a+b-) high + HNA-5 HNA-5(a+b-) high diff --git a/tests/parity/golden/bloodtype/plain-nochr/t.tsv b/tests/parity/golden/bloodtype/plain-nochr/t.tsv new file mode 100644 index 000000000..5fca1b719 --- /dev/null +++ b/tests/parity/golden/bloodtype/plain-nochr/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +ABO A1 A1/O.01 low A1 or A2 rests on ABO c.1061delC, a deletion in a run of C: short-read calls are less reliable here; an A allele is read from a c.261 insertion with neither c.802G>A nor c.803G>C, so an O allele that keeps c.261 (a non-deletional O) or a weak A subgroup also reads A; ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD D+ RHD/RHD (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy Fy(a+b+) FY*A/FY*B high +Kidd Jk(a-b+) Jkb/Jkb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/pseudogene-one-copy/stdout b/tests/parity/golden/bloodtype/pseudogene-one-copy/stdout new file mode 100644 index 000000000..25c11a35d --- /dev/null +++ b/tests/parity/golden/bloodtype/pseudogene-one-copy/stdout @@ -0,0 +1,56 @@ +Blood groups of S, predicted from the genome (not a serological typing): + Kell K+k- Kp(a-b+) Js(a-b+) high + ABO A2B low + RhD D- high + RhCE C-c+ E-e+ low + Duffy Fy(a+b-) high + Kidd Jk(a+b-) high + MNS M-N+ S-s+ low + Lutheran Lu(a-b+) high + Diego Di(a-b+) high + Dombrock Do(a-b+) high + Colton Co(a+b-) high + Vel Vel+ high + Langereis Lan+ high + Junior Jr(a+) high + H H+ high + Secretor secretor high + HPA-1 HPA-1(a+b-) high + HPA-2 HPA-2(a+b-) high + HPA-3 HPA-3(a+b-) high + HPA-4 HPA-4(a+b-) high + HPA-5 HPA-5(a+b-) high + HPA-6 HPA-6(a+b-) high + HPA-7 HPA-7(a+b-) high + HPA-8 HPA-8(a+b-) high + HPA-9 HPA-9(a+b-) high + HPA-10 HPA-10(a+b-) high + HPA-11 HPA-11(a+b-) high + HPA-12 HPA-12(a+b-) high + HPA-13 HPA-13(a+b-) high + HPA-14 HPA-14(a+b-) high + HPA-15 HPA-15(a+b-) high + HPA-16 HPA-16(a+b-) high + HPA-17 HPA-17(a+b-) high + HPA-18 HPA-18(a+b-) high + HPA-19 HPA-19(a+b-) high + HPA-20 HPA-20(a+b-) high + HPA-21 HPA-21(a+b-) high + HPA-22 HPA-22(a+b-) high + HPA-23 HPA-23(a+b-) high + HPA-24 HPA-24(a+b-) high + HPA-25 HPA-25(a+b-) high + HPA-26 HPA-26(a+b-) high + HPA-27 HPA-27(a+b-) high + HPA-28 HPA-28(a+b-) high + HPA-29 HPA-29(a+b-) high + HPA-30 HPA-30(a+b-) high + HPA-31 HPA-31(a+b-) high + HPA-32 HPA-32(a+b-) high + HPA-33 HPA-33(a+b-) high + HPA-34 HPA-34(a+b-) high + HPA-35 HPA-35(a+b-) high + HNA-1 HNA-1(a-b+c-) low + HNA-3 HNA-3(a-b+) high + HNA-4 HNA-4(a+b-) high + HNA-5 HNA-5(a+b-) high diff --git a/tests/parity/golden/bloodtype/pseudogene-one-copy/t.tsv b/tests/parity/golden/bloodtype/pseudogene-one-copy/t.tsv new file mode 100644 index 000000000..9a23d33ca --- /dev/null +++ b/tests/parity/golden/bloodtype/pseudogene-one-copy/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +Kell K+k- Kp(a-b+) Js(a-b+) K/null Kpb/null Jsb/null high null allele: KEL c.246T>A x1; each null copy is placed with k, Kpb, Jsb first, the alleles the ISBT table finds it with (phase is not read); a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; lacks k, carried by most people (high prevalence) +ABO A2B A2/B low A1 or A2 rests on ABO c.1061delC, a deletion in a run of C: short-read calls are less reliable here; an A allele is read from a c.261 insertion with neither c.802G>A nor c.803G>C, so an O allele that keeps c.261 (a non-deletional O) or a weak A subgroup also reads A; ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed; A and B on different chromosomes assumed (no phase) +RhD D- RHD*08N.01/RHD deleted (RHD copies by read depth 1.00) high weak and partial D (RHD missense alleles) are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Duffy Fy(a+b-) FY*A/FY*B GATA high c.-67T>C (GATA box) stops Duffy expression on red cells only; with no phase it is placed on the Fyb chromosome first, where it usually lies (FY*02N.01) +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a+b-) 15a/15a high lacks HPA-15b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/ref-blocks-second-record/t.tsv b/tests/parity/golden/bloodtype/ref-blocks-second-record/t.tsv new file mode 100644 index 000000000..2a5dd0d22 --- /dev/null +++ b/tests/parity/golden/bloodtype/ref-blocks-second-record/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +ABO O O.01/O.01 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD D+ RHD/RHD (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy Fy(a+b-) FY*A/FY*A high +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S+s+ N/N S/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/ref-no-bam/stdout b/tests/parity/golden/bloodtype/ref-no-bam/stdout new file mode 100644 index 000000000..c15683e01 --- /dev/null +++ b/tests/parity/golden/bloodtype/ref-no-bam/stdout @@ -0,0 +1,56 @@ +Blood groups of S, predicted from the genome (not a serological typing): + ABO not assessed not assessed + RhD not determined not determined + RhCE not assessed not assessed + Kell not assessed not assessed + Duffy not assessed not assessed + Kidd not assessed not assessed + MNS not assessed not assessed + Lutheran not assessed not assessed + Diego not assessed not assessed + Dombrock not assessed not assessed + Colton not assessed not assessed + Vel not assessed not assessed + Langereis not assessed not assessed + Junior not assessed not assessed + H not assessed not assessed + Secretor not assessed not assessed + HPA-1 not assessed not assessed + HPA-2 not assessed not assessed + HPA-3 not assessed not assessed + HPA-4 not assessed not assessed + HPA-5 not assessed not assessed + HPA-6 not assessed not assessed + HPA-7 not assessed not assessed + HPA-8 not assessed not assessed + HPA-9 not assessed not assessed + HPA-10 not assessed not assessed + HPA-11 not assessed not assessed + HPA-12 not assessed not assessed + HPA-13 not assessed not assessed + HPA-14 not assessed not assessed + HPA-15 not assessed not assessed + HPA-16 not assessed not assessed + HPA-17 not assessed not assessed + HPA-18 not assessed not assessed + HPA-19 not assessed not assessed + HPA-20 not assessed not assessed + HPA-21 not assessed not assessed + HPA-22 not assessed not assessed + HPA-23 not assessed not assessed + HPA-24 not assessed not assessed + HPA-25 not assessed not assessed + HPA-26 not assessed not assessed + HPA-27 not assessed not assessed + HPA-28 not assessed not assessed + HPA-29 not assessed not assessed + HPA-30 not assessed not assessed + HPA-31 not assessed not assessed + HPA-32 not assessed not assessed + HPA-33 not assessed not assessed + HPA-34 not assessed not assessed + HPA-35 not assessed not assessed + HNA-1 not assessed not assessed + HNA-3 not assessed not assessed + HNA-4 not assessed not assessed + HNA-5 not assessed not assessed diff --git a/tests/parity/golden/bloodtype/ref-no-bam/t.tsv b/tests/parity/golden/bloodtype/ref-no-bam/t.tsv new file mode 100644 index 000000000..32e35dd8f --- /dev/null +++ b/tests/parity/golden/bloodtype/ref-no-bam/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +ABO not assessed . not assessed no VCF record at any of its 5 sites and no BAM: a VCF that does not cover chr9 would read as the reference +RhD not determined . not determined needs the BAM: the common RhD-negative allele (RHD*01N.01) deletes the whole RHD gene, which a VCF does not show +RhCE not assessed . not assessed no VCF record at any of its 2 sites and no BAM: a VCF that does not cover chr1 would read as the reference +Kell not assessed . not assessed no VCF record at any of its 60 sites and no BAM: a VCF that does not cover chr7 would read as the reference +Duffy not assessed . not assessed no VCF record at any of its 3 sites and no BAM: a VCF that does not cover chr1 would read as the reference +Kidd not assessed . not assessed no VCF record at any of its 41 sites and no BAM: a VCF that does not cover chr18 would read as the reference +MNS not assessed . not assessed no VCF record at any of its 2 sites and no BAM: a VCF that does not cover chr4 would read as the reference +Lutheran not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr19 would read as the reference +Diego not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +Dombrock not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr12 would read as the reference +Colton not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr7 would read as the reference +Vel not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr1 would read as the reference +Langereis not assessed . not assessed no VCF record at any of its 36 sites and no BAM: a VCF that does not cover chr2 would read as the reference +Junior not assessed . not assessed no VCF record at any of its 23 sites and no BAM: a VCF that does not cover chr4 would read as the reference +H not assessed . not assessed no VCF record at any of its 34 sites and no BAM: a VCF that does not cover chr19 would read as the reference +Secretor not assessed . not assessed no VCF record at any of its 14 sites and no BAM: a VCF that does not cover chr19 would read as the reference +HPA-1 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-2 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-3 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-4 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-5 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr5 would read as the reference +HPA-6 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-7 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-8 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-9 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-10 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-11 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-12 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr22 would read as the reference +HPA-13 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr5 would read as the reference +HPA-14 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-15 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr6 would read as the reference +HPA-16 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-17 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-18 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr5 would read as the reference +HPA-19 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-20 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-21 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-22 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-23 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-24 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-25 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr5 would read as the reference +HPA-26 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-27 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-28 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-29 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-30 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-31 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr3 would read as the reference +HPA-32 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-33 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-34 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HPA-35 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr17 would read as the reference +HNA-1 not assessed . not assessed no VCF record at any of its 6 sites and no BAM: a VCF that does not cover chr1 would read as the reference +HNA-3 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr19 would read as the reference +HNA-4 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr16 would read as the reference +HNA-5 not assessed . not assessed no VCF record at any of its 1 site and no BAM: a VCF that does not cover chr16 would read as the reference diff --git a/tests/parity/golden/bloodtype/ref-reads/t.tsv b/tests/parity/golden/bloodtype/ref-reads/t.tsv new file mode 100644 index 000000000..f9adef07c --- /dev/null +++ b/tests/parity/golden/bloodtype/ref-reads/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +ABO O O.01/O.01 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD D+ RHD/RHD (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy Fy(a+b-) FY*A/FY*A high +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/rhd-boundary/t.tsv b/tests/parity/golden/bloodtype/rhd-boundary/t.tsv new file mode 100644 index 000000000..b4e6f7743 --- /dev/null +++ b/tests/parity/golden/bloodtype/rhd-boundary/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +ABO O O.01/O.01 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD D+ RHD/RHD deleted (RHD copies by read depth 1.45) low read depth 1.45 copies is near a copy-number boundary; weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy Fy(a+b-) FY*A/FY*A high +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/rhd-broken-flank/t.tsv b/tests/parity/golden/bloodtype/rhd-broken-flank/t.tsv new file mode 100644 index 000000000..969c8b5f6 --- /dev/null +++ b/tests/parity/golden/bloodtype/rhd-broken-flank/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +ABO O O.01/O.01 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD not determined . not determined BROKEN_CONTROL: control segment RHD_FLANK_DOWN of RHD has no read while the other controls have 30.0x; check its coordinates in bin/cn_loci.tsv (or the sample lacks that stretch) +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy Fy(a+b-) FY*A/FY*A high +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/rhd-hybrid/t.tsv b/tests/parity/golden/bloodtype/rhd-hybrid/t.tsv new file mode 100644 index 000000000..2d90e0a4a --- /dev/null +++ b/tests/parity/golden/bloodtype/rhd-hybrid/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +ABO O O.01/O.01 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD not determined RHD/RHD (RHD copies by read depth 1.60) not determined RHD exons 3, 4, 5, 6, 7 without RHD reads while the gene has 1.60 copies: the pattern of an RHD-RHCE hybrid gene (such as RHD*03N.01) or a partial deletion. Copies per exon: exon 1 1.60, exon 2 1.60, exon 3 0.00, exon 4 0.00, exon 5 0.00, exon 6 0.00, exon 7 0.00, exon 8 1.60, exon 9 1.60, exon 10 1.60 +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy Fy(a+b-) FY*A/FY*A high +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/rhd-low-flank/t.tsv b/tests/parity/golden/bloodtype/rhd-low-flank/t.tsv new file mode 100644 index 000000000..37daa8762 --- /dev/null +++ b/tests/parity/golden/bloodtype/rhd-low-flank/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +ABO O O.01/O.01 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD not determined . not determined too few reads beside RHD (6.0x) for a copy number (at least 10x) +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy Fy(a+b-) FY*A/FY*A high +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/rhd-none/t.tsv b/tests/parity/golden/bloodtype/rhd-none/t.tsv new file mode 100644 index 000000000..47f01d6a2 --- /dev/null +++ b/tests/parity/golden/bloodtype/rhd-none/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +ABO O O.01/O.01 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD D- RHD deleted/RHD deleted (RHD copies by read depth 0.00) high weak and partial D (RHD missense alleles) are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy Fy(a+b-) FY*A/FY*A high +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/rhd-one/t.tsv b/tests/parity/golden/bloodtype/rhd-one/t.tsv new file mode 100644 index 000000000..6f7f8fe36 --- /dev/null +++ b/tests/parity/golden/bloodtype/rhd-one/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +ABO O O.01/O.01 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD D+ RHD/RHD deleted (RHD copies by read depth 1.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy Fy(a+b-) FY*A/FY*A high +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/rhd-three/t.tsv b/tests/parity/golden/bloodtype/rhd-three/t.tsv new file mode 100644 index 000000000..d1c427e75 --- /dev/null +++ b/tests/parity/golden/bloodtype/rhd-three/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +ABO O O.01/O.01 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD D+ RHD/RHD (RHD copies by read depth 3.10) high read depth gives 3.10 RHD copies, more than two; weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Kell K-k+ Kp(a-b+) Js(a-b+) k/k Kpb/Kpb Jsb/Jsb high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Duffy Fy(a+b-) FY*A/FY*A high +Kidd Jk(a+b-) Jka/Jka high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran Lu(a-b+) Lub/Lub high +Diego Di(a-b+) Dib/Dib high +Dombrock Do(a-b+) Dob/Dob high +Colton Co(a+b-) Coa/Coa high +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 HPA-1(a+b-) 1a/1a high lacks HPA-1b: HPA-1a is the platelet antigen most often behind FNAIT and post-transfusion purpura in white populations: an HPA-1a-negative (HPA-1b/1b) mother can make anti-HPA-1a against an HPA-1a-positive baby; a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) diff --git a/tests/parity/golden/bloodtype/vcf-quirks/t.tsv b/tests/parity/golden/bloodtype/vcf-quirks/t.tsv new file mode 100644 index 000000000..d9d9298fb --- /dev/null +++ b/tests/parity/golden/bloodtype/vcf-quirks/t.tsv @@ -0,0 +1,56 @@ +system phenotype genotype confidence note +Kell K-k- Kp(a-b-) Js(a-b-) null/null low two null copies: no Kell antigen on the red cells (Ku-); null allele: KEL c.223+1G>C, c.223+1G>A, c.223+1G>T x2; each null copy is placed with k, Kpb, Jsb first, the alleles the ISBT table finds it with (phase is not read); KEL c.578C>T: another allele at this position (G>C,A, genotype 1/2); lacks k, Kpb, Jsb, Ku, carried by most people (high prevalence) +ABO O O.01/O.01 high ABO alleles outside these five variants (weak A and B subgroups, cis-AB, O alleles other than O.01 and O.02) are not assessed +RhD D+ RHD/RHD (RHD copies by read depth 2.00) high weak and partial D (RHD missense alleles) are not assessed; an RHD gene that is there reads D+: RHD null alleles other than RHD*08N.01, RHD-CE-D hybrids that keep exons 3 to 7, and DEL alleles are not assessed +RhCE C-c+ E-e+ c/c e/e low RHCE exon 2 of a C allele is RHD-like: short reads can place it on RHD +Duffy Fy(a+b-) FY*A/FY*A high +Kidd not determined . not determined SLC14A1 c.838G>A: no call (FILTER LowQual) +MNS M-N+ S-s+ N/N s/s low GYPA, GYPB and GYPE are near copies: short reads can misplace these calls +Lutheran not determined . not determined BCAM c.230G>A: no call (genotype ./.) +Diego not determined . not determined SLC4A1 c.2561C>T: no call (genotype 1) +Dombrock Do(a+b+) Doa/Dob high +Colton not determined . not determined AQP1 c.134C>T: no call (genotype .) +Vel Vel+ Vel/Vel high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Langereis Lan+ Lan/Lan high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Junior Jr(a+) Jra/Jra high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +H H+ H/H high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen +Secretor secretor Se/Se high a null allele the table does not hold (one of two or more variants, or a large deletion) goes unseen; weak secretor alleles (such as FUT2 c.418A>T, also written c.385A>T) and a deletion of the whole FUT2 gene are not assessed +HPA-1 not determined . not determined ITGB3 c.176T>C: no call (genotype .) +HPA-2 HPA-2(a+b-) 2a/2a high lacks HPA-2b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-3 HPA-3(a+b-) 3a/3a high lacks HPA-3b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-4 HPA-4(a+b-) 4a/4a high lacks HPA-4b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-5 HPA-5(a+b-) 5a/5a high lacks HPA-5b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-6 HPA-6(a+b-) 6a/6a high lacks HPA-6b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-7 HPA-7(a+b-) 7a/7a high lacks HPA-7b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-8 HPA-8(a+b-) 8a/8a high lacks HPA-8b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-9 HPA-9(a+b-) 9a/9a high lacks HPA-9b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-10 HPA-10(a+b-) 10a/10a high lacks HPA-10b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-11 HPA-11(a+b-) 11a/11a high lacks HPA-11b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-12 HPA-12(a+b-) 12a/12a high lacks HPA-12b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-13 HPA-13(a+b-) 13a/13a high lacks HPA-13b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-14 HPA-14(a+b-) 14a/14a high lacks HPA-14b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-15 HPA-15(a-b+) 15b/15b high lacks HPA-15a: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-16 HPA-16(a+b-) 16a/16a high lacks HPA-16b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-17 HPA-17(a+b-) 17a/17a high lacks HPA-17b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-18 HPA-18(a+b-) 18a/18a high lacks HPA-18b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-19 HPA-19(a+b-) 19a/19a high lacks HPA-19b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-20 HPA-20(a+b-) 20a/20a high lacks HPA-20b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-21 HPA-21(a+b-) 21a/21a high lacks HPA-21b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-22 HPA-22(a+b-) 22a/22a high lacks HPA-22b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-23 HPA-23(a+b-) 23a/23a high lacks HPA-23b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-24 HPA-24(a+b-) 24a/24a high lacks HPA-24b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-25 HPA-25(a+b-) 25a/25a high lacks HPA-25b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-26 HPA-26(a+b-) 26a/26a high lacks HPA-26b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-27 HPA-27(a+b-) 27a/27a high lacks HPA-27b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-28 HPA-28(a+b-) 28a/28a high lacks HPA-28b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-29 HPA-29(a+b-) 29a/29a high lacks HPA-29b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-30 HPA-30(a+b-) 30a/30a high lacks HPA-30b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-31 HPA-31(a+b-) 31a/31a high lacks HPA-31b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-32 HPA-32(a+b-) 32a/32a high lacks HPA-32b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-33 HPA-33(a+b-) 33a/33a high lacks HPA-33b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-34 HPA-34(a+b-) 34a/34a high lacks HPA-34b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HPA-35 HPA-35(a+b-) 35a/35a high lacks HPA-35b: a platelet antigen a person lacks can raise antibodies in a pregnancy (against the baby's platelets: fetal and neonatal alloimmune thrombocytopenia, FNAIT) or after a transfusion (post-transfusion purpura, refractoriness to platelet transfusions) +HNA-1 HNA-1(a-b+c-) FCGR3B*02/FCGR3B*02 low FCGR3B c.194A>G (x0) does not match the other FCGR3B markers; lacks HNA-1a, HNA-1c: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI); FCGR3B and FCGR3A are near copies and the FCGR3B copy number varies (none to four or more): short reads can misplace these calls, the copies are not counted, and HNA-1null (no FCGR3B) is not assessed +HNA-3 HNA-3(a-b+) 3b/3b high lacks HNA-3a: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-4 HNA-4(a+b-) 4a/4a high lacks HNA-4b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI) +HNA-5 HNA-5(a+b-) 5a/5a high lacks HNA-5b: a neutrophil antigen a person lacks can raise antibodies in a pregnancy or after a transfusion; such antibodies cause neonatal alloimmune neutropenia and transfusion-related acute lung injury (TRALI)