Abstract
Summary Here we present Genal, a python module for population genetic analyses. It includes functionalities for cleaning and formatting Single Nucleotide Polymorphism (SNP)-level data, clumping, lifting, SNP association testing, polygenic risk scoring, and mendelian randomization analyses, all within a single module. It was designed with user-friendliness in mind, aiming to reduce the programming skills threshold required for medical scientists to perform genetic epidemiology studies. Genal eliminates the need to interact with the command line and switch between multiple R packages with different requirements, making it considerably more accessible to a wide range of researchers. Genal draws on concepts from several well-established tools, ensuring that users have access to rigorous statistical techniques in the intuitive Python environment.
Competing Interest Statement
The authors have declared no competing interest.
Funding Statement
This study did not receive any funding
Author Declarations
I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.
Yes
I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.
Yes
Data availability statement
The package is available on Pypi (https://pypi.org/project/genal-python/) and the code is openly available on Github with a tutorial: https://github.com/CypRiv/genal