Software for joint testing and estimation of the significance threshold in Genome-Wide association studies