मुख्य सामग्री पर जाएँ
Skillpedia
एनालिसिस और स्प्रेडशीट51k · #3532

primekg

यह क्या करती है

यह एजेंट PrimeKG नाम के डेटाबेस में जानकारी खोजता है। यह जीन, दवाइयों, बीमारियों और लक्षणों (traits) के बीच के संबंध ढूंढ सकता है और उन रिश्तों की जानकारी दे सकता है।

कब इस्तेमाल करें

  • ✓जीन और बीमारी के बीच ज्ञात संबंध जांचने के लिए।
  • ✓किसी खास बीमारी से जुड़ी दवाइयां ढूंढने के लिए।
  • ✓किसी मेडिकल स्थिति से जुड़े लक्षणों की पड़ताल के लिए।

Skill का लिंक

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/primekg/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/primekg/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“अल्ज़ाइमर रोग से कौन से जीन जुड़े हैं?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

आप कोई शब्द (जैसे बीमारी या जीन का नाम) देते हैं, और एजेंट PrimeKG डेटाबेस में उससे जुड़ी जानकारी खोजता है। यह सीधे संबंध दिखाता है और साथ ही दो स्टेप तक के रास्ते भी, ताकि रिश्तों को समझने में मदद मिले।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

PrimeKG Knowledge Graph

When to use

Use for reproducing PrimeKG analyses, resolving entities in a specific graph artifact, or exploring recorded gene, drug, disease, phenotype, anatomy, and pathway associations. A path supports a research hypothesis; it does not establish causality, treatment efficacy, a prescribing recommendation, or a diagnostic conclusion.

PrimeKG upstream now recommends OptimusKG for new work. This skill remains scoped to PrimeKG CSVs; the helper is not an OptimusKG client. Published PrimeKG integrates 20 resources, with approximately 129,000 nodes and 4.05 million undirected relationships. CSVs contain reverse rows, so row counts differ from distinct undirected relationship counts. Count the actual pinned artifact.

1. Pin and verify the input

The official dataset remained V2.1, published 2022-05-02, at the 2026-10-01 review. Its kg.csv has Dataverse file ID 6180620, size 981751236 bytes, and provider MD5 aac8191d4fbc5bf09cdf8c3c78b4e75f. The record declares CC0 1.0; upstream construction code is MIT. These are distinct from this skill's retained license declaration and from terms of individual source resources used in a rebuild.

Use the artifact and API reference to obtain metadata, verify the file checksum, or distinguish kg.csv, kg_grouped.csv, features, and PyTDC. The 2023 construction/OMIM updates in GitHub do not make the published 2022 artifact a 2023 dataset. Record DOI, version, filename, file ID, checksum, retrieval date, and any subset/rebuild steps with every result.

The helper makes no remote graph queries. Download the CSV deliberately after checking storage and RAM. This full-download example is illustrative; validation used small HTTP byte ranges and synthetic data, not the 982 MB file:

curl --fail --location --output kg.csv \
  'https://dataverse.harvard.edu/api/access/datafile/6180620'
export PRIMEKG_DATA="$PWD/kg.csv"

PRIMEKG_DATA is read when the module is imported; the default is data/PrimeKG/kg.csv. The module reads the whole CSV for each public query. low_memory parsing is not a bounded-memory graph engine. For many queries or limited RAM, build an indexed local store from the pinned file and validate its node keys, edge multiplicities, and counts.

2. Resolve a typed entity before traversal

Run from this skill's directory with pandas installed, so scripts.query_primekg is importable. The following is an illustrative real-data query; no disease result or ID is promised without inspecting the pinned file:

from scripts.query_primekg import search_nodes, get_neighbors

candidates = search_nodes("Alzheimer", node_type="disease", limit=None)
for node in candidates:
    print(node)  # id, type, name, source, and index when present

# Review the candidates and select the intended disease before calling:
# get_neighbors(selected["id"], node_type=selected["type"],
#               node_source=selected["source"])

Search is literal, case insensitive, and returns at most 20 matches by default; limit=None removes that cap. Preserve IDs as strings, including numeric-looking and underscore-joined IDs. Drug nodes use DrugBank identifiers; diseases can use MONDO or MONDO_grouped, including IDs joining multiple diseases. Do not invent EFO, ChEMBL, Wikidata, or prefixed MONDO IDs from labels. x_index/y_index are local release indexes, not ontology accessions and not stable across rebuilds.

The helper identifies a node by (id, type, source) and rejects ambiguous bare IDs or a key mapping to multiple release indexes. Supply node_type and node_source from the search result. Equal numeric IDs from different namespaces are different nodes.

3. Retrieve associations without losing their meaning

get_neighbors(node_id, relation_type=None, *, node_type=None, node_source=None) collects both stored orientations. Reverse rows are consolidated into one adjacency per neighboring identity/name, relation, and display_relation; all original rows remain in edge_rows. Extra CSV evidence columns and release indexes are preserved. Do not multiply evidence counts by the number of reverse copies.

Use exact stored relation names. Common published relations include:

relation Interpretation to retain

…

अक्सर पूछे जाने वाले सवाल

PrimeKG क्या है?

PrimeKG एक बड़ा डेटाबेस है जिसमें जीन, दवाइयों, बीमारियों और लक्षणों की जानकारी व्यवस्थित ढंग से रखी है और दिखाती है कि वे आपस में कैसे जुड़े हैं।

क्या यह एजेंट बता सकता है कि कोई इलाज काम करता है या नहीं?

नहीं, एजेंट सिर्फ़ डेटाबेस में दर्ज संबंध दिखाता है। वह इलाज की असरदारता की पुष्टि नहीं कर सकता और न ही कोई सलाह दे सकता है।

क्या मुझे कोई फ़ाइल डाउनलोड करनी होगी?

हां, इस एजेंट को इस्तेमाल करने के लिए PrimeKG डेटाबेस की एक खास फ़ाइल डाउनलोड करनी होगी। एजेंट रीयल-टाइम में इंटरनेट पर खोज नहीं करता।

जानकारी

लेखक का मूल विवरण

Queries a pinned Precision Medicine Knowledge Graph (PrimeKG) CSV for typed gene, drug, disease, and phenotype nodes, direct associations, disease context, and one- or two-hop paths. Use for PrimeKG reproducibility, biological association lookup, and hypothesis generation with relation and data provenance preserved.

repo: K-Dense-AI/scientific-agent-skills

लोकप्रियता

GitHub स्टार
51k
रैंकिंग में स्थान
#3532
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

13c-metabolic-flux

51k

कार्बन-13 आइसोटोप ट्रेसिंग डेटा से मेटाबोलिक फ़्लक्स का अनुमान लगाता है। कोशिका के मेटाबॉलिज़्म और बायोकेमिकल मार्गों का विश्लेषण करने के लिए यह उपयोगी है।

AI और एजेंटएजेंट

adaptyv

51k

Adaptyv API का उपयोग करके प्रोटीन कैरेक्टराइज़ेशन प्रयोग डिज़ाइन करता है। लागत का अनुमान लगाने, सीक्वेंस सबमिट करने और लैब के नतीजों पर नज़र रखने में मदद करता है।

AI और एजेंटएजेंट

aeon

51k

टाइम सीरीज़ डेटा पर मशीन लर्निंग के काम करता है। क्रमबद्ध डेटा में वर्गीकरण, पूर्वानुमान, एनोमली डिटेक्शन और पैटर्न खोजने के लिए यह उपयोगी है।

AI और एजेंटएजेंट

alphagenome

51k

जेनेटिक वेरिएंट्स के पहले से गणना किए गए जीनोमिक प्रभाव देखता है। वेरिएंट का जीनोम पर असर समझने के लिए स्कोर और स्पष्टीकरण देता है।

डेटामशीन लर्निंग

मिलती-जुलती skills