CRAM
专为比对数据设计的参考序列压缩格式,通过存储与参考序列的差异实现高压缩比。 该方法可将 BAM 文件压缩至原大小的 40-60%,是大规模测序项目的首选存储格式。
| Property | Value |
|---|---|
| Purpose | 比对数据的高效压缩存储 |
| Time Complexity | O(n) |
| Space Complexity | O(r) |
| Year | 2011 |
| Category | Data Compression |
Complexity Analysis
- Time Complexity:
O(n) - Space Complexity:
O(r)
Performance Insight: The time complexity of this algorithm is linear (O(n)), scales linearly to TB-scale data and is suitable for streaming pipelines.
Note: Complexity analysis is based on theoretical models. Actual runtime is affected by input scale, hardware, and implementation optimizations. Benchmark for your specific workload.
Literature & Implementation
Related Tools
samtools · htslib · cramtools