Friday 15 March 2013

linux - Extract and copy rows and columns from a large text file -


In addition to my previous question - how can I extract values ​​from a large text file in column format? If I want to remove the value of the specific column, the text file looks like an attached image.

I want to remove ROIL and FSC values, as in the numbers given in the text or plot in Excel.

To be more general - what should I do if I want to remove the values ​​in Part_FSC and CC later?

thanks

text file: Open the MRC / CCP4 file to write "lang-none prettyprint-override"> ... File: map2.mrc NX, NY, NZ: 600 600 600 Mode: Real Cemetery Redundancy: 1 fracture_mask, fraction_peature = 0.1193 0.0111c sqrt sqrt not c. RESOL RING RAD FSPR FSC Part_FSC Part_SSNR Rec_SSNR CC C2 952.50 0.0017 0.09 1.000 0.000 400.0145 479.40 0.1222 C3 476.25 0.0033 0.19 1.000 0.000 15 9.3959 15 9.98 0.1586 C4 317.50 0.0050 0.92 0.9 99 0.000 48.2248 43.27 0.0155 C5 238.12 0.0067 0.42 1.000 0.000 88.3074 76.69 0.2637 C6 190.50 0.0083 0.48 0.9 99 0.000 64.0162 56.25 0.4148 C7 158.75 0.0100 1.41 0.9 9 0.000 17.1695 15.64 0.1282 C8 136.07 0.0117 5.56 0.954 0.000 6.8244 6.47 0.0171 C9 119.06 0.0133 1.4 9 0.9 9 0. 0. 16.1918 16.42 0.2729 C. 10 105.83 0.0150 1.68 0.9 9 0.000 12.8313 13.83 0.3729 C11 95.25 0.0167 3.55 0.969 0.000 6.8012 7.95 0.2624 C12 86.59 0.0183 16.00 0.830 0.000 2.5273 3.13 0.0826 Unchexted, unprostated, But

  awk '$ 1 == "c" {printf "% s \ t% s \ n", $ 3, $ 6}' & lt; Filename & gt;    

No comments:

Post a Comment