File: add-precision.awk

package info (click to toggle)
macromoleculebuilder 4.0.0%2Bdfsg-3.1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 122,532 kB
  • sloc: cpp: 23,631; python: 5,047; ansic: 2,101; awk: 145; perl: 144; makefile: 40; sh: 21
file content (5 lines) | stat: -rw-r--r-- 197 bytes parent folder | download | duplicates (5)
1
2
3
4
5
 ((substr($1,1,6) =="HETATM") || ($1 =="ATOM"))  {
print $0;
print "REMARK-SIMTK-COORDS ",substr($0,31,8)"00000000000000"," "substr($0,39,8)"00000000000000"," " substr($0,47,8)"00000000000000";
}