#!/bin/awk -f #awk script to print only those lines in a PDB file that are backbone atoms #M.Nelson 4/5/96 #command line: alpha_only inputfile > outputfile { if ( $1 !~/ATOM/ ) { print } if ( $3 == "CA" ){ print } }