ANOSPP data analysis
Project description
anospp-analysis
Python package for ANOSPP data analysis
Installation
TODO
Documentation
TODO
Development
Setup
Installation is hybrid with conda + poetry:
git clone git@github.com:malariagen/anospp-analysis.git
cd anospp-analysis
mamba env create -f environment.yml
conda activate anospp_analysis
poetry install
Activate development environment:
poetry shell
Usage & testing
The code in this repository can be accessed via wrapper scripts:
python anospp_analysis/qc.py \
--haplotypes test_data/haplotypes.tsv \
--samples test_data/samples.csv \
--stats test_data/stats.tsv \
--outdir test_data/qc
Besides, individual functions are available as an API
TODO testing & CI
Adding Python deps
Introducing python dependencies should be done via poetry:
poetry add package_name
This should update both pyproject.toml and poetry.lock files
If the package should be used in development environment only, use
poetry add package_name --dev
Adding non-Python deps
Introducing non-python dependencies should be done via conda: edit environment.yml,
then re-create the conda environment and poetry deps:
mamba env create -f environment.yml
conda activate anospp_analysis
poetry install
Changes in conda environment might also introduce changes to the python installation, in which case one should update poetry lock file
poetry lock
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file anospp_analysis-0.1.0.tar.gz.
File metadata
- Download URL: anospp_analysis-0.1.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.10.10 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a27168f05e4ab83f6f4e6f7bbc4641afa2c2d76c151ba6f9c7985179077e1bc2
|
|
| MD5 |
9993447e15eccfa4b825d1adccfd052d
|
|
| BLAKE2b-256 |
479f8bd6a4d8b50e220d746ec56f35e50244f86ca759cd2b91a7ce49dc741236
|
File details
Details for the file anospp_analysis-0.1.0-py3-none-any.whl.
File metadata
- Download URL: anospp_analysis-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.10.10 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc26cf0cf2d736d4b855b1ee8d6c34826651bcebf26934a3b80c13141f6c6b58
|
|
| MD5 |
11f8ab1794c371cf08d03d1f5a2f64c0
|
|
| BLAKE2b-256 |
ef4569ab3c1c1465f8fbd2858d44ffa260c359ca0dfabae648e0cbb52000ae42
|