Streaming Pileupy
Create multi-sample text-pileups of streaming SAM/BAM files.
Free software: MIT license
Documentation: https://streaming-pileupy.readthedocs.io.
Features
Streaming Pileupy creates a pileup of a single SAM/BAM file using the read group SM identifier to split reads by sample:
# extract sample names from read group SM tag
samtools view -H input.bam \
| grep '^@RG' \
| perl -pne 's/.*SM:(\S+).*/$1/' \
| sort | uniq > sample_names.txt
# create read-group aware pileup
spileup input.bam sample_names.txt
Base quality filtering
Bases with less than a certain quality can be filtered with -Q.
Missing features
Read beginning and end annotations in pileup output
Deletion annotations in pileup output
Filter output bases on BED file
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.5.0 (2020-05-05)
Add base quality filter (-Q)
0.4.0 (2020-05-05)
Add support for python 3.6
0.3.0 (2020-05-05)
Add support for basic pileup functionality
0.2.1 (2020-05-04)
First release on PyPI.
Release files for streaming-pileupy 0.5.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| streaming_pileupy-0.5.7.tar.gz | 5.9 kB | Details |
Release files / streaming_pileupy-0.5.7.tar.gz
| Download URL | streaming_pileupy-0.5.7.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62e7d8616a70225327bdb43bb764429b33398632c87cf1042811893360ab9d79
|
|
BLAKE2b-256 checksum How to use checksums |
2e1935639adc976213dc1c1c60f9b0d36f6e79363635e467bc860c975d1ab9af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0
|