Hi all,
I'm learning python and hope someone can help me with a sort of tricky search/parse problem. I have a tab deliminited file like this:
2 1 863.8 300.2 0.0131 0.0759 0.1727 0.0879 1.5821
3 1 874.5 289.5 0.0574 0.1292 0.4447 0.2258 1.1846
3 2 874.5 289.5 0.0573 0.0527 1.0857 0.1684 1.1760
4 1 844.3 319.7 0.1306 1.3513 0.0967 1.3976 2.2659
4 2 849.2 314.8 0.1350 1.3332 0.1013 1.3773 1.9990
4 3 846.0 318.0 0.1546 1.4675 0.1053 1.5399 2.1172
2 :PAD_999) ... 1 :PAA_888)
3 :PAB_978) ... 1 :PAA_888)
4 :PCA_098) ... 1 :PAA_888)
I would like to search the 5th column for values >= 1.0, and print the results with the tag info. like this:
4 :PCA_098 1 :PAA_888 1.3513
4 :PCA_098 2 :PAD_999 1.3332
4 :PCA_098 3 :PAB_978 1.4675