Removes unaligned references in BAM alignment file
Project description
bamAlignCleaner
A simple utility tool to remove references with no aligned reads in a bam
/cram
file
Installation
- with pip
pip install bamAlignCleaner
- with conda
conda install -c bioconda -c conda-forge -c maxibor bamAlignCleaner
Usage
- Quick start
bamAlignCleaner input.bam
- Advanced
bamAlignCleaner --output output.bam --method parse input.bam
Help
$ bamAlignCleaner --help
Usage: bamAlignCleaner [OPTIONS] BAM
bamAlignCleaner: removes unaligned references in BAM/CRAM alignment files
* Homepage: https://github.com/maxibor/bamAlignCleaner
* Author: Maxime Borry
BAM: BAM alignment file (indexed and sorted)
Options:
--version Show the version and exit.
-m, --method [parse|index_stat]
unaligned reference removal method
[default: parse]
-o, --output FILE filtered bam file [default: STDOUT]
--help Show this message and exit.
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
bamAlignCleaner-0.2.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file bamAlignCleaner-0.2.tar.gz
.
File metadata
- Download URL: bamAlignCleaner-0.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3edb28945ff93ed6dcb373f5869ba00688116be1ce8a157f4c6a716cd542b9a1 |
|
MD5 | 05f61e578d1055001dc534e7d0ef0c49 |
|
BLAKE2b-256 | 9b647ce3a453c21874f25d3020adffde296dd7bc327d2b62108c8fc4ea541c57 |
File details
Details for the file bamAlignCleaner-0.2-py3-none-any.whl
.
File metadata
- Download URL: bamAlignCleaner-0.2-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d821e872b11a4b926a652ac272a5363fadb1e53dabfdb32f7e9b968d0ccc06b |
|
MD5 | 8cfe66a0dbf979ec17366f34bf8f5e1e |
|
BLAKE2b-256 | 59bfe7310d0b97a674f099de66facad85c4688587d491d1e93991c51184ac9c3 |