User Tools

Site Tools


Writing /users/jbklauda/pub/wiki/data/cache/6/6193a558dc90ed4c190004bf67ecff70.captchaip failed
distance_to_bilayer

This is an old revision of the document!


By Robert Allsopp

Part A Getting VMD Data

Step 1) Download the files that will be needed to perform the analysis here.

tiltdistance2.tgz

Step 2) Open filename test.tcl

Update 'dyn$k.dcd' for the file names in the system

Step 3) Change the value of 321 and 333

  • Pick a section of the peptide to analyze. The 321 is the first amino acid residue ID in the section to analyze and the 333 is the (last Residue ID + 1), all the residues in-between are considered

Step 4) Open the file test.csh and adjust the number of dcd files for the program to analyze.

Step 5) Lastly create a common folder and update the path to it in the test.csh end of file, and update the output names.

Execute the script sbatch test.csh

Part B Getting VMD Lipid Data

Step 1) Determine if the peptide bound to the top or bottom of the membrane, the instructions for these steps will be the same regardless but it will be important in part E.

Step 2)

  • Note the number of lipids in the system
  • Open the step5_assembly.psf in putty
  • The lipids are usually located after the amino acids
  • Scroll down to the half way point
  • If you had 100 lipids in the system scroll to the 50th lipid and check to see that the position switches from positive to negative between the 50th and the 51st

Then update the numbers in the lipidtop.tcl and lipidbot.tcl. Whichever set of numbers had positive positions will replace the set of numbers in lipidtop.tcl, and the set of numbers that had negative position values will replace the set of numbers in lipidbot.tcl.

Step 3) Change the name of the output file to correspond with the specific file naming of this system for both files. The only requirement is to keep the beginning ‘top_’ and the end ‘.dat’. The text in the middle becomes an input for the matlab script in part E.

Step 4) Run the files in vmd using the syntax. Source lipidbot.tcl Source lipidtop.tcl

Part C Running the MATLAB Script

Step 1)

  • Option 1: downloading all the files and running matlab on your personal computer by calling the function like
    • Tiltplots('proa_H1.dat', 'H1', 'bot', 0, 150, 24, 321,332,'AGAIKLGDFNLI')
  • Option 2: run a sbatch file matlab.sb, where the variables are hard coded into each TiltPlot.m file
    • sbatch matlab.sb

Part D Getting the values of the Variables

Preparing to Generate Graphs: Amino Acid Information:

Step 1) Recall the first and last residue numbers from part 1, (First AA residue ID), (Last AA residue ID + 1). Open the protein data file and find the specific residues that were analyzed. It is possible to ‘control f’ in word. To ensure the correct section is found check that the same residue number appears at least four times in a row in the same column and that the amino acid name is the same for each row. So if you analyzed residue 321 and 332 it gets inputted as 321, 332, …

Step 2) Record the actual amino acid types in a string. Ala-A, Arg=R, Asp=D, Asn=N, Cys=C, Glu=E, Gln=Q, Gly=G, His=H, Ile=I, Leu=L, Lys=K, Met=M, Phe=F, Pro=P, Ser=S, Thr=T, Trp=W, Tyr=Y, Val=V For example it gets entered as: … , 321, 332, 'AGAIKLGDFNLI')

Step 3) Time information: Lastly, determine the initial time of the simulation, total time of the simulation, and the binding time of the simulation.

Initial time- All the simulations technically start at time=0, but in case the first couple of dcd files are skipped say the files in part A are set to start at dcd # 30 and each dcd had 2 ns, then the first data point would correspond to 30*2=60 ns. So ti=60. Otherwise ti=0

Total time- This normally corresponds to the total simulation time (# of dcd files)*(time per file). So if there were 75 dcd files and 2 ns each it would be 150 ns. If the files in part A were set to start at # 30 the calculation would become tt=(45)*(2)=90 ns.

Binding time- tb- This value could be found several ways. It could be approximated from watching the movies and taking the percent of the movie time and multiply that by the total simulation time that the movie corresponded to. Also it is possible to guess. Then run the analysis to find the actual binding time from the first couple of graphs.

Part F

Calling the Matlab Function

The file gets called by typing the following Tiltplots('proa_H1.dat', 'H1', 'bot', 0, 150, 24, 321,332,'AGAIKLGDFNLI') Lastly, the ‘proa_H1.dat’ is the name of the combined peptide position file, and the ‘H1’ is just the text that went in between the toplipid.tcl and botlipid.tcl output files.

Part G

Summary of Graphs

Figure #1) The first plot will have lines corresponding to all the amino acid residues that were analyzed, additionally these lines will be color coded the first half of the residues will be red and the second half of the residues will be black. The green line is the average position of the phosphate groups on the leaflet that was specified.

Figure #2) This will be the numerical average of the first half of the residues and the second half of the residues, this treats all the amino acids with equal weight.

Figure #3) This plot shows the minimum amino acid position. The actual amino acid that gets closest is always changing, and this is just a plot of the minimum positions.

Figure #4) This is the same minimum position except the amino acids are now distinguishable and represented as dots.

Figure #5) This is the same as above except the color coding is based off VMD so the actual amino acids are not really distinguishable, but it shows which amino acids end up closest to the membrane.

Figure #6) A histogram showing the frequency of different amino acids that got closest to the lipid. Before binding.

Figure #7) A histogram showing the frequency of different amino acids that got closest to the lipid. After binding.

distance_to_bilayer.1553633551.txt.gz · Last modified: 2019/03/26 16:52 by edit