NucFreq icon indicating copy to clipboard operation
NucFreq copied to clipboard

Fixes bug at chromosome boundaries, refactors the code, changed het_ratio calculation

Open biomonika opened this issue 1 year ago • 1 comments

  • fixes the bug discovered by Emily Xu; when at the chromosome boundaries, sometimes the clustering of variants would go across, creating large regions that include the coordinates from the two original chromosomes
  • het_ratio is now the average across all second and first alleles (sum_second/(sum_first+sum_second))

biomonika avatar Mar 08 '24 21:03 biomonika

Thanks for the PR! But @glogsdon1 contributed this code to NucFreq so I'd like/need her input on these changes before accepting a PR.

mrvollger avatar Mar 08 '24 22:03 mrvollger