Skip to main content

igvf-catalog-async-client

Asyncio client for the IGVF Catalog API, built on aiohttp.

IGVF Catalog OpenAPI compliant REST API built using tRPC with Express.

Our database uses 0-based, half-open coordinates for genomic coordinates in the GRCh38 (human) and GRCm39 (mouse) reference genomes.

Data is licensed under the <a href=https://creativecommons.org/licenses/by/4.0/ target="_blank">Creative Commons license and the software is licensed under the <a href=https://spdx.org/licenses/MIT.html target="_blank">MIT license.

  • API version: 1.3.0
  • Package version: 1.3.0
  • Generator version: 7.14.0

This package is generated with OpenAPI Generator by igvf-catalog-client-openapi-spec whenever the IGVF Catalog changes. Don't edit generated files by hand; change templates/ here or the pipeline in that repo instead.

Requirements

Python 3.9+

Installation

Releases follow IGVF Catalog releases and are published to PyPI:

pip install igvf-catalog-async-client

Development builds track the catalog's dev branch and are installed from this repo's dev branch:

pip install "git+https://github.com/IGVF-DACC/igvf-catalog-async-python-client.git@dev"

The default host is the API the package was generated against: releases use https://api.catalogkg.igvf.org/api and dev builds use https://catalog-api-dev.demo.igvf.org/api. Pass Configuration(host=...) to use another.

Quick start

import asyncio

import igvf_catalog_async_client

configuration = igvf_catalog_async_client.Configuration(host="https://api.catalogkg.igvf.org/api")


async def main():
    async with igvf_catalog_async_client.ApiClient(configuration) as api_client:
        api = igvf_catalog_async_client.AsyncIgvfCatalogApi(api_client)
        genes = await api.genes(name="ATF3")
        print(genes[0].to_dict())


asyncio.run(main())

Every endpoint is a method on AsyncIgvfCatalogApi, listed below. The interactive API documentation is at api.catalogkg.igvf.org.

Getting Started

import igvf_catalog_async_client
from igvf_catalog_async_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api.catalogkg.igvf.org/api
# See configuration.py for a list of all supported configuration parameters.
configuration = igvf_catalog_async_client.Configuration(
    host = "https://api.catalogkg.igvf.org/api"
)



# Enter a context with an instance of the API client
async with igvf_catalog_async_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = igvf_catalog_async_client.AsyncIgvfCatalogApi(api_client)
    gene_id = 'gene_id_example' # str | 
    dataset = 'dataset_example' # str | 
    page = 0 # float |  (optional) (default to 0)
    limit = 3.4 # float |  (optional)

    try:
        api_response = await api_instance.all_coding_variants_from_genes(gene_id, dataset, page=page, limit=limit)
        print("The response of AsyncIgvfCatalogApi->all_coding_variants_from_genes:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AsyncIgvfCatalogApi->all_coding_variants_from_genes: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api.catalogkg.igvf.org/api

Class Method HTTP request Description
AsyncIgvfCatalogApi variants GET /variants
AsyncIgvfCatalogApi coding_variants GET /coding-variants
AsyncIgvfCatalogApi genomic_elements GET /genomic-elements
AsyncIgvfCatalogApi genes GET /genes
AsyncIgvfCatalogApi genes_structure GET /genes-structure
AsyncIgvfCatalogApi transcripts GET /transcripts
AsyncIgvfCatalogApi proteins GET /proteins
AsyncIgvfCatalogApi complexes GET /complexes
AsyncIgvfCatalogApi pathways GET /pathways
AsyncIgvfCatalogApi motifs GET /motifs
AsyncIgvfCatalogApi drugs GET /drugs
AsyncIgvfCatalogApi ontology_term GET /ontology-terms
AsyncIgvfCatalogApi studies GET /studies
AsyncIgvfCatalogApi genomic_elements_from_variants GET /variants/genomic-elements
AsyncIgvfCatalogApi genes_from_variants GET /variants/genes
AsyncIgvfCatalogApi proteins_from_variants GET /variants/proteins
AsyncIgvfCatalogApi phenotypes_from_variants GET /variants/phenotypes
AsyncIgvfCatalogApi biosamples_from_variants GET /variants/biosamples
AsyncIgvfCatalogApi variants_from_proteins GET /proteins/variants
AsyncIgvfCatalogApi proteins_proteins GET /proteins/proteins
AsyncIgvfCatalogApi variants_from_phenotypes GET /phenotypes/variants
AsyncIgvfCatalogApi coding_variants_from_phenotypes GET /phenotypes/coding-variants
AsyncIgvfCatalogApi genomic_elements_from_phenotypes GET /phenotypes/genomic-elements
AsyncIgvfCatalogApi variants_from_genomic_elements GET /genomic-elements/variants
AsyncIgvfCatalogApi genes_from_genomic_elements GET /genomic-elements/genes
AsyncIgvfCatalogApi phenotypes_from_genomic_elements GET /genomic-elements/phenotypes
AsyncIgvfCatalogApi biosamples_from_genomic_elements GET /genomic-elements/biosamples
AsyncIgvfCatalogApi genomic_elements_from_genomic_elements GET /genomic-elements/genomic-elements
AsyncIgvfCatalogApi variants_from_genes GET /genes/variants
AsyncIgvfCatalogApi genomic_elements_from_genes GET /genes/genomic-elements
AsyncIgvfCatalogApi phenotypes_from_coding_variants GET /coding-variants/phenotypes
AsyncIgvfCatalogApi variants_from_biosamples GET /biosamples/variants
AsyncIgvfCatalogApi genomic_elements_from_biosamples GET /biosamples/genomic-elements
AsyncIgvfCatalogApi variant_by_frequency_source GET /variants/freq
AsyncIgvfCatalogApi grn GET /gene-regulatory-network
AsyncIgvfCatalogApi enhancer_gene_predictions GET /enhancer-gene-predictions
AsyncIgvfCatalogApi qtls GET /qtls
AsyncIgvfCatalogApi variant_summary GET /variants/summary
AsyncIgvfCatalogApi variants_from_variant_id_summary GET /variants/variant-ld/summary
AsyncIgvfCatalogApi variants_region_summary GET /variants/region-summary
AsyncIgvfCatalogApi qtl_summary_endpoint GET /variants/genes/summary
AsyncIgvfCatalogApi genomic_elements_from_variants_count GET /variants/predictions-count
AsyncIgvfCatalogApi predictions_from_variants GET /variants/predictions
AsyncIgvfCatalogApi deprecated_coding_variants_summary GET /variants/phenotypes/score-summary
AsyncIgvfCatalogApi nearest_genes GET /variants/nearest-genes
AsyncIgvfCatalogApi variants_alleles GET /variants/gnomad-alleles
AsyncIgvfCatalogApi variants_genomic_elements_genes GET /variants/genomic-elements/genes
AsyncIgvfCatalogApi genomic_elements_predictions_from_variant GET /variants/genomic-elements/cell-gene-predictions
AsyncIgvfCatalogApi genes_proteins_from_variants GET /variants/genes-proteins
AsyncIgvfCatalogApi coding_variants_from_genes GET /genes/coding-variants/scores
AsyncIgvfCatalogApi all_coding_variants_from_genes GET /genes/coding-variants/all-scores
AsyncIgvfCatalogApi variants_from_gene_proteins GET /genes-proteins/variants
AsyncIgvfCatalogApi genes_proteins_genes_proteins GET /genes-proteins/genes-proteins
AsyncIgvfCatalogApi coding_variants_summary GET /coding-variants/phenotypes/score-summary
AsyncIgvfCatalogApi coding_variants_count_from_gene GET /coding-variants/phenotypes-count
AsyncIgvfCatalogApi ontology_term_parents GET /ontology-terms/{ontology_term_id}/parents
AsyncIgvfCatalogApi ontology_term_children GET /ontology-terms/{ontology_term_id}/children
AsyncIgvfCatalogApi ontology_term_transitive_closure GET /ontology-terms/{ontology_term_id_start}/transitive-closure/{ontology_term_id_end}
AsyncIgvfCatalogApi variants_from_variant_id GET /variants/variant-ld
AsyncIgvfCatalogApi coding_variants_from_variants GET /variants/coding-variants
AsyncIgvfCatalogApi drugs_from_variants GET /variants/drugs
AsyncIgvfCatalogApi disease_from_variants GET /variants/diseases
AsyncIgvfCatalogApi variants_from_coding_variants GET /coding-variants/variants
AsyncIgvfCatalogApi transcripts_from_genes GET /genes/transcripts
AsyncIgvfCatalogApi genes_transcripts_genes GET /genes/transcripts/genes
AsyncIgvfCatalogApi proteins_from_genes GET /genes/proteins
AsyncIgvfCatalogApi pathways_from_genes GET /genes/pathways
AsyncIgvfCatalogApi genes_genes GET /genes/genes
AsyncIgvfCatalogApi diseases_from_genes GET /genes/diseases
AsyncIgvfCatalogApi genes_from_transcripts GET /transcripts/genes
AsyncIgvfCatalogApi proteins_from_transcripts GET /transcripts/proteins
AsyncIgvfCatalogApi transcripts_from_proteins GET /proteins/transcripts
AsyncIgvfCatalogApi genes_from_proteins GET /proteins/genes
AsyncIgvfCatalogApi complexes_from_proteins GET /proteins/complexes
AsyncIgvfCatalogApi proteins_from_complexes GET /complexes/proteins
AsyncIgvfCatalogApi motifs_from_proteins GET /proteins/motifs
AsyncIgvfCatalogApi proteins_from_motifs GET /motifs/proteins
AsyncIgvfCatalogApi genes_from_pathways GET /pathways/genes
AsyncIgvfCatalogApi pathways_from_pathways GET /pathways/pathways
AsyncIgvfCatalogApi annotations_from_go_terms GET /go-terms/gene-products
AsyncIgvfCatalogApi go_terms_from_annotations GET /gene-products/go-terms
AsyncIgvfCatalogApi variants_from_diseases GET /diseases/variants
AsyncIgvfCatalogApi genes_from_diseases GET /diseases/genes
AsyncIgvfCatalogApi variants_from_drugs GET /drugs/variants
AsyncIgvfCatalogApi files_filesets GET /files-filesets
AsyncIgvfCatalogApi llm_query POST /llm-query

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

Authorization

  • Type: Bearer authentication

Author

encode-help@lists.stanford.edu

Metadata

Release files for igvf-catalog-async-client 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for igvf-catalog-async-client 1.3.0
File Size Uploaded
igvf_catalog_async_client-1.3.0.tar.gz 151.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for igvf-catalog-async-client 1.3.0
File Interpreter ABI Platform
igvf_catalog_async_client-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 527.6 kB

Release files / igvf_catalog_async_client-1.3.0.tar.gz

Download URL igvf_catalog_async_client-1.3.0.tar.gz
Size 151.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3a790fb23f7957a5a3ebefe0a163827bc15bfdf919dd5ea9704a14ffbbc428fa
BLAKE2b-256 checksum
How to use checksums
be7aa888e3ee6e083babe266ec5aada0edbd0c6408a15ee570bde6649aad8432
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / igvf_catalog_async_client-1.3.0-py3-none-any.whl

Download URL igvf_catalog_async_client-1.3.0-py3-none-any.whl
Size 376.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f001d2c7ad430d3460eee0b5c0373600d05a9348dc0e173f50e8bf3ec24c77f
BLAKE2b-256 checksum
How to use checksums
cb8df9cf67b56b431338de467e6b807649d8199ee521d62d3dfa5c60cf8873c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page