This is a test version of Biostars. For the public version, visit https://www.biostars.org.
counts frequency of values in multiple columns in a text files

Hi I have a multiple columns text file, I need to count frequency of zero and greater then zero in [2],[3],[4],[5] columns distinctly.

Program script hints...

Such as column [2] have total number of zero=1 and greater than zero= 3, column [3] have total number of zero =3 and greater than zero =1.....etc...

File:

588-1   5.60E-36  1  0  0  0
1-1522  5.10E-54  1  4  1  1
46-231  1.70E-31  1  0  0  0
270-1   2.50E-56  0  0  0  0
alignment

0 answers

No answers yet.

Log in to answer this question.