Bold text means that these files and/or this information is provided.
Italicized text means that this material will NOT be conducted during the workshop.
Fixed width text means you should type the command into your terminal.
If you want to try making files that already exist (e.g., input files), write them to a different directory!
This tutorial presents an HCDR3 loop modeling benchmark experiment. The human monoclonal antibody 5J8 binds and neutralizes a broad spectrum of modern H1N1 influenza viruses including the 2009 pandemic H1N1 virus (Krause et al., J Virol 2011). The antibody was crystallized at a resolution of 1.55 angstroms and the resulting structure was submitted to the Protein Data Bank (PDB) under accession number 4M5Y. In this tutorial, you will reconstruct the HCDR3 loop of 5J8 using de novo loop modeling. At the end of the tutorial, the results from this benchmark experiment will be compared to the native structure available from the PDB.
Create a directory in the hcdr3_modeling directory called my_files and switch to that directory.
mkdir my_files
cd my_filesPrepare a PDB input file. Typically, this is accomplished by removing unnecessary chains, waters and non-protein molecules (e.g. gold) leaving behind one asymmetric unit containing one V domain of a heavy and light chain pair. Cleaned PDB files are then renumbered using the renumber_pdb.py script.
The clean and renumbered 4m5y_renum.pdb file is provided for you in the
~/rosetta_workshop/tutorials/hcdr3_modeling/input_files/ directory.
The file may end up downloading to your Downloads directory. If so, move it to your working directory using this command (don't forget to include the "." at the end of the command):
mv ~/Downloads/4m5y.pdb .Using a text editor (such as vi or gedit) or Pymol, clean 4m5y.pdb so that only the V domain of chains H and L remain. Manually delete residues 115-213 on chain H and residues 107-209 on chain L. Remove all other chains and any HETATM lines. Save the cleaned file as 4m5y.pdb
gedit 4m5y.pdbRenumber 4m5y.pdb:
python ~/rosetta_workshop/tutorials/hcdr3_modeling/scripts/renumber_pdb.py
--norestart 4m5y.pdb 4m5y_renum.pdbGenerate a FASTA sequence file from this PDB file.
The 4m5y_.fasta file is provided for you in the
~/rosetta_workshop/tutorials/hcdr3_modeling/input_files/ directory.
Run the following script to save the sequence as 4m5y_.fasta in your working directory:
~/rosetta_workshop/rosetta/tools/protein_tools/scripts/get_fasta_from_pdb.py \
4m5y_renum.pdb H 4m5y_.fastaGenerate a loops file.
The 4m5y_.loops file is provided for you in the
~/rosetta_workshop/tutorials/hcdr3_modeling/input_files/ directory.
Create a file containing one line formatted as follows: LOOP [residue before HCDR3 loop begins] [residue after HCDR3 loop ends] 0 0 0
LOOP 96 114 0 0 0Prepare 3mer and 9mer fragment libraries.
The 4M5Y fragment libraries (4m5y_frags.200.3mers and 4m5y_frags.200.9mers),
secondary structure prediction (4m5y_.psipred_ss2 and 4m5y_.jufo_ss),
checkpoint (4m5y_.checkpoint) and homolog exclusion (4m5y_.homolog_vall) files
are provided for you in the
~/rosetta_workshop/tutorials/hcdr3_modeling/input_files/ directory.
If copying the provided files, use the following commands (do not forget to include the "."):
cp ~/rosetta_workshop/tutorials/hcdr3_modeling/input_files/4m5y_.psipred_ss2 .
cp ~/rosetta_workshop/tutorials/hcdr3_modeling/input_files/4m5y_.jufo_ss .
cp ~/rosetta_workshop/tutorials/hcdr3_modeling/input_files/4m5y_.checkpoint .
cp ~/rosetta_workshop/tutorials/hcdr3_modeling/input_files/4m5y_.homolog_vall .Prepare the fragment picker setup files.
The fragment_picker_quota.options, fragment_picker_quota.wghts and
fragment_quota_picker.cfg files are provided for you in the
~/rosetta_workshop/tutorials/hcdr3_modeling/input_files/ directory.
Save the options, config and weights file in your working directory:
cp ~/rosetta_workshop/tutorials/hcdr3_modeling/input_files/fragment_picker_quota.* .Run the fragment picker.
Type the following command:
~/rosetta_workshop/rosetta/main/source/bin/fragment_picker.default.linuxgccrelease \
@fragment_picker_quota.optionsOptional: Prepare HCDR3 torso restraints. These restraints improve modeling of antibodies with bulged torso configurations (North et al., J Mol Bio 2011).
The 4m5y_bulged.restraints file and the dihedral_cst.wts_patch are provided for
you in the ~/rosetta_workshop/tutorials/hcdr3_modeling/input_files/ directory.
Prepare a restraints file. A script has been provided to make restraints file formatting easy, however these files can be manually created.
~/rosetta_workshop/tutorials/hcdr3_modeling/scripts/maketorsoconstraints.py \
-b -s 97 -e 113 > 4m5y_bulged.restraintsPrepare a weights patch file named dihedral_cst.wts_patch containing the following line to turn on dihedral angle constraint scoring.
dihedral_constraint 1.0Prepare the loop modeling options file.
The model_w_rest.options and model_wo_rest.options files are provided for you in
the ~/rosetta_workshop/tutorials/hcdr3_modeling/input_files/ directory.
Depending on whether or not you choose to model your antibodies with HCDR3 torso restraints, prepare the loop modeling options file.
The options file for modeling with restraints includes additional flags for restraint file handling.
cp ~/rosetta_workshop/tutorials/hcdr3_modeling/input_files/model_w_rest.options .
cp ~/rosetta_workshop/tutorials/hcdr3_modeling/input_files/model_wo_rest.options .Run Rosetta LoopModel.
Type the following command line to model the HCDR3 loop with restraints:
~/rosetta_workshop/rosetta/main/source/bin/loopmodel.default.linuxgccrelease \
@model_w_rest.options -out:prefix w_rest-Type the following command line to model the HCDR3 loop without restraints:
~/rosetta_workshop/rosetta/main/source/bin/loopmodel.default.linuxgccrelease \
@model_wo_rest.options -out:prefix wo_rest-
Analyze your data
Example data is provided for you in the
~/rosetta_workshop/tutorials/hcdr3_modeling/output_files/example_data/
directory.
Create a directory for analysis of your data and switch into that directory.
mkdir data_analysis
cd data_analysisCopy the .pdb files from the output_files/example_data/ directory.
cp ~/rosetta_workshop/tutorials/hcdr3_modeling/output_files/example_data/*.pdb .Copy the native, renumbered 4M5Y structure from the input_files/ directory.
cp ~/rosetta_workshop/tutorials/hcdr3_modeling/input_files/4m5y_renum.pdb .Create a resfile defining the residues of the HCDR3 loop. For the purposes of this tutorial, the resfile has been created for you. Copy it to your directory and review its contents.
cp ~/rosetta_workshop/tutorials/hcdr3_modeling/output_files/4m5y.resfile .
gedit 4m5y.resfileRun the score_vs_rmsd_byres.py script to generate a score vs. RMSD table.
~/rosetta_workshop/tutorials/hcdr3_modeling/scripts/score_vs_rmsd_byres.py \
-n 4m5y_renum.pdb -o SVR -r 4m5y.resfile cons-*.pdbReview the output tables, and generate plots of total score vs. CA RMSD using your favourite graphing software.
gedit SVR_align_all_model.tsv
gedit SVR_align_by_residue.tsvVisualize the example models in PyMol. Compare your observations with the score vs. RMSD data.
pymol *.pdb