gtars-igd
Implementation of IGD (Integrated Genome Database) - a high-performance genomic interval search tool.
Features
Section titled “Features”- Fast interval queries (logarithmic time complexity)
- Memory-efficient indexing
- Binary format for persistence
- Support for multiple genomes
Ensure gtars is compiled with igd:
cargo build --release --all-features or cargo build --release --features igd
Building an Index
Section titled “Building an Index”gtars igd create --output /home/igd_output/ --filelist /home/my_bedfiles/Querying with a single bed file
Section titled “Querying with a single bed file”gtars igd search --database my_igd_database.igd --query my_query.bedPerformance
Section titled “Performance”- Index creation: O(n log n)
- Query time: O(log n + k) where k is number of results
- Memory usage: ~30% of input file size
File Format
Section titled “File Format”IGD uses a binary format optimized for:
- Fast loading
- Compact storage
- Memory-mapped access