Metadata-Version: 2.4
Name: merit-mr
Version: 0.7.0a0
Summary: Python based MEndelian Randomisation for Identifying Targets
Author-email: Chris Finan <c.finan@ucl.ac.uk>
License-Expression: GPL-3.0-or-later
Project-URL: Homepage, https://gitlab.com/cfinan/merit
Project-URL: Documentation, https://cfinan.gitlab.io/merit/
Project-URL: Repository, https://gitlab.com/cfinan/merit
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: resources/conda/LICENSE
Requires-Dist: numpy<2.5,~=2.0
Requires-Dist: pandas~=3.0
Requires-Dist: scipy~=1.13
Requires-Dist: statsmodels~=0.14
Requires-Dist: threadpoolctl~=3.6
Requires-Dist: tqdm~=4.60
Requires-Dist: bgen<1.10,~=1.7
Requires-Dist: pysam~=0.22
Requires-Dist: zarr~=3.1
Requires-Dist: numcodecs~=0.16
Requires-Dist: more-itertools~=10.0
Requires-Dist: bx-python~=0.13
Requires-Dist: genomic-config>=0.1.6
Requires-Dist: sortedcontainers~=2.4
Requires-Dist: gwas-sumstats-parser[frame,io]~=0.7.0
Provides-Extra: hpc
Requires-Dist: cfin-hpc-tools==0.3.0b0; extra == "hpc"
Provides-Extra: dev
Requires-Dist: bump2version>=1.0; extra == "dev"
Requires-Dist: cfin-pyaddons>=0.4.2b0; extra == "dev"
Requires-Dist: myst-parser>=4.0; extra == "dev"
Requires-Dist: nbsphinx>=0.9; extra == "dev"
Requires-Dist: nbsphinx-link>=1.3; extra == "dev"
Requires-Dist: numba>=0.60; extra == "dev"
Requires-Dist: pyplink~=1.3; extra == "dev"
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pytest-cov>=5.0; extra == "dev"
Requires-Dist: pytest-mock>=3.14; extra == "dev"
Requires-Dist: hypothesis>=6.100; extra == "dev"
Requires-Dist: ruff>=0.11; extra == "dev"
Requires-Dist: sphinx>=8.0; extra == "dev"
Requires-Dist: sphinx-argparse>=0.5; extra == "dev"
Requires-Dist: sphinx-book-theme>=1.1; extra == "dev"
Dynamic: license-file

# MeRIT -  Mendelian Randomization for Identification of Targets

__version__: `0.7.0a0`


This package allows users to perform Mendelian randomisation (MR) analysis and all the data manipulation steps that are required before the analysis. Whilst the focus is on *cis*-MR it can also be used for traditional genomewide-MR:

There is [online](https://cfinan.gitlab.io/merit/) documentation for merit.

## Installation instructions
MeRIT currently supports Python 3.11, 3.12, and 3.13.

### Installation using pip
Install from a local clone for development:

```bash
git clone git@gitlab.com:cfinan/merit.git
cd merit
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
```

For a non-editable install from the repository root:

```bash
python -m pip install .
```

### Installation using conda
Create a supported conda environment first, then install MeRIT with pip inside
that environment:

```bash
conda create -n merit python=3.13
conda activate merit
python -m pip install -e ".[dev]"
```

The repository also keeps CI/CD and packaging helpers under
`resources/ci_cd/` and `resources/conda/`.

## Next steps
From the repository root you can run:

```bash
pytest tests/ -v
ruff check merit tests
./resources/ci_cd/build.sh
```

## Change log

To see what has changed in the current development cycle and tagged
releases, see the [change log](./CHANGELOG.md).
