byres: sort DYANA violations by residue

Usage:

byres [-s] [-q query] file1.ovw [file2.ovw ...]

Description:

byres takes one or more .ovw files from DYANA and sorts the violations based on residue number.

If given the -s ("symmetric") option, restraints will be printed so that they appear in the section for each of the two residues. For example a restraint from 4 amide to 88 alpha will appear as:
4 ALA HN 88 GLU HA
.
.
.
88 GLU HA 4 ALA HN

If given the -q option, only violations matching query will be printed. For example:
byres -q 88 file.upl will print only the violations involving residue 88.