Data processing

view story

http://www.unix.com – Hello guys! I have some issue in how to processing some data. I have some files with 3 columns. The 1st column is a name of my sample. The 2nd column is a numerical sequence (very big sequence) starting from "1". And the 3rd column is a feature of each line, represented for a number (completely independent from the 2nd column). Something like this: (hypothetically) scaffold_0 1 4 scaffold_0 2 4 scaffold_0 3 4 scaffold_0 4 6 scaffold_0 5 7 scaffold_0 6 7 scaffold_0 7 7 scaffold_0 8 7 scaffold_0 9 7 The problem is that when the value of 3rd column is zero, te line is not (HowTos)