Use awk
directly by saying awk '$field < value'
:
$ awk '$7<0.2' file
1891 UN NA 1.0000 0.0000 0.0000 0.0012 -1
1892 UN NA 1.0000 0.0000 0.0000 0.1011 -1
As RHO
is the column 7
, it checks that field.
In case you just want to print a specific column, say awk '$field < value {print $another_field}'
. For the ID
:
$ awk '$7<0.2 {print $1}' file
1891
1892