======================= tbl2upl.awk ======================= #!/software/bin/gawk -f # #@ convert (ambiguous) distance restraints in #@ xplor *.tbl file to xeasy/cyana .upl/lol file #@ Use: #@ tbl2upl.awk name.(seq|pdb) unambig.tbl > out.upl # # command line options: # [-v] lower=1 : print out lower bounds instead of upper # [-v] echoall=1 : echo all input # [-v] keepnames=1 : if not set, names with [%#+*] will be adjusted # so that they can be read with cyana [version>2.0] # that means that any number of [#*%+] at the end # of an atname will be removed. # [-v] distformat="%.2f" : format for the distance # [-v] verbose=0 : verbosity level [default:""] #