Saturday, February 19, 2005

This command line goes through 5gb of files and pulls out the number
of matched residues and atoms from the model building part of Crank.

find . -maxdepth 3 -name 'log' -exec grep -m1 "atoms.*residues" generated/*/log \; | less


and the next one:


find . -maxdepth 3 -name 'log' -exec sh -c "echo -n {} ; grep Rfree {} | tail -1" \; | less


and the synthesis:


find . -maxdepth 3 -name 'log' -exec sh -c "echo -n {} ; grep Rfree {} | tail -1 ; grep -m1 'atoms.*residues' {}" \; | less