Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 2.45 KB

PDB_example.md

File metadata and controls

34 lines (29 loc) · 2.45 KB

Using a deposited PDB

PDB example

If the structure of a protein has already been determined and has a deposited entry in the protein data bank then RADDOSE-3D can read the atomic composition straight from the web and you don't need to specify the composition of the sample (you'll need to make sure that you have an internet connection). This makes the running of RADDOSE-3D much simpler. Here is an example input file:

Crystal
Type Cuboid
Dimensions 100 100 100
AbsCoefCalc EXP             # This tells RADDOSE-3D that it should expect a PDB file
Pdb 1dwa                    # PDB Code
SolventHeavyConc S 2700     # Specifying heavy atoms in the solvent
PixelsPerMicron 0.2

Beam
Type TopHat                 # Tophat beam profile
Energy 12.40
Collimation Rectangular 160 160
Flux 6.00e12

Wedge 0 90
exposureTime 100

Save this in a file of your choice (here we'll call it "MyInput.txt"). We can then open up a terminal/command prompt, change directory to wherever the RADDOSE-3D executable jar file is located and run:

java -jar raddose3d.jar -i path/to/MyInput.txt

If you come across an error, namely: Error accessing element database file constants/MuCalcConstants.txt, this is likely because RADDOSE-3D hasn't found the MuCalcConstants.txt file which it needs to know information about the various elements. To solve this problem:

  • you need to create a folder in your working directory called constants.
  • make a copy of the MuCalcConstants.txt file from here in that folder.

This error should only occur when the CoefCalc input values are either: RD3D, EXP, SAXS, SEQUENCE or SAXSSEQ.
See the Gotchas section for notes on how to solve other problems that may arise when running RADDOSE-3D.

If you run a simulation where you have used a PDB entry to specify the sample composition (as above) but you don't specify any solvent heavy atoms you'll get the following error: Exception in thread "main" java.lang.NullPointerException. This is because RADDOSE-3D is expecting you to specify the heavy solvent concentration using the SolventHeavyConc keyword. This is a bug! This will be fixed for the next release but for now the workaround is to add the following to the input file if you don't have any heavy solvents: SolventHeavyConc Na 0