Hi,
I have a text file in the following format:
Code:
13412 NA06985 0 0 2 46.6432798439 4 4 4 4
13412 NA06991 NA06993 NA06985 2 48.8478948517 4 4 2 4
13412 NA06993 0 0 1 45.8022601455 4 4 2 4
13401 NA06994 0 0 1 48.780669145 4 4 4 4
13401 NA07000 0 0 2 47.7312017846 2 4 4 4
13402 NA07019 NA07022 NA07056 2 41.7389244255 4 4 4 4
13402 NA07022 0 0 1 54.1498530714 4 4 4 4
13401 NA07029 NA06994 NA07000 1 X 2 4 4 4
13411 NA07034 0 0 1 41.709838673 4 4 2 4
13411 NA07048 NA07034 NA07055 1 41.4599808018 4 4 4 4
I want to replace column 6 with a different column (The new column is in a file called column.txt) How do I go about doing that? Thanks!