Skip to content
Snippets Groups Projects
Commit 3ccf6dac authored by Hanna  JULIENNE's avatar Hanna JULIENNE
Browse files

float for sample size filter argument

parent b430d2fb
No related branches found
No related tags found
No related merge requests found
......@@ -62,9 +62,9 @@ def launch_preprocessing(args):
print("#SNPs mapped to reference panel: {}".format(mgwas.shape[0]))
mgwas = jp.map_reference.compute_snp_alignement(mgwas)
mgwas = jp.compute_score.compute_z_score(mgwas)
mgwas = jp.compute_score.compute_sample_size(mgwas, args.diagnostic_folder, tag, args.percent_sample_size)
mgwas = jp.compute_score.compute_sample_size(mgwas, args.diagnostic_folder, tag, float(args.percent_sample_size))
end = time.time()
print("#SNPs remaining after sample size filter: {}".format(mgwas.shape[0]))
print("Preprocessing of {0} in {1}s".format(tag, end-start))
jp.save_output.save_output_by_chromosome(mgwas, args.output_folder, tag)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment