LanceOTron CLI
A bare-bones interface to the trained LanceOTron (LoT) model from the command line.
Installation
pip install lanceotron
Local installation
- Clone the repository.
- Install dependencies with pip.
- Install the package.
- Run tests to ensure that everything is working.
git clone git@github.com:Chris1221/lanceotron.git; cd lanceotron # Step 1
pip install -r requirements.txt # Step 2
pip install -e . # Step 3
python -m unittest
Usage
To see available commands, use the --help flag.
lanceotron --help
Call Peaks
To call peaks from a bigWig track, use the callPeaks command.
| Option | Description | Default |
|---|---|---|
| file | BigWig Track to analyse | |
| -t, --threshold | Threshold for selecting candidate peaks | 4 |
| -w, --window | Window size for rolling mean to select candidate peaks | 400 |
| -f, --folder | Output folder | "./" |
| --skipheader | Skip writing the header | False |
Call Peaks with Input
To call peaks from a bigWig track with an input file, use the callPeaks_Input command.
| Option | Description | Default |
|---|---|---|
| file | BigWig track to analyse | |
| -i, --input | Control input track to calculate significance of peaks | |
| -t, --threshold | Threshold for selecting candidate peaks | 4 |
| -w, --window | Window size for rolling mean to select candidate peaks | 400 |
| -f, --folder | Output folder | "./" |
| --skipheader | Skip writing the header | False |
Score a Bed file
To score the peaks in an existing Bed file, use the scoreBed command.
| Option | Description | Default |
|---|---|---|
| file | BigWig Track to analyse | |
| -b, --bed | Bed file of regions to be scored | |
| -f, --folder | Output folder | "./" |
| --skipheader | Skip writing the header | False |
Examples
There is a basic bigWig file included in the test subdirectory. To try out the caller, execute it on this file.
lanceotron callPeaks test/chr22.bw -f output_folder
Citation
@article {Hentges2021.01.25.428108,
author = {Hentges, Lance D. and Sergeant, Martin J. and Downes, Damien J. and Hughes, Jim R. and Taylor, Stephen},
title = {LanceOtron: a deep learning peak caller for ATAC-seq, ChIP-seq, and DNase-seq},
year = {2021},
doi = {10.1101/2021.01.25.428108},
publisher = {Cold Spring Harbor Laboratory},
URL = {https://www.biorxiv.org/content/early/2021/01/27/2021.01.25.428108},
journal = {bioRxiv}
}
Building the documentation
To serve the documentation locally, use
python -m mkdocs serve
Bug Reports and Improvement Suggestions
Please raise an issue if there is anything you wish to ask or contribute.
Metadata
Release files for lanceotron 1.2.7
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 |
|---|---|---|---|---|
| lanceotron-1.2.7.tar.gz | 1.6 MB | Without provenance | Details for lanceotron-1.2.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lanceotron-1.2.7-py3-none-any.whl | Python 3 | none | any | Details for lanceotron-1.2.7-py3-none-any.whl |
Total release size: 3.2 MB
Release files / lanceotron-1.2.7.tar.gz
| Download URL | lanceotron-1.2.7.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7729f870244f7b68eda0e30250b9b3957b7722e2fe035499a1fc2cb07852b507
|
|
BLAKE2b-256 checksum How to use checksums |
1c0cecd7ff238625e36a945193b3cff64fc31d0c2bd624e909f12326a019fd61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.18
|
Release files / lanceotron-1.2.7-py3-none-any.whl
| Download URL | lanceotron-1.2.7-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e1a8086a4e384b98559a483ad49ddf1cfab94d8fe7ab70b506dd5d07e3dc389
|
|
BLAKE2b-256 checksum How to use checksums |
3e23c3a06f94ce2fdc35d955679a3ba6b6627a3c9b791cd753e5ef940060f8b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.18
|
Security for lanceotron 1.2.7
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.