PDB RT3L - PDB - Rotate PDB file around line

(1/11/14)

PURPOSE

Rotate PDB file around a line defined by two given points in 3D space.   Example.

SEE ALSO

PDBCG3 [PDB - Calculate center of gravity]
PDBIF [PDB - Find information]
PDBPTS [PDB - Put coordinates in SPIDER document file.]
PDBRT3 [PDB - Rotate by Euler angles in 3D space]
PDBRT3A [PDB - Rotate by Euler angles around arbitrary center]
PDBSH [PDB - SHift coordinates]
PDBSTP [PDB - Create PDB file from coordinate list]
UUSAGE:    PDB RT3L
         
          .INPUT FILE:  input.pdb
          [Enter the name of the PDB file to be rotated with extension 'pdb'.] 

          .OUTPUT FILE: output.pdb
          [Enter the name of the output PDB file with extension 'pdb'.] 

          .PHI:  100
          [Enter rotation angles in degrees.]

	  .X1, Y1, Z1:  100, 200, 300
          [Enter the first given point (Angstroms) in SPIDER coordinate system.] 
	 
  	  .X2, Y2, Z2:  20, 30, 40
           [Enter the second given point (Angstroms) in SPIDER coordinate system.] 
			
NOTES	    1. The operation does not change the format of the PDB file.
 
	    2. Implemented by Zhong Huang, Pawel A. Penzcek. 

SUBROUTINES:  PDB

CALLER:       DRIV1