lhallee commited on
Commit
77db544
·
verified ·
1 Parent(s): c4ff6d7

Refresh canonical sequence union and simplify full embedding requirement

Browse files
Files changed (2) hide show
  1. README.md +52 -35
  2. sequences.parquet +2 -2
README.md CHANGED
@@ -1,54 +1,71 @@
1
  ---
2
- pretty_name: Canonical embedding sequences v1
 
3
  tags: [protein, sequences, embeddings, esmc]
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  ---
5
- # Canonical embedding sequences v1
6
 
7
- The 2,392,727 distinct protein sequences that the canonical ESMC embedding stores cover. Each row carries the sequence, its SHA-256 key (the row key of every store), its length and one flag per dataset that needs it. There are no labels, pairs or measurements here. The embedding stores append by key, so a later dataset adds its new sequences as a delta to this list and never changes a row.
8
 
9
- | | |
10
- |---|---|
11
- | Sequences | 2,392,727 |
12
- | Residues | 723,780,227 (706,767,148 after the N-terminal crop at 2,046) |
13
- | Token rows stored per stream | 711,552,602 (residues after the crop plus CLS and EOS) |
14
- | Length, shortest, median, longest | 2, 195, 40,903 |
15
- | Sequences above the crop | 11,206 |
16
- | Listed by EC, GO, PPI superset, PPA, EC v2 | 18,010, 92,497, 145,017, 29,049, 20,512 |
17
- | Appended with no flag | 2,167,716 |
 
 
 
 
 
 
18
 
19
  ## How it was built
20
 
21
- 1. Read the sequences of each source at its pinned revision (below): EC 18,010; GO 92,497; PPA 29,049; PPI superset 145,017.
22
- 2. Normalized every sequence by removing ASCII whitespace and uppercasing it, with no residue rewritten.
23
- 3. Keyed each distinct normalized sequence by the SHA-256 of its ASCII bytes and set one flag per source.
24
- 4. Checked that the PPI superset equals, digest for digest, the 145,017 sequences committed by the public ESMC-300 store named below.
25
- 5. Ordered the 223,617 rows by key and wrote one parquet file.
26
- 6. Read the sequences of EC v2 at its pinned revision (below), normalized and keyed them the same way, and appended the 1,394 that the list lacked after the existing rows, ordered by key. Set `in_ec_v2` on all 20,512 listed sequences that source holds. No existing row, key, sequence, length or flag changed.
27
- 7. Appended 2,167,716 further distinct sequences that other datasets hold, normalized and keyed the same way, after the existing rows ordered by key. They carry no flag and the card names no dataset: a row with every flag false is one of these. No existing row, key, sequence, length or flag changed.
28
 
29
  ## Columns
30
 
31
  | Column | Meaning |
32
  |---|---|
33
- | `seq_sha256` | SHA-256 of the normalized sequence: the row key in every canonical embedding store |
34
- | `sequence` | The normalized sequence, uncropped |
35
- | `length` | Residues of the uncropped sequence. A store crops from the N-terminus at 2,046 and keeps CLS and EOS, so a sequence of `l` residues has `min(l, 2,046) + 2` rows |
36
- | `in_ec`, `in_go`, `in_ppi_superset`, `in_ppa`, `in_ec_v2` | True when the sequence is in that source. A row with every flag false was appended from other datasets without one |
 
 
 
37
 
38
- ## Sources
39
 
40
- | Flag | Repository | Revision | What it holds |
41
- |---|---|---|---|
42
- | `in_ec` | `Synthyra/ec_experimental_v1` (private) | `b65debf9865b86d888a2571012f54d7c0ffd13f6` | the proteins of the experimental Enzyme Commission dataset, all four splits |
43
- | `in_go` | `Synthyra/go_experimental_v1` (private) | `5a9b7bfa46d6920ed12b4fa03412bf5ef3072da8` | the proteins of the experimental Gene Ontology dataset, all four splits |
44
- | `in_ppa` | `Synthyra/protein_protein_affinity_experimental_v1` (private) | `b43ae5df89f90d1cd5e682d10dfdcf5039b2c8dc` | both chains of every pair of the canonical protein-protein affinity configuration, all four splits |
45
- | `in_ec_v2` | `Synthyra/ec_experimental_v2` (private) | `f2a57dba6fdc96de4838ea090c5905f7c47ca1a0` | the proteins of the experimental Enzyme Commission dataset version 2, which adds a non-enzyme class, all four splits |
46
- | `in_ppi_superset` | `lhallee/ESMC_embeddings` | `c42bbd91a10d1a6ddb5890e62c3f15bbd5058315` | the sequences of the protein-interaction release, the protein-ligand release and an evaluation panel, which the public ESMC-300 store under `esmc_small/` embeds. It is a superset of the interaction proteins: the panel and the ligand release are not interaction data |
47
 
48
- ## Use
49
 
50
- Pass `sequences.parquet` to `python -m foundry.embedding.job embed --input` to fill a canonical store. A stored row is read back by `seq_sha256`. The listed sources are the datasets as of those revisions; a later revision of a dataset adds its new sequences as a delta.
 
 
51
 
52
- ## Terms
53
 
54
- The list holds amino-acid sequences only, from public sequence databases and published datasets. Each source keeps its own terms, and this list asserts no licence beyond them.
 
1
  ---
2
+ pretty_name: Canonical embedding sequences
3
+ task_categories: [feature-extraction]
4
  tags: [protein, sequences, embeddings, esmc]
5
+ size_categories: [1M<n<10M]
6
+ configs:
7
+ - config_name: default
8
+ data_files:
9
+ - split: train
10
+ path: sequences.parquet
11
+ dataset_info:
12
+ features:
13
+ - {name: seq_sha256, dtype: string}
14
+ - {name: sequence, dtype: string}
15
+ - {name: full, dtype: bool}
16
+ splits:
17
+ - {name: train, num_examples: 3480520, num_bytes: 1319880549}
18
  ---
19
+ # Canonical embedding sequences
20
 
21
+ ## Summary
22
 
23
+ The normalized protein sequences required by the canonical embedding stores. One row per
24
+ SHA-256 sequence key, with a single boolean indicating whether full per-token embeddings
25
+ are required. Every row requires pooled embeddings. This sequence list has no supervised
26
+ labels, pairs, source-membership columns or biological safety classification.
27
+
28
+ | Quantity | Count |
29
+ |---|---:|
30
+ | Sequences | 3,480,520 |
31
+ | Full per-token embeddings required | 775,186 |
32
+ | Pooled only | 2,705,334 |
33
+
34
+ ## Homology leakage
35
+
36
+ No homology split is defined for this unlabeled inventory. The viewer's train split contains
37
+ the whole inventory and supplies no model evaluation or leakage guarantee.
38
 
39
  ## How it was built
40
 
41
+ 1. Retained every protein in the previous sequence inventory, preserving its normalized text and key.
42
+ 2. Read all protein columns of the selected datasets at immutable revisions, including both chains of pairs.
43
+ 3. Removed ASCII whitespace and uppercased letters without rewriting residues; deduplicated by SHA-256.
44
+ 4. Combined full-embedding requirements with boolean OR and verified all source coverage and written rows.
 
 
 
45
 
46
  ## Columns
47
 
48
  | Column | Meaning |
49
  |---|---|
50
+ | `seq_sha256` | SHA-256 of the normalized ASCII sequence; stable embedding-store key |
51
+ | `sequence` | Full uncropped normalized protein sequence |
52
+ | `full` | True requires full per-token embeddings as well as pooled embeddings; false requires pooled only |
53
+
54
+ ## Example rows
55
+
56
+ Use the viewer for actual rows. Sequence length is derived from `sequence`; per-source flags are omitted.
57
 
58
+ ## What a model trained on it may say
59
 
60
+ This inventory has no target and supports no binding, function, affinity or safety claim.
61
+ Embedding qualification, truncation and model-specific numerics belong to the embedding profile.
 
 
 
 
 
62
 
63
+ ## Sources and licence
64
 
65
+ Sequence-only redistribution follows the existing public sequence-inventory authorization.
66
+ Source terms remain applicable; this list grants no new licence for source labels or measurements.
67
+ Source revisions and membership audits are retained separately from this public sequence-only release.
68
 
69
+ ## Files
70
 
71
+ `sequences.parquet` is the single data file. The repository rename preserves historical Git revisions.
sequences.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:47783c579984f59f4cb43be2f24b4c8ec966749b0c0f8f9226901e2dba248df7
3
- size 482569544
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb164f0033991a9a2011f811c3dcb325963c97119a8e6416d2b5f92e7238cce5
3
+ size 702636328