Entering edit mode
3.8 years ago
sharmatina189059
▴
110
Hello all I have a input file like this:
3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 786 0 0
19 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 787 0
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 786 0 0 0 0
0 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 787 0 0 0
11 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 786 0 0 0 0
I want to make it unique row-wise. The output , i want to get should look like
3 786 0
19 787 0
1 786 0
9 787 0
11 786 0
Can anybody help me out?
Hello sharmatina189059,
how is this question related to bioinformatics? Is the order of the numbers per row in the output important? If so, how is the relationship to the input?
fin swimmer
It is actually a frequency table I got it using Prophecy (Emboss module). I need to check the number of isolates in which these variations exist. That's why I want to make it sort so that I can read it easily. Can you please help? I could not understand how to make it unique row-wise?