Entering edit mode
4.4 years ago
brendaumoh6
▴
10
I am working on Multivariate GWAS analysis and I have my results output from the analysis. I would like to extract Snps which have the pvalue < 5x10-8. However,I used
awk '{ if($4 < 5e-8) { print $1 }}' file | head
and
awk '{ if($4 < 0.00000005) { print $1 }}' file | head
This two commands didnt output any data.
what does the input look like ? show us a few lines.
Above is my dataset
Make sure you have such p-values. Maybe try with
$4<=0.01
?Thanks for the input. I used the previous command with another dataset and there was an output. I then sorted my data and discovered that there was no pvalues at that threshold. In conclusion the problem wasnt from the command but rather from the dataset.