ワンクリックで
claw-semantic-sim
Semantic Similarity Index for disease research literature using PubMedBERT embeddings
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Semantic Similarity Index for disease research literature using PubMedBERT embeddings
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Convert raw Nanopore signal data (FAST5/POD5) to nucleotide sequences using Dorado basecaller. Covers model selection, GPU acceleration, modified base detection, and quality filtering. Use when processing raw Nanopore data before alignment. Note: Guppy is deprecated; use Dorado for all new analyses.
Meta-agent that routes bioinformatics requests to specialised sub-skills. Handles file type detection, analysis planning, report generation, and reproducibility export.
Ancestry decomposition PCA against the Simons Genome Diversity Project
Shotgun metagenomics profiling — taxonomy, resistome, and functional pathways
Query the ClinPGx API for pharmacogenomic gene-drug data, clinical annotations, CPIC guidelines, and FDA drug labels
Medication photo to personalised PGx dosage card via Claude vision — snap a pill, get genotype-informed guidance
| name | claw-semantic-sim |
| version | 0.1.0 |
| description | Semantic Similarity Index for disease research literature using PubMedBERT embeddings |
| author | Manuel Corpas |
| license | MIT |
| tags | ["health-equity","semantic-analysis","NLP","PubMedBERT","disease-neglect"] |
| metadata | {"genetind":{"requires":{"bins":["python3"],"env":[],"config":[]},"always":false,"emoji":"🔬","homepage":"https://github.com/ClawBio/ClawBio","os":["macos","linux"],"install":[{"kind":"pip","package":"torch","bins":[]},{"kind":"pip","package":"transformers","bins":[]},{"kind":"pip","package":"h5py","bins":[]},{"kind":"pip","package":"umap-learn","bins":[]},{"kind":"pip","package":"biopython","bins":[]},{"kind":"pip","package":"networkx","bins":[]}],"trigger_keywords":["semantic similarity","disease neglect","research gaps","NTDs","SII","knowledge silo"]}} |
Measure how isolated or connected disease research is across the global biomedical literature, using PubMedBERT embeddings on PubMed abstracts spanning 175 GBD diseases.
If you ask ChatGPT to "measure research neglect for diseases," it will:
This skill encodes the correct methodological decisions:
Neglected tropical diseases (NTDs) are significantly more semantically isolated than other conditions (P < 0.001, Cohen's d = 0.8+). They exist in knowledge silos with limited cross-disciplinary research bridges. The 25 most isolated diseases are disproportionately Global South priority conditions.
05-00-heim-sem-setup.py # Validate environment, create directories
05-01-heim-sem-fetch.py # Retrieve PubMed abstracts (checkpointed)
05-02-heim-sem-embed.py # Generate PubMedBERT embeddings (MPS/CPU)
05-03-heim-sem-compute.py # Compute SII, KTP, RCC, temporal drift
05-04-heim-sem-figures.py # Generate publication figures
05-05-heim-sem-integrate.py # Merge with biobank + clinical trial dimensions
python semantic_sim.py --demo --output demo_report
The demo uses pre-computed embeddings and metrics for 175 GBD diseases and generates the full 4-panel figure instantly.
Semantic Similarity Index
=========================
Diseases analysed: 175
Total PubMed abstracts: 13,100,000
Embedding model: PubMedBERT (768-dim)
Metric Ranges:
SII: 0.0412 - 0.1893
KTP: 0.6234 - 0.9187
RCC: 0.0891 - 0.3421
Key Finding:
NTDs show +38% higher semantic isolation
P < 0.0001, Cohen's d = 0.84
14/25 most isolated diseases are Global South priority
Figures saved to: demo_report/
Fig5_Semantic_Structure.png (300 dpi)
Fig5_Semantic_Structure.pdf (vector)
Reproducibility:
commands.sh | environment.yml | checksums.sha256
If you use this skill in a publication, please cite: