Parallel processing of sequencing reads
Project description
# Pararead: parallel processing of sequencing reads
Pararead is a python package that simplifies parallel processing of DNA sequencing reads (BAM or SAM files), by parallelizing across chromosomes. Pararead is built for developers of python scripts that process data read-by-read. It enables you to quickly and easily parallelize your script.
## Install
Pararead is hosted on pypi. Install with:
`console pip install pararead `
## Minimum working example
In the [examples](https://github.com/databio/pararead/tree/master/examples) folder you can find count_reads.py, which will count the number of reads in a sam/bam file in parallel.
Run this on your bam file like this:
` python examples/count_reads.py file.bam -O output.txt --cores 2 `
Look at the code to see how this is implemented.
## Developing tools that use pararead
The main model provided is an abstract class called ParaReadProcessor, for which concrete children are created by implementing a __call__ method. This creates a callable instance that is then mapped over chromosomes.
The concept is generally described in this early [blog post](http://databio.org/posts/tabix_files.html), which initiated the project that eventually became pararead.
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
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 pararead-0.8.1.tar.gz.
File metadata
- Download URL: pararead-0.8.1.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6738b3c3dc5489fee34cfee52fb1c38db4c0ed4b8c25b92ff0add8f41b006de0
|
|
| MD5 |
90d2020c1d0b6bb0f60ce823263d7008
|
|
| BLAKE2b-256 |
9078fbebdd305c950b5d8ab3003c26c2b85576d8b680c664fc2ac0dbaa9609c7
|
Provenance
The following attestation bundles were made for pararead-0.8.1.tar.gz:
Publisher:
python-publish.yml on databio/pararead
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pararead-0.8.1.tar.gz -
Subject digest:
6738b3c3dc5489fee34cfee52fb1c38db4c0ed4b8c25b92ff0add8f41b006de0 - Sigstore transparency entry: 907352890
- Sigstore integration time:
-
Permalink:
databio/pararead@a6c066f14b38f69d6f6a24d8e36aaa8b73ba1ccd -
Branch / Tag:
refs/tags/v0.8.1 - Owner: https://github.com/databio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@a6c066f14b38f69d6f6a24d8e36aaa8b73ba1ccd -
Trigger Event:
release
-
Statement type:
File details
Details for the file pararead-0.8.1-py3-none-any.whl.
File metadata
- Download URL: pararead-0.8.1-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a88a7dc1c42651e563256fbf35a999f30534ef2a36ddc7cf50a3f479dcba3a1
|
|
| MD5 |
93ea17fdda3aa6576d17d8b2a7bf0f57
|
|
| BLAKE2b-256 |
815aa7a8a1d422bedbfaf3d63be2799446745fbea4b2395e2d0efa02160ad708
|
Provenance
The following attestation bundles were made for pararead-0.8.1-py3-none-any.whl:
Publisher:
python-publish.yml on databio/pararead
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pararead-0.8.1-py3-none-any.whl -
Subject digest:
3a88a7dc1c42651e563256fbf35a999f30534ef2a36ddc7cf50a3f479dcba3a1 - Sigstore transparency entry: 907352897
- Sigstore integration time:
-
Permalink:
databio/pararead@a6c066f14b38f69d6f6a24d8e36aaa8b73ba1ccd -
Branch / Tag:
refs/tags/v0.8.1 - Owner: https://github.com/databio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@a6c066f14b38f69d6f6a24d8e36aaa8b73ba1ccd -
Trigger Event:
release
-
Statement type: