lifebit-ai / gwas

GWAS pipeline using SAIGE
5 stars 2 forks source link

Replace awk command #56

Open cgpu opened 4 years ago

cgpu commented 4 years ago

https://github.com/lifebit-ai/gel-gwas/blob/c11b16784a9f554ba07701263c8db208b59951f3/main.nf#L206

-    awk '\$5 < ${params.thres_m} {print}' ${name}.missing > ${name}.missing_FAIL 
+    awk -v thresm=\${params.thres_m} '\$5 < thresm {print}'  ${name}.missing > ${name}.missing_FAIL