How tutkuyaras/pgsxplorer works
Project Type and Purpose
• PGSXplorer is a Nextflow-based bioinformatics workflow (data pipeline) for calculating polygenic scores (PGS).
• It orchestrates a series of quality-control, phasing, imputation, and PGS-calculation modules around genomic input data and GWAS summary statistics.
• It runs locally or on HPC (SLURM) and can be containerized with Docker.
File Structure Analysis
• Root:
• main.nf – Nextflow entry point (pipeline definition)
• nextflow.config – global configuration (profiles, executors, parameters)
• .command.sh – helper wrapper
• Modules directory: one NF process script per analysis step (e.g., CalculateQC, ConvertVCFtoPLINK, LDpred2grid.nf, etc.)
• bin directory: supporting R scripts and native executables (PLINK, PRSice, ldak6, etc.)
• QC_graphs, outputs, target, .nextflow/cache: data directories and cache store
• README.md: exhaustive description, external-tool dependencies, parameters, usage examples