region-gene-elements
$
npx mdskill add InternScience/scp/region-gene-elements```tex Query IGVF Catalog API to find regulatory-element-to-gene associations within a genomic region. Database: IGVF Catalog (https://api.catalogkg.igvf.org/) API: GET https://api.catalogkg.igvf.org/api/genomic-elements/genes
SKILL.md
.github/skills/region-gene-elementsView on GitHub ↗
---
name: region-gene-elements
description: "Query IGVF Catalog for regulatory element–gene associations within a genomic region, including association scores, element types, and biosample context."
license: MIT license
metadata:
skill-author: PJLab
---
# IGVF Catalog — Regulatory Element–Gene Associations by Region
## Usage
### Tool Description
```tex
Query IGVF Catalog API to find regulatory-element-to-gene associations within a genomic region.
Database: IGVF Catalog (https://api.catalogkg.igvf.org/)
API: GET https://api.catalogkg.igvf.org/api/genomic-elements/genes
Args:
region (str): Required. Genomic region, e.g. "chr1:903900-904900"
organism (str): Default "Homo sapiens"
source_annotation (str, optional): e.g. "enhancer", "intergenic"
region_type (str, optional): e.g. "accessible dna elements", "tested elements"
source (str, optional): e.g. "ENCODE_EpiRaction"
method (str, optional): e.g. "CRISPR FACS screen"
biosample_name (str, optional): e.g. "placenta"
verbose (bool): true=返回完整信息, false=精简 (default false)
page (int): 0-based page
limit (int): 每页条目数, 最大 500
Return (list of dicts), each item contains:
- score (float): 调控元件与基因的关联分数
- source (str): 数据来源 (e.g. "ENCODE")
- source_url (str): 来源链接
- genomic_element (dict):
- chr, start, end: 调控元件基因组坐标
- source_annotation: 元件注释类型 (intergenic, enhancer, promoter 等)
- type: 元件类型 (accessible dna elements, tested elements 等)
- gene (dict):
- _id: Ensembl Gene ID (e.g. "ENSG00000187634")
- name: 基因名 (e.g. "SAMD11")
- chr, start, end, strand: 基因坐标
- gene_type: 基因类型 (protein_coding, lncRNA 等)
- hgnc: HGNC ID (e.g. "HGNC:28706")
- entrez: Entrez ID (e.g. "ENTREZ:148398")
- biosample (str): 来源生物样本 (e.g. "natural killer cell...")
- method (str): 实验方法 (e.g. "CRISPR FACS screen")
```
### Query Example
```python
import requests
region = "chr1:903900-904900"
url = "https://api.catalogkg.igvf.org/api/genomic-elements/genes"
params = {
"region": region,
"organism": "Homo sapiens",
"verbose": "true",
"page": 0,
}
resp = requests.get(url, params=params, timeout=30).json()
print(f"[IGVF] 区域 {region} 内调控元件-基因关联: {len(resp)} 条")
for i, item in enumerate(resp[:10]):
gene = item.get("gene", {})
elem = item.get("genomic_element", {})
print(f"\n [{i+1}] 基因: {gene.get('name', 'N/A')} ({gene.get('_id', '')})")
print(f" 基因坐标: {gene.get('chr')}:{gene.get('start')}-{gene.get('end')} ({gene.get('strand')})")
print(f" 基因类型: {gene.get('gene_type', '')}")
print(f" 调控元件: {elem.get('chr')}:{elem.get('start')}-{elem.get('end')}")
print(f" 元件类型: {elem.get('type', '')} ({elem.get('source_annotation', '')})")
print(f" 关联分数: {item.get('score', 'N/A')}")
print(f" 来源: {item.get('source', '')}, 方法: {item.get('method', '')}")
print(f" 样本: {item.get('biosample', '')[:60]}")
```
More from InternScience/scp
- admet_druglikeness_reportADMET & Drug-Likeness Report - Generate comprehensive ADMET and drug-likeness report: molecular properties, H-bond analysis, hydrophobicity, topology, and ADMET prediction. Use this skill for medicinal chemistry tasks involving calculate mol basic info calculate mol hbond calculate mol hydrophobicity calculate mol topology pred molecule admet. Combines 5 tools from 2 SCP server(s).
- affinity_maturationAffinity Maturation Pipeline - Affinity maturation: compute binding affinity, predict mutations, compute hydrophilicity, and predict drug-target interaction. Use this skill for antibody engineering tasks involving ComputeAffinityCalculator zero shot sequence prediction ComputeHydrophilicity PredictDrugTargetInteraction. Combines 4 tools from 3 SCP server(s).
- alanine_scanning_pipelineAlanine Scanning Mutagenesis Pipeline - Alanine scanning: design scan, compute properties for each mutant, predict interactions, and compare. Use this skill for protein biochemistry tasks involving AlanineScanningDesigner ComputeProtPara PredictDrugTargetInteraction calculate protein sequence properties. Combines 4 tools from 3 SCP server(s).
- aliphatic_ring_analysisRing System Analysis - Analyze ring systems: count aliphatic carbocycles, analyze aromaticity, compute topology, and structure complexity. Use this skill for organic chemistry tasks involving GetAliphaticCarbocyclesNum AromaticityAnalyzer calculate mol topology calculate mol structure complexity. Combines 4 tools from 3 SCP server(s).
- alphafold_structure_pipelineAlphaFold Structure Analysis Pipeline - AlphaFold pipeline: download predicted structure, predict pockets, extract sequence, and compute properties. Use this skill for computational biology tasks involving download alphafold structure run fpocket extract pdb sequence calculate pdb basic info. Combines 4 tools from 3 SCP server(s).
- antibody_drug_developmentAntibody Drug Development - Develop antibody drug: target protein analysis, biotherapeutic lookup, protein properties, and interaction prediction. Use this skill for biologics tasks involving get uniprotkb entry by accession get biotherapeutic by name ComputeProtPara ComputeHydrophilicity. Combines 4 tools from 3 SCP server(s).
- antibody_target_analysisAntibody-Target Analysis - Analyze an antibody target: UniProt protein info, InterPro domains, protein properties, and biotherapeutic data from ChEMBL. Use this skill for immunology tasks involving get uniprotkb entry by accession query interpro ComputeProtPara get biotherapeutic by name. Combines 4 tools from 4 SCP server(s).
- atc_drug_classificationATC Drug Classification Lookup - Look up drug in ATC classification: ChEMBL ATC class, FDA drug info, PubChem compound, and mechanism of action. Use this skill for pharmacology tasks involving get atc class by level5 get mechanism of action by drug name get compound by name get drug by name. Combines 4 tools from 3 SCP server(s).
- atmospheric-science-calculationsCalculate atmospheric parameters including Coriolis parameter, geostrophic wind, heat index, potential temperature, and dewpoint for meteorology and climate science.
- binding_site_characterizationBinding Site Characterization - Characterize binding sites: predict pockets with fpocket and P2Rank, get binding site info from ChEMBL, and visualize. Use this skill for structural biology tasks involving run fpocket pred pocket prank get binding site by id visualize protein. Combines 4 tools from 3 SCP server(s).