Skip to content

Releases: shiquan/bamdst

Release list

v1.2.0

Choose a tag to compare

@shiquan shiquan released this 09 Jun 12:14

New Features

  • Output format option (-F/--format): txt (default), csv, json
    • TXT: current format, unchanged
    • CSV: comma-separated reports with headers
    • JSON: single report.json with all statistics
  • Duplicate-removed coverage statistics: Coverage(rmdup) lines show unique molecule coverage
  • Ratio-based coverage (--depthratio 0.2,0.5): coverage at multiples of mean depth
  • All Chinese comments translated to English with richer documentation

Bug Fixes

  • count.h: NULL checks for malloc/realloc in all count macros
  • median_cal: out-of-bounds array access for odd-length arrays
  • ucreg_tmp: memory leak in uncover region initialization (both call sites)
  • isize counter: realloc now correctly updates c_isize->n
  • usage(0) exits with EXIT_FAILURE (was EXIT_SUCCESS)
  • Insert size median print format: %.ld changed to %PRIu64
  • Division-by-zero guards for distribution loops and flank average depth

Removed

  • mkdirp: bamdst no longer auto-creates output directories. The output directory must exist and be writable.
  • Unused l: from getopt short option string