Annotation and segmentation of MAS-seq data
Project description
# Longbow Annotation and segmentation of MAS-seq data
Current version: 0.4.4
## Documentation
[Longbow documentation.](https://broadinstitute.github.io/longbow/)
## Installation
pip install .
## Usage
TBW
## Development
To do development in this codebase, the python3 development package must be installed.
After installation the development environment can be set up by the following commands:
python3 -mvenv venv . venv/bin/activate pip install –upgrade pip pip install -r dev-requirements.txt pip install -e .
### Linting files
# run all linting commands tox -e lint
# reformat all project files black src tests setup.py
# sort imports in project files isort -rc src tests setup.py
# check pep8 against all project files flake8 src tests setup.py
# lint python code for common errors and codestyle issues pylint src
### Tests
# run all linting and test tox
# run only (fast) unit tests tox -e unit
# run only integration tests tox -e integration
# run only linting tox -e lint
Note: If you run into “module not found” errors when running tox for testing, verify the modules are listed in test-requirements.txt and delete the .tox folder to force tox to refresh dependencies.
## Versioning
We use bumpversion to maintain version numbers. It will automatically create a new tag every time you run it. DO NOT MANUALLY EDIT ANY VERSION NUMBERS.
Our versions are specified by a 3 number semantic version system (https://semver.org/):
major.minor.patch
To update the version with bumpversion do the following:
bumpversion PART where PART is one of: - major - minor - patch
This will increase the corresponding version number by 1.
You should always bump the version from the main branch _after_ merging in any PRs for that version. Then you will have to push both the bumpversion code update AND the tag that was created:
` git push && git push --tags `
## Releasing
The release process is as follows:
Bump the version by the appropriate PART (see Versioning for details).
Build and push the docker container (See Docker). NOTE: The version will have already been updated by using bumpversion in step 1.
## Docker
This repository includes a docker folder that contains a Dockerfile and a Makefile. DO NOT manually modify the Makefile or the Dockerfile (unless you have to add dependencies). The version is automatically updated by bumpversion.
### Building
To build the docker image and push it to the release location do the following from the root of this repository:
` cd docker make build && make push `
Project details
Release history Release notifications | RSS feed
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
Hashes for maslongbow-0.4.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46687dbbe331f6660e422141d999744ec75a980e8ef3f0f257c6a34da52c7911 |
|
MD5 | 8ce06f2e985bf9fd6b50cf7fd69cef84 |
|
BLAKE2b-256 | 560d0ba0f226ba474c3d4d4d1d9a4c963527c869cbb80557f478b33705bb2c4e |