A package for analyzing allele-specific expression in polyploid organisms
Project description
PolyASE
A Python package for analyzing allele-specific expression in polyploid organisms. This package is part of the LongPolyASE framework for long-read RNA-seq allele-specific expression analysis in polyploid organisms. Please see syntelogfinder and longrnaseq for generating the input data for polyase.
Installation
PolyASE is avialble on PyPI. You can install polyase using pip:
pip install polyase
Pyranges must be installed manually for reading GTF files (most of the analysis can be run without pyranges).
To create a conda environemnt for running juypter notebook:
conda create -n polyase python=3.12 ipykernel pip && conda activate polyase && pip install polyase && pip install pyranges
Docker
A Docker image with PolyASE and JupyterLab is available on Docker Hub:
docker run --rm -p 8888:8888 \
-v $(pwd)/notebooks:/home/user/notebooks \
nadjano/polyase:1.3.3
Then open http://localhost:8888 in your browser.
Tutorial
A tutorial for analysis of allele-specific gene and isoform expression in tetraploid potato can be found here. The input data for the tutorial can be found here.
Running the tutorial within Docker
-
Download the tutorial notebook and input data:
- Notebook (download the raw file): https://github.com/NIB-SI/polyase/blob/master/docs/source/potato_polyase.ipynb
- Input data: https://zenodo.org/records/17590760/files/polyase_tutorial_atlantic.zip?download=1
-
Unzip the input data and place the notebook and all data files into a local
notebooks/folder. -
Start the container, mounting your
notebooks/folder:
docker run --rm -p 8888:8888 \
-v $(pwd)/notebooks:/home/user/notebooks \
nadjano/polyase:1.3.3
- Open http://localhost:8888 in your browser, open
potato_polyase.ipynb, and update any file paths in the notebook to/home/user/notebooks/.
Troubleshooting
if you get an error installing polyase with pip for some dependencies, e.g.:
- pyranges (a known issue on mac and windows).
- Failed to build llvmlit and numba
conda install -c conda-forge numba
conda install -c bioconda pyranges
Citation
Project details
Release history Release notifications | RSS feed
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 polyase-1.3.6.tar.gz.
File metadata
- Download URL: polyase-1.3.6.tar.gz
- Upload date:
- Size: 46.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9adef3ea44096cc06f324aeb8f0ccd3b7d1f719f92f290157cd740c14f4d9923
|
|
| MD5 |
c0d362f070d24cca7fd366c2148b385a
|
|
| BLAKE2b-256 |
4fa9019162a82060bdcd4571186a00cba91e24c1c40a2838a381eedde417a9f0
|
Provenance
The following attestation bundles were made for polyase-1.3.6.tar.gz:
Publisher:
python-publish.yml on NIB-SI/polyase
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
polyase-1.3.6.tar.gz -
Subject digest:
9adef3ea44096cc06f324aeb8f0ccd3b7d1f719f92f290157cd740c14f4d9923 - Sigstore transparency entry: 1720117122
- Sigstore integration time:
-
Permalink:
NIB-SI/polyase@c74daa8cf3e06385a5d98803b1075764d6a03c65 -
Branch / Tag:
refs/tags/v1.3.6 - Owner: https://github.com/NIB-SI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@c74daa8cf3e06385a5d98803b1075764d6a03c65 -
Trigger Event:
push
-
Statement type:
File details
Details for the file polyase-1.3.6-py3-none-any.whl.
File metadata
- Download URL: polyase-1.3.6-py3-none-any.whl
- Upload date:
- Size: 50.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94034bf8626516deefd68725944ad2bcce50ae0b39d705b98d17330eae788bb1
|
|
| MD5 |
aea1e604646265413ee6603f16bd9568
|
|
| BLAKE2b-256 |
8d59cb271671e7b9c80c71140cb54a0a0bc1a5eb8c31b60772924011bafd2e75
|
Provenance
The following attestation bundles were made for polyase-1.3.6-py3-none-any.whl:
Publisher:
python-publish.yml on NIB-SI/polyase
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
polyase-1.3.6-py3-none-any.whl -
Subject digest:
94034bf8626516deefd68725944ad2bcce50ae0b39d705b98d17330eae788bb1 - Sigstore transparency entry: 1720117457
- Sigstore integration time:
-
Permalink:
NIB-SI/polyase@c74daa8cf3e06385a5d98803b1075764d6a03c65 -
Branch / Tag:
refs/tags/v1.3.6 - Owner: https://github.com/NIB-SI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@c74daa8cf3e06385a5d98803b1075764d6a03c65 -
Trigger Event:
push
-
Statement type: