methylink is a tool to link methylation tags between SAM/BAM files.
Project description
methylink
A command line tool to link methylated sites between two BAM/SAM files of the same origin.
Installation
In a clean :sparkles: environment
pip install methylink
Usage:
Usage: methylink [OPTIONS] COMMAND [ARGS]...
A command line tool to link methylated sites between two BAM files of the
same origin.
Options:
-h, --help Show this message and exit.
--version Show the version and exit.
--log_level [DEBUG|INFO|WARNING|ERROR|CRITICAL]
Set the level of log output. [default:
INFO]
--threads INTEGER Number of threads to use. [default: 1]
--tmp PATH Temp directory to use.
--methyl_bams TEXT Unmapped bam files with methylation tags.
[required]
--aln TEXT Aligned bam to map the meth tags to.
[required]
--sample TEXT Sample name. [required]
--output TEXT Output file. [required]
Quick start
methylink \
--threads 2 \
--aln tests/data/CHM1_aln_test-subsampled.bam \
--sample CHM1 \
--methyl_bams "$(echo tests/data/CHM1_methylated_test-{1,2,3,4,5}.bam)" \
--output CHM1-linked.bam
Development
I'm happy with any contributions to make this code better :muscle:. You should be able to go forth with the following:
git clone [this repo]
cd methylink
python -m venv vmeth
source vmeth/bin/activate
pip install --editable .
Test
pytest
If that's okay then you're good to go, :tada:!
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
methylink-0.4.0.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for methylink-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b1e4bda345023cdec39474b9cbc15b0b64d4702c33a893b89e09f283b6a3208 |
|
MD5 | dc57587efdc4fbbbd852f3a9561b0cb5 |
|
BLAKE2b-256 | 030cb9d0f0f561b8d9d12544aa769217f8452a223d914e2a4b06228d6a89394b |