Container image for bedparse - Python module and CLI tool to perform operations on BED files
1.4K
This directory contains Docker images for GWASLab, a Python-based toolkit for loading, processing, quality controlling, visualizing, and analyzing genome-wide association study (GWAS) summary statistics.
latest ( Dockerfile | Vulnerability Report )4.2.1 ( Dockerfile | Vulnerability Report )These Docker images are built from the Python 3.12 slim image and include:
The images are designed to be minimal and focused on GWASLab with its essential dependencies.
If you use GWASLab in your research, please cite the original authors:
He, Y., Koiko, M., Shimmori, Y., Kamatani, Y. (2023). GWASLab: a Python package
for processing and visualizing GWAS summary statistics. Preprint at Jxiv, 2023-5.
https://doi.org/10.51094/jxiv.370
Tool homepage: https://cloufield.github.io/gwaslab/
Source repository: https://github.com/Cloufield/gwaslab
# Pull the latest version
docker pull getwilds/gwaslab:latest
# Or pull a specific version
docker pull getwilds/gwaslab:4.2.1
# Alternatively, pull from GitHub Container Registry
docker pull ghcr.io/getwilds/gwaslab:latest
# Pull the latest version
apptainer pull docker://getwilds/gwaslab:latest
# Or pull a specific version
apptainer pull docker://getwilds/gwaslab:4.2.1
# Alternatively, pull from GitHub Container Registry
apptainer pull docker://ghcr.io/getwilds/gwaslab:latest
# Example 1: Check the installed GWASLab version
docker run --rm getwilds/gwaslab:latest \
python -c "import gwaslab as gl; print(gl.__version__)"
# Example 2: Load and standardize a sumstats file, then save the QC'd result
docker run --rm -v /path/to/data:/data getwilds/gwaslab:latest \
python -c "
import gwaslab as gl
sumstats = gl.Sumstats('/data/sumstats.tsv.gz',
snpid='SNP', chrom='CHR', pos='POS',
ea='EA', nea='NEA', beta='BETA', se='SE',
p='P', build='38')
sumstats.basic_check()
sumstats.to_csv('/data/sumstats_qc.tsv.gz', sep='\t')
"
# Example 3: Generate a Manhattan and QQ plot from a script mounted into the container
docker run --rm -v /path/to/data:/data -v /path/to/script:/script getwilds/gwaslab:latest \
python /script/plot_manhattan.py
# Alternatively using Apptainer
apptainer run --bind /path/to/data:/data docker://getwilds/gwaslab:latest \
python -c "import gwaslab as gl; print(gl.__version__)"
# ... or a local SIF file via Apptainer
apptainer run --bind /path/to/data:/data gwaslab_latest.sif \
python /script/plot_manhattan.py
The Dockerfile follows these main steps:
build-essential so pip can compile dependencies without prebuilt wheels for the target platform (e.g. scikit-allel on arm64)build-essential and apt caches to keep the image minimalThese images are regularly scanned for vulnerabilities using Docker Scout. However, due to the nature of bioinformatics software and their dependencies, some Docker images may contain components with known vulnerabilities (CVEs).
Use at your own risk: While we strive to minimize security issues, these images are primarily designed for research and analytical workflows in controlled environments.
For the latest security information about this image, please check the CVEs_*.md files in this directory, which are automatically updated through our GitHub Actions workflow. If a particular vulnerability is of concern, please file an issue in the GitHub repo citing which CVE you would like to be addressed.
These Dockerfiles are maintained in the WILDS Docker Library repository.
Content type
Image
Digest
sha256:f43ac60fa…
Size
47.2 MB
Last updated
11 months ago
docker pull getwilds/bedparse