Skip to content

mecfs_bio.analysis.csf_pqtl_database_build

Entry point that builds the full HapMap3 CSF pQTL database: the shared variant index and all 7,008 per-aptamer slim beta/se/N files.

Each slim task downloads its aptamer's ~203 MB GWAS-SSF file into a scratch dir and discards it after writing the ~6.8 MB aligned parquet, so the transient download volume is large (~1.4 TB) but the durable output is ~47.5 GB.

Functions:

  • go –

    Build the shared index and every per-aptamer slim file for the HapMap3 CSF

go

go() -> None

Build the shared index and every per-aptamer slim file for the HapMap3 CSF pQTL database.

Source code in mecfs_bio/analysis/csf_pqtl_database_build.py
def go() -> None:
    """Build the shared index and every per-aptamer slim file for the HapMap3 CSF
    pQTL database."""
    DEFAULT_RUNNER.run(HAPMAP_3_CSF_DATABASE.terminal_tasks())