Question: I am needing to create a simple script in my terminal with a filter for p-value to measure the significance of 40 traits, each with
I am needing to create a simple script in my terminal with a filter for p-value to measure the significance of 40 traits, each with 3 different sites (120 different sets of p-values in total). So, I will need to loop the script through sites/traits for the analyses. Here is a preview of the format of these data:

How might I go about this?
\( \begin{array}{lllll}\text { site } & \text { snp } & \text { snp_effect_3 } & \text { log10pval_3 } & \text { snp_effvar_3 } \\ 3 & 1 & -0.0001159179 & 0.2299163019 & 0.6751754646 \\ 3 & 2 & 5.498314 E-05 & 0.5516680194 & 0.3202549078 \\ 3 & 3 & -2.020212 E-05 & 0.0660607099 & 0.1176692761 \\ 3 & 4 & -0.0001030215 & 0.3412925682 & 0.6000594066 \\ 3 & 5 & -0.0001030215 & 0.3412925682 & 0.6000594066 \\ 3 & 6 & -0.0001030215 & 0.3412925682 & 0.6000594066\end{array} \)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
