Skip to main content

A package for analyzing allele-specific expression in polyploid organisms

Project description

polyASE_logo

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.

polyase_analysis

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

  1. Download the tutorial notebook and input data:

  2. Unzip the input data and place the notebook and all data files into a local notebooks/ folder.

  3. Start the container, mounting your notebooks/ folder:

docker run --rm -p 8888:8888 \
  -v $(pwd)/notebooks:/home/user/notebooks \
  nadjano/polyase:1.3.3
  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polyase-1.3.5.tar.gz (46.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

polyase-1.3.5-py3-none-any.whl (50.6 kB view details)

Uploaded Python 3

File details

Details for the file polyase-1.3.5.tar.gz.

File metadata

  • Download URL: polyase-1.3.5.tar.gz
  • Upload date:
  • Size: 46.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for polyase-1.3.5.tar.gz
Algorithm Hash digest
SHA256 bb97c73aea81e4f0d2c11e17aabc29813159908c1ef3dbd904d798d3f0c238ec
MD5 b918e6e79636a7a7752a2901af0d636b
BLAKE2b-256 0f5c3c9746d2ff30af39bbac3936e8360d45b2603020ce8e6e03e5934e1f1c1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for polyase-1.3.5.tar.gz:

Publisher: python-publish.yml on NIB-SI/polyase

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file polyase-1.3.5-py3-none-any.whl.

File metadata

  • Download URL: polyase-1.3.5-py3-none-any.whl
  • Upload date:
  • Size: 50.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for polyase-1.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 51c50e595d4e900cc75f42a8c989daedec76e868045d4d74deea0d4b3a0f2509
MD5 d977c1b9f8709471dde7a539d3e48859
BLAKE2b-256 24d3809e5145128d6d5a4e5d26e37349c44d9e5da658db612f4e88bd255b6b13

See more details on using hashes here.

Provenance

The following attestation bundles were made for polyase-1.3.5-py3-none-any.whl:

Publisher: python-publish.yml on NIB-SI/polyase

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page