pydownsampler
A Python package for downsampling sequence alignment files.
Installation
pydownsampler is available through pypi. To install, type:
pip install pydownsampler
Usage
$ pydownsampler (<file>) [-d <dcov>]
$ pydownsampler (<file>) [-d <dcov>] [-o <output>]
$ pydownsampler (<file>) [-c]
$ pydownsampler [-h] | [--help]
$ pydownsampler [-v] [--version]
Arguments and Options
Argument/ Option |
Description |
|---|---|
-h, --help |
Show help message to screen. |
-v, --version |
Show version. |
<file> |
Input BAM/CRAM/SAM file |
-d, --downcoverage |
The coverage you want to downsample to (Required argument) |
-o, --output |
Output filename prefix (Optional) |
-c, --coverage |
Check file coverage |
Examples
# option 1 (default):
$ pydownsampler input.bam -d 10
In the example above, the file 'input.bam' will be downsampled to 10X coverage. The output filename will be 'input.Downsampled10X.bam'.
# option 2 (optional):
$ pydownsampler input.bam -d 10 -o downsampled
# check coverage of a BAM/CRAM/SAM file
$ pydownsampler input.bam -c
License
pydownsampler is generously distributed under The MIT License
Metadata
Release files for pydownsampler 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pydownsampler-1.0.tar.gz | 4.3 kB | Without provenance | Details for pydownsampler-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydownsampler-1.0-py2-none-any.whl | Python 2 | none | any | Details for pydownsampler-1.0-py2-none-any.whl |
Total release size: 10.0 kB
Release files / pydownsampler-1.0.tar.gz
| Download URL | pydownsampler-1.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c7d5515382f343a058155d713376d9f6d7245d8dcfa603d9dd3acc70c2643d2
|
|
BLAKE2b-256 checksum How to use checksums |
8f12d58ce51b9e4900c2b3e0dfaaf9d64d965158292d5c594deb6939b7058805
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.2
|
Release files / pydownsampler-1.0-py2-none-any.whl
| Download URL | pydownsampler-1.0-py2-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
62f5f65a0c1b9784dad2ba67562df11cb21ea50316fe6d7d2a1c8e450ee1bcc4
|
|
BLAKE2b-256 checksum How to use checksums |
a91ef6fa39dc9480fa0bd86a622c48f1085ac96e49ce95a9ee06ad8b3efef3e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.2
|
Security for pydownsampler 1.0
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.