This repository contains scripts for extracting images from the TIMS TOF MALDI 2 with a user defined target library.
The fastest way to get up and running with Maldi Tools is to create a conda environment. You will need any flavor of conda. Some options include:
Once you have any one of these installed, clone the repository with:
git clone maldi-toolsThen change the directory to maldi-tools and create the environment:
conda env create -f environment.ymlThis will install all the dependencies and the most up-to-date version of maldi-tools.
Maldi-Tools can be started by first activating the Conda environment with:
conda activate maldi-pipelineand then the Jupyter interface can be started with:
jupyter labMaldi-Tools is a poetry project and development requires python-poetry and pre-commit.
We recommend installing both with pipx.
For development, after cloning the repository, create the development environment and install dependencies for maldi-tools, development dependencies and testing dependencies with:
poetry install --with dev,testNext, install the repo's pre-commit hooks with:
pre-commit install --install-hooksPre-commit hooks will sort imports, fix formatting, and lint your code for you. They run on each commit, but you may also run them manually with:
pre-commit run --all-filesTests can be run with:
poetry run pytestMaldi-Tools is in early, active development. Please submit an issue for any bugs, or ideas for feature requests.