EUbar
EUbar predicts the effect of noncoding single nucleotide variants on transcription factor binding affinity using accessible chromatin regions as sequence probes and matched ChIP-seq signal as a measure of binding intensity. It also supports whole-region scanning for mutational effect landscapes and affinity-based motif discovery.
Installation
pip install eubar
# or
git clone https://github.com/SvenBaileyLab/EUbar
cd EUbar
pip install .
Signal extraction also requires the external bedtools executable. For YAML
jobs, install the optional dependency with pip install 'eubar[yaml]'.
Confirm the install:
eubar --help
Workflow overview
For contiguous sequence analyses:
- Build an array file — index all k-mers in your accessible regions
- Compute probe intensities — summarise ChIP-seq signal across those regions
- Run analysis — predict SNV effects, scan a region, or discover motifs
Masked SNV and motif analyses use probe intensities and genome sequence directly, without an array file. Calibration compares probe caps or candidate masks before you choose settings for an analysis.
Commands
| Command | Description |
|---|---|
array |
Build a k-mer index from a BED file and genome FASTA |
intensities |
Compute GC-corrected probe intensities from a BigWig or BedGraph signal track |
snv |
Predict the effect of one or more SNVs on TF binding |
scan |
Scan a genomic region for predicted binding effects at every position |
motifs |
Derive an affinity-based TF binding motif from probe intensities |
calibrate max-probes |
Assess coefficient stability across probe caps |
calibrate mask |
Compare mask representation and coefficient stability |
run |
Execute a YAML task or pipeline |
Command-specific help is available with eubar <command> --help.
Quick start
# 1. Build array
eubar array \
--bed regions.bed --genome hg38.fa \
--kmer-size 8 --output regions_8mer.txt
# 2. Compute intensities
eubar intensities \
--bed regions.bed --signal tf_chipseq.bw \
--genome-fasta hg38.fa --output probe_intensities.tsv
# 3. Predict SNV effect
eubar snv \
--intensities probe_intensities.tsv --array regions_8mer.txt \
--genome hg38.fa --snv-list "chr5:1295113:C>T" \
--best-pval --holm --diagnostics
Tutorials
Step-by-step tutorials using real ENCODE data (MCF7 DNase-seq + GABPA ChIP-seq):
- Data preparation — download data, build array, compute intensities
- SNV analysis — predict allelic effects on TF binding
- Scan analysis — scan a genomic region for binding effects
- Motif discovery — contiguous and masked motifs
- Masks and calibration — spacing, probe limits and recommendation tables
- YAML jobs — reusable tasks and pipelines
Citation
If you use EUbar in your research, please cite:
[manuscript citation — to be added on publication]
License
GNU General Public License v3.0.
Python API and tests
See the Python task API for calling tasks directly and the test suite for regression checks.
Release files for eubar 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| eubar-1.1.0.tar.gz | 1.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eubar-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.8 MB
Release files / eubar-1.1.0.tar.gz
| Download URL | eubar-1.1.0.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
421630920f45d87201ed3b8bc989a9167d76d547ad97efb250f99c901599c040
|
|
BLAKE2b-256 checksum How to use checksums |
69488f830ac11093c63ed5dcf25f34b0ecec9b6f3ed42ae3cca7ba94a63667dd
|
| 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 25, 2026.
Transparency logRelease files / eubar-1.1.0-py3-none-any.whl
| Download URL | eubar-1.1.0-py3-none-any.whl |
|---|---|
| Size | 292.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
72d581a55d394765fca8fd9649a85d923dbb11772fdecdd962ff9ebedea4b9a7
|
|
BLAKE2b-256 checksum How to use checksums |
c3ce56a2f8789e35a548958e4d6749f0c667082be4803a0372025fa97986f6cd
|
| 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 25, 2026.
Transparency log