Skip to content

Fixed bugs

Pre-release
Pre-release
Compare
Choose a tag to compare
@guanshaoheng guanshaoheng released this 22 Oct 14:58
cc5366d

Fixes and Improvements:

  • Resolved the gap extension issue:
    • Addressed data overflow when calculating graph->values by changing the calculation type from u32 to f32.
    • Introduced a new data_type for handling different methods of transforming the bedgraph file into Graph->values:
      • gap: Sets the pixel value with number index for Graph->values[index] containing the gap to 1.
  • repeat_density: Normalizes the value of each bin as a percentage, reflecting the ratio of repeat pairs within that bin. For instance, if the bin_size=10,000 and N base pairs are marked as repeats, the ratio is calculated as N / 10,000.
  • default: Retains the original calculation method.
  • Fixed a segmentation fault in PrintStatus: Resolved small bugs that caused the program to crash.
  • Improved ProcessLine function: Added a check to ensure (u32) nThisBin does not become negative. Originally, if a negative value is encountered, it will be set to the maximum allowable value for u32. Currently, it will be set as 0.
  • Compilation adjustments: Since modifications were made in C++, the compiler has been switched to Clang++ to resolve compilation issues.