Hi All,

I have a table with six columns (in the following).

![enter image description here][1]


  [1]: http://uupload.ir/files/xm5g_taible.png


So, I want to delete SNPs that are less than number 10 in the SNP column.

What is the best idea?



Best Regard

Mostafa
awk !

a cmdline such as below one should do the trick:

    awk ' $4 >= 10' <table-file> > new_file

and if you want to (additionally) apply calculations on a certain column:

    awk ' $4 >= 10' <table-file> | awk '$2=$2+2000' > new_file

