11 unstable releases
| 0.6.0 | Sep 22, 2025 |
|---|---|
| 0.5.1 | Aug 19, 2024 |
| 0.4.0 | Jul 1, 2024 |
| 0.3.0 | Feb 6, 2024 |
| 0.1.0 | Jun 27, 2023 |
#252 in Biology
507 downloads per month
350KB
5.5K
SLoC
While this is mostly a CLI binary around bustools, some functionality might be useful as a library, in particular the [count], [count2] and [butterfly] modules.
Readme
Rust version of bustools command line interface. Built on the bustools_core library crate.
Example
# sorting
rustbustools --output /tmp/sorted.bus sort --ifile /tmp/unsorted.bus
# correcting CBs
rustbustools --output /tmp/corrected.bus sort --ifile /tmp/sorted.bus --whitelist /tmp/10x_whitelist.txt
# inspecting
rustbustools --output /dev/null --ifile /tmp/sorted.bus
# count
rustbustools --output /tmp/count_folder --ifile /tmp/sorted.bus --t2g /tmp/transcripts_to_gene.txt
# compression
# -N is the chunksize of a busz block
rustbustools --output /tmp/compressed.busz -i /tmp/sorted.bus -N 10000
# decompression
rustbustools --output /tmp/plain.bus -i /tmp/compressed.busz
Dependencies
~16–30MB
~457K SLoC