projectionSVD (v0.2.0)
projectionSVD is a small command-line program written in Python/Cython to project a dataset onto a principal component space based on genotype data. It takes binary PLINK files as genotype input and works with PCA output from programs like halkoSVD, PLINK, and PCAone. projectionSVD requires estimated allele frequencies, eigenvalues and SNP loadings to perform the projection.
Installation
# Option 1: Build and install via PyPI
pip install projectionSVD
# Option 2: Download source and install via pip
git clone https://github.com/Rosemeis/projectionSVD.git
cd projectionSVD
pip install .
# Option 3: Download source and install in a new Conda environment
git clone https://github.com/Rosemeis/projectionSVD.git
conda env create -f projectionSVD/environment.yml
conda activate projectionSVD
You can now run the program with the projectionSVD command.
Quick usage
# Check help message of the program
projectionSVD -h
# Perform projection using PCAone output
projectionSVD --bfile new --freqs old.afreq --eigvals old.eigvals --loadings old.loadings --threads 32 --out new
# Outputs eigenvectors of new dataset (new.eigvecs)
Options
--freqs-col, specify which column to use in frequency file (6)--batch, process projection in batches of specified number of SNPs (8192)--raw, only output eigenvectors without FID/IID
Metadata
Release files for projectionSVD 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| projectionsvd-0.2.0.tar.gz | 166.7 kB | Without provenance | Details for projectionsvd-0.2.0.tar.gz |
Release files / projectionsvd-0.2.0.tar.gz
| Download URL | projectionsvd-0.2.0.tar.gz |
|---|---|
| Size | 166.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4fa9fcbc1159fe651c4e0a24f0dfa5a4470315737749efe67d4961fef1b834e1
|
|
BLAKE2b-256 checksum How to use checksums |
2911b2900c727d4580cb424cfb497acf8ef2e5a8426f3fc1a7f8fc3e53806877
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for projectionSVD 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.