EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

pandasPGS: a Python package for easy retrieval of Polygenic Score Catalog data

Zheyu Zhang, Jintong Zhou, Tianze Cao iD, Yuexia Huang iD, Chu Huang, Yu Xia

PeerJ · 2025

DOI: 10.7717/peerj.18985 ↗

Kurz gefasst

Fachartikel in der Zeitschrift PeerJ, 2025. Verfasst von Zheyu Zhang und 5 weiteren Autor:innen. Beteiligte Einrichtung: School of Mathematics, Hangzhou Normal University, Hangzhou, Zhejiang, China. Hauptthemen laut MEDLINE: Software, Multifactorial Inheritance, Databases, Genetic, Information Storage and Retrieval. Die Arbeit nennt 9 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Zhejiang Provincial Natural Science Foundation, National Training Program of Innovation and Entrepreneurship for Undergraduates of Hangzhou Normal University.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Background

The Polygenic Score (PGS) Catalog is a public database dedicated to storing polygenic risk scores. To date, the database has included 5,022 polygenic risk scores associated with 656 different traits. Although the PGS Catalog offers an official resource representational state transfer (REST) application programming interface (API), there is no ready-made data client tailored for any specific programming language. Researchers are thus required to invest time in becoming familiar with the structure of the REST API and to implement a corresponding client in their programming language of choice to integrate PGS data into their analytical workflows.

Methods

In this work we introduce pandasPGS, a Python package that provides programmatic access to PGS Catalog data. After being called by the researcher, pandasPGS will automatically select the appropriate uniform resource locator (URL) and request the data based on the name and parameters of the called function, and merge the obtained pagination data. In addition, pandasPGS also provides further data pre-processing functions. According to the structure of the obtained data, it can convert the data into several hierarchical pandas.DataFrame objects, which is convenient for further analysis by researchers.

Results

This tool allows researchers to easily analyze PGS Catalog data using Python. It alleviates the time cost for researchers to learn the REST APIs of PGS Catalog. The source codes can be found in https://github.com/tianzelab/pandaspgs , and the API documentations can be found in https://tianzelab.github.io/pandaspgs/ .

Schlagwörter

MeSH-Schlagwörter (MEDLINE)

SoftwareMultifactorial InheritanceDatabases, GeneticInformation Storage and RetrievalHumansProgramming Languages

Stichwörter der Autor:innen

Data frameDatabaseGWASPGSPython

Autor:innen und Institutionen

  • School of Mathematics, Hangzhou Normal University, Hangzhou, Zhejiang, China.

ORCID-Profile: Tianze Cao, Yuexia Huang

Förderung

  • Zhejiang Provincial Natural Science Foundation
  • National Training Program of Innovation and Entrepreneurship for Undergraduates of Hangzhou Normal University

Zitieren

APA

Zhang, Z., Zhou, J., Cao, T., Huang, Y., Huang, C., & Xia, Y. (2025). pandasPGS: a Python package for easy retrieval of Polygenic Score Catalog data. PeerJ. https://doi.org/10.7717/peerj.18985

Vancouver

Zhang Z, Zhou J, Cao T, Huang Y, Huang C, Xia Y. pandasPGS: a Python package for easy retrieval of Polygenic Score Catalog data. PeerJ. 2025. doi:10.7717/peerj.18985

BibTeX
@article{Zhang2025,
  author = {Zhang, Zheyu and Zhou, Jintong and Cao, Tianze and Huang, Yuexia and Huang, Chu and Xia, Yu},
  title = {pandasPGS: a Python package for easy retrieval of Polygenic Score Catalog data},
  journal = {PeerJ},
  year = {2025},
  doi = {10.7717/peerj.18985}
}
Kostenlos starten →