SkyeAv commited on
Commit
1bc472a
·
verified ·
1 Parent(s): 91d9015

Publish BiolinkAmalgam build

Browse files
README.md CHANGED
@@ -1,5 +1,27 @@
1
  ---
2
  pretty_name: BiolinkAmalgam
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  license: other
4
  license_name: babel-upstream-licenses
5
  task_categories:
@@ -25,6 +47,14 @@ every GTDB rank becomes a `GTDB:`-prefixed taxon CURIE, and species carrying an
25
  `ncbi_species_taxid` crossref into their `NCBITaxon:` clique (visible as a `GTDB:`-prefixed
26
  synonym; at most one GTDB species per NCBI species — many-to-one mappings stay singletons).
27
 
 
 
 
 
 
 
 
 
28
  Synonyms are the ORIGINAL strings with junk filtered out (see below); normalization
29
  (stemming, level keys) is deliberately left to downstream consumers.
30
 
@@ -38,11 +68,34 @@ One row per surviving clique leader.
38
  | `PREFERRED_NAME` | string | the clique's preferred name, as written |
39
  | `CLASS` | string | Biolink category, e.g. `biolink:Gene` |
40
  | `SYNONYMS` | list<string> | synonyms as originally written, sorted; a synonym appears in at most one row per (class, taxon scope) |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
 
42
  ## What was filtered
43
 
44
  - `biolink:Publication` and `biolink:Agent` cliques (titles and leftover-UMLS organizations).
45
  - Taxa outside the top-100 experimental taxon allowlist (taxonless and `biolink:OrganismTaxon` cliques kept).
 
 
46
  - Names that are pure numbers (including decimals like `0.5`), contain `language`,
47
  `uncharacterized` or `hypothetical`, or equal a medically meaningless stopword
48
  (`unknown`, `none`, `the`, ...; full list in `config/filters.yaml`).
@@ -52,11 +105,12 @@ One row per surviving clique leader.
52
 
53
  | stage | rows | time |
54
  |---|---|---|
55
- | ingest | 140432548 | 3028096 ms |
56
- merge | 139080106 | 2822524 ms |
57
- arbitrate | 139080106 | 1098051 ms |
 
58
 
59
- Generated 2026-10-24 by [BiolinkAmalgam](https://github.com/SkyeAv/BiolinkAmalgam).
60
 
61
  ## Usage
62
 
@@ -76,3 +130,5 @@ BABEL aggregates many upstream biomedical resources with heterogeneous licenses
76
  upstream terms; check the [BABEL license summary](https://github.com/TranslatorSRI/Babel)
77
  for your intended use.
78
  GTDB data are CC-BY-SA-4.0 (share-alike); GTDB-derived taxa carry those terms.
 
 
 
1
  ---
2
  pretty_name: BiolinkAmalgam
3
+ configs:
4
+ - config_name: default
5
+ default: true
6
+ data_files:
7
+ - split: train
8
+ path: biolinkamalgam.parquet
9
+ - config_name: crossrefs_dbsnp_reference
10
+ data_files:
11
+ - split: train
12
+ path: crossrefs/dbsnp_reference.parquet
13
+ - config_name: crossrefs_gene_association
14
+ data_files:
15
+ - split: train
16
+ path: crossrefs/gene_association.parquet
17
+ - config_name: crossrefs_replaced_by
18
+ data_files:
19
+ - split: train
20
+ path: crossrefs/replaced_by.parquet
21
+ - config_name: crossrefs_xref
22
+ data_files:
23
+ - split: train
24
+ path: crossrefs/xref.parquet
25
  license: other
26
  license_name: babel-upstream-licenses
27
  task_categories:
 
47
  `ncbi_species_taxid` crossref into their `NCBITaxon:` clique (visible as a `GTDB:`-prefixed
48
  synonym; at most one GTDB species per NCBI species — many-to-one mappings stay singletons).
49
 
50
+ ClinVar `variant_summary` contributes `biolink:SequenceVariant` cliques: one `CLINVAR:` row per
51
+ variation and one `DBSNP:rs...` row per referenced rsID. An rsID can denote several alleles, so the
52
+ two are never merged; their links live in the `crossrefs_dbsnp_reference` config.
53
+
54
+ Additional OBO ontologies not in BABEL (`config/obo_sources.yaml`: MP, ZP, FYPO, WBPhenotype,
55
+ APO, TO, MAXO, HsapDv, MmusDv, ZFS, FBdv, WBls, MOD, TAXRANK, FAO) contribute active own-prefix
56
+ terms with their names, EXACT synonyms and alt_ids; BROAD/NARROW/RELATED synonyms are excluded.
57
+
58
  Synonyms are the ORIGINAL strings with junk filtered out (see below); normalization
59
  (stemming, level keys) is deliberately left to downstream consumers.
60
 
 
68
  | `PREFERRED_NAME` | string | the clique's preferred name, as written |
69
  | `CLASS` | string | Biolink category, e.g. `biolink:Gene` |
70
  | `SYNONYMS` | list<string> | synonyms as originally written, sorted; a synonym appears in at most one row per (class, taxon scope) |
71
+ | `TAXA` | list<string> | the clique's NCBITaxon CURIEs, sorted; empty when taxonless. Taxa come from BABEL, or are inferred from single-species identifier namespaces (MGI, RGD, Ensembl species prefixes) |
72
+
73
+ ## Crossrefs (opt-in conflation)
74
+
75
+ Typed edges kept OUT of the main table, one config (train split) per predicate, so you choose which
76
+ edge types to conflate. Columns: `subject, predicate, object, source`. Edges carry source CURIEs, not
77
+ post-merge leaders; an obsolete term may appear only here.
78
+
79
+ config | file | edge |
80
+ ---|---|---|
81
+ `crossrefs_dbsnp_reference` | `crossrefs/dbsnp_reference.parquet` | ClinVar variation -> dbSNP rsID (one rsID can cover several alleles) |
82
+ `crossrefs_gene_association` | `crossrefs/gene_association.parquet` | ClinVar variation -> NCBIGene it sits in (location, not identity) |
83
+ `crossrefs_replaced_by` | `crossrefs/replaced_by.parquet` | obsolete OBO term -> its successor |
84
+ `crossrefs_xref` | `crossrefs/xref.parquet` | OBO term cross-reference (relevance only per OBO 1.4) |
85
+
86
+ ```python
87
+ dbsnp_reference = load_dataset("SkyeAv/biolink-amalgam", "crossrefs_dbsnp_reference", split="train")
88
+ gene_association = load_dataset("SkyeAv/biolink-amalgam", "crossrefs_gene_association", split="train")
89
+ replaced_by = load_dataset("SkyeAv/biolink-amalgam", "crossrefs_replaced_by", split="train")
90
+ xref = load_dataset("SkyeAv/biolink-amalgam", "crossrefs_xref", split="train")
91
+ ```
92
 
93
  ## What was filtered
94
 
95
  - `biolink:Publication` and `biolink:Agent` cliques (titles and leftover-UMLS organizations).
96
  - Taxa outside the top-100 experimental taxon allowlist (taxonless and `biolink:OrganismTaxon` cliques kept).
97
+ Taxonless cliques whose identifiers are single-species (MGI, RGD, ZFIN, FB, WormBase, SGD, HGNC,
98
+ Ensembl species prefixes; `config/curie_taxa.yaml`) get that taxon first, so they meet the same cutoff.
99
  - Names that are pure numbers (including decimals like `0.5`), contain `language`,
100
  `uncharacterized` or `hypothetical`, or equal a medically meaningless stopword
101
  (`unknown`, `none`, `the`, ...; full list in `config/filters.yaml`).
 
105
 
106
  | stage | rows | time |
107
  |---|---|---|
108
+ | ingest | 140432548 | 6701 ms |
109
+ ingest_extra | 7369667 | 106809 ms |
110
+ merge | 141327506 | 926304 ms |
111
+ arbitrate | 141327506 | 867696 ms |
112
 
113
+ Generated 2026-10-27 by [BiolinkAmalgam](https://github.com/SkyeAv/BiolinkAmalgam).
114
 
115
  ## Usage
116
 
 
130
  upstream terms; check the [BABEL license summary](https://github.com/TranslatorSRI/Babel)
131
  for your intended use.
132
  GTDB data are CC-BY-SA-4.0 (share-alike); GTDB-derived taxa carry those terms.
133
+ ClinVar and dbSNP are NCBI public-domain data.
134
+ OBO ontologies carry CC-BY-3.0, CC-BY-4.0 or CC0-1.0 terms per ontology (see config/obo_sources.yaml).
biolinkamalgam.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cbeb6c11a9ba7021e860d187b28c6481645a910251d6c7265c3992ffd2aaf07a
3
- size 8670218428
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25ebaf28b4541e5f7f2e9993573e78982e373dcb627f4d8365eae24362170785
3
+ size 8897142578
crossrefs/dbsnp_reference.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5663306eba5c67d5796c6f35b874674ffae095057c8022a72a0ea459b227856d
3
+ size 18453851
crossrefs/gene_association.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:999b6722f32c812616d73a9d33da28d0b09393ee1a07b37d807b4392ef9ef23b
3
+ size 10706980
crossrefs/replaced_by.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0ec4e085b4b1619568feebe1e7639e484d9d5b43ee4696f4364ca545e9ad071
3
+ size 3768
crossrefs/xref.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b96b26be6bcd15321a8c0bb648b29d5639647d70fec0e4b5f5f221022dc3faf9
3
+ size 21901