Skip to main content

sci-Epi2Gene

codecov.io PyPI DOI

Link to docs

Warning!!

If you have non normal chr's please remove them it will make the program extremely slow.

Another warning: If you have duplicates (i.e. multiple things with the same start and end it will be extremely slow!

Sci-epi2gene maps events annotated to a genome location to nearby genes - i.e. peaks from histone modification data ChIP-seq experiemnts stored as bed data, or DNA methylation data in csv format (e.g. output from DMRseq, methylKit or methylSig).

The user provides a SORTED gene annotation file with start, end, and direction for each gene (we recommend using sci-biomart, see examples for detail.

The user then selects how to annotate, i.e. whether it is in the promoter region, or overlaps the gene body. Finally, the parameters for overlap on each side are chosen.

It is available under the GNU General Public License (Version 3) .

This package is a wrapper that allows various epigenetic data types to be annotated to genes. Examples are in the docs

I also wanted to have different upper flanking and lower flanking distances that took into account the directionality of the strand and also an easy output csv file that can be filtered and used in downstream analyses. This is why I keep all features that fall within the annotation region of a gene (example below):

The overlapping methods are as follows: 1) overlaps: this means does ANY part of the peak/feature overlap the gene body + some buffer before the TSS and some buffer on the non-TSS side 2) promoter: does ANY part of the peak/feature overlap with the TSS of the gene taking into account buffers on either side of the TSS.

.. image:: _static/example_overlaps.png :width: 600

As you can see from the above screenshot using IGV, the input peaks are in purple, and the green are the output peaks as annotated to genes. The function convert_to_bed converts the output csv to bed files for viewing. This example shows that a peak/feature can be annotated to multiple genes. Peaks/features outside of the regions of genes (e.g. the first peak) are dropped from the output.

We show this example in the notebook (see examples folder), where we use IGV to view the tracks (see image below).

.. image:: _static/igv_jupyter.png :width: 600

Lastly, there are sometimes differences between annotations (i.e. the TSS on your annotation in IGV may differ to the annotation you input to sciepi2gene), naturally, how your genes/features are annotated depends on the input file so if you see differences check this first!

Please post questions and issues related to sci-epi2gene on the Issues <https://github.com/ArianeMora/sciepi2gene/issues>_ section of the GitHub repository.

Metadata

Release files for scie2g 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scie2g 1.0.3
File Size Uploaded Provenance Actions
scie2g-1.0.3.tar.gz 29.1 kB Without provenance Details for scie2g-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scie2g 1.0.3
File Interpreter ABI Platform Actions
scie2g-1.0.3-py3-none-any.whl Python 3 none any Details for scie2g-1.0.3-py3-none-any.whl

Total release size: 73.3 kB

Release files / scie2g-1.0.3.tar.gz

Download URL scie2g-1.0.3.tar.gz
Size 29.1 kB
Tags Source
SHA-256 checksum
How to use checksums
97be591dafc186198967af77b5a7afc985b75392516c77fb7498e4ea3dc74921
BLAKE2b-256 checksum
How to use checksums
fe13192dd640632e9aeba46a7ed89c91a605de8b13c6ecce3973865186b0c451
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release files / scie2g-1.0.3-py3-none-any.whl

Download URL scie2g-1.0.3-py3-none-any.whl
Size 44.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33fa93e6cefac6813ad7b857b05c17e3ff1282e1dc49cc2800178daa61853e66
BLAKE2b-256 checksum
How to use checksums
405bc3d3b7af7db3715eb1526c45d1512456c7bca20cd7685748bd12fd631618
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Security for scie2g 1.0.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page