Simply use the TEXT menu item to select "Process lines containing" enter the 
word "atom" and select "copy lines to new document".

Thanks,
Ted
***********************  Ted Burger  ****************************
[email protected]      *********     www.tobsupport.com



On Sep 19, 2012, at 6:35 AM, Gopool wrote:

> I have a large file that I would like to split into two separate files. The 
> sections I would like to remove are all formatted the same but are 
> distributed through the file. See example below.
> 
> ATOM  33012  CZ2 TRP G 125      24.107  -3.488  29.278  1.00 72.94           
> C  
> ANISOU33012  CZ2 TRP G 125    11938   7895   7882   5023  -1915  -2053       
> C  
> ATOM  33013  C   TRP G 125      21.114   2.007  32.961  1.00 61.69           
> C  
> ANISOU33013  C   TRP G 125     9647   6569   7223   3267  -1200  -1214       
> C  
> ATOM  33014  O   TRP G 125      19.951   2.315  32.692  1.00 62.62           
> O  
> ANISOU33014  O   TRP G 125     9762   6641   7389   3448  -1549  -1489       
> O  
> ATOM  33015  N   LEU G 126      21.764   2.476  34.042  1.00 55.57           
> N  
> ANISOU33015  N   LEU G 126     8670   5865   6577   2825   -800   -877       
> N  
> ATOM  33016  CA  LEU G 126      21.198   3.400  35.032  1.00 53.57           
> C  
> ANISOU33016  CA  LEU G 126     8214   5630   6510   2515   -713   -778       
> C  
> ATOM  33017  CB  LEU G 126      22.088   3.411  36.295  1.00 50.59           
> C  
> ANISOU33017  CB  LEU G 126     7563   5324   6335   2034   -339   -468       
> C  
> ATOM  33018  CG  LEU G 126      22.083   2.171  37.191  1.00 54.27           
> C  
> ANISOU33018  CG  LEU G 126     7657   5757   7205   1734   -406   -506       
> C  
> ATOM  33019  CD1 LEU G 126      23.285   2.180  38.109  1.00 52.29           
> C  
> ANISOU33019  CD1 LEU G 126     7280   5602   6987   1442    -51   -209       
> C  
> ATOM  33020  CD2 LEU G 126      20.813   2.088  38.024  1.00 56.66           
> C  
> ANISOU33020  CD2 LEU G 126     7627   6027   7875   1493   -592   -654       
> C  
> ATOM  33021  C   LEU G 126      21.096   4.834  34.460  1.00 58.58           
> C  
> ANISOU33021  C   LEU G 126     9264   6253   6740   2766   -620   -676       
> C  
> ATOM  33022  O   LEU G 126      21.808   5.115  33.492  1.00 60.01           
> O  
> ANISOU33022  O   LEU G 126     9867   6433   6499   3044   -456   -549       
> O  
> ATOM  33023  N   PRO G 127      20.281   5.771  35.040  1.00 54.54           
> N  
> ANISOU33023  N   PRO G 127     8684   5726   6312   2689   -693   -709       
> N  
> ATOM  33024  CA  PRO G 127      20.247   7.151  34.503  1.00 55.95           
> C  
> ANISOU33024  CA  PRO G 127     9363   5817   6079   2950   -619   -591       
> C  
> ATOM  33025  CB  PRO G 127      19.196   7.855  35.369  1.00 57.11           
> C  
> ANISOU33025  CB  PRO G 127     9286   5977   6437   2866   -794   -730       
> C  
> ATOM  33026  CG  PRO G 127      18.399   6.760  35.982  1.00 60.83           
> C  
> ANISOU33026  CG  PRO G 127     9162   6570   7378   2684  -1035  -1009       
> C  
> ATOM  33027  CD  PRO G 127      19.368   5.639  36.194  1.00 54.60           
> C  
> ANISOU33027  CD  PRO G 127     8198   5794   6755   2392   -826   -849       
> C  
> ATOM  33028  C   PRO G 127      21.615   7.834  34.604  1.00 58.56           
> C  
> ANISOU33028  C   PRO G 127     9940   6117   6193   2706   -108   -161       
> C  
> ATOM  33029  O   PRO G 127      21.990   8.606  33.719  1.00 60.77           
> O  
> ANISOU33029  O   PRO G 127    10762   6292   6037   2946     44      2       
> O  
> ATOM  33030  N   VAL G 128      22.367   7.511  35.670  1.00 51.70           
> N  
> ANISOU33030  N   VAL G 128     8674   5342   5628   2228    156     12       
> N  
> ATOM  33031  CA  VAL G 128      23.735   7.969  35.913  1.00 50.90           
> C  
> ANISOU33031  CA  VAL G 128     8628   5272   5440   1922    617    353       
> C  
> ATOM  33032  CB  VAL G 128      23.888   8.705  37.275  1.00 52.58           
> C  
> ANISOU33032  CB  VAL G 128     8601   5470   5908   1489    758    485       
> C  
> ATOM  33033  CG1 VAL G 128      25.335   9.128  37.514  1.00 52.61           
> C  
> ANISOU33033  CG1 VAL G 128     8590   5519   5879   1146   1193    776       
> C  
> ATOM  33034  CG2 VAL G 128      22.957   9.913  37.360  1.00 53.46           
> C  
> ANISOU33034  CG2 VAL G 128     8999   5404   5909   1624    591    431       
> C  
> ATOM  33035  C   VAL G 128      24.618   6.721  35.793  1.00 53.84           
> C  
> ANISOU33035  C   VAL G 128     8748   5811   5896   1873    732    359       
> C  
> 
> Is it possible for BBedit to search for the query ATOM and then select or cut 
> the entire line with that query?
> 
> Thanks in advance.
> 
> 
> -- 
> -- 
> You received this message because you are subscribed to the 
> "BBEdit Talk" discussion group on Google Groups.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> <http://groups.google.com/group/bbedit?hl=en>
> If you have a feature request or would like to report a problem, 
> please email "[email protected]" rather than posting to the group.
> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
>  
>  
>  

-- 
-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>



Reply via email to