epifluidlab / FinaleToolkit

FinaleToolkit is a package and standalone program to extract fragmentation features of cell-free DNA from paired-end sequencing data.
https://epifluidlab.github.io/FinaleToolkit/
MIT License
14 stars 6 forks source link

Handling the case where 'long' is 0. #105

Closed ravibandaru-lab closed 1 month ago

ravibandaru-lab commented 1 month ago

In some sparse fragment files, we will see that the short and long ratio are both zero. In the current implementation, the ratio is empty in the output file. Here, we add a np.NaN, such that the ratio is now NaN rather than empty.