Crates.io | bustools_cli |
lib.rs | bustools_cli |
version | 0.5.1 |
source | src |
created_at | 2023-06-27 23:56:57.715388 |
updated_at | 2024-08-19 22:32:37.324134 |
description | Rust reimplementation of bustools for scRNAseq processing |
homepage | https://github.com/redst4r/bustools_cli-rs |
repository | https://github.com/redst4r/bustools_cli-rs |
max_upload_size | |
id | 901731 |
size | 141,674 |
Rust version of bustools command line interface. At this point, it's far from complete and correct, but rather a project to learn rust.
This is heavly built on rustbustools, which handles all the basic interactions with busfiles.
# 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