sjcab_peak2anno
sjcab_peak2anno annotates genomic peaks to genes, genomic features, and
chromatin states. It provides the peak2anno and sjcab-peak2anno command
line interfaces.
Documentation
Read the full documentation at sjcab-peak2anno.readthedocs.io.
Install
Pip version does not require bedtools or pybedtools; both are detected when
available. Without them, a slower Python interval fallback is used.
pip install sjcab_peak2anno
The conda package requires require bedtools or pybedtools for faster
conda install stjudecab::sjcab_peak2anno
Command examples
Annotate a BED peak to nearby genes. Omitting -o writes the table to stdout:
peak2anno peak2gene tests_data/peaks.bed \
--tss-bed tests_data/tss.bed \
--prom-enha-cutoffs 2000,50k
Example output (tab-delimited):
chr1 50 150 peak1 GeneA ENSGA . . GeneA ENSGA 0
Run multiple annotations in one table with the combined command syntax using default hg38 v31:
peak2anno peak2gene narrow2feature tests_data/peaks.bed \
--workers 2 -o combined.tsv
Representative combined output columns look like this:
chr start end peak Closest_Gene FeatureAssignment
chr1 100000 101000 peak1 GeneA Promoter
Annotate both anchors of a BEDPE loop with loop2gene, loop2feature, or
loop2state:
peak2anno loop2gene loops.bedpe --tss-bed annotations/hg38/tss.bed -o loops.tsv
Representative loop output contains separate anchor columns:
chr1 100000 101000 chr1 200000 201000 anchor1_Closest_Gene anchor2_Closest_Gene
chr1 100000 101000 chr1 200000 201000 GeneA GeneC
Release files for sjcab-peak2anno 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sjcab_peak2anno-0.1.9.tar.gz | 46.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sjcab_peak2anno-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 79.5 kB
Release files / sjcab_peak2anno-0.1.9.tar.gz
| Download URL | sjcab_peak2anno-0.1.9.tar.gz |
|---|---|
| Size | 46.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a56d00063b03136582fff8049e9b74e91e9e788e5bf76135bbf5df5d78339b5
|
|
BLAKE2b-256 checksum How to use checksums |
8efe1e79871a5bbec3ec11a8d7548bd67eebfca408289e07788e1681584ff680
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.
Transparency logRelease files / sjcab_peak2anno-0.1.9-py3-none-any.whl
| Download URL | sjcab_peak2anno-0.1.9-py3-none-any.whl |
|---|---|
| Size | 33.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b036f5bd4155bdc30091dfb26123981aae60428781982534f3f56d87e2da5210
|
|
BLAKE2b-256 checksum How to use checksums |
089347f83127eb39fc2a8efe01e29abe1cbe53ef3eb0d812c6a5f7ab983ec20f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.
Transparency log