CLI::Option*option=subparser->add_option("-S,--signif-threshold",this->parameters.min_depth,"Significance threshold when assessing significance",true);
option->check(CLI::Range(0,1));
CLI::Option*option=subparser->add_option("-S,--signif-threshold",this->parameters.signif_threshold,"Significance threshold when assessing significance",true);
option->check(CLI::Range(0.0,1.0));
}
voidRADSex::add_bonferroni(CLI::App*subparser){
subparser->add_flag("-b,--bonferroni-correction",this->parameters.min_depth,"If set, Bonferroni correction will be used when assessing significance");
subparser->add_flag("-C,--disable-correction",this->parameters.disable_correction,"If set, Bonferroni correction will NOT be used when assessing significance");
if(p<0.05){// First pass: we filter sequences with at least one male or one female and non-corrected p < 0.05
if(static_cast<float>(p)<parameters.signif_threshold){// First pass: we filter sequences with at least one male or one female and non-corrected p < 0.05