jwkova commited on
Commit
f2bce4b
·
verified ·
1 Parent(s): e977f93

Modality table: add Dtype column (raw/decoded types)

Browse files
Files changed (1) hide show
  1. README.md +29 -29
README.md CHANGED
@@ -82,39 +82,39 @@ three tracks: **nucleic** (RNA/DNA and its per-position annotations), **protein*
82
  (amino-acid sequence, structure, and derived features), and **text** (free-text /
83
  categorical context). Each row here populates a subset of these under its short name
84
  (`raw` view) or its `tok_` key (`tokenized` view). The authoritative per-checkpoint
85
- list is `model.modality_info`. A few assay tracks (`atac`, `cage`, `rasp2`,
86
  `prot_abund`) are **context-conditional**: pass a free-text `context` alongside
87
  them to condition on cell-state / assay metadata — the `Conditioning context`
88
  column shows a real example for each.
89
 
90
- | Modality | Track | Description | Example | Conditioning context (`tok_context`) |
91
- |---|---|---|---|---|
92
- | `rna_seq` | nucleic | RNA/DNA nucleotide sequence (unspliced) — the core nucleic input | `"UUUGGAAACUUU…"` | — |
93
- | `cds_junctions` | nucleic | Coding-sequence (CDS) exon–exon junction positions, per position | `"…0001000…"` | — |
94
- | `splice_regions` | nucleic | Splice-region (exon) annotation, per position | `"…0011100…"` | — |
95
- | `splice_jctns_5cls` | nucleic | Per-position 5-class splice-site type: `0`=none, `1`=acceptor, `2`=donor, `3`=TSS (first-exon start), `4`=TES (last-exon end) | `"…00020…0100…"` | — |
96
- | `is_coding` | nucleic | Coding vs. non-coding flag | `[1]` | — |
97
- | `feature_type` | nucleic | Genomic feature-type label | `['protein_coding']` | — |
98
- | `phylop_human` | nucleic | phyloP evolutionary-conservation score (human), per position | `[-0.66, 1.04, …]` | — |
99
- | `phylop_mouse` | nucleic | phyloP evolutionary-conservation score (mouse), per position | `[-0.26, -0.92, …]` | — |
100
- | `atac` | nucleic | ATAC-seq chromatin-accessibility signal, per position (`N` = unmeasured). **Cell-state-conditional** | `"…NNNN…"` | `"human, GM23338 lymphoblastoid cell line (EBV-transformed B lymphocyte)"` |
101
- | `cage` | nucleic | CAGE transcription-start signal, per position. **Cell-state-conditional** | `[0.001, 0.001, …]` | `"skeletal muscle, human, fetal"` |
102
- | `rasp2` | nucleic | RASP2 (icSHAPE-style) RNA-structure reactivity, per position (`nan` where unmeasured). **Condition-conditional** | `[nan, 0.42, …]` | `"technology: icSHAPE, reagent: NAI-N3, in vivo, cell line: K562, human"` |
103
- | `aa_seq` | protein | Amino-acid (protein) sequence — the core protein input | `"MTPPERLFLP…"` | — |
104
- | `rna_codons` | protein | Codon sequence aligned to the protein (nucleotide content, protein-aligned track) | `['AUG', 'ACA', 'CCA', …]` | — |
105
- | `prot_struct` | protein | Protein 3D structure as ESM3 VQVAE tokens (decode to a backbone via `detokenize_structure`) | `[754, 1510, 49, …]` | — |
106
- | `dssp` | protein | DSSP secondary-structure class, per residue | `"CCXX…HHH…"` | — |
107
- | `sasa` | protein | Solvent-accessible surface area, per residue | `[225.1, 128.6, …]` | — |
108
- | `prot_abund` | protein | Protein abundance (PaxDb ppm), scalar. **Cell-state-conditional** | `[385.6]` | `"Leptospira interrogans (bacterium), control"` |
109
- | `funcprot_caption` | protein | Free-text protein functional caption | `"Catalyzes the hydrolysis of…"` | — |
110
- | `masif_charge` | protein | MaSIF surface Poisson–Boltzmann charge, per vertex | `[6.9, -3.3, …]` | — |
111
- | `masif_hbond` | protein | MaSIF surface hydrogen-bond potential, per vertex | `[-1.77, -1.64, …]` | — |
112
- | `masif_hydrophobicity` | protein | MaSIF surface hydrophobicity, per vertex | `[0.32, -0.31, …]` | — |
113
- | `masif_si_index` | protein | MaSIF surface shape-index, per vertex | `[0.34, 0.22, …]` | — |
114
- | `masif_n_vertices` | protein | MaSIF surface vertex count, per patch | `[65.0, 42.0, …]` | — |
115
- | `context` | text | Free-text semantic context (e.g. cell-state / assay) — the conditioning channel itself | `"HepG2 cell line"` | — |
116
- | `corpus` | text | Free-text biomedical literature (PubMed abstracts / articles), used as a language corpus | `"…regulates cell-cycle arrest and apoptosis…"` | — |
117
- | `gene_family_txt` | text | Organism taxonomic lineage as free text (broad clade → phylum → class → order → family → genus → species) | `"metazoa chordata mammalia primates hominidae homo homo sapiens"` | — |
118
 
119
  ## See also
120
 
 
82
  (amino-acid sequence, structure, and derived features), and **text** (free-text /
83
  categorical context). Each row here populates a subset of these under its short name
84
  (`raw` view) or its `tok_` key (`tokenized` view). The authoritative per-checkpoint
85
+ list is `model.modality_info`. The `Dtype` column is the `raw`/decoded Python type; the `tokenized` config stores every modality as `list[int]`. A few assay tracks (`atac`, `cage`, `rasp2`,
86
  `prot_abund`) are **context-conditional**: pass a free-text `context` alongside
87
  them to condition on cell-state / assay metadata — the `Conditioning context`
88
  column shows a real example for each.
89
 
90
+ | Modality | Track | Dtype | Description | Example | Conditioning context (`tok_context`) |
91
+ |---|---|---|---|---|---|
92
+ | `rna_seq` | nucleic | `str` | RNA/DNA nucleotide sequence (unspliced) — the core nucleic input | `"UUUGGAAACUUU…"` | — |
93
+ | `cds_junctions` | nucleic | `str` | Coding-sequence (CDS) exon–exon junction positions, per position | `"…0001000…"` | — |
94
+ | `splice_regions` | nucleic | `str` | Splice-region (exon) annotation, per position | `"…0011100…"` | — |
95
+ | `splice_jctns_5cls` | nucleic | `str` | Per-position 5-class splice-site type: `0`=none, `1`=acceptor, `2`=donor, `3`=TSS (first-exon start), `4`=TES (last-exon end) | `"…00020…0100…"` | — |
96
+ | `is_coding` | nucleic | `list[int]` | Coding vs. non-coding flag | `[1]` | — |
97
+ | `feature_type` | nucleic | `list[str]` | Genomic feature-type label | `['protein_coding']` | — |
98
+ | `phylop_human` | nucleic | `list[float]` | phyloP evolutionary-conservation score (human), per position | `[-0.66, 1.04, …]` | — |
99
+ | `phylop_mouse` | nucleic | `list[float]` | phyloP evolutionary-conservation score (mouse), per position | `[-0.26, -0.92, …]` | — |
100
+ | `atac` | nucleic | `str` | ATAC-seq chromatin-accessibility signal, per position (`N` = unmeasured). **Cell-state-conditional** | `"…NNNN…"` | `"human, GM23338 lymphoblastoid cell line (EBV-transformed B lymphocyte)"` |
101
+ | `cage` | nucleic | `list[float]` | CAGE transcription-start signal, per position. **Cell-state-conditional** | `[0.001, 0.001, …]` | `"skeletal muscle, human, fetal"` |
102
+ | `rasp2` | nucleic | `list[float]` | RASP2 (icSHAPE-style) RNA-structure reactivity, per position (`nan` where unmeasured). **Condition-conditional** | `[nan, 0.42, …]` | `"technology: icSHAPE, reagent: NAI-N3, in vivo, cell line: K562, human"` |
103
+ | `aa_seq` | protein | `str` | Amino-acid (protein) sequence — the core protein input | `"MTPPERLFLP…"` | — |
104
+ | `rna_codons` | protein | `list[str]` | Codon sequence aligned to the protein (nucleotide content, protein-aligned track) | `['AUG', 'ACA', 'CCA', …]` | — |
105
+ | `prot_struct` | protein | `biotite AtomArray` | Protein 3D structure as ESM3 VQVAE tokens (decode to a backbone via `detokenize_structure`) | `AtomArray (backbone)` | — |
106
+ | `dssp` | protein | `str` | DSSP secondary-structure class, per residue | `"CCXX…HHH…"` | — |
107
+ | `sasa` | protein | `list[float]` | Solvent-accessible surface area, per residue | `[225.1, 128.6, …]` | — |
108
+ | `prot_abund` | protein | `list[float]` | Protein abundance (PaxDb ppm), scalar. **Cell-state-conditional** | `[385.6]` | `"Leptospira interrogans (bacterium), control"` |
109
+ | `funcprot_caption` | protein | `str` | Free-text protein functional caption | `"Catalyzes the hydrolysis of…"` | — |
110
+ | `masif_charge` | protein | `list[float]` | MaSIF surface Poisson–Boltzmann charge, per vertex | `[6.9, -3.3, …]` | — |
111
+ | `masif_hbond` | protein | `list[float]` | MaSIF surface hydrogen-bond potential, per vertex | `[-1.77, -1.64, …]` | — |
112
+ | `masif_hydrophobicity` | protein | `list[float]` | MaSIF surface hydrophobicity, per vertex | `[0.32, -0.31, …]` | — |
113
+ | `masif_si_index` | protein | `list[float]` | MaSIF surface shape-index, per vertex | `[0.34, 0.22, …]` | — |
114
+ | `masif_n_vertices` | protein | `list[float]` | MaSIF surface vertex count, per patch | `[65.0, 42.0, …]` | — |
115
+ | `context` | text | `str` | Free-text semantic context (e.g. cell-state / assay) — the conditioning channel itself | `"HepG2 cell line"` | — |
116
+ | `corpus` | text | `str` | Free-text biomedical literature (PubMed abstracts / articles), used as a language corpus | `"…regulates cell-cycle arrest and apoptosis…"` | — |
117
+ | `gene_family_txt` | text | `str` | Organism taxonomic lineage as free text (broad clade → phylum → class → order → family → genus → species) | `"metazoa chordata mammalia primates hominidae homo homo sapiens"` | — |
118
 
119
  ## See also
120