zkutalik / ssimp_software

GNU General Public License v3.0
15 stars 10 forks source link

Mean.replacement.in.missing.ref.data #97

Closed aaronmcdaid closed 5 years ago

aaronmcdaid commented 5 years ago

Missing data in the reference panel is recorded as .|.. Previously, the entire SNV was dropped. In this PR, we keep them and replace them with the mean.

Also, for each region, message like this is printed:

Average rate of missingness among the 49 reference panel SNPs: 0.0004463

Also, it skips a SNV entirely if it has more than 5% missingness and ssimp will print a message for any region with at least one such SNV