Find hypomethylated regions in centromeres
Project description
centrodip
Installation
Conda Install:
conda install jmmenend::centrodip
Docker Run:
docker run -it jmmenend/centrodip:latest
Pip Install (requires having bedtools already installed):
pip install centrodip
How to Run
Preprocessing:
(1) Align BAM with MM/ML tags to matched reference genome.
(2) Modkit pileup aligned bam and matched reference.
(3) Region annotation file.
Running centrodip:
centrodip ${bedmethyl} ${regions} ${output}
Inputs:
bedmethyl-modkit pileupfile (Refer to modkit github).regions- bed file of regions you want to search for CDRs.output- name of output file.
Output:
Output file is a BED file with 9 columns. Some columns can be adjusted with flags (--label, --color, etc.)
Help Documentation
usage: centrodip [-h] [--mod-code MOD_CODE] [--bedgraph] [--region-merge-distance REGION_MERGE_DISTANCE] [--region-edge-filter REGION_EDGE_FILTER] [--window-size WINDOW_SIZE]
[--threshold THRESHOLD] [--prominence PROMINENCE] [--min-size MIN_SIZE] [--enrichment] [--threads THREADS] [--color COLOR] [--output-all] [--label LABEL]
bedmethyl regions output
Process bedMethyl and CenSat BED file to produce CDR predictions.
positional arguments:
bedmethyl Path to the bedmethyl file
regions Path to BED file of regions
output Path to the output BED file
options:
-h, --help show this help message and exit
--mod-code MOD_CODE Modification code to filter bedMethyl file (default: "m")
--bedgraph Flag indicating the input is a bedgraph. If passed --mod-code and --min-cov are ignored. (default: False)
--region-merge-distance REGION_MERGE_DISTANCE
Merge gaps in nearby centrodip regions up to this many base pairs. (default: 100000)
--region-edge-filter REGION_EDGE_FILTER
Remove edges of merged regions in base pairs. (default: 0)
--window-size WINDOW_SIZE
Number of CpGs to include in Savitzky-Golay filtering of Fraction Modified. (default: 101)
--threshold THRESHOLD
Number of standard deviations from the smoothed mean to be the minimum dip. Lower values increase leniency of dip calls. (default: 1)
--prominence PROMINENCE
Scalar factor to decide the prominence required for an dip. Scalar is multiplied by smoothed data's difference in the minimum and maxiumum values. Lower values increase
leniency of MDR calls. (default: 0.66)
--min-size MIN_SIZE Minimum dip size in base pairs. Small dips are removed. (default: 5000)
--enrichment Use centrodip to find areas enriched in aggregated methylation calls. (default: False)
--threads THREADS Number of workers. (default: 4)
--color COLOR Color of predicted dips. (default: 50,50,255)
--output-all Output all intermediate files. (default: False)
--label LABEL Label to use for regions in BED output. (default: "CDR")
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file centrodip-0.0.1.tar.gz.
File metadata
- Download URL: centrodip-0.0.1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8cdc06e0d1098dc013697981e642c8313fd622bdc4096b045d7fceae6d293e1
|
|
| MD5 |
c491dad8e50607eaa8cfd9c6cf42180f
|
|
| BLAKE2b-256 |
b63cb5e2aeafab5b925a6ea1a85b852d44ba915238f65003e1eacf87330f8cbc
|
Provenance
The following attestation bundles were made for centrodip-0.0.1.tar.gz:
Publisher:
publish-pypi.yml on jmenendez98/centrodip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
centrodip-0.0.1.tar.gz -
Subject digest:
f8cdc06e0d1098dc013697981e642c8313fd622bdc4096b045d7fceae6d293e1 - Sigstore transparency entry: 476522315
- Sigstore integration time:
-
Permalink:
jmenendez98/centrodip@06a9568a69fd21dc3bb60ef9cf11350cab1e3e5d -
Branch / Tag:
refs/tags/0.1.0-pre1 - Owner: https://github.com/jmenendez98
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@06a9568a69fd21dc3bb60ef9cf11350cab1e3e5d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file centrodip-0.0.1-py3-none-any.whl.
File metadata
- Download URL: centrodip-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b24b2102045563d7a6ca73aa22210aaf8a590fc54358b7c6de0ab4a297c552ce
|
|
| MD5 |
3a6a1fc12611b6296740ec44f9e735cb
|
|
| BLAKE2b-256 |
8d472f6486202b989e5995858d2f1960ce00741b9c93f1fa411ae16b6ec61737
|
Provenance
The following attestation bundles were made for centrodip-0.0.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on jmenendez98/centrodip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
centrodip-0.0.1-py3-none-any.whl -
Subject digest:
b24b2102045563d7a6ca73aa22210aaf8a590fc54358b7c6de0ab4a297c552ce - Sigstore transparency entry: 476522368
- Sigstore integration time:
-
Permalink:
jmenendez98/centrodip@06a9568a69fd21dc3bb60ef9cf11350cab1e3e5d -
Branch / Tag:
refs/tags/0.1.0-pre1 - Owner: https://github.com/jmenendez98
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@06a9568a69fd21dc3bb60ef9cf11350cab1e3e5d -
Trigger Event:
workflow_dispatch
-
Statement type: