Skip to content

CRAM

专为比对数据设计的参考序列压缩格式,通过存储与参考序列的差异实现高压缩比。 该方法可将 BAM 文件压缩至原大小的 40-60%,是大规模测序项目的首选存储格式。

PropertyValue
Purpose比对数据的高效压缩存储
Time ComplexityO(n)
Space ComplexityO(r)
Year2011
CategoryData 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

samtools · htslib · cramtools

Tags

reference-based alignment bam efficient

Released under the MIT License.