sdust
Version, currently 0.2.07 versions
github.com/kojix2/sdust.cr
Reimplementation of Sdust in the Crystal language
Installation
# Add this to your shard.yml
dependencies:
sdust:
github: kojix2/sdust.cr
version: ~> 0.2.0Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- kojix2
- Target
sdustfrom src/cli.cr
Dependencies
Runtime Dependencies
- fastx*github: bio-cr/fastx.cr
README
Sdust.cr
Reimplementation of Sdust in Crystal.
Installation
Install via GitHub Releases or from source:
git clone https://github.com/kojix2/sdust.cr
cd sdust.cr
shards build --release
Usage
Usage: sdust [options] <in.fa>
-w, --window SIZE Window size [64]
-t, --threshold SIZE Threshold size [20]
License
- This project is a reimplementation of Heng Li's Sdust in Crystal.
- Sdust is part of Minimap2, which is licensed under the MIT License.
MIT License
FAQ
Q: Is this implementation faster than the original Sdust?
A: No. Earlier versions were about 1.5x slower. In the v0.2.0 benchmark, after streaming FASTA records through the core and reducing some allocations, it is about 1.04x slower on chr21.
Q: Does this implementation consume less memory than the original Sdust?
A: In the v0.2.0 benchmark, yes. Earlier versions used several times more memory. After reducing retained sequence and intermediate data, peak RSS on chr21 is lower than the original Sdust.
Q: Why was it created?
A: It was created to explore how much performance could be improved using Crystal, a language similar to Ruby.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.0- Tagged
- Jun 20, 2026
- Commit
1cab5206c680- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/kojix2/sdust.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 7