rwdavies / STITCH

STITCH - Sequencing To Imputation Through Constructing Haplotypes
http://www.nature.com/ng/journal/v48/n8/abs/ng.3594.html
GNU General Public License v3.0
76 stars 17 forks source link

Error in if ((r < 0.9) | (1.1 < r)) #19

Closed Zilong-Li closed 5 years ago

Zilong-Li commented 5 years ago

Hi, Robbie

A small bug came to the surface when I tried to impute a small number samples with STITCH_1.5.3.0008.

Error in if ((r < 0.9) | (1.1 < r)) { :
  missing value where TRUE/FALSE needed
Calls: STITCH_again ... mclapply -> lapply -> FUN -> calculate_gp_t_from_fbsoL

The reason is that NULL is assigned to variable r. Maybe this bug also exists in the latest version.

rwdavies commented 5 years ago

Hey Zilong,

Do you want to send me an email with more details? This is not a good sign and something probably went wrong with that version that I'm happy to help debug

Robbie