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.post1
- 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.11+
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.
OpenAPI spec
The package includes the processed OpenAPI spec it was generated from, as
igvf_catalog_async_client/openapi_spec_processed.json. It has what the generated code doesn't
keep, such as the allowed values of enum query parameters and each endpoint's maximum
page size. Load it with:
import json
from importlib.resources import files
spec = json.loads(files("igvf_catalog_async_client").joinpath("openapi_spec_processed.json").read_text())
spec["info"]["version"] is the IGVF Catalog API version. It equals the package version
without any .postN suffix: a post-release such as 1.3.0.post1 repackages the 1.3.0
API unchanged, and a dev build's spec carries the full dev version.
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
- AccessibleGenomicElement
- AccessibleGenomicElementPromoterOf
- Annotations
- AnnotationsFromGoTerms
- Biosamples
- BiosamplesFromGenomicElements
- BiosamplesFromGenomicElementsBiosample
- BiosamplesFromGenomicElementsGenomicElement
- BiosamplesFromVariants
- BiosamplesFromVariantsGenomicElement
- BiosamplesFromVariantsVariant
- CaddScores
- CellTypes
- CellTypes2
- CodingVariant
- CodingVariants
- CodingVariantsFromGenes
- CodingVariantsFromPhenotypes
- CodingVariantsSummary
- Complex
- ComplexComplexAssembly
- ComplexesFromProteins
- ComplexesFromProteinsComplex
- ComplexesFromProteinsProtein
- DiseaseFromVariants
- DiseaseFromVariantsSequenceVariant
- DiseasesFromGenes
- DiseasesFromGenesGene
- Drug
- DrugsFromVariants
- DrugsFromVariantsDrug
- Elements
- EnhancerGenePredictions
- EnhancerGenePredictionsElements
- FilesFilesets
- Gene
- Gene4
- Gene6
- GeneCompact
- GeneNoSynonyms
- GeneRef
- Genes
- Genes2
- GenesFromGenomicElements
- GenesFromGenomicElementsGene
- GenesFromGenomicElementsGenomicElement
- GenesFromGenomicElementsPValue
- GenesFromPathways
- GenesFromPathwaysPathway
- GenesFromProteins
- GenesFromTranscripts
- GenesFromTranscriptsTranscript
- GenesFromVariants
- GenesFromVariantsSequenceVariant
- GenesFromVariantsStudy
- GenesGenes
- GenesGenesGene1
- GenesProteinsFromVariants
- GenesProteinsGenesProteins
- GenesStructure
- GenesTranscriptsGenes
- GenesTranscriptsGenesTranscript
- GenomicElement
- GenomicElement2
- GenomicElement4
- GenomicElement5
- GenomicElement7
- GenomicElement9
- GenomicElementFull
- GenomicElementsFromGenomicElements
- GenomicElementsFromGenomicElementsPerturbedGenomicElement
- GenomicElementsFromPhenotypes
- GenomicElementsFromPhenotypesPhenotype
- GenomicElementsFromVariants
- GenomicElementsPredictionsFromVariant
- Grn
- IdName
- InlineObject
- InlineObjectIssuesInner
- LinkedFeature
- LlmQuery
- LlmQueryRequest
- MethodCount
- MethodsAndContexts
- Motif
- MotifsFromProteins
- MotifsFromProteinsMotif
- NearestGene
- NearestGenes
- OntologyTerm
- OntologyTermBasic
- OntologyTermChildren
- OntologyTermTransitiveClosure
- Paths
- Pathway
- PathwaysFromPathways
- Phenotype
- PhenotypeRef
- PhenotypesFromVariants
- PhenotypesFromVariants37
- PhenotypesFromVariantsStudy
- PhenotypesFromVariantsVariant
- Predictions
- Predictions2
- PredictionsFromVariants
- Protein
- ProteinBasic
- ProteinChange
- ProteinCompact
- ProteinComplexOption
- ProteinsFromTranscripts
- ProteinsFromTranscriptsProtein
- ProteinsFromVariants
- ProteinsFromVariantsBiosampleTerm
- ProteinsFromVariantsProteinComplex
- ProteinsProteins
- ProteinsProteinsProtein1
- QtlSummaryEndpoint
- Qtls
- Qtls3
- Related
- RelatedGene
- RelatedItem
- RelatedSources
- Scores
- SequenceVariant
- SequenceVariant9
- Sources
- Sources4
- Study
- Study2
- StudyParameters
- Summary
- TargetGene
- TfBinding
- Transcript
- Variant
- VariantAnnotations
- VariantBasic
- VariantMinimal
- VariantRef
- VariantSummary
- Variants
- VariantsAllelesValue
- VariantsFromDrugs
- VariantsFromPhenotypesItem
- VariantsFromVariantID
- VariantsFromVariantIDSequenceVariant
- VariantsFromVariantIDSummary
- VariantsGenomicElementsGenes
- VariantsRegionSummary
Documentation For Authorization
Authentication schemes defined for the API:
Authorization
- Type: Bearer authentication
Author
Metadata
Release files for igvf-catalog-async-client 1.3.0.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| igvf_catalog_async_client-1.3.0.post1.tar.gz | 188.3 kB | With provenance | Details for igvf_catalog_async_client-1.3.0.post1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| igvf_catalog_async_client-1.3.0.post1-py3-none-any.whl | Python 3 | none | any | Details for igvf_catalog_async_client-1.3.0.post1-py3-none-any.whl |
Total release size: 602.2 kB
Release files / igvf_catalog_async_client-1.3.0.post1.tar.gz
| Download URL | igvf_catalog_async_client-1.3.0.post1.tar.gz |
|---|---|
| Size | 188.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d10312fa13c7e6e73b60240e7ab0f4e2bdac500dacb82e99d2a3cf708766de9a
|
|
BLAKE2b-256 checksum How to use checksums |
26f67ff68fc678fc2a2df9966df861212d9c3a176ddb76fa5f2d5a5297f1c97c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 20, 2026.
Transparency logRelease files / igvf_catalog_async_client-1.3.0.post1-py3-none-any.whl
| Download URL | igvf_catalog_async_client-1.3.0.post1-py3-none-any.whl |
|---|---|
| Size | 413.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9fe25b278d4250d92465b9201784fb3ea8319f28c9336f448425b3b0e30678f1
|
|
BLAKE2b-256 checksum How to use checksums |
9dacfa97b0d9074ece654c008d01806e49c412ee3178441c7aa990aee1e43e06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 20, 2026.
Transparency logSecurity for igvf-catalog-async-client 1.3.0.post1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for igvf_catalog_async_client-1.3.0.post1.tar.gz
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 Nov 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.