Decentralized bioinformatics over on-chain molecular records: verifiable sequence and structure search with a learned structural alphabet
Bioinformatics LLC · October 2026 · describes GL1X 3.5.0
Abstract #
GenesisL1 stores hundreds of thousands of molecular records (MolNFT) on chain or anchored on chain with content-addressed data: Protein Data Bank entries and predicted models with their sequences and 3D structures. We present the bioinformatics machinery of GL1X, the chain's explorer, which turns these records into a searchable, comparable, describable and provable scientific database inside a single Go binary. Its BLAST engine reproduces NCBI BLAST+ 2.12.0 exactly (hits, scores, E-values, alignments and their order) on 78 configurations spanning all five programs, and is as fast or faster on the same hardware. Its TM-align port agrees with the reference program on 2,260 comparisons, the one exception a tie decided by the last bit of a C library function. For structure search at scale we introduce GSA, a 20-state structural alphabet computed from CA atoms that describes each residue's backbone conformation and its closest non-local neighbour, trained on half of the SCOP40 folds; on held-out folds, a search pipeline of GSA words, local alignment with Gumbel E-values and TM-score rescoring reaches 101%, 92% and 59% of exhaustive TM-align's family, superfamily and fold sensitivity, and searches 123 million residues in about three seconds on two virtual CPUs. Every molecule is described by three documented, versioned feature sets (protein, nucleotide, structure) validated against Biopython and an independent NumPy computation, and any search can be exported as a machine-learning dataset in the integer input format of GL1F, the chain's on-chain model runtime. Every structure is analysed atom by atom: secondary structure identical to mkdssp for 99.97% of residues, buried surfaces within 0.1% of FreeSASA, and pockets ranked by a druggability model that puts a drug-like ligand's pocket first in 11 of 14 holo structures. Proteomics runs over every protein of the archive (masses and digests identical to pyteomics, isotope patterns to IsoSpecPy, proteotypic peptides, spectrum identification with target–decoy FDR), and so does family analysis: multiple alignment as accurate as MUSCLE 5 on curated references, Jensen–Shannon conservation, neighbour-joining trees identical to Biopython's, direct coupling analysis identical to the authors' code, and profile HMM search returning hmmsearch's hits. Every protein structure can also be placed at the pH of the environments its molecule meets (the digestive tract, blood, cell compartments, or a different pH on each side of a membrane), with every ionizable group's pKa estimated by an empirical model calibrated against PROPKA 3 (shifts within 0.69 pK units root-mean-square on held-out structures) — against 365 measured pKa values its error, 0.88 pK units, is no better than leaving every group at its model value (0.91) —, its charge, and the groups that switch charge between environments. Every sequence can be re-derived from the chain at a pinned block and from IPFS blocks verified against their content identifiers. All of it is available to people, programs and AI agents (through the Model Context Protocol).
Keywords: BLAST, TM-align, structural alphabet, protein structure search, DSSP, binding pockets, proteomics, multiple sequence alignment, profile HMM, molecular features, verifiable data, blockchain, decentralized science.
1. Introduction #
Public scientific databases are curated by institutions and served from their infrastructure. Blockchains offer a different arrangement: a record published on chain is replicated by every node, cannot be silently altered, and can be read at any past block; content kept off chain can be anchored by a cryptographic content identifier (CID), so any copy can be checked. GenesisL1's MolNFT collections apply this to structural biology: MolNFT v2 keeps a PDB entry's metadata, sequences and BinaryCIF coordinates in contract state, and MolNFT v1 anchors IPFS content (metadata and PDB files, including AlphaFold models) by CID.
Data on chain is only useful if it can be used: searched by sequence and by structure, compared, characterized, fed to models, and trusted. The infrastructure that does this should not reintroduce the trust the chain removes. We set ourselves four constraints:
- Standard methods, exactly. Where a reference program defines a method (BLAST+, TM-align), reproduce its results, not an approximation of them.
- One self-contained program. No external services, interpreters or runtimes beside the explorer's binary and its database.
- Verifiability. Every result names the records and sequence digests it used, and those sequences can be re-derived from the chain.
- Openness to agents. Every capability is an API route and an MCP tool.
Our contributions: (i) a BLAST engine that reproduces NCBI BLAST+ 2.12.0 (§4.2, §5.1); (ii) a TM-align port that reproduces TMalign 20190822 (§4.5, §5.2); (iii) GSA, a learned structural alphabet, and a structure search pipeline evaluated on held-out SCOP folds and against TM-align (§4.6–4.7, §5.3–5.5); (iv) documented molecular feature sets and datasets bridging on-chain records to on-chain machine learning (§4.9, §5.6); (v) proofs of sequences from the chain and from CID-verified IPFS content (§4.10); (vi) full-atom analysis of every structure with pockets and their druggability (§4.11, §5.7); (vii) proteomics over the whole archive (§4.12, §5.8); (viii) multiple alignment, conservation, coevolution and profile HMM search (§4.13, §5.9); (ix) pKa values, charges and stability at the pH of physiological environments, membrane proteins with a pH on each side (§4.14, §5.10).
2. Related work #
Sequence search. BLAST [1, 2] and its successor BLAST+ [3] remain the standard for sequence similarity search; their statistics rest on Karlin–Altschul theory [4], with composition-based adjustments for proteins [5, 6]. Many faster tools trade some sensitivity for speed; we chose to reproduce BLAST+ itself so results are interchangeable with the literature.
Structure alignment. DALI, CE and TM-align [7] are standard pairwise methods; the TM-score [8] gives a length-independent similarity in which values above 0.5 mostly indicate the same fold [9].
Structural alphabets. Discretizing backbone conformation into letters (Protein Blocks [10]; 3D-BLAST [11]) lets sequence methods compare structures. Foldseek's 3Di alphabet [12] describes each residue together with its nearest tertiary neighbour, learned so that aligned residues share letters, and reaches 86%, 88% and 133% of the sensitivity of Dali, TM-align and CE at four to five orders of magnitude less time on its SCOPe benchmark. Reseek [13] extends the idea with several alphabets. GSA follows the neighbour idea with a different construction: hand-designed CA features, k-means states, log-odds scores from TM-align alignments, joint scoring with amino acids, and an open training recipe.
Content addressing. IPFS [14] addresses content by the hash of its Merkle DAG; a CID commits to every byte beneath it, which our proofs exploit.
Molecular properties. ExPASy ProtParam [15] defines the standard sequence-derived protein properties; Biopython [16] implements them.
3. Data #
In October 2026 the public explorer indexed about 297,000 MolNFT records (about 210,000 MolNFT v1, mostly PDB entries and AlphaFold DB models; about 87,000 MolNFT v2 PDB entries) holding about 346,000 sequences. Structure files are PDB (v1) or gzip-compressed BinaryCIF (v2, split across child tokens when large). For the structure benchmarks we use the SCOP40 set [17]: 11,206 SCOPe domains at 40% identity with the CA coordinates of their PDB entries.
4. Methods #
4.1 Indexing and normalization #
A molecular indexer enumerates each collection through ERC-721, reads every
record (contract calls for v2; the CID-addressed metadata and structure file
for v1), and stores every sequence as one row per chain: the SEQRES chains of
a PDB file, or the per-chain FASTA records of a v2 sequence field (typed by
their mol: tag, checked against their length: tag). Sequences are
normalized by fixed rules (shared, as test vectors, with a browser
implementation) and hashed with SHA-256. Identical chains of one record (the
copies of a homo-oligomer) are folded into one database sequence for search,
with every chain listed, so each distinct sequence counts once in statistics.
4.2 The BLAST engine #
The engine implements blastp, blastn (megablast, blastn, blastn-short),
blastx, tblastn and tblastx with their tasks and options: neighbourhood-word
lookup tables (protein) and exact words (nucleotide), two-hit seeding, X-drop
ungapped and gapped extension with traceback, greedy extension for megablast,
Karlin–Altschul statistics with BLAST+'s parameter tables, length adjustment
and effective search space, Spouge's finite-size correction, sum statistics
for translated searches, composition-based statistics in modes 0–3 including
conditional score-matrix adjustment, SEG and DUST masking with soft masking,
and every genetic code. Reproducing BLAST+ exactly required emulating several
implementation details: the interval tree of HSPs with its common-endpoint
semantics, the order in which pruned HSPs leave the hit list, the merging of
masked regions, the batch order and early termination of composition-based
statistics (emulated deterministically over parallel workers), and the
nucleotide database as makeblastdb builds it: ambiguous bases replaced by
pseudo-random bases (seeded with the sequence length) for seeding and
extension, with the true codes kept aside for traceback, composition-based
statistics, ungapped re-evaluation and reports. The databases are held in
memory and follow the index within seconds.
4.3 Motif scan #
Short motifs fall below any BLAST cut-off, so PROSITE-style patterns (x,
[…], {…}, repeats, sequence ends) are matched exactly over every sequence:
an anchor (the longest single-letter run) is located with byte search and the
pattern verified around it, in parallel. A residue matches only when it
certainly does (B matches [DN] but not D). The same scan runs over the 3D
structures: every chain's residues with coordinates, read for protein chains
from the pair codes the structure index already holds, and an occurrence that
spans a chain break (consecutive CA atoms more than 4.3 Å apart, C3′ more than
8.5 Å) is rejected, so each occurrence exists in 3D and is reported by author
residue numbers; 120 million residues take 0.1 to 0.3 s on two vCPUs.
4.4 Structures #
GL1X reads PDB, PDBx/mmCIF and BinaryCIF (MessagePack with its column
encodings) with its own readers, keeps the first model, the first alternate
location, the polymer chains (modified residues as their parent), each
residue's CA (C3′ for nucleotides) and B-factor, the UniProt cross-references
and whether the file is a computed model. Each chain's trace is stored in about
9 bytes per residue. Since 3.4 a chain's accessions are those of the parts
its coordinates hold (a reference's residue range must contain residues with
coordinates, so a fusion chain is not taken for the partner a short tag maps
to), and the biological assemblies the file defines (mmCIF
pdbx_struct_assembly, PDB REMARK 350) are kept with the deposited chains
each holds, so an interface or a pocket between chains no assembly holds
together is marked as such: in a crystal structure usually a crystal
contact. The symmetry copies an assembly's operators make are not built.
The same reading keeps the structure's ligands: every non-polymer group of the
first model (cofactors, substrates, inhibitors, metal and other ions, sugars
not built into a chain, crystallization additives; waters left out), as mmCIF
entities state it or, in PDB files, as the PDB decides it (a modified residue
within its chain's numbering belongs to the chain). Each ligand keeps its
chemical component, author chain and number, heavy atoms and the polymer
residues with a heavy atom within 4.5 Å of one of its heavy atoms, the usual
definition of a binding site, found with a grid of 4.5 Å cells and checked
against a comparison of every pair of atoms. A class (ligand, metal, ion,
sugar, additive) sets apart the components that are usually artefacts of the
experiment, and the components' names and formulas come from the files
(_chem_comp; HETNAM, HETSYN, FORMUL). The resulting catalog is
searched by component, name, formula, class, element, weight and UniProt
accession, and each component lists every binding site with the residues it
is made of.
4.5 TM-align #
The port translates TMalign.cpp version 20190822 function by function and preserves the order of floating-point operations: initial alignments (gapless threading, secondary-structure alignment from CA distances, fragment superposition, and their combination), iterative dynamic programming on the score matrix 1/(1 + (d_ij/d0)²), and TM-score optimization with fragment seeds, in default, fast, fixed-alignment and initial-alignment modes.
4.6 GSA: the GL1X structural alphabet #
For residue i, a local frame is built from CA atoms i−1, i, i+1 (chain direction, outward bisector, their cross product) and a virtual side-chain centre is placed 2.4 Å along the bisector. The closest non-local neighbour j is the residue (more than two positions away, within 16 Å) whose centre is nearest to i's. Fourteen features describe the residue:
- local conformation: the virtual bond angle at i and the sines and cosines of the two virtual torsions through i;
- the neighbour: its CA distance, its direction in i's frame (three components), the relative chain direction (e2·e2) and side-chain direction (e1·e1), the signed logarithmic sequence separation, the neighbour's own bond angle;
- burial: the number of CA atoms within 10 Å of i's centre.
Chain breaks (CA–CA above 4.3 Å) neutralize the angles that would span them. Features are standardized; the sequence separation is weighted twice (chosen by a search over feature weights on training data). The state of a residue is the nearest of 20 centroids.
Training. The SCOP40 domains of at least 20 residues (11,199) are split by fold, in two halves by a hash of the fold's identifier: 6,063 training domains and 5,136 test domains, with no fold in common. On training residues, k-means gives the 20 centroids. The substitution scores are log-odds of state pairs in 17,563 TM-align alignments of same-superfamily training pairs against background state frequencies (relative entropy 1.18 bits per aligned pair), in units of 1/8 bit. An aligned residue pair scores its GSA log-odds plus 0.75 times its BLOSUM62 score; gaps cost 6 bits to open and 0.5 bit to extend. The local-alignment scores of 1,792,744 unrelated (different-fold) training pairs fit a Gumbel distribution with λ = 0.01668 and K = 0.001015 per unit, giving E = K·m·n·e^(−λS). All choices (scoring weights, gaps, feature weights, search thresholds) were made on the training folds.
4.7 Structure search #
Indexed chains are strings of pair codes (state × 32 + amino acid), 2 bytes per residue. For a query: (1) neighbourhood words of three GSA states (score ≥ 55 units; at most 32 query positions per word) are scanned for, with a bit vector of present words; (2) a target is a candidate when two words hit one diagonal within 40 residues and an ungapped X-drop extension (drop 60) reaches 60 units; (3) up to 2,000 candidates are aligned by Smith–Waterman over GSA and amino acids, with E-values; (4) the best 200 are superposed along their alignments and scored by TM-score (TM-align's TM-score search, seeds every 40 residues); (5) the best 10 are realigned by TM-align in fast mode from that alignment. Hits are ranked by TM-score normalized by the query, then E-value; a hit beyond the E-value cut-off is kept when its TM-score reaches 0.5.
4.8 Precomputed comparisons #
After a record's structure is indexed, a queue of its own compares each chain with the same chain of the same PDB entry in the other collection (also testing whether coordinates agree residue by residue without superposition) and experimental chains with predicted models of the same UniProt accession (TM-scores, RMSD, coverage, confidence of aligned residues). Chains with the same residues at the same coordinates (within 0.0015 Å) are aligned residue by residue under the identity superposition, which is TM-align's own answer for them (TM-score 1, RMSD 0); other pairs run TM-align's fast mode and keep it at a TM-score of 0.8 or more, and are otherwise aligned again in the default mode, the better answer kept. Reading and comparing are separate queues, so the CPU work of TM-align never delays reading structure files.
4.9 Features and datasets #
Three versioned feature sets describe a molecule with finite numbers in a fixed
order: gl1x-protein-1 (46 features: ProtParam properties [15] with
Bjellqvist pK values, Pace extinction coefficients, the Guruprasad instability
index, Ikai's aliphatic index, Kyte–Doolittle GRAVY, aromaticity, EMBOSS
residue classes, entropy, SEG low complexity, composition),
gl1x-nucleotide-1 (30: mass, composition, GC content and skews, CpG
observed/expected, melting temperature, entropy, dinucleotides) and
gl1x-structure-1 (43: radius of gyration and its ratio to a compact chain's
2.2·N^0.38 Å, shape anisotropy, largest dimension, TM-align secondary
structure fractions and segment counts, CA contacts with CASP ranges and
contact order, chain breaks, B-factor or pLDDT statistics, GSA composition).
A dataset joins any search's hits (BLAST, structure search, molecular search)
or a labelled list of records with their identity, hit metrics and features,
and is written as JSON with column descriptions, CSV, TSV, or as GL1F model
inputs: the feature names in the model NFT's format, and each row quantized
(clamp(round(x·Q)) to int32) and packed (little-endian int32) as the on-chain
runtime takes inputs.
4.10 Proofs #
A proof re-derives a record's sequences independently of the index: contract
calls pinned to one block (two below the head), listed so they can be replayed
with eth_call on any node; for IPFS records, every block fetched and checked
against the hash its CID commits to (UnixFS files, directories, HAMT shards),
from gateways that serve raw blocks, or, from gateways that serve only files,
by rebuilding the blocks from the file's bytes under the common importer
layouts and requiring the rebuilt blocks to hash to the committed CIDs. The
derived sequences are normalized and their SHA-256 compared with the index's.
4.11 Full-atom analysis and pockets #
Since 3.0 every structure is also analysed atom by atom as it is read, from the heavy atoms of its first model and first alternate location. Secondary structure follows DSSP [21] as DSSP 4 assigns it [22]: electrostatic hydrogen-bond energies, n-turns, α-, 3₁₀- and π-helices (π-helices taking precedence), β-bridges and ladders with bulges, bends and polyproline II helices. Solvent accessibility is the Shrake–Rupley surface [23] with DSSP's radii and 401 points per atom, so a residue's surface is DSSP's ACC; relative accessibility divides it by the maxima of Tien et al. [24]. The same pass computes each chain's surface alone, which gives the area every pair of chains buries, with the interface's residues, hydrogen bonds and salt bridges. Each residue also gets a side-chain centroid, a virtual Cβ and its half-sphere exposure [25]; nucleic acid chains get their canonical base pairs (C1′–C1′ distance and Watson–Crick-edge hydrogen bonds) as a dot-bracket string that keeps pseudoknots. Ligands are read at 4.5 Å with their occupancy, covalent links (disulfides, glycans, modified residues, covalent ligands) from interatomic distances against covalent radii, and the molecule names and EC numbers from the file.
Pockets are found on a 1 Å grid in the spirit of LIGSITE [26] and PocketPicker [27]: points at least 3 Å from every polymer heavy atom whose buriedness, the share of 30 rays of 12 Å that meet the polymer, is 0.7 or more, joined by contact into pockets of at least 15 points. Ligands, waters and ions are not part of the polymer, so the pocket a ligand fills is found and marked occupied by it. Each pocket has its volume, buriedness, lining residues (a heavy atom within 4.5 Å of a point), apolar share, mean Kyte–Doolittle hydropathy and charge, and a druggability score, a logistic function of size, enclosure and apolarity, the properties that bound how tightly a drug-like molecule can bind [28–30]: z = −9.44 + 1.42·log₁₀ min(V, 1000) + 7.69·B + 0.47·A. Its weights were fitted on holo structures, the pockets drug-like ligands fill against the others. Analysed chains keep their DSSP strings, accessibilities, flags and CA and side-chain points (6 bytes per residue in memory), so the archive can be searched by pocket, interface, secondary-structure pattern (a regular expression over DSSP states with strand pairing checked) and 3D template (residues of given types in a given arrangement, in any sequence order, fitted by RMSD over CA and side-chain points [31]).
4.12 Proteomics #
Masses come from the 2016 Atomic Mass Evaluation and IUPAC abundances; peptides carry fixed and variable modifications by Unimod composition. Proteins are digested by 24 enzymes with the rules of the PSI-MS ontology and ExPASy PeptideCutter, peptides flagged as targeted proteomics flags them (oxidation, cyclization, deamidation, acid-labile bonds, ragged ends). A peptide is looked up in every protein of the archive at once with an Aho–Corasick automaton over the protein database (leucine and isoleucine equal); it is proteotypic when one protein makes it, a protein being a UniProt accession, so copies of one sequence in different collections count once. Isotope patterns convolve the elements' distributions, merging the isotopologues of a nominal mass. Spectra in MGF are matched against a record, FASTA proteins or the whole archive (a mass-sorted index of every tryptic peptide, 12 bytes each, built on first use): candidates in the precursor window with modifications placed, the X!Tandem hyperscore [32] over the most intense peaks, E-values from each spectrum's score distribution, and the false discovery rate by target–decoy competition with reversed peptides [33], with q-values and protein inference. Crosslinks are checked by Cα–Cα distance and by the solvent-accessible surface distance of Xwalk and Jwalk [34, 35] (an A* path around every atom), against each linker's limits; HDX and LiP values are placed on residues and painted on the structure.
4.13 Families, coevolution and profile HMMs #
Multiple alignment is progressive in the manner of MUSCLE [36]: a guide tree (UPGMA) from pairwise alignments, or from shared 3-mers beyond 30 sequences, profiles aligned up the tree under the sum of pairs (BLOSUM62) with position-specific affine gaps, the tree re-estimated from the draft and the sequences aligned again, then tree-dependent refinement that keeps a split's realignment when the weighted score rises. Columns get Jensen–Shannon conservation as Capra and Singh compute it [37], entropy and position-specific log-odds; the reference chain's residues map columns onto the structure. Trees are neighbour-joining [38] on Kimura distances. Mean-field direct coupling analysis [39] gives direct information and the average-product-corrected Frobenius norm of the couplings, compared with the structure's contacts. Clustering follows CD-HIT's greedy incremental method [40]. Profile HMM search reads HMMER3 models and runs hmmsearch's pipeline [41] over the archive's proteins: the MSV filter, the bias filter, the Viterbi and Forward filters, domain definition from posterior decoding with stochastic clustering of multi-domain regions, the null2 composition correction, and E-values from the model's calibration. Sequence annotation adds coiled coils (COILS [42]), disorder (FoldIndex [43]), transmembrane helices and low complexity; annotation transfer carries EC numbers, ligand sites and pockets from a chain's structural neighbours, each to the depth its similarity supports [44]; variants are described by 61 documented features for GL1F models of mutational effects.
4.14 pH environments #
The pH analysis estimates the pKa of every ionizable group of a protein structure (Asp, Glu, His, free Cys, Tyr, Lys, Arg and the termini) as an empirical sum in the spirit of PROPKA [51, 52]: the group's model pKa in a short peptide (Thurlkill et al. [53]; Arg 13.8 [54]), shifted by desolvation (the heavy atoms within 15 Å of its charge centre, scaled between 200 and 800 atoms to a burial from 0 to 1, times a per-kind maximum), by hydrogen bonds from groups that do not titrate (backbone amides with DSSP's hydrogen, hydroxyls, amides), and by the charges that do not titrate (metal ions, nucleic-acid phosphates, groups coordinating a metal). Titrating groups interact through Coulomb's law with a distance- and burial-dependent dielectric, ε = 78.4 − (78.4 − ε_b)·S(r/3 Å) with ε_b running from 78.4 exposed to 12 buried and S(R) = (R² + 2R + 2)e^(−R)/2, and Debye–Hückel screening by the ionic strength as far as the pair is exposed. Groups coupled by 1 kT or more form clusters of up to eight, whose protonation states are enumerated exactly in Gray-code order; clusters see each other in mean field [55], iterated to self-consistency from pH 0 to 14 in steps of 0.1 (0.25 above 3,000 groups). The apparent pKa is where a group is half protonated. Charges give the net charge and isoelectric point at each pH, and the linkage relation dΔG/dpH = kT ln10 (Q_unfolded − Q_folded) gives the electrostatic stability over pH relative to its optimum [56]. Environments are named pH values from the literature (fasting stomach 1.5, proximal small intestine 6.6, the brush-border microclimate 6.1, terminal ileum 7.5, blood 7.4, cytosol 7.2, lysosome 4.7 and others [57, 58]), and the structure's own crystallization or NMR pH is read from its file. For membrane proteins a slab of hydrocarbon core is placed by maximizing the net apolar exposed surface over √(A + 2000 Ų) across 2,000 directions and half-thicknesses of 10–18 Å; the side with more lysines and arginines near its face is the cytoplasm [59]; lipid adds burial to groups facing it; and each side titrates at its own pH. The burial bounds, desolvation sizes, hydrogen-bond weights and protein dielectric were set by coordinate descent against PROPKA 3.5.1 shifts on 36 structures and checked on 40 others.
4.15 Interfaces #
The same services serve people, programs and agents. A MolNFT record's page
offers Search similar structures (a structure search from its first protein
chain), a find bar that marks a fragment or a motif in its sequences and shows
it in the structure, Align here under every distinct sequence (a BLAST search whose best
hits appear in place, the record itself marked), and a molecular analysis
panel, opened on demand, with the sequence's properties and plain-language
notes, the structure chain's shape, secondary structure along the chain,
contacts and confidence, and the full feature table with each value's GL1F
integer, exportable as CSV, JSON or GL1F inputs. The BLAST, structure search
and molecular search pages build datasets from their hits; a Ligands panel
lists the structure's ligands with their binding sites and shows each in the
3D view, and the Ligands pages search them across all structures. Every
function is an API route (/api/bio/…) and an MCP tool (blast_search,
structure_search, structure_motif, structure_align, ligand_search,
molecule_ligands, molecule_features, bio_dataset,
molecule_sequence_proof, among others), and operators follow the indexer,
the BLAST and structure indexes, the comparisons, datasets and proofs on a
dedicated report of the admin page. Since 3.0 a research workbench opens any
record with every tool beside its structure and paints each result in Mol*:
pockets as volumes with their lining, interfaces, secondary structure,
accessibility and half-sphere exposure, conservation, couplings as rods,
variant scores, peptides, HDX values and crosslinks; the archive searches
(pockets, interfaces, patterns, templates, modifications), proteomics and
family tools have pages of their own, and every one of them is an API route
and an MCP tool (87 tools in all). Since 3.1 each UniProt protein has a page
that gathers its structures, experimental and predicted, with the ligands and
pockets of its chains and how experiment and prediction compare; the 3D view
spans the page in the workbench and the archive searches; and every structure
links to PubMed by its PDB ID and by its title, digested since 3.2 into the
search that finds its literature, where a search's records (up to 2,000,
fetched from NCBI) are clustered in the browser into a map of topics by
Lingo, STC or bisecting k-means, drawn as an organic Voronoi treemap. In 3.3
the workbench gained a pH tool that paints charges or their changes on the
structure, and a page of names and identifiers lists every lookup table the
readers use, generated from the code. In 3.4 interfaces and pockets carry
the biological assembly holding their chains, and the archive searches
filter by it.
5. Results #
All timings are on a 2-vCPU virtual machine.
5.1 BLAST #
Against NCBI BLAST+ 2.12.0 on 78 configurations (all programs and tasks, other matrices and gap costs, filtering on and off with soft and hard masking, ungapped search, both strands, composition-based statistics in every mode, sum statistics, random and mutated sequences, and NCBI's test databases with ambiguity codes and a yeast chromosome), the hits, scores, E-values, alignments and their order were identical in every configuration. Speed on the MolNFT-sized databases (234,592 sequences, 123 million letters, loaded in 1.4 s), through the API, with BLAST+ (2 threads) on the same machine:
| Search | GL1X | BLAST+ 2.12.0 |
|---|---|---|
| blastp, 400-residue query | 1.3 s | 1.6 s |
| blastx, 1,500 bases | 2.1 s | 2.3 s |
| tblastx | 1.2 s | 1.6 s |
| tblastn | 0.6 s | 0.6 s |
| blastn | 0.02 s |
5.2 TM-align #
Against the reference TM-align 20190822 on 2,260 comparisons in its default, fast, fixed-alignment and initial-alignment modes, results agreed; one case in the initial-alignment mode differed where two alignments tie and the C library's trigonometry differs in the last bit. Ninety pairs with the reference answers are checked bit for bit in every build.
5.3 GSA on held-out folds #
Sensitivity up to the first false positive (the first domain of another fold), for family members, superfamily members of other families and fold members of other superfamilies, averaged over 947 queries of the test folds against the 5,136 test domains:
| Method | Family | Superfamily | Fold |
|---|---|---|---|
| Local alignment, GSA + amino acids | 0.880 | 0.590 | 0.098 |
| Search pipeline, among decoys making 30 M residues | 0.895 | 0.660 | 0.159 |
| Amino acids alone (BLOSUM62, gaps 11/1) | 0.554 | 0.165 | 0.003 |
The decoys (30 million residues, which make the database 33 times the size of the test domains' 950,741) are synthetic chains whose GSA states follow an order-2 Markov chain fitted to the test domains, with amino acids drawn from each state's frequencies and the lengths of real domains: their words have the frequencies of real chains, so they load the shortlist and the alignment stage as a real database would, and a decoy ranked above a relative counts as a false positive. They carry no coordinates and are never rescored; the other test domains compete at every stage, TM-score included.
On the training folds the local alignment scores 0.836, 0.442 and 0.056: the alphabet generalizes to folds it has not seen. Structure information more than triples superfamily sensitivity over amino acids alone.
5.4 Against TM-align #
On 120 test queries with relatives at every level, against the 5,136 test domains, all methods ranking the same targets (TM-align by TM-score normalized by the query, computed for all 616,200 pairs):
| Method | Family | Superfamily | Fold |
|---|---|---|---|
| TM-align (exhaustive) | 0.897 | 0.763 | 0.317 |
| GSA search | 0.908 | 0.705 | 0.186 |
| GSA + amino acids, local alignment | 0.872 | 0.588 | 0.114 |
| GSA alone | 0.822 | 0.536 | 0.100 |
| Amino acids alone | 0.515 | 0.151 | 0.002 |
The search reaches 101%, 92% and 59% of exhaustive TM-align's sensitivity at the family, superfamily and fold levels. Exhaustive TM-align took 5 h 17 min (about 2.6 min per query); the search took 971 ms per query against the test domains among decoys (§5.3), a database 33 times larger. With the denominators of Foldseek's benchmark script the values are 0.908/0.626/0.179 (search) and 0.897/0.680/0.305 (TM-align). These numbers are not directly comparable with Foldseek's published ratios [12], which come from a different benchmark.
5.5 Search at scale #
Against an index of 123 million residues (707,000 chains, the size of the MolNFT sequence databases, built from the SCOP domains among decoys), a search takes about 3 seconds (median of 20 queries; at most about 6), dominated by the parallel shortlist. The index uses 2 bytes per residue in memory.
5.6 Features #
On hen egg-white lysozyme, the insulin B chain, ubiquitin and GFP, the protein features match Biopython 1.88 ProtParam within its rounding (pI and net charge within 0.01, instability and GRAVY within 10⁻³, extinction coefficients exactly, mass within 0.02% owing to different mass tables). Structure features of PDB 1AKI and 1DIX match an independent NumPy computation (gyration-tensor eigenvalues, full distance matrices) within 10⁻³; lysozyme's radius of gyration is 13.75 Å, 0.99 times that of a compact chain of its length.
5.7 Structure analysis #
Against mkdssp 4.2.2 on 113 structures without alternate locations (27,237 residues), the secondary structure was identical for 99.97% of residues, the accessible surface identical (integer Ų) for 99.26% and within 1 Ų for 99.69%, with identical hydrogen-bond partners and energies; with every residue of files with alternate locations, 99.86% and 95.99% (mkdssp keeps the last conformation's backbone). Buried surfaces agreed with FreeSASA 2.1.2 [45] under the same settings: 3735.3 against 3736.1 Ų for the HIV-1 protease dimer 1HVR (0.02%), 3729.2 against 3725.5 Ų for 4E43. On 14 structures holding drug-like ligands, the ligand's pocket ranked first in 11 and in the top three in 12 (first in 10, top three in 12–13 with each structure left out of the fit). DNA duplexes were fully paired, the flipped base of M.HhaI (3MHT) unpaired, and the riboswitch 4GXY gave 39 pairs with its pseudoknot. A structure of 16,600 atoms is analysed in 0.33 s, a ribosome (165,000 atoms) in 2.0 s.
5.8 Proteomics #
Masses and fragment ions of 200 modified peptides equalled pyteomics 5.0.1 [46] given the same isotope table to 10⁻⁸ Da, and 2,320 digests (40 proteins, every PSI-MS rule, 0–2 missed cleavages, the ExPASy rules) were identical. Isotope patterns equalled IsoSpecPy 2.5.0 [47] within 10⁻⁹ relative. Among 2,000 random proteins, at least 120 of 150 synthetic spectra of oxidized and phosphorylated peptides were identified correctly at 1% FDR, with at most 3 wrong. The archive's peptide index (235,000 proteins, 75 million residues) holds 14.7 million peptides in 241 MB, is built in 7.5 s, and 500 spectra are searched against it in 2.4 s, all identified with no decoy accepted. Disulfides and glycan links found from distances reproduced the files' SSBOND and LINK records.
5.9 Families #
On 8 curated reference alignments (Pfam seeds of 12TM_1, 3Beta_HSD, ArsP_1,
COX2_TM, Cyclin_N, Phage_Coat_Gp8 and Cys_knot, and HMMER's 45 globins), the
mean sum-of-pairs and total-column scores were 0.900 and 0.754 for GL1X,
0.901 and 0.756 for MUSCLE 5.1 [48], 0.889 and 0.733 for MAFFT 7.505 [49]
and 0.868 and 0.680 for Clustal Omega 1.2.4 [50]; on simulated families
MAFFT was ahead (sum of pairs 0.880 against 0.839, Clustal Omega 0.793).
Neighbour-joining trees had the splits and branch lengths of Biopython 1.88
on 15 matrices; direct information equalled dca.m to 10⁻⁶; cluster counts
were those of CD-HIT 4.8.1 in 7 of 12 cases and within 10% in all.
Against hmmsearch 3.4 with default settings, on 22,338 sequences (proteins,
family members and 20,050 shuffled decoys) and 8 models of 52–449 match
states, the hits at E ≤ 0.01 were the same for every model, none missed and
none extra; scores agreed within 0.05 bits for single-domain regions, 0.33
bits where paths are sampled, and the pipeline ran at about 1.5 ns per
residue and model state on one core. Coiled-coil probabilities equalled
ncoils within 0.0006.
5.10 pH environments #
On 40 held-out structures (2,505 groups other than arginines), GL1X's pKa shifts differed from PROPKA 3.5.1's by 0.69 pK units root-mean-square and 0.45 in mean absolute value, against 1.53 units for no shift at all; 71% of groups agreed within 0.5 units and 92% within 1. Disagreements were largest for buried tyrosines and free cysteines (0.98 and 1.45 units), for which PROPKA predicts larger desolvation. This compares two programs, not a program with experiment; PROPKA 3's own reported errors against measured values are 0.65–1.00 units by residue type [52]. Against experiment (3.4.0), on 365 measured pKa values of 47 proteins from PKAD [61], each checked against PKAD-3, PKAD-R and its paper's abstract, GL1X's root-mean-square error was 0.88 pK units against 0.91 for a null model that leaves every group at its model pKa (difference −0.03, 95% interval −0.19 to +0.15 by bootstrap over proteins): no gain overall. GL1X was better for aspartates (0.75 against 1.12), C-termini, strongly shifted groups (1.82 against 2.64 for measured shifts of 1.5 or more) and crystal structures (0.86 against 0.99), and worse for histidines (1.12 against 0.97, biased low by 0.60), lysines, free cysteines, groups barely shifted (0.59 against 0.26) and NMR models (0.95 against 0.54); eight of the ten largest errors were buried active-site groups whose charged form the protein stabilizes, where the burial term pushes the wrong way. Coupled titration with clusters of up to four agreed with exact enumeration of all states within 0.03 in every group's charge on 30 random systems of 6–12 groups at five pH values. In hen lysozyme (1AKI) the general acid Glu35 came out at 5.33 and Asp52 at 4.90; moving from blood to the fasting stomach, eleven groups switch charge and the fold loses about 5.7 kcal/mol of electrostatic stability. The membrane of the aspartate transporter GltPh (2NWL in OPM's orientation [60], its dummy membrane atoms left out) was placed with its normal within 1.3° of OPM's, its mid-plane within 0.6 Å and a half-thickness of 13 Å against 13.4 Å, the cytoplasmic side told by 26 lysines and arginines to 5; among 92 benchmark structures only the two membrane proteins passed the membrane thresholds. An analysis takes about 6 ms for lysozyme and 0.3 s for GltPh with its membrane, on one core.
6. Discussion #
Exactness as a feature. Reproducing BLAST+ and TM-align exactly is more work than writing similar programs, but it makes GL1X's results citable and comparable with decades of literature, and it turns validation into a regression test: any change that alters a result is caught.
What GSA adds. GSA confirms that a residue-plus-neighbour alphabet learned from CA traces carries most of the signal needed to find superfamily members: with amino acids it more than triples superfamily sensitivity over sequence alone, and with TM-score rescoring it matches exhaustive TM-align on families and approaches it on superfamilies. Fold-level sensitivity remains well below TM-align's; distant fold relationships need more than local alignment of letters (for example multiple seeds, iterative searches or learned embeddings).
Verifiability. On-chain records let the explorer offer something a conventional database cannot: a reader can re-derive any searched sequence from the chain at a block, without trusting the explorer. Datasets carry the digests that make such audits row by row possible.
Reference parity beyond search. The 3.0 suite extends the principle to
structure analysis, proteomics and families: where a reference program
defines a method (mkdssp, FreeSASA, pyteomics, IsoSpecPy, hmmsearch,
dca.m), its answers are reproduced and kept as tests; where several
programs compete (multiple alignment, clustering, pocket detection), GL1X
is measured against them on reference sets.
Limitations. GSA uses CA atoms only and does not split multi-domain chains; structure search covers protein chains; searches are not iterative (no PSI-BLAST or jackhmmer; profile HMMs are searched as given, not built), and structures are not aligned flexibly or in multiple. Pockets are geometric and their druggability a model fitted on few structures; there is no docking, binding affinity or molecular dynamics, and ΔΔG comes from GL1F models trained on measurements, not from physics. Features describe records as stated, including tags and missing residues; the ligand index records the contacts the structures deposit, not interactions, affinities or ligands that were not modelled; Gene Ontology terms are not in structure files and are not invented. pKa values are empirical estimates on the deposited coordinates, calibrated against another program; against measured values they are no better overall than model values, though better for strongly shifted groups, and the structure is not relaxed at a new pH; recalibrating against measurements is future work.
Future work. A second alphabet version (more states, multi-scale neighbourhoods), domain parsing for search, iterative structure and profile searches, a larger holo benchmark for pocket druggability, and closing the loop between datasets and on-chain models (training workflows that publish GL1F models, of mutational effects among others, and evaluate them on new records).
7. Conclusion #
Scientific records on a blockchain become a scientific database when standard methods run over them exactly, at scale, with provenance. GL1X provides BLAST and TM-align identical to their references, a learned structural alphabet with held-out benchmarks for fast structure search, full-atom analysis, pockets, proteomics and family analysis checked against their reference programs, documented features and datasets that connect records to on-chain machine learning, and proofs that tie every result back to the chain.
Availability #
GL1X is free software under the MIT License, https://github.com/GenesisL1/gl1x.
The bioinformatics components (internal/bio, internal/blast,
internal/fold, internal/molfeat, internal/proteo, internal/msa,
internal/hmm, internal/seqann, internal/phenv) are copyright
Bioinformatics LLC; the GSA
training recipe is internal/fold/gsatrain. Documentation: /docs of any GL1X
server, or docs/ in the repository.
References #
- Altschul SF, Gish W, Miller W, Myers EW, Lipman DJ (1990) Basic local alignment search tool. J Mol Biol 215:403–410.
- Altschul SF, Madden TL, Schäffer AA, et al. (1997) Gapped BLAST and PSI-BLAST: a new generation of protein database search programs. Nucleic Acids Res 25:3389–3402.
- Camacho C, Coulouris G, Avagyan V, et al. (2009) BLAST+: architecture and applications. BMC Bioinformatics 10:421.
- Karlin S, Altschul SF (1990) Methods for assessing the statistical significance of molecular sequence features by using general scoring schemes. Proc Natl Acad Sci USA 87:2264–2268.
- Schäffer AA, Aravind L, Madden TL, et al. (2001) Improving the accuracy of PSI-BLAST protein database searches with composition-based statistics and other refinements. Nucleic Acids Res 29:2994–3005.
- Altschul SF, Wootton JC, Gertz EM, et al. (2005) Protein database searches using compositionally adjusted substitution matrices. FEBS J 272:5101–5109.
- Zhang Y, Skolnick J (2005) TM-align: a protein structure alignment algorithm based on the TM-score. Nucleic Acids Res 33:2302–2309.
- Zhang Y, Skolnick J (2004) Scoring function for automated assessment of protein structure template quality. Proteins 57:702–710.
- Xu J, Zhang Y (2010) How significant is a protein structure similarity with TM-score = 0.5? Bioinformatics 26:889–895.
- de Brevern AG, Etchebest C, Hazout S (2000) Bayesian probabilistic approach for predicting backbone structures in terms of protein blocks. Proteins 41:271–287.
- Yang J-M, Tung C-H (2006) Protein structure database search and evolutionary classification. Nucleic Acids Res 34:3646–3659.
- van Kempen M, Kim SS, Tumescheit C, et al. (2024) Fast and accurate protein structure search with Foldseek. Nat Biotechnol 42:243–246.
- Edgar RC. Reseek, protein structure alignment and search. https://github.com/rcedgar/reseek
- Benet J (2014) IPFS — content addressed, versioned, P2P file system. arXiv:1407.3561.
- Gasteiger E, Hoogland C, Gattiker A, et al. (2005) Protein identification and analysis tools on the ExPASy server. In: Walker JM (ed) The Proteomics Protocols Handbook. Humana Press, 571–607.
- Cock PJA, Antao T, Chang JT, et al. (2009) Biopython: freely available Python tools for computational molecular biology and bioinformatics. Bioinformatics 25:1422–1423.
- Fox NK, Brenner SE, Chandonia J-M (2014) SCOPe: Structural Classification of Proteins—extended, integrating SCOP and ASTRAL data and classification of new structures. Nucleic Acids Res 42:D304–D309.
- Berman HM, Westbrook J, Feng Z, et al. (2000) The Protein Data Bank. Nucleic Acids Res 28:235–242.
- Varadi M, Anyango S, Deshpande M, et al. (2022) AlphaFold Protein Structure Database: massively expanding the structural coverage of protein-sequence space with high-accuracy models. Nucleic Acids Res 50:D439–D444.
- Sehnal D, Bittrich S, Velankar S, et al. (2020) BinaryCIF and CIFTools — lightweight, efficient and extensible macromolecular data management. PLoS Comput Biol 16:e1008247.
- Kabsch W, Sander C (1983) Dictionary of protein secondary structure: pattern recognition of hydrogen-bonded and geometrical features. Biopolymers 22:2577–2637.
- Hekkelman ML, et al. DSSP 4. https://github.com/PDB-REDO/dssp
- Shrake A, Rupley JA (1973) Environment and exposure to solvent of protein atoms. Lysozyme and insulin. J Mol Biol 79:351–371.
- Tien MZ, Meyer AG, Sydykova DK, Spielman SJ, Wilke CO (2013) Maximum allowed solvent accessibilities of residues in proteins. PLoS ONE 8:e80635.
- Hamelryck T (2005) An amino acid has two sides: a new 2D measure provides a different view of solvent exposure. Proteins 59:38–48.
- Hendlich M, Rippmann F, Barnickel G (1997) LIGSITE: automatic and efficient detection of potential small molecule-binding sites in proteins. J Mol Graph Model 15:359–363.
- Weisel M, Proschak E, Schneider G (2007) PocketPicker: analysis of ligand binding-sites with shape descriptors. Chem Cent J 1:7.
- Cheng AC, Coleman RG, Smyth KT, et al. (2007) Structure-based maximal affinity model predicts small-molecule druggability. Nat Biotechnol 25:71–75.
- Halgren TA (2009) Identifying and characterizing binding sites and assessing druggability. J Chem Inf Model 49:377–389.
- Schmidtke P, Barril X (2010) Understanding and predicting druggability. A high-throughput method for detection of drug binding sites. J Med Chem 53:5858–5867.
- Kleywegt GJ (1999) Recognition of spatial motifs in protein structures. J Mol Biol 285:1887–1897.
- Fenyö D, Beavis RC (2003) A method for assessing the statistical significance of mass spectrometry-based protein identifications using general scoring schemes. Anal Chem 75:768–774.
- Elias JE, Gygi SP (2007) Target-decoy search strategy for increased confidence in large-scale protein identifications by mass spectrometry. Nat Methods 4:207–214.
- Kahraman A, Malmström L, Aebersold R (2011) Xwalk: computing and visualizing distances in cross-linking experiments. Bioinformatics 27:2163–2164.
- Bullock JMA, Schwab J, Thalassinos K, Topf M (2016) The importance of non-accessible crosslinks and solvent accessible surface distance in modeling proteins with restraints from crosslinking mass spectrometry. Mol Cell Proteomics 15:2491–2500.
- Edgar RC (2004) MUSCLE: multiple sequence alignment with high accuracy and high throughput. Nucleic Acids Res 32:1792–1797.
- Capra JA, Singh M (2007) Predicting functionally important residues from sequence conservation. Bioinformatics 23:1875–1882.
- Saitou N, Nei M (1987) The neighbor-joining method: a new method for reconstructing phylogenetic trees. Mol Biol Evol 4:406–425.
- Morcos F, Pagnani A, Lunt B, et al. (2011) Direct-coupling analysis of residue coevolution captures native contacts across many protein families. Proc Natl Acad Sci USA 108:E1293–E1301.
- Li W, Godzik A (2006) Cd-hit: a fast program for clustering and comparing large sets of protein or nucleotide sequences. Bioinformatics 22:1658–1659.
- Eddy SR (2011) Accelerated profile HMM searches. PLoS Comput Biol 7:e1002195.
- Lupas A, Van Dyck M, Stock J (1991) Predicting coiled coils from protein sequences. Science 252:1162–1164.
- Prilusky J, Felder CE, Zeev-Ben-Mordehai T, et al. (2005) FoldIndex: a simple tool to predict whether a given protein sequence is intrinsically unfolded. Bioinformatics 21:3435–3438.
- Tian W, Skolnick J (2003) How well is enzyme function conserved as a function of pairwise sequence identity? J Mol Biol 333:863–882.
- Mitternacht S (2016) FreeSASA: an open source C library for solvent accessible surface area calculations. F1000Research 5:189.
- Levitsky LI, Klein JA, Ivanov MV, Gorshkov MV (2019) Pyteomics 4.0: five years of development of a Python proteomics framework. J Proteome Res 18:709–714.
- Łącki MK, Startek M, Valkenborg D, Gambin A (2017) IsoSpec: hyperfast fine structure calculator. Anal Chem 89:3272–3277.
- Edgar RC (2022) Muscle5: high-accuracy alignment ensembles enable unbiased assessments of sequence homology and phylogeny. Nat Commun 13:6968.
- Katoh K, Standley DM (2013) MAFFT multiple sequence alignment software version 7: improvements in performance and usability. Mol Biol Evol 30:772–780.
- Sievers F, Wilm A, Dineen D, et al. (2011) Fast, scalable generation of high-quality protein multiple sequence alignments using Clustal Omega. Mol Syst Biol 7:539.
- Li H, Robertson AD, Jensen JH (2005) Very fast empirical prediction and rationalization of protein pKa values. Proteins 61:704–721.
- Olsson MHM, Søndergaard CR, Rostkowski M, Jensen JH (2011) PROPKA3: consistent treatment of internal and surface residues in empirical pKa predictions. J Chem Theory Comput 7:525–537.
- Thurlkill RL, Grimsley GR, Scholtz JM, Pace CN (2006) pK values of the ionizable groups of proteins. Protein Sci 15:1214–1218.
- Fitch CA, Platzer G, Okon M, García-Moreno E B, McIntosh LP (2015) Arginine: its pKa value revisited. Protein Sci 24:752–761.
- Gilson MK (1993) Multiple-site titration and molecular modeling: two rapid methods for computing energies and forces for ionizable groups in proteins. Proteins 15:266–282.
- Yang AS, Honig B (1993) On the pH dependence of protein stability. J Mol Biol 231:459–474.
- Evans DF, Pye G, Bramley R, Clark AG, Dyson TJ, Hardcastle JD (1988) Measurement of gastrointestinal pH profiles in normal ambulant human subjects. Gut 29:1035–1041.
- Casey JR, Grinstein S, Orlowski J (2010) Sensors and regulators of intracellular pH. Nat Rev Mol Cell Biol 11:50–61.
- von Heijne G (1992) Membrane protein structure prediction. Hydrophobicity analysis and the positive-inside rule. J Mol Biol 225:487–494.
- Lomize MA, Lomize AL, Pogozheva ID, Mosberg HI (2006) OPM: orientations of proteins in membranes database. Bioinformatics 22:623–625.
- Pahari S, Sun L, Alexov E (2019) PKAD: a database of experimentally measured pKa values of ionizable groups in proteins. Database 2019:baz024.