@platforma-open/milaboratories.3d-structure-clustering 1.1.1 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ ## 1.0.0
2
+
3
+ Initial release.
Binary file
@@ -0,0 +1,19 @@
1
+ # Overview
2
+
3
+ Clusters predicted antibody 3D structures by 3Di+AA similarity using [FoldSeek](https://github.com/steineggerlab/foldseek), surfacing structurally similar candidates whose CDR loops adopt the same conformation but differ in sequence — common after framework swaps and across species. Structure-based clusters complement sequence-based clustering and feed into Lead Selection as an additional diversification axis.
4
+
5
+ The block consumes per-clonotype PDB files produced by the [3D Structure Prediction](https://github.com/platforma-open/milaboratories.3d-structure-prediction) block. When a confidence filter is selected on the dataset, only confident predictions are clustered. FoldSeek's 3Di structural alphabet combined with the amino acid alphabet is four to five orders of magnitude faster than DALI / TM-align while preserving cluster quality on antibody-scale datasets, making single-shot clustering of 10K–100K structures tractable on a single node.
6
+
7
+ For each cluster the block reports cluster size, cluster radius (max TM-distance to centroid), per-clonotype TM-distance to centroid, the centroid PDB itself, and per-cluster abundance totals carried through from the upstream dataset.
8
+
9
+ The UI has three pages: a per-cluster table (size, radius, abundance totals, centroid label), a "Most Abundant Clusters" bubble plot (sample × cluster, sized by per-sample abundance, coloured by cluster size), and a cluster-size histogram.
10
+
11
+ ## Multi-chain assumption
12
+
13
+ The block accepts both single-chain (heavy-only) and paired H+L PDB inputs. **Cluster assignment is heavy-chain driven**: FoldSeek's `easy-cluster` mode clusters each PDB chain independently, and the block keeps only the row corresponding to each member's heavy chain (chain id `H` in the PDB; for non-standard chain naming the first chain by alphabetical order is used and a warning is logged). The L-chain FoldSeek decisions are discarded for the cluster assignment.
14
+
15
+ TM-distance to centroid is computed on the heavy chain only and reflects the alignment scope (CDR-H3 loop in `cdrh3` alignment mode, full chain otherwise). The per-cluster MSA viewer surfaces both heavy and light chain sequences (`sequence_H` and `sequence_L`) so paired antibodies can be inspected; for heavy-only inputs the light-chain column is empty.
16
+
17
+ FoldSeek is developed by the [Steinegger Lab](https://steineggerlab.com/). Please cite:
18
+
19
+ > van Kempen M, Kim SS, Tumescheit C, Mirdita M, Lee J, Gilchrist CLM, Söding J, Steinegger M. *Fast and accurate protein structure search with Foldseek.* Nature Biotechnology, 42, 243–246 (2024). [https://doi.org/10.1038/s41587-023-01773-0](https://doi.org/10.1038/s41587-023-01773-0)
Binary file
@@ -0,0 +1 @@
1
+ {"schema":"v2","description":{"id":{"organization":"milaboratories","name":"3d-structure-clustering","version":"1.2.1"},"components":{"workflow":{"type":"workflow-v1","main":{"type":"relative","path":"main.plj.gz"}},"model":{"type":"relative","path":"model.json"},"ui":{"type":"relative","path":"ui.tgz"}},"meta":{"title":"3D Structure Clustering","description":"Clusters predicted antibody 3D structures by 3Di+AA similarity using FoldSeek; emits per-cluster centroid PDBs, cluster size and radius.","longDescription":{"type":"relative","path":"description.md"},"changelog":{"type":"relative","path":"CHANGELOG.md"},"logo":{"type":"relative","path":"block-logo.png"},"url":"https://github.com/platforma-open/milaboratories.3d-structure-clustering","support":"mailto:support@milaboratories.com","tags":["airr","downstream","antibody","structure","clustering"],"organization":{"name":"MiLaboratories Inc","url":"https://milaboratories.com/","logo":{"type":"relative","path":"organization-logo.png"}},"marketplaceRanking":12310,"supportedPlatforms":["linux-x64","macosx-aarch64"]},"featureFlags":{"supportsLazyState":true,"supportsPframeQueryRanking":true,"requiresUIAPIVersion":3,"requiresModelAPIVersion":2,"requiresCreatePTable":2,"requiresPFramesVersion":1001031,"requiresPFrameSpec":true,"requiresPFrame":true,"requiresDialog":true,"requiresColumnsCollection":true},"kind":"@platforma-open/milaboratories.3d-structure-clustering.kind@1.0.0"},"timestamp":1788168781214,"files":[{"name":"main.plj.gz","size":499947,"sha256":"8CB1EFC85D90F5549087FB22CF0A3C8CCC3F8F4399679D60E3ADC7ADC2C75947"},{"name":"model.json","size":569411,"sha256":"9B20C0EE71AAAA8755570062E6930155E2149C4719F27B36F8172A6C0B0D67F0"},{"name":"ui.tgz","size":9282253,"sha256":"F4233D8E18D884EB6909AD6FAE6E2701ABDC56BE0B34444DFCAF31AE1FAD7C45"},{"name":"organization-logo.png","size":24439,"sha256":"FA71390C77C91E4B7FAAE5640D00F92F1E3F2869296F68B6040DD7CC549A50B5"},{"name":"description.md","size":2681,"sha256":"38010091BA158808D5201FBC955CD287BE442FFF4737D37486482C5ADA371820"},{"name":"CHANGELOG.md","size":27,"sha256":"3E1D1DA422E5D609FCDE7F996A81F7635011F3CA297923598DB36D924C4A0DAE"},{"name":"block-logo.png","size":21527,"sha256":"6BB33BAF0CD039549661B51AE490373BE60D1811EC71F5023400928293BC2427"}]}