<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.docking.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xiaobo+wan</id>
	<title>DISI - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.docking.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xiaobo+wan"/>
	<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=Special:Contributions/Xiaobo_wan"/>
	<updated>2026-04-07T10:13:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>http://wiki.docking.org/index.php?title=Using_Wynton&amp;diff=11886</id>
		<title>Using Wynton</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=Using_Wynton&amp;diff=11886"/>
		<updated>2019-08-06T17:46:17Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here is how to use Wynton with DOCK/ZINC&lt;br /&gt;
&lt;br /&gt;
https://ucsf-hpc.github.io/wynton/status/index.html&lt;br /&gt;
&lt;br /&gt;
* 1 get an account @ https://ucsf-hpc.github.io/wynton/about/join.html&lt;br /&gt;
* 2 login&lt;br /&gt;
 $ &#039;&#039;&#039;ssh &amp;lt;username&amp;gt;@wynlog1.compbio.ucsf.edu&#039;&#039;&#039;&lt;br /&gt;
    OR&lt;br /&gt;
 $ &#039;&#039;&#039;$ ssh &amp;lt;username&amp;gt;@log2.wynton.ucsf.edu&#039;&#039;&#039;&lt;br /&gt;
* 3 here are the disks:&lt;br /&gt;
 [benwong@wynlog1 ~]$ &#039;&#039;&#039;ls -lh /bks&#039;&#039;&#039; &lt;br /&gt;
 total 93K&lt;br /&gt;
 drwxr-xr-x.  8 root  root    8 Oct  7  2018 ex1&lt;br /&gt;
 drwxr-xr-x. 10 root  root   10 Oct  7  2018 ex2&lt;br /&gt;
 drwxr-xr-x. 19 root  root   19 Oct  7  2018 ex3&lt;br /&gt;
 drwxr-xr-x.  9 root  root    9 Oct  7  2018 ex4&lt;br /&gt;
 drwxr-xr-x. 14 root  root   14 Oct  7  2018 ex5&lt;br /&gt;
 drwxr-xr-x.  9 root  root    9 Oct  7  2018 ex6&lt;br /&gt;
 drwxr-xr-x.  8 root  root    8 Jul 17  2018 ex7&lt;br /&gt;
 drwxr-xr-x.  8 root  root    8 May  3  2018 ex8&lt;br /&gt;
 drwxr-xr-x. 10 root  root   10 Jun 11 16:15 ex9&lt;br /&gt;
 drwxrwxr-x. 67 42024 1010 4.0K Mar 15 15:18 soft&lt;br /&gt;
 drwxr-xr-x. 46 root  root 4.0K Sep 17  2018 work&lt;br /&gt;
&lt;br /&gt;
NOTE: wynton uses automount.  /bks will appear empty until you specifically ls the disk you want.  ls /bks may appear blank but if you do ls /bks/soft or /bks/ex9, the disk should automatically mount when you list it.  If it&#039;s not working, then something&#039;s wrong. &lt;br /&gt;
&lt;br /&gt;
* 4 here is the script &lt;br /&gt;
  updated by xiaobo wan (2019/7/26)&lt;br /&gt;
  step1 &lt;br /&gt;
  login wynton (ssh &amp;lt;username&amp;gt;@wynlog1.compbio.ucsf.edu)&lt;br /&gt;
  step2 &lt;br /&gt;
  reformat the database_index&lt;br /&gt;
  cp -r /nfs/home/xiaobo/UCSF_scripts/2019-7-3-Wynton-accounts/scripts_for_runningjobs-on-wynton/step1-reformat-split_database_index/step1-reformat-split_database_index-version2.pl ./&lt;br /&gt;
  cp -r /nfs/home/xiaobo/UCSF_scripts/2019-7-3-Wynton-accounts/scripts_for_runningjobs-on-wynton/step1-reformat-split_database_index/check-split.list.new ./&lt;br /&gt;
  perl step1-reformat-split_database_index-version2.pl database_index&lt;br /&gt;
  check the new database_index file&lt;br /&gt;
  cat database_index.new | awk &#039;{ print &amp;quot;if test -e &amp;quot; $1 &amp;quot;; then echo &amp;quot; $1&amp;quot;; fi&amp;quot;}&#039;&amp;gt;run.sh&lt;br /&gt;
  bash run.sh &amp;gt;&amp;gt;database_index.new.csh&lt;br /&gt;
  step3&lt;br /&gt;
  change the dock3.7 submit files &lt;br /&gt;
  cp -r /nfs/home/xiaobo/UCSF_scripts/2019-7-3-Wynton-accounts/scripts_for_runningjobs-on-wynton/step2-submit-jobs/ ./&lt;br /&gt;
  then change the position of kingbo to your username&lt;br /&gt;
   get_dock_files.csh: cp -v /wynton/home/shoichetlab/kingbo/scripts/step2-submit-jobs/dock/* .&lt;br /&gt;
   rundock.csh:/wynton/home/shoichetlab/kingbo/scripts/step2-submit-jobs/get_dock_files.csh&lt;br /&gt;
   subdock.csh:qsub -t 1-$dirnum /wynton/home/shoichetlab/kingbo/scripts/step2-submit-jobs/rundock.csh &amp;quot;$dock&amp;quot;&lt;br /&gt;
   submit.csh:/wynton/home/shoichetlab/kingbo/scripts/step2-submit-jobs/subdock.csh /wynton/home/shoichetlab/kingbo/scripts/step2-submit-jobs/dock.csh&lt;br /&gt;
  step4&lt;br /&gt;
   submit the job &lt;br /&gt;
   python $DOCKBASE/docking/setup/setup_db2_zinc15_file_number.py ./ leads $database $num count&lt;br /&gt;
   csh /wynton/home/shoichetlab/username/scripts/step2-submit-jobs/submit.csh&lt;br /&gt;
  Notes: &lt;br /&gt;
  you can change the runing time of job in file rundock.csh #$ -l h_rt=24:00:00  &lt;br /&gt;
  You disk space is only 1TB, check it!!!!!!&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=Using_Wynton&amp;diff=11881</id>
		<title>Using Wynton</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=Using_Wynton&amp;diff=11881"/>
		<updated>2019-07-26T18:54:09Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here is how to use Wynton with DOCK/ZINC&lt;br /&gt;
&lt;br /&gt;
https://ucsf-hpc.github.io/wynton/status/index.html&lt;br /&gt;
&lt;br /&gt;
* 1 get an account @ https://ucsf-hpc.github.io/wynton/about/join.html&lt;br /&gt;
* 2 login&lt;br /&gt;
 $ &#039;&#039;&#039;ssh &amp;lt;username&amp;gt;@wynlog1.compbio.ucsf.edu&#039;&#039;&#039;&lt;br /&gt;
    OR&lt;br /&gt;
 $ &#039;&#039;&#039;$ ssh &amp;lt;username&amp;gt;@log2.wynton.ucsf.edu&#039;&#039;&#039;&lt;br /&gt;
* 3 here are the disks:&lt;br /&gt;
 [benwong@wynlog1 ~]$ &#039;&#039;&#039;ls -lh /bks&#039;&#039;&#039; &lt;br /&gt;
 total 93K&lt;br /&gt;
 drwxr-xr-x.  8 root  root    8 Oct  7  2018 ex1&lt;br /&gt;
 drwxr-xr-x. 10 root  root   10 Oct  7  2018 ex2&lt;br /&gt;
 drwxr-xr-x. 19 root  root   19 Oct  7  2018 ex3&lt;br /&gt;
 drwxr-xr-x.  9 root  root    9 Oct  7  2018 ex4&lt;br /&gt;
 drwxr-xr-x. 14 root  root   14 Oct  7  2018 ex5&lt;br /&gt;
 drwxr-xr-x.  9 root  root    9 Oct  7  2018 ex6&lt;br /&gt;
 drwxr-xr-x.  8 root  root    8 Jul 17  2018 ex7&lt;br /&gt;
 drwxr-xr-x.  8 root  root    8 May  3  2018 ex8&lt;br /&gt;
 drwxr-xr-x. 10 root  root   10 Jun 11 16:15 ex9&lt;br /&gt;
 drwxrwxr-x. 67 42024 1010 4.0K Mar 15 15:18 soft&lt;br /&gt;
 drwxr-xr-x. 46 root  root 4.0K Sep 17  2018 work&lt;br /&gt;
&lt;br /&gt;
NOTE: wynton uses automount.  /bks will appear empty until you specifically ls the disk you want.  ls /bks may appear blank but if you do ls /bks/soft or /bks/ex9, the disk should automatically mount when you list it.  If it&#039;s not working, then something&#039;s wrong. &lt;br /&gt;
&lt;br /&gt;
* 4 here is the script &lt;br /&gt;
  updated by xiaobo wan (2019/7/26)&lt;br /&gt;
  step1 &lt;br /&gt;
  login wynton (ssh &amp;lt;username&amp;gt;@wynlog1.compbio.ucsf.edu)&lt;br /&gt;
  step2 &lt;br /&gt;
  reformat the database_index&lt;br /&gt;
  cp -r /wynton/home/shoichetlab/kingbo/scripts/step1-reformat-split_database_index/step1-reformat-split_database_index-version2.pl ./&lt;br /&gt;
  cp -r /wynton/home/shoichetlab/kingbo/scripts/step1-reformat-split_database_index/check-split.list.new ./&lt;br /&gt;
  perl step1-reformat-split_database_index-version2.pl database_index&lt;br /&gt;
  check the new database_index file&lt;br /&gt;
  cat database_index.new | awk &#039;{ print &amp;quot;if test -e &amp;quot; $1 &amp;quot;; then echo &amp;quot; $1&amp;quot;; fi&amp;quot;}&#039;&amp;gt;run.sh&lt;br /&gt;
  bash run.sh &amp;gt;&amp;gt;database_index.new.csh&lt;br /&gt;
  step3&lt;br /&gt;
  change the dock3.7 submit files &lt;br /&gt;
  cp -r /wynton/home/shoichetlab/kingbo/scripts/step2-submit-jobs/ ./&lt;br /&gt;
  then change the position of kingbo to username&lt;br /&gt;
   get_dock_files.csh: cp -v /wynton/home/shoichetlab/kingbo/scripts/step2-submit-jobs/dock/* .&lt;br /&gt;
   rundock.csh:/wynton/home/shoichetlab/kingbo/scripts/step2-submit-jobs/get_dock_files.csh&lt;br /&gt;
   subdock.csh:qsub -t 1-$dirnum /wynton/home/shoichetlab/kingbo/scripts/step2-submit-jobs/rundock.csh &amp;quot;$dock&amp;quot;&lt;br /&gt;
   submit.csh:/wynton/home/shoichetlab/kingbo/scripts/step2-submit-jobs/subdock.csh /wynton/home/shoichetlab/kingbo/scripts/step2-submit-jobs/dock.csh&lt;br /&gt;
  step4&lt;br /&gt;
   submit the job &lt;br /&gt;
   python $DOCKBASE/docking/setup/setup_db2_zinc15_file_number.py ./ leads $database $num count&lt;br /&gt;
   csh /wynton/home/shoichetlab/username/scripts/step2-submit-jobs/submit.csh&lt;br /&gt;
  Notes: &lt;br /&gt;
  you can change the runing time of job in file rundock.csh #$ -l h_rt=24:00:00  &lt;br /&gt;
  You disk space is only 1TB, check it!!!!!!&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=Using_Wynton&amp;diff=11880</id>
		<title>Using Wynton</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=Using_Wynton&amp;diff=11880"/>
		<updated>2019-07-26T18:44:28Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here is how to use Wynton with DOCK/ZINC&lt;br /&gt;
&lt;br /&gt;
https://ucsf-hpc.github.io/wynton/status/index.html&lt;br /&gt;
&lt;br /&gt;
* 1 get an account @ https://ucsf-hpc.github.io/wynton/about/join.html&lt;br /&gt;
* 2 login&lt;br /&gt;
 $ &#039;&#039;&#039;ssh &amp;lt;username&amp;gt;@wynlog1.compbio.ucsf.edu&#039;&#039;&#039;&lt;br /&gt;
    OR&lt;br /&gt;
 $ &#039;&#039;&#039;$ ssh &amp;lt;username&amp;gt;@log2.wynton.ucsf.edu&#039;&#039;&#039;&lt;br /&gt;
* 3 here are the disks:&lt;br /&gt;
 [benwong@wynlog1 ~]$ &#039;&#039;&#039;ls -lh /bks&#039;&#039;&#039; &lt;br /&gt;
 total 93K&lt;br /&gt;
 drwxr-xr-x.  8 root  root    8 Oct  7  2018 ex1&lt;br /&gt;
 drwxr-xr-x. 10 root  root   10 Oct  7  2018 ex2&lt;br /&gt;
 drwxr-xr-x. 19 root  root   19 Oct  7  2018 ex3&lt;br /&gt;
 drwxr-xr-x.  9 root  root    9 Oct  7  2018 ex4&lt;br /&gt;
 drwxr-xr-x. 14 root  root   14 Oct  7  2018 ex5&lt;br /&gt;
 drwxr-xr-x.  9 root  root    9 Oct  7  2018 ex6&lt;br /&gt;
 drwxr-xr-x.  8 root  root    8 Jul 17  2018 ex7&lt;br /&gt;
 drwxr-xr-x.  8 root  root    8 May  3  2018 ex8&lt;br /&gt;
 drwxr-xr-x. 10 root  root   10 Jun 11 16:15 ex9&lt;br /&gt;
 drwxrwxr-x. 67 42024 1010 4.0K Mar 15 15:18 soft&lt;br /&gt;
 drwxr-xr-x. 46 root  root 4.0K Sep 17  2018 work&lt;br /&gt;
&lt;br /&gt;
NOTE: wynton uses automount.  /bks will appear empty until you specifically ls the disk you want.  ls /bks may appear blank but if you do ls /bks/soft or /bks/ex9, the disk should automatically mount when you list it.  If it&#039;s not working, then something&#039;s wrong. &lt;br /&gt;
&lt;br /&gt;
* 4 here is the script &lt;br /&gt;
  updated by xiaobo wan (2019/7/26)&lt;br /&gt;
  step1 &lt;br /&gt;
  login wynton (ssh &amp;lt;username&amp;gt;@wynlog1.compbio.ucsf.edu)&lt;br /&gt;
  step2 &lt;br /&gt;
  reformat the database_index&lt;br /&gt;
  cp -r /wynton/home/shoichetlab/kingbo/scripts/step1-reformat-split_database_index/step1-reformat-split_database_index-version2.pl ./&lt;br /&gt;
  cp -r /wynton/home/shoichetlab/kingbo/scripts/step1-reformat-split_database_index/check-split.list.new ./&lt;br /&gt;
  perl step1-reformat-split_database_index-version2.pl database_index&lt;br /&gt;
  check the new database_index file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=Using_Wynton&amp;diff=11879</id>
		<title>Using Wynton</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=Using_Wynton&amp;diff=11879"/>
		<updated>2019-07-26T18:37:24Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here is how to use Wynton with DOCK/ZINC&lt;br /&gt;
&lt;br /&gt;
https://ucsf-hpc.github.io/wynton/status/index.html&lt;br /&gt;
&lt;br /&gt;
* 1 get an account @ https://ucsf-hpc.github.io/wynton/about/join.html&lt;br /&gt;
* 2 login&lt;br /&gt;
 $ &#039;&#039;&#039;ssh &amp;lt;username&amp;gt;@wynlog1.compbio.ucsf.edu&#039;&#039;&#039;&lt;br /&gt;
    OR&lt;br /&gt;
 $ &#039;&#039;&#039;$ ssh &amp;lt;username&amp;gt;@log2.wynton.ucsf.edu&#039;&#039;&#039;&lt;br /&gt;
* 3 here are the disks:&lt;br /&gt;
 [benwong@wynlog1 ~]$ &#039;&#039;&#039;ls -lh /bks&#039;&#039;&#039; &lt;br /&gt;
 total 93K&lt;br /&gt;
 drwxr-xr-x.  8 root  root    8 Oct  7  2018 ex1&lt;br /&gt;
 drwxr-xr-x. 10 root  root   10 Oct  7  2018 ex2&lt;br /&gt;
 drwxr-xr-x. 19 root  root   19 Oct  7  2018 ex3&lt;br /&gt;
 drwxr-xr-x.  9 root  root    9 Oct  7  2018 ex4&lt;br /&gt;
 drwxr-xr-x. 14 root  root   14 Oct  7  2018 ex5&lt;br /&gt;
 drwxr-xr-x.  9 root  root    9 Oct  7  2018 ex6&lt;br /&gt;
 drwxr-xr-x.  8 root  root    8 Jul 17  2018 ex7&lt;br /&gt;
 drwxr-xr-x.  8 root  root    8 May  3  2018 ex8&lt;br /&gt;
 drwxr-xr-x. 10 root  root   10 Jun 11 16:15 ex9&lt;br /&gt;
 drwxrwxr-x. 67 42024 1010 4.0K Mar 15 15:18 soft&lt;br /&gt;
 drwxr-xr-x. 46 root  root 4.0K Sep 17  2018 work&lt;br /&gt;
&lt;br /&gt;
NOTE: wynton uses automount.  /bks will appear empty until you specifically ls the disk you want.  ls /bks may appear blank but if you do ls /bks/soft or /bks/ex9, the disk should automatically mount when you list it.  If it&#039;s not working, then something&#039;s wrong. &lt;br /&gt;
&lt;br /&gt;
* 4 here is the script &lt;br /&gt;
  updated by xiaobo wan (2019/7/26)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_lysine_inhibitor_design_tutorial&amp;diff=11632</id>
		<title>DOCKovalent lysine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_lysine_inhibitor_design_tutorial&amp;diff=11632"/>
		<updated>2019-04-11T16:52:57Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: Created page with &amp;quot; This was written on April 4, 2018.   This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).   These file ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary product without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
  bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCK_3.7&amp;diff=11631</id>
		<title>DOCK 3.7</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCK_3.7&amp;diff=11631"/>
		<updated>2019-04-11T16:52:44Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: /* For DOCKovalent, start here */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About = &lt;br /&gt;
&lt;br /&gt;
DOCK 3.7 the current version in the [[DOCK 3]] series of docking programs developed and used by the [[Shoichet Lab]]. Please read and cite the DOCK 3.7 paper&lt;br /&gt;
[http://www.plosone.org/article/info:doi/10.1371/journal.pone.0075992 Coleman, Carchia, Sterling, Irwin &amp;amp; Shoichet, PLOS ONE 2013.]&lt;br /&gt;
&lt;br /&gt;
DOCK 3.7 is written in Fortran and some C. It is an update of [[DOCK 3.6]] with many improved features. DOCK 3.7 comes with all the tools necessary to prepare a &lt;br /&gt;
protein for docking and some tools necessary to build ligands, though some tools must be obtained externally. It uses new Flexibase/DB2 files found in [[ZINC15]]. It includes tools to prepare receptors, and several auxiliary scripts.&lt;br /&gt;
&lt;br /&gt;
DOCK 3.7 is available at  [http://dock.compbio.ucsf.edu/DOCK3.7/ http://dock.compbio.ucsf.edu/DOCK3.7/].&lt;br /&gt;
&lt;br /&gt;
{{TOCright}}&lt;br /&gt;
&lt;br /&gt;
= Start here =&lt;br /&gt;
* [[So you want to set up a lab]] - only if you don&#039;t already have hardware ready.&lt;br /&gt;
* [[Install DOCK 3.7]]&lt;br /&gt;
* [[DOCK 3.7 2014/09/25 FXa Tutorial]]&lt;br /&gt;
* [[DOCK 3.7 2015/04/15 abl1 Tutorial]] superseded&lt;br /&gt;
* [[DOCK 3.7 2018/06/05 abl1 Tutorial]]&lt;br /&gt;
* [[DOCK 3.7 2016/09/16 Tutorial for Enrichment Calculations (Trent &amp;amp;  Jiankun)]]&lt;br /&gt;
* [[DOCK 3.7 tutorial (Anat)]]&lt;br /&gt;
* [[DOCK 3.7 with GIST tutorials]]&lt;br /&gt;
* [[DOCK 3.7 tutorial based on Webinar 2017/06/28]]&lt;br /&gt;
* [[Getting started with DOCK 3.7]]&lt;br /&gt;
* [[Blastermaster]] - Prepare input for and then run [[DOCK 3.7]].&lt;br /&gt;
* [[Ligand preparation 3.7]] - Create dockable databases for [[DOCK 3.7]].&lt;br /&gt;
* [[Ligand preparation]] - different version. &lt;br /&gt;
* [[Ligand prep Irwin Nov 2016]] - John&#039;s current version&lt;br /&gt;
* [[Mol2db2 Format 2]] - details on the database formate.&lt;br /&gt;
* [[Running docking 3.7]] - how to actually run docking.&lt;br /&gt;
* [[DOCK 3.7 Development]] - for software developers&lt;br /&gt;
=== For DOCKovalent, start here ===&lt;br /&gt;
* [[DOCKovalent_3.7]]&lt;br /&gt;
* [[DOCKovalent lysine inhibitor design tutorial]]&lt;br /&gt;
* [[DOCKovalent cysteine inhibitor design tutorial]]&lt;br /&gt;
&lt;br /&gt;
= Prepare Receptor = &lt;br /&gt;
* [[Protein Target Preparation]]&lt;br /&gt;
* [[Using_thin_spheres_in_DOCK3.7]]&lt;br /&gt;
* [[Adding Static Waters to the Protein Structure]]&lt;br /&gt;
* [[Flexible Docking]]&lt;br /&gt;
* [[Visualize docking grids]]&lt;br /&gt;
* [[Minimize protein-ligand complex with AMBER]]&lt;br /&gt;
* [[Minimize protein-covalent ligand complex with AMBER]]&lt;br /&gt;
&lt;br /&gt;
= Prepare Screening Library =&lt;br /&gt;
* [[mol2db2]] is the program that creates [[mol2db2 format]] database files which are read by [[DOCK 3.7]]&lt;br /&gt;
* [[ligand preparation 3.7]]&lt;br /&gt;
* [[generating decoys (Reed&#039;s way)]]&lt;br /&gt;
&lt;br /&gt;
= Running Docking =&lt;br /&gt;
* [[Running docking 3.7]] - JJI currently working on this.&lt;br /&gt;
* [[Running DOCK 3.7]] - this seems to be slightly dated.&lt;br /&gt;
* [[INDOCK 3.7]] - file format used by [[DOCK 3.7]]&lt;br /&gt;
* [[DOCK3.7_INDOCK_Minimization_Parameter]] - How to run DOCK 3.7.1rc1 (and latter versions) with the minimization.&lt;br /&gt;
* Interpreting the [[OUTDOCK 3.7]] file.&lt;br /&gt;
&lt;br /&gt;
= Analysis =&lt;br /&gt;
* [[Analyzing DOCK Results]]&lt;br /&gt;
* [http://autodude.docking.org/ Auto-DUD-E Test Set] (external site) &lt;br /&gt;
* [[Other Useful Stuff]]&lt;br /&gt;
* [[Bootstrap AUC]]&lt;br /&gt;
&lt;br /&gt;
= Post Docking Clustering=&lt;br /&gt;
* [[How to process results from a large-scale docking]] &lt;br /&gt;
* [[Large-scale SMILES Requesting and Fingerprints Converting]]&lt;br /&gt;
* [[ECFP4 Best First Clustering]]&lt;br /&gt;
* [[Bemis-Murcko Scaffold Analysis]]&lt;br /&gt;
&lt;br /&gt;
= Post Docking Filters=&lt;br /&gt;
* [[Large-scale TC Calculations]]&lt;br /&gt;
* [[Whole Library TC to Knowns Calculations]]&lt;br /&gt;
* [[Filtering ligands for novelty]]&lt;br /&gt;
= Redocking with Enhanced Sampling =&lt;br /&gt;
*[[Sample Additional Ring Puckers ]]&lt;br /&gt;
= Rescoring =&lt;br /&gt;
*[[Rescoring_with_DOCK_3.7]]&lt;br /&gt;
&lt;br /&gt;
= Available Libraries = &lt;br /&gt;
* [[ZINC Subset DB2 file locations]]&lt;br /&gt;
* how to get db2 files from zinc15.docking.org&lt;br /&gt;
&lt;br /&gt;
= Analog by Catalog= &lt;br /&gt;
* [[Substructure searching]]&lt;br /&gt;
* [[TC analog searching in ZINC]]&lt;br /&gt;
&lt;br /&gt;
= Previous verisons and compatibility = &lt;br /&gt;
DOCK 3.7 is part of the [[DOCK 3]] series. It differs substantially from its immediate predecessor [[DOCK 3.6]],&lt;br /&gt;
which uses a different format of database files that cannot be read by [[DOCK 3.7]], and vice versa. &lt;br /&gt;
&lt;br /&gt;
= How to Cite = &lt;br /&gt;
To cite the DOCK 3.7 paper, please use&lt;br /&gt;
[http://www.plosone.org/article/info:doi/10.1371/journal.pone.0075992 Coleman, Carchia, Sterling, Irwin &amp;amp; Shoichet, PLOS ONE 2013.]&lt;br /&gt;
&lt;br /&gt;
= How to Download = &lt;br /&gt;
DOCK 3.7 is available at  [http://dock.compbio.ucsf.edu/DOCK3.7/ http://dock.compbio.ucsf.edu/DOCK3.7/].&lt;br /&gt;
&lt;br /&gt;
= Implementation = &lt;br /&gt;
DOCK 3.7 is written in Fortran and some C. Scripts are mostly in [[python]] and [[perl]].&lt;br /&gt;
&lt;br /&gt;
{{Template:CC-BY-SA-30}}&lt;br /&gt;
{{Template:Coleman}}&lt;br /&gt;
&lt;br /&gt;
[[Category:DOCK 3.7]]&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Freecom]]&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_lysine_inihibitor_design_tutorial&amp;diff=11630</id>
		<title>DOCKovalent lysine inihibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_lysine_inihibitor_design_tutorial&amp;diff=11630"/>
		<updated>2019-04-11T16:51:36Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: Created page with &amp;quot; This was written on April 4, 2018.   This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).   These file ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary product without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
  bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCK_3.7&amp;diff=11629</id>
		<title>DOCK 3.7</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCK_3.7&amp;diff=11629"/>
		<updated>2019-04-11T16:49:37Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: /* For DOCKovalent, start here */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About = &lt;br /&gt;
&lt;br /&gt;
DOCK 3.7 the current version in the [[DOCK 3]] series of docking programs developed and used by the [[Shoichet Lab]]. Please read and cite the DOCK 3.7 paper&lt;br /&gt;
[http://www.plosone.org/article/info:doi/10.1371/journal.pone.0075992 Coleman, Carchia, Sterling, Irwin &amp;amp; Shoichet, PLOS ONE 2013.]&lt;br /&gt;
&lt;br /&gt;
DOCK 3.7 is written in Fortran and some C. It is an update of [[DOCK 3.6]] with many improved features. DOCK 3.7 comes with all the tools necessary to prepare a &lt;br /&gt;
protein for docking and some tools necessary to build ligands, though some tools must be obtained externally. It uses new Flexibase/DB2 files found in [[ZINC15]]. It includes tools to prepare receptors, and several auxiliary scripts.&lt;br /&gt;
&lt;br /&gt;
DOCK 3.7 is available at  [http://dock.compbio.ucsf.edu/DOCK3.7/ http://dock.compbio.ucsf.edu/DOCK3.7/].&lt;br /&gt;
&lt;br /&gt;
{{TOCright}}&lt;br /&gt;
&lt;br /&gt;
= Start here =&lt;br /&gt;
* [[So you want to set up a lab]] - only if you don&#039;t already have hardware ready.&lt;br /&gt;
* [[Install DOCK 3.7]]&lt;br /&gt;
* [[DOCK 3.7 2014/09/25 FXa Tutorial]]&lt;br /&gt;
* [[DOCK 3.7 2015/04/15 abl1 Tutorial]] superseded&lt;br /&gt;
* [[DOCK 3.7 2018/06/05 abl1 Tutorial]]&lt;br /&gt;
* [[DOCK 3.7 2016/09/16 Tutorial for Enrichment Calculations (Trent &amp;amp;  Jiankun)]]&lt;br /&gt;
* [[DOCK 3.7 tutorial (Anat)]]&lt;br /&gt;
* [[DOCK 3.7 with GIST tutorials]]&lt;br /&gt;
* [[DOCK 3.7 tutorial based on Webinar 2017/06/28]]&lt;br /&gt;
* [[Getting started with DOCK 3.7]]&lt;br /&gt;
* [[Blastermaster]] - Prepare input for and then run [[DOCK 3.7]].&lt;br /&gt;
* [[Ligand preparation 3.7]] - Create dockable databases for [[DOCK 3.7]].&lt;br /&gt;
* [[Ligand preparation]] - different version. &lt;br /&gt;
* [[Ligand prep Irwin Nov 2016]] - John&#039;s current version&lt;br /&gt;
* [[Mol2db2 Format 2]] - details on the database formate.&lt;br /&gt;
* [[Running docking 3.7]] - how to actually run docking.&lt;br /&gt;
* [[DOCK 3.7 Development]] - for software developers&lt;br /&gt;
=== For DOCKovalent, start here ===&lt;br /&gt;
* [[DOCKovalent_3.7]]&lt;br /&gt;
* [[DOCKovalent lysine inihibitor design tutorial]]&lt;br /&gt;
* [[DOCKovalent cysteine inhibitor design tutorial]]&lt;br /&gt;
&lt;br /&gt;
= Prepare Receptor = &lt;br /&gt;
* [[Protein Target Preparation]]&lt;br /&gt;
* [[Using_thin_spheres_in_DOCK3.7]]&lt;br /&gt;
* [[Adding Static Waters to the Protein Structure]]&lt;br /&gt;
* [[Flexible Docking]]&lt;br /&gt;
* [[Visualize docking grids]]&lt;br /&gt;
* [[Minimize protein-ligand complex with AMBER]]&lt;br /&gt;
* [[Minimize protein-covalent ligand complex with AMBER]]&lt;br /&gt;
&lt;br /&gt;
= Prepare Screening Library =&lt;br /&gt;
* [[mol2db2]] is the program that creates [[mol2db2 format]] database files which are read by [[DOCK 3.7]]&lt;br /&gt;
* [[ligand preparation 3.7]]&lt;br /&gt;
* [[generating decoys (Reed&#039;s way)]]&lt;br /&gt;
&lt;br /&gt;
= Running Docking =&lt;br /&gt;
* [[Running docking 3.7]] - JJI currently working on this.&lt;br /&gt;
* [[Running DOCK 3.7]] - this seems to be slightly dated.&lt;br /&gt;
* [[INDOCK 3.7]] - file format used by [[DOCK 3.7]]&lt;br /&gt;
* [[DOCK3.7_INDOCK_Minimization_Parameter]] - How to run DOCK 3.7.1rc1 (and latter versions) with the minimization.&lt;br /&gt;
* Interpreting the [[OUTDOCK 3.7]] file.&lt;br /&gt;
&lt;br /&gt;
= Analysis =&lt;br /&gt;
* [[Analyzing DOCK Results]]&lt;br /&gt;
* [http://autodude.docking.org/ Auto-DUD-E Test Set] (external site) &lt;br /&gt;
* [[Other Useful Stuff]]&lt;br /&gt;
* [[Bootstrap AUC]]&lt;br /&gt;
&lt;br /&gt;
= Post Docking Clustering=&lt;br /&gt;
* [[How to process results from a large-scale docking]] &lt;br /&gt;
* [[Large-scale SMILES Requesting and Fingerprints Converting]]&lt;br /&gt;
* [[ECFP4 Best First Clustering]]&lt;br /&gt;
* [[Bemis-Murcko Scaffold Analysis]]&lt;br /&gt;
&lt;br /&gt;
= Post Docking Filters=&lt;br /&gt;
* [[Large-scale TC Calculations]]&lt;br /&gt;
* [[Whole Library TC to Knowns Calculations]]&lt;br /&gt;
* [[Filtering ligands for novelty]]&lt;br /&gt;
= Redocking with Enhanced Sampling =&lt;br /&gt;
*[[Sample Additional Ring Puckers ]]&lt;br /&gt;
= Rescoring =&lt;br /&gt;
*[[Rescoring_with_DOCK_3.7]]&lt;br /&gt;
&lt;br /&gt;
= Available Libraries = &lt;br /&gt;
* [[ZINC Subset DB2 file locations]]&lt;br /&gt;
* how to get db2 files from zinc15.docking.org&lt;br /&gt;
&lt;br /&gt;
= Analog by Catalog= &lt;br /&gt;
* [[Substructure searching]]&lt;br /&gt;
* [[TC analog searching in ZINC]]&lt;br /&gt;
&lt;br /&gt;
= Previous verisons and compatibility = &lt;br /&gt;
DOCK 3.7 is part of the [[DOCK 3]] series. It differs substantially from its immediate predecessor [[DOCK 3.6]],&lt;br /&gt;
which uses a different format of database files that cannot be read by [[DOCK 3.7]], and vice versa. &lt;br /&gt;
&lt;br /&gt;
= How to Cite = &lt;br /&gt;
To cite the DOCK 3.7 paper, please use&lt;br /&gt;
[http://www.plosone.org/article/info:doi/10.1371/journal.pone.0075992 Coleman, Carchia, Sterling, Irwin &amp;amp; Shoichet, PLOS ONE 2013.]&lt;br /&gt;
&lt;br /&gt;
= How to Download = &lt;br /&gt;
DOCK 3.7 is available at  [http://dock.compbio.ucsf.edu/DOCK3.7/ http://dock.compbio.ucsf.edu/DOCK3.7/].&lt;br /&gt;
&lt;br /&gt;
= Implementation = &lt;br /&gt;
DOCK 3.7 is written in Fortran and some C. Scripts are mostly in [[python]] and [[perl]].&lt;br /&gt;
&lt;br /&gt;
{{Template:CC-BY-SA-30}}&lt;br /&gt;
{{Template:Coleman}}&lt;br /&gt;
&lt;br /&gt;
[[Category:DOCK 3.7]]&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Freecom]]&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=GPCR_Waiver_Wire&amp;diff=11500</id>
		<title>GPCR Waiver Wire</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=GPCR_Waiver_Wire&amp;diff=11500"/>
		<updated>2019-02-24T16:49:36Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: /* Project waiver order: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;THIS SEEMS DEAD, BUT CAN EASILY BE REVIVED.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When new projects come into the lab, the person on the top of the order gets first choice to either take or pass the project. The project will be moved down the order until it is claimed. Once a person claims a project, they will be moved to the bottom of the order. This process ideally ensures a fair process for determining who gets new projects and allows those that don&#039;t speak up as much to have a fair chance of getting a new, great project. Passing on a project will not effect the position in the order since not all projects are suitable for all persons. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Brian reserves the right to change the order at any time for any reason, e.g. passing on too many projects, new member in lab getting bumped up, etc...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Updated guidelines: ==&lt;br /&gt;
a. People get first refusal for projects in the order they are listed.  If they choose and are placed on a project they go to the bottom of the list.&lt;br /&gt;
&lt;br /&gt;
b. Occasionally projects will come along where Brian feels someone has particular expertise or history.  Brian reserves the right to over-rule the waiver list order in these circumstances.&lt;br /&gt;
&lt;br /&gt;
c. On the GPCR projects teams have worked out very well.  There must be a more senior partner and a more junior partner in these collaborations, if only because there is only one first co-first author.  To encourage collaboration, anyone who volunteers to be the more junior partner in a project will not lose their place on the waiver list.  Please discuss with the senior partner first to ensure compatibility.  &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Project waiver order: ==&lt;br /&gt;
&lt;br /&gt;
*Shuo Gu&lt;br /&gt;
*Jiankun Lyu&lt;br /&gt;
*Ying Yang&lt;br /&gt;
*Shiming Peng&lt;br /&gt;
*Chase Webb&lt;br /&gt;
*Brian Bender&lt;br /&gt;
*Stefan Gahbauer&lt;br /&gt;
*Reed Stein&lt;br /&gt;
*Xiaobo Wan&lt;br /&gt;
*Isha Singh&lt;br /&gt;
*Matt O&#039;Meara&lt;br /&gt;
*Anat Levit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Obsolete]]&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10840</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10840"/>
		<updated>2018-07-19T01:02:24Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
 library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
 for a single smile (single-smile-generation) addSiH3-to-dimethylamino-acrylamide&lt;br /&gt;
 python addSiH3-to-dimethylamino-acrylamide.py input-ligand.smi&lt;br /&gt;
 python step3-remove_doubles.py addSiH3.smi&lt;br /&gt;
 file file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/single-smile-generation/no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different cysteine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-cys-rotamers&lt;br /&gt;
find the modification cys number in the PDB&lt;br /&gt;
 echo &amp;quot;4iqy-A-AR6      A       104&amp;quot;&amp;gt;&amp;gt;cys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  4iqy-A-AR6&lt;br /&gt;
In the window of chimera, select all of the 3 cysteine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format CYS-4iqy-A-AR6.pdb&lt;br /&gt;
Then, to generate all 3 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash ../step1_run_build_system.sh 4iqy-A-AR6&lt;br /&gt;
 results&lt;br /&gt;
 4iqA-A-AR6     0 contacts&lt;br /&gt;
 4iqB-A-AR6     0 contacts&lt;br /&gt;
 4iqC-A-AR6     1 contacts&lt;br /&gt;
 4iqA-A-AR6     O3&#039;     16.951&lt;br /&gt;
 4iqB-A-AR6     O3&#039;     16.951&lt;br /&gt;
 Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 4iqA-A-AR6  box_margin(6) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_rigid                   1000000000000.0&lt;br /&gt;
  number_save                   100&lt;br /&gt;
  number_write                  100&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  electrostatic_scale           1.0&lt;br /&gt;
  vdw_scale                     1.0&lt;br /&gt;
  bond_len                      1.77&lt;br /&gt;
  bond_ang1                     124.18&lt;br /&gt;
  bond_ang2                     120.84&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter (exclusion criteria that ligands should form hydrogen bonds with the protein, and the ligand should form one hydrogen bond with protein)&lt;br /&gt;
&lt;br /&gt;
Prepare&lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the covalent modified cys in this file )&lt;br /&gt;
&lt;br /&gt;
Define in the file qsub_fix-pipeline-for-dock-and-filter.sh&lt;br /&gt;
&lt;br /&gt;
  scriptsdir=&lt;br /&gt;
&lt;br /&gt;
  ligdir=&lt;br /&gt;
&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (4iqA-A-AR6)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
  bash qsub_fix-pipeline-for-dock-and-filter.sh run.list lib1&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
  &lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step2-1-combine-check-job.sh lib1&lt;br /&gt;
       Input file :&lt;br /&gt;
       1) the ligand library folder name (lib1)&lt;br /&gt;
&lt;br /&gt;
extract the docking poses (you can also use your own scripts to process your data)&lt;br /&gt;
&lt;br /&gt;
        bash step2-3-rank-poses.sh lib1&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the ligand library folder name (lib1)&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
   cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
&lt;br /&gt;
First, extract the each pose&lt;br /&gt;
&lt;br /&gt;
 perl step1-split-poses.pl uniq.analysis.hqVA-M-ASF.dat.pdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
prepare the list for each linker containing charge information (default:0)&lt;br /&gt;
&lt;br /&gt;
  bash qsub_run_automatic_pipeline_for_amber_minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-C000032628502-1-5 0&lt;br /&gt;
  INDOCK.bump1000000000000.pose1000.20.5.5-C000032628502-1-5  is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;br /&gt;
&lt;br /&gt;
==Step 8 8-pose-benchmark-systems==&lt;br /&gt;
From paper 1 the https://code.google.com/archive/p/covalentdock/downloads&lt;br /&gt;
&lt;br /&gt;
 76 systems (have&#039;t tested yet)&lt;br /&gt;
&lt;br /&gt;
From Schrondinger covalent datasets 38 systems&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10839</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10839"/>
		<updated>2018-07-19T00:44:08Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: /* Step 6 Run the minimization and MM/GBSA rescoreing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
 library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
 for a single smile (single-smile-generation) addSiH3-to-dimethylamino-acrylamide&lt;br /&gt;
 python addSiH3-to-dimethylamino-acrylamide.py input-ligand.smi&lt;br /&gt;
 python step3-remove_doubles.py addSiH3.smi&lt;br /&gt;
 file file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/single-smile-generation/no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different cysteine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-cys-rotamers&lt;br /&gt;
find the modification cys number in the PDB&lt;br /&gt;
 echo &amp;quot;4iqy-A-AR6      A       104&amp;quot;&amp;gt;&amp;gt;cys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  4iqy-A-AR6&lt;br /&gt;
In the window of chimera, select all of the 3 cysteine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format CYS-4iqy-A-AR6.pdb&lt;br /&gt;
Then, to generate all 3 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash ../step1_run_build_system.sh 4iqy-A-AR6&lt;br /&gt;
 results&lt;br /&gt;
 4iqA-A-AR6     0 contacts&lt;br /&gt;
 4iqB-A-AR6     0 contacts&lt;br /&gt;
 4iqC-A-AR6     1 contacts&lt;br /&gt;
 4iqA-A-AR6     O3&#039;     16.951&lt;br /&gt;
 4iqB-A-AR6     O3&#039;     16.951&lt;br /&gt;
 Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 4iqA-A-AR6  box_margin(6) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_rigid                   1000000000000.0&lt;br /&gt;
  number_save                   100&lt;br /&gt;
  number_write                  100&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  electrostatic_scale           1.0&lt;br /&gt;
  vdw_scale                     1.0&lt;br /&gt;
  bond_len                      1.77&lt;br /&gt;
  bond_ang1                     124.18&lt;br /&gt;
  bond_ang2                     120.84&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter (exclusion criteria that ligands should form hydrogen bonds with the protein, and the ligand should form one hydrogen bond with protein)&lt;br /&gt;
&lt;br /&gt;
Prepare&lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the covalent modified cys in this file )&lt;br /&gt;
&lt;br /&gt;
Define in the file qsub_fix-pipeline-for-dock-and-filter.sh&lt;br /&gt;
&lt;br /&gt;
  scriptsdir=&lt;br /&gt;
&lt;br /&gt;
  ligdir=&lt;br /&gt;
&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (4iqA-A-AR6)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
  bash qsub_fix-pipeline-for-dock-and-filter.sh run.list lib1&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
  &lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step2-1-combine-check-job.sh lib1&lt;br /&gt;
       Input file :&lt;br /&gt;
       1) the ligand library folder name (lib1)&lt;br /&gt;
&lt;br /&gt;
extract the docking poses (you can also use your own scripts to process your data)&lt;br /&gt;
&lt;br /&gt;
        bash step2-3-rank-poses.sh lib1&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the ligand library folder name (lib1)&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
   cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
&lt;br /&gt;
First, extract the each pose&lt;br /&gt;
&lt;br /&gt;
 perl step1-split-poses.pl uniq.analysis.hqVA-M-ASF.dat.pdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
prepare the list for each linker containing charge information (default:0)&lt;br /&gt;
&lt;br /&gt;
  bash qsub_run_automatic_pipeline_for_amber_minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-C000032628502-1-5 0&lt;br /&gt;
  INDOCK.bump1000000000000.pose1000.20.5.5-C000032628502-1-5  is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10838</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10838"/>
		<updated>2018-07-19T00:13:06Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: /* Step 5 Analysis and combine the top1 pose from different structures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
 library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
 for a single smile (single-smile-generation) addSiH3-to-dimethylamino-acrylamide&lt;br /&gt;
 python addSiH3-to-dimethylamino-acrylamide.py input-ligand.smi&lt;br /&gt;
 python step3-remove_doubles.py addSiH3.smi&lt;br /&gt;
 file file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/single-smile-generation/no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different cysteine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-cys-rotamers&lt;br /&gt;
find the modification cys number in the PDB&lt;br /&gt;
 echo &amp;quot;4iqy-A-AR6      A       104&amp;quot;&amp;gt;&amp;gt;cys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  4iqy-A-AR6&lt;br /&gt;
In the window of chimera, select all of the 3 cysteine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format CYS-4iqy-A-AR6.pdb&lt;br /&gt;
Then, to generate all 3 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash ../step1_run_build_system.sh 4iqy-A-AR6&lt;br /&gt;
 results&lt;br /&gt;
 4iqA-A-AR6     0 contacts&lt;br /&gt;
 4iqB-A-AR6     0 contacts&lt;br /&gt;
 4iqC-A-AR6     1 contacts&lt;br /&gt;
 4iqA-A-AR6     O3&#039;     16.951&lt;br /&gt;
 4iqB-A-AR6     O3&#039;     16.951&lt;br /&gt;
 Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 4iqA-A-AR6  box_margin(6) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_rigid                   1000000000000.0&lt;br /&gt;
  number_save                   100&lt;br /&gt;
  number_write                  100&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  electrostatic_scale           1.0&lt;br /&gt;
  vdw_scale                     1.0&lt;br /&gt;
  bond_len                      1.77&lt;br /&gt;
  bond_ang1                     124.18&lt;br /&gt;
  bond_ang2                     120.84&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter (exclusion criteria that ligands should form hydrogen bonds with the protein, and the ligand should form one hydrogen bond with protein)&lt;br /&gt;
&lt;br /&gt;
Prepare&lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the covalent modified cys in this file )&lt;br /&gt;
&lt;br /&gt;
Define in the file qsub_fix-pipeline-for-dock-and-filter.sh&lt;br /&gt;
&lt;br /&gt;
  scriptsdir=&lt;br /&gt;
&lt;br /&gt;
  ligdir=&lt;br /&gt;
&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (4iqA-A-AR6)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
  bash qsub_fix-pipeline-for-dock-and-filter.sh run.list lib1&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
  &lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step2-1-combine-check-job.sh lib1&lt;br /&gt;
       Input file :&lt;br /&gt;
       1) the ligand library folder name (lib1)&lt;br /&gt;
&lt;br /&gt;
extract the docking poses (you can also use your own scripts to process your data)&lt;br /&gt;
&lt;br /&gt;
        bash step2-3-rank-poses.sh lib1&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the ligand library folder name (lib1)&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10837</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10837"/>
		<updated>2018-07-19T00:12:40Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
 library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
 for a single smile (single-smile-generation) addSiH3-to-dimethylamino-acrylamide&lt;br /&gt;
 python addSiH3-to-dimethylamino-acrylamide.py input-ligand.smi&lt;br /&gt;
 python step3-remove_doubles.py addSiH3.smi&lt;br /&gt;
 file file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/single-smile-generation/no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different cysteine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-cys-rotamers&lt;br /&gt;
find the modification cys number in the PDB&lt;br /&gt;
 echo &amp;quot;4iqy-A-AR6      A       104&amp;quot;&amp;gt;&amp;gt;cys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  4iqy-A-AR6&lt;br /&gt;
In the window of chimera, select all of the 3 cysteine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format CYS-4iqy-A-AR6.pdb&lt;br /&gt;
Then, to generate all 3 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash ../step1_run_build_system.sh 4iqy-A-AR6&lt;br /&gt;
 results&lt;br /&gt;
 4iqA-A-AR6     0 contacts&lt;br /&gt;
 4iqB-A-AR6     0 contacts&lt;br /&gt;
 4iqC-A-AR6     1 contacts&lt;br /&gt;
 4iqA-A-AR6     O3&#039;     16.951&lt;br /&gt;
 4iqB-A-AR6     O3&#039;     16.951&lt;br /&gt;
 Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 4iqA-A-AR6  box_margin(6) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_rigid                   1000000000000.0&lt;br /&gt;
  number_save                   100&lt;br /&gt;
  number_write                  100&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  electrostatic_scale           1.0&lt;br /&gt;
  vdw_scale                     1.0&lt;br /&gt;
  bond_len                      1.77&lt;br /&gt;
  bond_ang1                     124.18&lt;br /&gt;
  bond_ang2                     120.84&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter (exclusion criteria that ligands should form hydrogen bonds with the protein, and the ligand should form one hydrogen bond with protein)&lt;br /&gt;
&lt;br /&gt;
Prepare&lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the covalent modified cys in this file )&lt;br /&gt;
&lt;br /&gt;
Define in the file qsub_fix-pipeline-for-dock-and-filter.sh&lt;br /&gt;
&lt;br /&gt;
  scriptsdir=&lt;br /&gt;
&lt;br /&gt;
  ligdir=&lt;br /&gt;
&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (4iqA-A-AR6)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
  bash qsub_fix-pipeline-for-dock-and-filter.sh run.list lib1&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
  &lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step2-1-combine-check-job.sh lib1&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the ligand library folder name (lib1)&lt;br /&gt;
&lt;br /&gt;
extract the docking poses (you can also use the your own scripts to process your data)&lt;br /&gt;
&lt;br /&gt;
        bash step2-3-rank-poses.sh lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the ligand library folder name (lib1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10836</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10836"/>
		<updated>2018-07-19T00:03:43Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: /* Step 4  run the covalent docking in gimel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
 library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
 for a single smile (single-smile-generation) addSiH3-to-dimethylamino-acrylamide&lt;br /&gt;
 python addSiH3-to-dimethylamino-acrylamide.py input-ligand.smi&lt;br /&gt;
 python step3-remove_doubles.py addSiH3.smi&lt;br /&gt;
 file file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/single-smile-generation/no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different cysteine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-cys-rotamers&lt;br /&gt;
find the modification cys number in the PDB&lt;br /&gt;
 echo &amp;quot;4iqy-A-AR6      A       104&amp;quot;&amp;gt;&amp;gt;cys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  4iqy-A-AR6&lt;br /&gt;
In the window of chimera, select all of the 3 cysteine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format CYS-4iqy-A-AR6.pdb&lt;br /&gt;
Then, to generate all 3 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash ../step1_run_build_system.sh 4iqy-A-AR6&lt;br /&gt;
 results&lt;br /&gt;
 4iqA-A-AR6     0 contacts&lt;br /&gt;
 4iqB-A-AR6     0 contacts&lt;br /&gt;
 4iqC-A-AR6     1 contacts&lt;br /&gt;
 4iqA-A-AR6     O3&#039;     16.951&lt;br /&gt;
 4iqB-A-AR6     O3&#039;     16.951&lt;br /&gt;
 Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 4iqA-A-AR6  box_margin(6) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_rigid                   1000000000000.0&lt;br /&gt;
  number_save                   100&lt;br /&gt;
  number_write                  100&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  electrostatic_scale           1.0&lt;br /&gt;
  vdw_scale                     1.0&lt;br /&gt;
  bond_len                      1.77&lt;br /&gt;
  bond_ang1                     124.18&lt;br /&gt;
  bond_ang2                     120.84&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter (exclusion criteria that ligands should form hydrogen bonds with the protein, and the ligand should form one hydrogen bond with protein)&lt;br /&gt;
&lt;br /&gt;
Prepare&lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the covalent modified cys in this file )&lt;br /&gt;
&lt;br /&gt;
Define in the file qsub_fix-pipeline-for-dock-and-filter.sh&lt;br /&gt;
&lt;br /&gt;
  scriptsdir=&lt;br /&gt;
&lt;br /&gt;
  ligdir=&lt;br /&gt;
&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (4iqA-A-AR6)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
  bash qsub_fix-pipeline-for-dock-and-filter.sh run.list lib1&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10835</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10835"/>
		<updated>2018-07-19T00:03:26Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: /* Step 4  run the covalent docking in gimel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
 library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
 for a single smile (single-smile-generation) addSiH3-to-dimethylamino-acrylamide&lt;br /&gt;
 python addSiH3-to-dimethylamino-acrylamide.py input-ligand.smi&lt;br /&gt;
 python step3-remove_doubles.py addSiH3.smi&lt;br /&gt;
 file file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/single-smile-generation/no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different cysteine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-cys-rotamers&lt;br /&gt;
find the modification cys number in the PDB&lt;br /&gt;
 echo &amp;quot;4iqy-A-AR6      A       104&amp;quot;&amp;gt;&amp;gt;cys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  4iqy-A-AR6&lt;br /&gt;
In the window of chimera, select all of the 3 cysteine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format CYS-4iqy-A-AR6.pdb&lt;br /&gt;
Then, to generate all 3 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash ../step1_run_build_system.sh 4iqy-A-AR6&lt;br /&gt;
 results&lt;br /&gt;
 4iqA-A-AR6     0 contacts&lt;br /&gt;
 4iqB-A-AR6     0 contacts&lt;br /&gt;
 4iqC-A-AR6     1 contacts&lt;br /&gt;
 4iqA-A-AR6     O3&#039;     16.951&lt;br /&gt;
 4iqB-A-AR6     O3&#039;     16.951&lt;br /&gt;
 Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 4iqA-A-AR6  box_margin(6) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_rigid                   1000000000000.0&lt;br /&gt;
  number_save                   100&lt;br /&gt;
  number_write                  100&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  electrostatic_scale           1.0&lt;br /&gt;
  vdw_scale                     1.0&lt;br /&gt;
  bond_len                      1.77&lt;br /&gt;
  bond_ang1                     124.18&lt;br /&gt;
  bond_ang2                     120.84&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter (exclusion criteria that ligands should form hydrogen bonds with the protein, and the ligand should form one hydrogen bond with protein)&lt;br /&gt;
&lt;br /&gt;
Prepare&lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the covalent modified cys in this file )&lt;br /&gt;
&lt;br /&gt;
Define in the file qsub_fix-pipeline-for-dock-and-filter.sh&lt;br /&gt;
&lt;br /&gt;
scriptsdir=&lt;br /&gt;
ligdir=&lt;br /&gt;
&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (4iqA-A-AR6)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
  bash qsub_fix-pipeline-for-dock-and-filter.sh run.list lib1&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10834</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10834"/>
		<updated>2018-07-19T00:02:19Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: /* Step 4  run the covalent docking in gimel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
 library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
 for a single smile (single-smile-generation) addSiH3-to-dimethylamino-acrylamide&lt;br /&gt;
 python addSiH3-to-dimethylamino-acrylamide.py input-ligand.smi&lt;br /&gt;
 python step3-remove_doubles.py addSiH3.smi&lt;br /&gt;
 file file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/single-smile-generation/no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different cysteine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-cys-rotamers&lt;br /&gt;
find the modification cys number in the PDB&lt;br /&gt;
 echo &amp;quot;4iqy-A-AR6      A       104&amp;quot;&amp;gt;&amp;gt;cys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  4iqy-A-AR6&lt;br /&gt;
In the window of chimera, select all of the 3 cysteine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format CYS-4iqy-A-AR6.pdb&lt;br /&gt;
Then, to generate all 3 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash ../step1_run_build_system.sh 4iqy-A-AR6&lt;br /&gt;
 results&lt;br /&gt;
 4iqA-A-AR6     0 contacts&lt;br /&gt;
 4iqB-A-AR6     0 contacts&lt;br /&gt;
 4iqC-A-AR6     1 contacts&lt;br /&gt;
 4iqA-A-AR6     O3&#039;     16.951&lt;br /&gt;
 4iqB-A-AR6     O3&#039;     16.951&lt;br /&gt;
 Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 4iqA-A-AR6  box_margin(6) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_rigid                   1000000000000.0&lt;br /&gt;
  number_save                   100&lt;br /&gt;
  number_write                  100&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  electrostatic_scale           1.0&lt;br /&gt;
  vdw_scale                     1.0&lt;br /&gt;
  bond_len                      1.77&lt;br /&gt;
  bond_ang1                     124.18&lt;br /&gt;
  bond_ang2                     120.84&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter (exclusion criteria that ligands should form hydrogen bonds with the protein, and the ligand should form one hydrogen bond with protein)&lt;br /&gt;
&lt;br /&gt;
Prepare&lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the covalent modified cys in this file )&lt;br /&gt;
&lt;br /&gt;
Define in the file&lt;br /&gt;
scriptsdir=qsub_fix-pipeline-for-dock-and-filter.sh&lt;br /&gt;
ligdir=&lt;br /&gt;
&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (4iqA-A-AR6)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
  bash qsub_fix-pipeline-for-dock-and-filter.sh run.list lib1&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10833</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10833"/>
		<updated>2018-07-18T23:51:30Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
 library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
 for a single smile (single-smile-generation) addSiH3-to-dimethylamino-acrylamide&lt;br /&gt;
 python addSiH3-to-dimethylamino-acrylamide.py input-ligand.smi&lt;br /&gt;
 python step3-remove_doubles.py addSiH3.smi&lt;br /&gt;
 file file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/single-smile-generation/no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different cysteine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-cys-rotamers&lt;br /&gt;
find the modification cys number in the PDB&lt;br /&gt;
 echo &amp;quot;4iqy-A-AR6      A       104&amp;quot;&amp;gt;&amp;gt;cys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  4iqy-A-AR6&lt;br /&gt;
In the window of chimera, select all of the 3 cysteine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format CYS-4iqy-A-AR6.pdb&lt;br /&gt;
Then, to generate all 3 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash ../step1_run_build_system.sh 4iqy-A-AR6&lt;br /&gt;
 results&lt;br /&gt;
 4iqA-A-AR6     0 contacts&lt;br /&gt;
 4iqB-A-AR6     0 contacts&lt;br /&gt;
 4iqC-A-AR6     1 contacts&lt;br /&gt;
 4iqA-A-AR6     O3&#039;     16.951&lt;br /&gt;
 4iqB-A-AR6     O3&#039;     16.951&lt;br /&gt;
 Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 4iqA-A-AR6  box_margin(6) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_rigid                   1000000000000.0&lt;br /&gt;
  number_save                   100&lt;br /&gt;
  number_write                  100&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  electrostatic_scale           1.0&lt;br /&gt;
  vdw_scale                     1.0&lt;br /&gt;
  bond_len                      1.77&lt;br /&gt;
  bond_ang1                     124.18&lt;br /&gt;
  bond_ang2                     120.84&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
  bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10832</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10832"/>
		<updated>2018-07-18T23:49:52Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
 library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
 for a single smile (single-smile-generation) addSiH3-to-dimethylamino-acrylamide&lt;br /&gt;
 python addSiH3-to-dimethylamino-acrylamide.py input-ligand.smi&lt;br /&gt;
 python step3-remove_doubles.py addSiH3.smi&lt;br /&gt;
 file file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/single-smile-generation/no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different cysteine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-cys-rotamers&lt;br /&gt;
find the modification cys number in the PDB&lt;br /&gt;
 echo &amp;quot;4iqy-A-AR6      A       104&amp;quot;&amp;gt;&amp;gt;cys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  4iqy-A-AR6&lt;br /&gt;
In the window of chimera, select all of the 3 cysteine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format CYS-4iqy-A-AR6.pdb&lt;br /&gt;
Then, to generate all 3 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash ../step1_run_build_system.sh 4iqy-A-AR6&lt;br /&gt;
 results&lt;br /&gt;
 4iqA-A-AR6     0 contacts&lt;br /&gt;
 4iqB-A-AR6     0 contacts&lt;br /&gt;
 4iqC-A-AR6     1 contacts&lt;br /&gt;
 4iqA-A-AR6     O3&#039;     16.951&lt;br /&gt;
 4iqB-A-AR6     O3&#039;     16.951&lt;br /&gt;
 Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 4iqA-A-AR6  box_margin(6) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_rigid                   1000000000000.0&lt;br /&gt;
number_save                   100&lt;br /&gt;
number_write                  100&lt;br /&gt;
molecules_maximum             100000&lt;br /&gt;
electrostatic_scale           1.0&lt;br /&gt;
vdw_scale                     1.0&lt;br /&gt;
bond_len                      1.77&lt;br /&gt;
bond_ang1                     124.18&lt;br /&gt;
bond_ang2                     120.84&lt;br /&gt;
len_range                     0.0&lt;br /&gt;
len_step                      0.1&lt;br /&gt;
ang1_range                    20.0&lt;br /&gt;
ang2_range                    20.0&lt;br /&gt;
ang1_step                     5&lt;br /&gt;
ang2_step                     5&lt;br /&gt;
check_clashes                 no&lt;br /&gt;
per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
  bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10831</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10831"/>
		<updated>2018-07-18T23:46:29Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
 library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
 for a single smile (single-smile-generation) addSiH3-to-dimethylamino-acrylamide&lt;br /&gt;
 python addSiH3-to-dimethylamino-acrylamide.py input-ligand.smi&lt;br /&gt;
 python step3-remove_doubles.py addSiH3.smi&lt;br /&gt;
 file file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/single-smile-generation/no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different cysteine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-cys-rotamers&lt;br /&gt;
find the modification cys number in the PDB&lt;br /&gt;
 echo &amp;quot;4iqy-A-AR6      A       104&amp;quot;&amp;gt;&amp;gt;cys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  4iqy-A-AR6&lt;br /&gt;
In the window of chimera, select all of the 3 cysteine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format CYS-4iqy-A-AR6.pdb&lt;br /&gt;
Then, to generate all 3 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash ../step1_run_build_system.sh 4iqy-A-AR6&lt;br /&gt;
 results&lt;br /&gt;
 4iqA-A-AR6     0 contacts&lt;br /&gt;
 4iqB-A-AR6     0 contacts&lt;br /&gt;
 4iqC-A-AR6     1 contacts&lt;br /&gt;
 4iqA-A-AR6     O3&#039;     16.951&lt;br /&gt;
 4iqB-A-AR6     O3&#039;     16.951&lt;br /&gt;
 Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 4iqA-A-AR6  box_margin(6) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
  bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10830</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10830"/>
		<updated>2018-07-18T23:14:06Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
 library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
 for a single smile (single-smile-generation) addSiH3-to-dimethylamino-acrylamide&lt;br /&gt;
 python addSiH3-to-dimethylamino-acrylamide.py input-ligand.smi&lt;br /&gt;
 python step3-remove_doubles.py addSiH3.smi&lt;br /&gt;
 file file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/single-smile-generation/no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
  bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10829</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10829"/>
		<updated>2018-07-18T22:22:07Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
 library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
  bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10828</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10828"/>
		<updated>2018-07-18T22:21:36Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
  bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10827</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10827"/>
		<updated>2018-07-18T22:20:36Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
  bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10826</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10826"/>
		<updated>2018-07-18T22:20:20Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: /* Step 1. Custom Ligand and Library Generation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
  bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10825</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10825"/>
		<updated>2018-07-18T22:20:00Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
  bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10824</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10824"/>
		<updated>2018-07-18T22:19:36Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
library 1:  search the acrylamide in the ZINC15 database (ask John to put your builded library in ZINC15)&lt;br /&gt;
 login into http://zinc15.docking.org/patterns/home/, search acrylamide in pattern&lt;br /&gt;
 found 1: Acrylamide-Terminal, [CD1]=[CD2]-C(=O)-[NX3]    Purchase is 84576&lt;br /&gt;
 File:    /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acrylamide/library1-70587-ZINC15-acrylamide-library.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex9/work/xiaobo/new_covalent_lib/acrylamides/lib1&lt;br /&gt;
&lt;br /&gt;
 library 2: aldehyde-based-cyanoacrylamides&lt;br /&gt;
 Search the aldehyde from ZINC15, and only-single-aldehyde-aromatic-for-sale+bb.smi 145960&lt;br /&gt;
 one step synthesis&lt;br /&gt;
        python aldehyde-to-cyanoacryl.py only-single-aldehyde-aromatic-for-sale+bb.smi&lt;br /&gt;
        python step3-remove_doubles.py reaction_nocorina_out.ism&lt;br /&gt;
 File:&lt;br /&gt;
        /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/aldehyde-based-cyanoacrylamides/145956-aldehyde-based-cyanoacrylamides.smi&lt;br /&gt;
 db2 file  in /mnt/nfs/ex7/work/xiaobo/new_covalent_lib/2017-6-8-cyanoacrylamide&lt;br /&gt;
&lt;br /&gt;
 library 3: ~184,900 Enamine acids + Boc-diamine + acrylic acid library&lt;br /&gt;
 filter3-selected_acids_2150.smi the most common 2150 Enamine acids fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python step1-SN1-diamines-CO2H.py filter3-selected_acids_2150.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file: /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/acids-Boc-acrylic-acid/final-acids-Boc-acrylic-acid.smi    184900&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-acids-Boc-acrylic-acid/acd2&lt;br /&gt;
&lt;br /&gt;
 library 4: ~145,508 Sulfonyl Chloride + Boc-diamine + acrylaic acid library&lt;br /&gt;
 filter4-1677.sulfonyl_chlorides.smi the most common 1677 Enamine sulfonyl_chlorides fro Enamine&lt;br /&gt;
 83-Boc_diamines.smi  the most common 83 Boc from Enamine&lt;br /&gt;
 two step synthesis&lt;br /&gt;
 python SN1-diamines-CO2H.py filter4-1677.sulfonyl_chlorides.smi 83-Boc_diamines.smi&lt;br /&gt;
 python step2-reaction-acrylic-acid.py in.smi&lt;br /&gt;
 pyton step3-remove_doubles.py in2.smi&lt;br /&gt;
 final file :  /nfs/home/xiaobo/UCSF_scripts/2018-7-17-covalent_cys_wiki-tutorial/1-Custom-Ligand-Library-Generation/sulfonyl_chloride_Boc-acrylic-acid/final-sulfonyl_chloride_Boc-acrylic-acid.smi&lt;br /&gt;
 db2 file in  /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc1&lt;br /&gt;
              /mnt/nfs/ex7/work/xiaobo/2017-6-30-sulfonyl_chloride_Boc-acrylic-acid/suc2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
  bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10823</id>
		<title>DOCKovalent cysteine inhibitor design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_cysteine_inhibitor_design_tutorial&amp;diff=10823"/>
		<updated>2018-07-17T19:47:55Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: Created page with &amp;quot; This was written on April 4, 2018.   This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).   These file ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary product without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
  bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCK_3.7&amp;diff=10822</id>
		<title>DOCK 3.7</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCK_3.7&amp;diff=10822"/>
		<updated>2018-07-17T19:40:02Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About = &lt;br /&gt;
&lt;br /&gt;
DOCK 3.7 the current version in the [[DOCK 3]] series of docking programs developed and used by the [[Shoichet Lab]]. Please read and cite the DOCK 3.7 paper&lt;br /&gt;
[http://www.plosone.org/article/info:doi/10.1371/journal.pone.0075992 Coleman, Carchia, Sterling, Irwin &amp;amp; Shoichet, PLOS ONE 2013.]&lt;br /&gt;
&lt;br /&gt;
DOCK 3.7 is written in Fortran and some C. It is an update of [[DOCK 3.6]] with many improved features. DOCK 3.7 comes with all the tools necessary to prepare a &lt;br /&gt;
protein for docking and some tools necessary to build ligands, though some tools must be obtained externally. It uses new Flexibase/DB2 files found in [[ZINC15]]. It includes tools to prepare receptors, and several auxiliary scripts.&lt;br /&gt;
&lt;br /&gt;
DOCK 3.7 is available at  [http://dock.compbio.ucsf.edu/DOCK3.7/ http://dock.compbio.ucsf.edu/DOCK3.7/].&lt;br /&gt;
&lt;br /&gt;
{{TOCright}}&lt;br /&gt;
&lt;br /&gt;
= Start here =&lt;br /&gt;
* [[So you want to set up a lab]] - only if you don&#039;t already have hardware ready.&lt;br /&gt;
* [[Install DOCK 3.7]]&lt;br /&gt;
* [[DOCK 3.7 2014/09/25 FXa Tutorial]]&lt;br /&gt;
* [[DOCK 3.7 2015/04/15 abl1 Tutorial]] superseded&lt;br /&gt;
* [[DOCK 3.7 2018/06/05 abl1 Tutorial]]&lt;br /&gt;
* [[DOCK 3.7 2016/09/16 Tutorial for Enrichment Calculations (Trent &amp;amp;  Jiankun)]]&lt;br /&gt;
* [[DOCK 3.7 tutorial (Anat)]]&lt;br /&gt;
* [[DOCK 3.7 with GIST tutorials]]&lt;br /&gt;
* [[DOCK 3.7 tutorial based on Webinar 2017/06/28]]&lt;br /&gt;
* [[Getting started with DOCK 3.7]]&lt;br /&gt;
* [[Blastermaster]] - Prepare input for and then run [[DOCK 3.7]].&lt;br /&gt;
* [[Ligand preparation 3.7]] - Create dockable databases for [[DOCK 3.7]].&lt;br /&gt;
* [[Ligand preparation]] - different version. &lt;br /&gt;
* [[Ligand prep Irwin Nov 2016]] - John&#039;s current version&lt;br /&gt;
* [[Mol2db2 Format 2]] - details on the database formate.&lt;br /&gt;
* [[Running docking 3.7]] - how to actually run docking.&lt;br /&gt;
* [[DOCK 3.7 Development]] - for software developers&lt;br /&gt;
=== For DOCKovalent, start here ===&lt;br /&gt;
* [[DOCKovalent_3.7]]&lt;br /&gt;
* [[DOCKovalent linker design tutorial]]&lt;br /&gt;
* [[DOCKovalent cysteine inhibitor design tutorial]]&lt;br /&gt;
&lt;br /&gt;
= Prepare Receptor = &lt;br /&gt;
* [[Protein Target Preparation]]&lt;br /&gt;
* [[Adding Static Waters to the Protein Structure]]&lt;br /&gt;
* [[Flexible Docking]]&lt;br /&gt;
* [[Visualize docking grids]]&lt;br /&gt;
* [[Minimize protein-ligand complex with AMBER]]&lt;br /&gt;
&lt;br /&gt;
= Prepare Screening Library =&lt;br /&gt;
* [[mol2db2]] is the program that creates [[mol2db2 format]] database files which are read by [[DOCK 3.7]]&lt;br /&gt;
* [[ligand preparation 3.7]]&lt;br /&gt;
* [[generating decoys (Reed&#039;s way)]]&lt;br /&gt;
&lt;br /&gt;
= Running Docking =&lt;br /&gt;
* [[Running docking 3.7]] - JJI currently working on this.&lt;br /&gt;
* [[Running DOCK 3.7]] - this seems to be slightly dated.&lt;br /&gt;
* [[INDOCK 3.7]] - file format used by [[DOCK 3.7]]&lt;br /&gt;
* [[DOCK3.7_INDOCK_Minimization_Parameter]] - How to run DOCK 3.7.1rc1 (and latter versions) with the minimization.&lt;br /&gt;
* Interpreting the [[OUTDOCK 3.7]] file.&lt;br /&gt;
&lt;br /&gt;
= Analysis =&lt;br /&gt;
* [[Analyzing DOCK Results]]&lt;br /&gt;
* [http://autodude.docking.org/ Auto-DUD-E Test Set] (external site) &lt;br /&gt;
* [[Other Useful Stuff]]&lt;br /&gt;
&lt;br /&gt;
= Post Docking Clustering=&lt;br /&gt;
* [[How to process results from a large-scale docking]] &lt;br /&gt;
* [[Large-scale SMILES Requesting and Fingerprints Converting]]&lt;br /&gt;
* [[ECFP4 Best First Clustering]]&lt;br /&gt;
* [[Bemis-Murcko Scaffold Analysis]]&lt;br /&gt;
&lt;br /&gt;
= Post Docking Filters=&lt;br /&gt;
* [[Large-scale TC Calculations]]&lt;br /&gt;
* [[Whole Library TC to Knowns Calculations]]&lt;br /&gt;
= Redocking with Enhanced Sampling =&lt;br /&gt;
*[[Sample Additional Ring Puckers ]]&lt;br /&gt;
= Rescoring =&lt;br /&gt;
*[[Rescoring_with_DOCK_3.7]]&lt;br /&gt;
&lt;br /&gt;
= Available Libraries = &lt;br /&gt;
* [[ZINC Subset DB2 file locations]]&lt;br /&gt;
* how to get db2 files from zinc15.docking.org&lt;br /&gt;
&lt;br /&gt;
= Analog by Catalog= &lt;br /&gt;
* [[Substructure searching]]&lt;br /&gt;
* [[TC analog searching in ZINC]]&lt;br /&gt;
&lt;br /&gt;
= Previous verisons and compatibility = &lt;br /&gt;
DOCK 3.7 is part of the [[DOCK 3]] series. It differs substantially from its immediate predecessor [[DOCK 3.6]],&lt;br /&gt;
which uses a different format of database files that cannot be read by [[DOCK 3.7]], and vice versa. &lt;br /&gt;
&lt;br /&gt;
= How to Cite = &lt;br /&gt;
To cite the DOCK 3.7 paper, please use&lt;br /&gt;
[http://www.plosone.org/article/info:doi/10.1371/journal.pone.0075992 Coleman, Carchia, Sterling, Irwin &amp;amp; Shoichet, PLOS ONE 2013.]&lt;br /&gt;
&lt;br /&gt;
= How to Download = &lt;br /&gt;
DOCK 3.7 is available at  [http://dock.compbio.ucsf.edu/DOCK3.7/ http://dock.compbio.ucsf.edu/DOCK3.7/].&lt;br /&gt;
&lt;br /&gt;
= Implementation = &lt;br /&gt;
DOCK 3.7 is written in Fortran and some C. Scripts are mostly in [[python]] and [[perl]].&lt;br /&gt;
&lt;br /&gt;
{{Template:CC-BY-SA-30}}&lt;br /&gt;
{{Template:Coleman}}&lt;br /&gt;
&lt;br /&gt;
[[Category:DOCK 3.7]]&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Freecom]]&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutorial&amp;diff=10763</id>
		<title>DOCKovalent linker design tutorial</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutorial&amp;diff=10763"/>
		<updated>2018-06-18T20:08:55Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: Created page with &amp;quot; This was written on April 4, 2018.   This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).   These file ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary product without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
  bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCK_3.7&amp;diff=10762</id>
		<title>DOCK 3.7</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCK_3.7&amp;diff=10762"/>
		<updated>2018-06-18T20:07:30Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: /* For DOCKovalent, start here */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About = &lt;br /&gt;
&lt;br /&gt;
DOCK 3.7 the current version in the [[DOCK 3]] series of docking programs developed and used by the [[Shoichet Lab]]. Please read and cite the DOCK 3.7 paper&lt;br /&gt;
[http://www.plosone.org/article/info:doi/10.1371/journal.pone.0075992 Coleman, Carchia, Sterling, Irwin &amp;amp; Shoichet, PLOS ONE 2013.]&lt;br /&gt;
&lt;br /&gt;
DOCK 3.7 is written in Fortran and some C. It is an update of [[DOCK 3.6]] with many improved features. DOCK 3.7 comes with all the tools necessary to prepare a &lt;br /&gt;
protein for docking and some tools necessary to build ligands, though some tools must be obtained externally. It uses new Flexibase/DB2 files found in [[ZINC15]]. It includes tools to prepare receptors, and several auxiliary scripts.&lt;br /&gt;
&lt;br /&gt;
DOCK 3.7 is available at  [http://dock.compbio.ucsf.edu/DOCK3.7/ http://dock.compbio.ucsf.edu/DOCK3.7/].&lt;br /&gt;
&lt;br /&gt;
{{TOCright}}&lt;br /&gt;
&lt;br /&gt;
= Start here =&lt;br /&gt;
* [[So you want to set up a lab]] - only if you don&#039;t already have hardware ready.&lt;br /&gt;
* [[Install DOCK 3.7]]&lt;br /&gt;
* [[DOCK 3.7 2014/09/25 FXa Tutorial]]&lt;br /&gt;
* [[DOCK 3.7 2015/04/15 abl1 Tutorial]] superseded&lt;br /&gt;
* [[DOCK 3.7 2018/06/05 abl1 Tutorial]]&lt;br /&gt;
* [[DOCK 3.7 2016/09/16 Tutorial for Enrichment Calculations (Trent &amp;amp;  Jiankun)]]&lt;br /&gt;
* [[DOCK 3.7 tutorial (Anat)]]&lt;br /&gt;
* [[DOCK 3.7 with GIST tutorials]]&lt;br /&gt;
* [[DOCK 3.7 tutorial based on Webinar 2017/06/28]]&lt;br /&gt;
* [[Getting started with DOCK 3.7]]&lt;br /&gt;
* [[Blastermaster]] - Prepare input for and then run [[DOCK 3.7]].&lt;br /&gt;
* [[Ligand preparation 3.7]] - Create dockable databases for [[DOCK 3.7]].&lt;br /&gt;
* [[Ligand preparation]] - different version. &lt;br /&gt;
* [[Ligand prep Irwin Nov 2016]] - John&#039;s current version&lt;br /&gt;
* [[Mol2db2 Format 2]] - details on the database formate.&lt;br /&gt;
* [[Running docking 3.7]] - how to actually run docking.&lt;br /&gt;
* [[DOCK 3.7 Development]] - for software developers&lt;br /&gt;
=== For DOCKovalent, start here ===&lt;br /&gt;
* [[DOCKovalent_3.7]]&lt;br /&gt;
* [[DOCKovalent linker design tutorial]]&lt;br /&gt;
&lt;br /&gt;
= Prepare Receptor = &lt;br /&gt;
* [[Protein Target Preparation]]&lt;br /&gt;
* [[Adding Static Waters to the Protein Structure]]&lt;br /&gt;
* [[Flexible Docking]]&lt;br /&gt;
* [[Visualize docking grids]]&lt;br /&gt;
* [[Minimize protein-ligand complex with AMBER]]&lt;br /&gt;
&lt;br /&gt;
= Prepare Screening Library =&lt;br /&gt;
* [[mol2db2]] is the program that creates [[mol2db2 format]] database files which are read by [[DOCK 3.7]]&lt;br /&gt;
* [[ligand preparation 3.7]]&lt;br /&gt;
* [[generating decoys (Reed&#039;s way)]]&lt;br /&gt;
&lt;br /&gt;
= Running Docking =&lt;br /&gt;
* [[Running docking 3.7]] - JJI currently working on this.&lt;br /&gt;
* [[Running DOCK 3.7]] - this seems to be slightly dated.&lt;br /&gt;
* [[INDOCK 3.7]] - file format used by [[DOCK 3.7]]&lt;br /&gt;
* [[DOCK3.7_INDOCK_Minimization_Parameter]] - How to run DOCK 3.7.1rc1 (and latter versions) with the minimization.&lt;br /&gt;
* Interpreting the [[OUTDOCK 3.7]] file.&lt;br /&gt;
&lt;br /&gt;
= Analysis =&lt;br /&gt;
* [[Analyzing DOCK Results]]&lt;br /&gt;
* [http://autodude.docking.org/ Auto-DUD-E Test Set] (external site) &lt;br /&gt;
* [[Other Useful Stuff]]&lt;br /&gt;
&lt;br /&gt;
= Post Docking Clustering=&lt;br /&gt;
* [[How to process results from a large-scale docking]] &lt;br /&gt;
* [[Large-scale SMILES Requesting and Fingerprints Converting]]&lt;br /&gt;
* [[ECFP4 Best First Clustering]]&lt;br /&gt;
* [[Bemis-Murcko Scaffold Analysis]]&lt;br /&gt;
&lt;br /&gt;
= Post Docking Filters=&lt;br /&gt;
* [[Large-scale TC Calculations]]&lt;br /&gt;
* [[Whole Library TC to Knowns Calculations]]&lt;br /&gt;
&lt;br /&gt;
= Available Libraries = &lt;br /&gt;
* [[ZINC Subset DB2 file locations]]&lt;br /&gt;
* how to get db2 files from zinc15.docking.org&lt;br /&gt;
&lt;br /&gt;
= Analog by Catalog= &lt;br /&gt;
* [[Substructure searching]]&lt;br /&gt;
* [[TC analog searching in ZINC]]&lt;br /&gt;
&lt;br /&gt;
= Previous verisons and compatibility = &lt;br /&gt;
DOCK 3.7 is part of the [[DOCK 3]] series. It differs substantially from its immediate predecessor [[DOCK 3.6]],&lt;br /&gt;
which uses a different format of database files that cannot be read by [[DOCK 3.7]], and vice versa. &lt;br /&gt;
&lt;br /&gt;
= How to Cite = &lt;br /&gt;
To cite the DOCK 3.7 paper, please use&lt;br /&gt;
[http://www.plosone.org/article/info:doi/10.1371/journal.pone.0075992 Coleman, Carchia, Sterling, Irwin &amp;amp; Shoichet, PLOS ONE 2013.]&lt;br /&gt;
&lt;br /&gt;
= How to Download = &lt;br /&gt;
DOCK 3.7 is available at  [http://dock.compbio.ucsf.edu/DOCK3.7/ http://dock.compbio.ucsf.edu/DOCK3.7/].&lt;br /&gt;
&lt;br /&gt;
= Implementation = &lt;br /&gt;
DOCK 3.7 is written in Fortran and some C. Scripts are mostly in [[python]] and [[perl]].&lt;br /&gt;
&lt;br /&gt;
{{Template:CC-BY-SA-30}}&lt;br /&gt;
{{Template:Coleman}}&lt;br /&gt;
&lt;br /&gt;
[[Category:DOCK 3.7]]&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Freecom]]&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10630</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10630"/>
		<updated>2018-04-06T00:21:40Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary product without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
  bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10629</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10629"/>
		<updated>2018-04-06T00:20:50Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary product without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This script will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10628</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10628"/>
		<updated>2018-04-06T00:19:26Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary product without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
 log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10627</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10627"/>
		<updated>2018-04-06T00:17:56Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary product without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10626</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10626"/>
		<updated>2018-04-06T00:16:51Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary products without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MM/GBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10620</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10620"/>
		<updated>2018-04-05T19:51:29Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary products without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 pose from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MMGBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10619</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10619"/>
		<updated>2018-04-05T03:14:00Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary products without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
 2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
 1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
 2) the ligand library folder name (lib1)&lt;br /&gt;
 3) the linker name list (lib1.list)&lt;br /&gt;
bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 poses from different structures==&lt;br /&gt;
&lt;br /&gt;
  cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
&lt;br /&gt;
  bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MMGBSA rescoreing==&lt;br /&gt;
&lt;br /&gt;
  cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
  bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
  bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
  cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
  cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10618</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10618"/>
		<updated>2018-04-05T03:11:25Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary products without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare &lt;br /&gt;
1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        3) the linker name list (lib1.list)&lt;br /&gt;
bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 poses from different structures==&lt;br /&gt;
 cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MMGBSA rescoreing==&lt;br /&gt;
cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing these two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10617</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10617"/>
		<updated>2018-04-05T03:10:39Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary products without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
 cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
        2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        3) the linker name list (lib1.list)&lt;br /&gt;
bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 poses from different structures==&lt;br /&gt;
 cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MMGBSA rescoreing==&lt;br /&gt;
cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing these two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10616</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10616"/>
		<updated>2018-04-05T03:10:04Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary products without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
 cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
        2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        3) the linker name list (lib1.list)&lt;br /&gt;
bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 poses from different structures==&lt;br /&gt;
 cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MMGBSA rescoreing==&lt;br /&gt;
cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing these two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10615</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10615"/>
		<updated>2018-04-05T03:09:15Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary products without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 results&lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
        2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        3) the linker name list (lib1.list)&lt;br /&gt;
bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 poses from different structures==&lt;br /&gt;
cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MMGBSA rescoreing==&lt;br /&gt;
cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing these two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10614</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10614"/>
		<updated>2018-04-05T03:08:34Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary products without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
log into gimel&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
        2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        3) the linker name list (lib1.list)&lt;br /&gt;
bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 poses from different structures==&lt;br /&gt;
cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MMGBSA rescoreing==&lt;br /&gt;
cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing these two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10613</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10613"/>
		<updated>2018-04-05T03:07:13Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        input file: scaffold.ism is the primary products without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
log into gimel&lt;br /&gt;
 setenv DOCKBASE /nfs/soft/dock/versions/dock37/DOCK-3.7-beta9-min&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
        2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        3) the linker name list (lib1.list)&lt;br /&gt;
bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 poses from different structures==&lt;br /&gt;
cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MMGBSA rescoreing==&lt;br /&gt;
cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing these two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10612</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10612"/>
		<updated>2018-04-05T03:06:34Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
&lt;br /&gt;
                        input file: scaffold.ism is the primary products without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
log into gimel&lt;br /&gt;
 setenv DOCKBASE /nfs/soft/dock/versions/dock37/DOCK-3.7-beta9-min&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
        2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        3) the linker name list (lib1.list)&lt;br /&gt;
bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 poses from different structures==&lt;br /&gt;
cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
        bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;br /&gt;
&lt;br /&gt;
==Step 6 Run the minimization and MMGBSA rescoreing==&lt;br /&gt;
cd 6-Run-the-minimization-and-MMGBSA-rescoring&lt;br /&gt;
First, check the protonation state of each linker after when using the chimera to add hydrogen&lt;br /&gt;
second, the different H position of linkers will result in the different labelling number of the attached NH of lysine residue&lt;br /&gt;
prepare the list for each linker containing these two informations in XO44.charge.list file (default:xabs    1       1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
bash step7_fix_prolem_resubmit_MMPBSA.minimization.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB is the folder for runing minimization&lt;br /&gt;
&lt;br /&gt;
after minimization, then run the AMBER MMGBSA rescoring&lt;br /&gt;
bash step10_fix_prolem_resubmit_MMPBSA_score.sh INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB&lt;br /&gt;
&lt;br /&gt;
extract the scoring number for each linker&lt;br /&gt;
bash step6_resubmit.extract_GBscore.sh list&lt;br /&gt;
the list contains (INDOCK.bump1000000000000.pose1000.20.5.5-xo4E-A-X44-X44-meta-xaaa-1-mini_end_GB)&lt;br /&gt;
&lt;br /&gt;
==Step 7 analyze the final pose by chimera==&lt;br /&gt;
cd 7-analyze-the-final-pose-by-chimera&lt;br /&gt;
first sort the linker according to the MMGBSA score&lt;br /&gt;
cat MMGBSA.list | sort -nk 2 &amp;gt;sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
  1-extract the pose without the protein&lt;br /&gt;
  perl fix-step3_extract_best_score_combinepdb_after_minimize.pl sort.MMGBSA.list&lt;br /&gt;
  2-extract the pose with the protein&lt;br /&gt;
  perl fix-step4_extract_best_score_combinepdb_after_minimize_with_rec.pl sort.MMGBSA.list&lt;br /&gt;
&lt;br /&gt;
using the chimera to visualize these poses and select the final linker (save to PDB file)&lt;br /&gt;
&lt;br /&gt;
  save the linker viewdock state: P&lt;br /&gt;
  perl step0-filter_by_the_chimera.pl pdb  to extract the final poses&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10611</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10611"/>
		<updated>2018-04-05T03:04:06Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
&lt;br /&gt;
                        input file: scaffold.ism is the primary products without the SF&lt;br /&gt;
                        output file: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
log into gimel&lt;br /&gt;
 setenv DOCKBASE /nfs/soft/dock/versions/dock37/DOCK-3.7-beta9-min&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
        2)the gate residue file (define the two residue in the SRC kinase domain MET341  VAL399)&lt;br /&gt;
Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        3)the linker name list (lib1.list)&lt;br /&gt;
bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;br /&gt;
&lt;br /&gt;
==Step 5 Analysis and combine the top1 poses from different structures==&lt;br /&gt;
cd 5-Analysis-and-combine-the-top1-poses-from-different-structures&lt;br /&gt;
after the covalent docking, analyze the docking results&lt;br /&gt;
bash step1_extract_the_best_score.sh  structure-list lib1  lib1.list&lt;br /&gt;
       Inputfile :&lt;br /&gt;
       1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
       2) the ligand library folder name (lib1)&lt;br /&gt;
       3) the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
combine the docking results&lt;br /&gt;
       bash step3_combine-best-energy.sh structure-list lib1&lt;br /&gt;
        Input file :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        Output file:&lt;br /&gt;
        1)sort.final.combine-new.aura-A-X63.list.dat    rank all of the top1 pose for each linker&lt;br /&gt;
        2)submit.new.aura-A-X63.list.dat                the name of structure file and linker&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10610</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10610"/>
		<updated>2018-04-05T03:01:28Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
&lt;br /&gt;
                        inputfile: scaffold.ism is the primary products without the SF&lt;br /&gt;
                        outputfile: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
log into gimel&lt;br /&gt;
 setenv DOCKBASE /nfs/soft/dock/versions/dock37/DOCK-3.7-beta9-min&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==Step 3 modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;br /&gt;
&lt;br /&gt;
==Step 4  run the covalent docking in gimel==&lt;br /&gt;
cd 4-run-the-covalent-docking&lt;br /&gt;
&lt;br /&gt;
contain a pharmacophore filter ( exclusion criteria that ligands should form hydrogen bonds with the kinase hinge region, and the shared pyrimidine 3-aminopyrazole scaffold should be within 2 Å compared to the crystal conformation)&lt;br /&gt;
&lt;br /&gt;
Prepare 1)the modified INDOCK file INDOCK.bump1000000000000.pose1000.20.5.5&lt;br /&gt;
        2)the gate residue file (define the two redicue in the SRC kinase domain LYS295  MET341  VAL399)&lt;br /&gt;
Inputfile :&lt;br /&gt;
        1) the list different structure folders (5K9A-B-X44,5K9A-C-X44)&lt;br /&gt;
        2) the ligand library folder name (lib1)&lt;br /&gt;
        3)the linker name list (lib1.list)&lt;br /&gt;
&lt;br /&gt;
  bash /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_cys_wiki-tutorial/4-run-the-covalent-docking/qsub_multipe_jobs structure-list lib1  lib1.list&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10602</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10602"/>
		<updated>2018-04-04T16:34:12Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1: scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
817.zinc.list.smi is the smile of collect 817 different diamine linkers&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                       &lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
&lt;br /&gt;
                        inputfile: scaffold.ism is the primary products without the SF&lt;br /&gt;
                        outputfile: final_scaffold1.smi&lt;br /&gt;
&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
log into gimel&lt;br /&gt;
 setenv DOCKBASE /nfs/soft/dock/versions/dock37/DOCK-3.7-beta9-min&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
In the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;br /&gt;
&lt;br /&gt;
==modify the INDOCK parameters for saving multiple poses ==&lt;br /&gt;
&lt;br /&gt;
cd 3-modify-the-INDOCK-parameters&lt;br /&gt;
change the default parameters for covalent docking&lt;br /&gt;
&lt;br /&gt;
  bump_maximum                  100&lt;br /&gt;
  bump_rigid                    100&lt;br /&gt;
  number_save                   1000&lt;br /&gt;
  number_write                  1000&lt;br /&gt;
  molecules_maximum             100000&lt;br /&gt;
  bond_len                      1.61&lt;br /&gt;
  bond_ang1                     121.02&lt;br /&gt;
  bond_ang2                     107.36&lt;br /&gt;
  len_range                     0.0&lt;br /&gt;
  len_step                      0.1&lt;br /&gt;
  ang1_range                    20.0&lt;br /&gt;
  ang2_range                    20.0&lt;br /&gt;
  ang1_step                     5&lt;br /&gt;
  ang2_step                     5&lt;br /&gt;
  check_clashes                 no&lt;br /&gt;
  per_atom_scores               yes&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10601</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10601"/>
		<updated>2018-04-04T16:26:07Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This was written on April 4, 2018. &lt;br /&gt;
&lt;br /&gt;
This tutorial is for designing linkers for a covalent inhibitor and is supplement the work in preparation (Wan et al 2018).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1:&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                        scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
                        817.zinc.list.smi is the smile of collecte 817 different diamine linkers&lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        inputfile: scaffold.ism is the primary products without the SF&lt;br /&gt;
                        outputfile: final_scaffold1.smi&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
log into gimel&lt;br /&gt;
 setenv DOCKBASE /nfs/soft/dock/versions/dock37/DOCK-3.7-beta9-min&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
in the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10600</id>
		<title>DOCKovalent linker design tutoral</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCKovalent_linker_design_tutoral&amp;diff=10600"/>
		<updated>2018-04-04T16:22:28Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: Created page with &amp;quot;These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial   ==Step 1. Custom Ligand and Library Generation == 1/Custom Ligand / Library Ge...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These file are in the /mnt/nfs/home/xiaobo/UCSF_scripts/2018-4-3-covlanet_lysine_wiki-tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step 1. Custom Ligand and Library Generation ==&lt;br /&gt;
1/Custom Ligand / Library Generation&lt;br /&gt;
 cd 1-Custom-Ligand-Library-Generation&lt;br /&gt;
For meta-SF library building&lt;br /&gt;
&lt;br /&gt;
reaction1:&lt;br /&gt;
&lt;br /&gt;
 python step1-reaction-amines-Br.py scaffod.smi 817.zinc.list.smi&lt;br /&gt;
                        scaffod.smi is the smile of the scaffold for reaction&lt;br /&gt;
                        817.zinc.list.smi is the smile of collecte 817 different diamine linkers&lt;br /&gt;
reaction2:&lt;br /&gt;
 python step2-reaction-SF-meta.py scaffold.ism&lt;br /&gt;
                        inputfile: scaffold.ism is the primary products without the SF&lt;br /&gt;
                        outputfile: final_scaffold1.smi&lt;br /&gt;
reaction3:  remove the doubles&lt;br /&gt;
 python step3-remove_doubles.py final_scaffold1.smi&lt;br /&gt;
                        inputfile:final_scaffold1.smi&lt;br /&gt;
                        outputfile: no_doubles_out.ism&lt;br /&gt;
&lt;br /&gt;
The no_double_out.ism was used to generate db2 file for covalent docking&lt;br /&gt;
log into gimel&lt;br /&gt;
 setenv DOCKBASE /nfs/soft/dock/versions/dock37/DOCK-3.7-beta9-min&lt;br /&gt;
 setenv DOCKBASE /mnt/nfs/home/xiaobo/combine_docknormal_dock_covalent_3.7_and_tart/DOCK_from_githup_2016_5_27&lt;br /&gt;
 /nfs/soft/tools/utils/qsub-slice/qsub-mr-meta -tc 50 --map-instance-script &amp;quot;/nfs/soft/tools/utils/qsub-slice/qsub-mr-map.sh&amp;quot; -s $BUILD_ENVIRONMENT -l 1 no_doubles_out.ism $DOCKBASE/ligand/generate/build_database_ligand.sh --no-db --no-solv --no-mol2 --single --covalent&lt;br /&gt;
&lt;br /&gt;
==Step 2 Protein preparation (different lysine rotamers) ==&lt;br /&gt;
2/Protein preparation (different lysine rotamers)&lt;br /&gt;
 cd 2-Protein-preparation-different-lysine-rotamers&lt;br /&gt;
find the modification lys number in the PDB&lt;br /&gt;
 echo &amp;quot;5K9I-B-X44      B       295&amp;quot;&amp;gt;&amp;gt;lys.list&lt;br /&gt;
 bash step0_prepare_build_system.sh  5K9I-B-X44&lt;br /&gt;
in the window of chimera, select all of the 27 lysine rotamers and click the button of OK. Reselect all the lysine rotamers in the PDB structure, and the save to PDB format LYS-5K9I-B-X44.pdb&lt;br /&gt;
Then, to generate all 28 structure folds, and then automatically calculate the steric clash with nearby residues, and select the rotamer with no steric clashes. This scripts will also calculate the nearest atom of in the compound to the lysine NZ atom&lt;br /&gt;
 bash step1_run_build_system.sh 5K9I-B-X44 &lt;br /&gt;
 5K9E-B-X44      SBH     2.038&lt;br /&gt;
 5K9B-B-X44      SBH     2.321&lt;br /&gt;
 5K9I-B-X44      OBI     2.949&lt;br /&gt;
 5K9L-B-X44      SBH     4.683&lt;br /&gt;
 5K9R-B-X44      OBI     4.925&lt;br /&gt;
Each folder contains rec.pdb and xtal-lig.pdb&lt;br /&gt;
&lt;br /&gt;
For each folder&lt;br /&gt;
 bash step1_DOCKINV.blastermaster.sh 5K9I-B-X44 box_margin(10) 1(covalent docking)&lt;br /&gt;
box_margin is defined from the center of the xtal-lig.pdb file&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DOCK_3.7&amp;diff=10599</id>
		<title>DOCK 3.7</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DOCK_3.7&amp;diff=10599"/>
		<updated>2018-04-04T16:16:08Z</updated>

		<summary type="html">&lt;p&gt;Xiaobo wan: /* For DOCKovalent, start here */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About = &lt;br /&gt;
&lt;br /&gt;
DOCK 3.7 the current version in the [[DOCK 3]] series of docking programs developed and used by the [[Shoichet Lab]]. Please read and cite the DOCK 3.7 paper&lt;br /&gt;
[http://www.plosone.org/article/info:doi/10.1371/journal.pone.0075992 Coleman, Carchia, Sterling, Irwin &amp;amp; Shoichet, PLOS ONE 2013.]&lt;br /&gt;
&lt;br /&gt;
DOCK 3.7 is written in Fortran and some C. It is an update of [[DOCK 3.6]] with many improved features. DOCK 3.7 comes with all the tools necessary to prepare a &lt;br /&gt;
protein for docking and some tools necessary to build ligands, though some tools must be obtained externally. It uses new Flexibase/DB2 files found in [[ZINC15]]. It includes tools to prepare receptors, and several auxiliary scripts.&lt;br /&gt;
&lt;br /&gt;
DOCK 3.7 is available at  [http://dock.compbio.ucsf.edu/DOCK3.7/ http://dock.compbio.ucsf.edu/DOCK3.7/].&lt;br /&gt;
&lt;br /&gt;
{{TOCright}}&lt;br /&gt;
&lt;br /&gt;
= Start here =&lt;br /&gt;
* [[So you want to set up a lab]] - only if you don&#039;t already have hardware ready.&lt;br /&gt;
* [[Install DOCK 3.7]]&lt;br /&gt;
* [[DOCK 3.7 2014/09/25 FXa Tutorial]]&lt;br /&gt;
* [[DOCK 3.7 2015/04/15 abl1 Tutorial]]&lt;br /&gt;
* [[DOCK 3.7 2016/09/16 Tutorial for Enrichment Calculations (Trent &amp;amp;  Jiankun)]]&lt;br /&gt;
* [[DOCK 3.7 tutorial (Anat)]]&lt;br /&gt;
* [[DOCK 3.7 with GIST tutorials]]&lt;br /&gt;
* [[DOCK 3.7 tutorial based on Webinar 2017/06/28]]&lt;br /&gt;
* [[Getting started with DOCK 3.7]]&lt;br /&gt;
* [[Blastermaster]] - Prepare input for and then run [[DOCK 3.7]].&lt;br /&gt;
* [[Ligand preparation 3.7]] - Create dockable databases for [[DOCK 3.7]].&lt;br /&gt;
* [[Ligand preparation]] - different version. &lt;br /&gt;
* [[Ligand prep Irwin Nov 2016]] - John&#039;s current version&lt;br /&gt;
* [[Mol2db2 Format 2]] - details on the database formate.&lt;br /&gt;
* [[Running docking 3.7]] - how to actually run docking.&lt;br /&gt;
* [[DOCK 3.7 Development]] - for software developers&lt;br /&gt;
=== For DOCKovalent, start here ===&lt;br /&gt;
* [[DOCKovalent_3.7]]&lt;br /&gt;
* [[DOCKovalent linker design tutoral]]&lt;br /&gt;
&lt;br /&gt;
= Prepare Receptor = &lt;br /&gt;
* [[Protein Target Preparation]]&lt;br /&gt;
* [[Adding Static Waters to the Protein Structure]]&lt;br /&gt;
* [[Flexible Docking]]&lt;br /&gt;
* [[Visualize docking grids]]&lt;br /&gt;
* [[Minimize protein-ligand complex with AMBER]]&lt;br /&gt;
&lt;br /&gt;
= Prepare Screening Library =&lt;br /&gt;
* [[mol2db2]] is the program that creates [[mol2db2 format]] database files which are read by [[DOCK 3.7]]&lt;br /&gt;
* [[ligand preparation 3.7]]&lt;br /&gt;
* [[generating decoys (Reed&#039;s way)]]&lt;br /&gt;
&lt;br /&gt;
= Running Docking =&lt;br /&gt;
* [[Running docking 3.7]] - JJI currently working on this.&lt;br /&gt;
* [[Running DOCK 3.7]] - this seems to be slightly dated.&lt;br /&gt;
* [[INDOCK 3.7]] - file format used by [[DOCK 3.7]]&lt;br /&gt;
* [[DOCK3.7_INDOCK_Minimization_Parameter]] - How to run DOCK 3.7.1rc1 (and latter versions) with the minimization.&lt;br /&gt;
* Interpreting the [[OUTDOCK 3.7]] file.&lt;br /&gt;
&lt;br /&gt;
= Analysis =&lt;br /&gt;
* [[Analyzing DOCK Results]]&lt;br /&gt;
* [http://autodude.docking.org/ Auto-DUD-E Test Set] (external site) &lt;br /&gt;
* [[Other Useful Stuff]]&lt;br /&gt;
&lt;br /&gt;
= Post Docking Clustering=&lt;br /&gt;
* [[How to process results from a large-scale docking]] &lt;br /&gt;
* [[Large-scale SMILES Requesting and Fingerprints Converting]]&lt;br /&gt;
* [[ECFP4 Best First Clustering]]&lt;br /&gt;
* [[Bemis-Murcko Scaffold Analysis]]&lt;br /&gt;
&lt;br /&gt;
= Post Docking Filters=&lt;br /&gt;
* [[Large-scale TC Calculations]]&lt;br /&gt;
&lt;br /&gt;
= Available Libraries = &lt;br /&gt;
* [[ZINC Subset DB2 file locations]]&lt;br /&gt;
* how to get db2 files from zinc15.docking.org&lt;br /&gt;
&lt;br /&gt;
= Analog by Catalog= &lt;br /&gt;
* [[Substructure searching]]&lt;br /&gt;
* [[TC analog searching in ZINC]]&lt;br /&gt;
&lt;br /&gt;
= Previous verisons and compatibility = &lt;br /&gt;
DOCK 3.7 is part of the [[DOCK 3]] series. It differs substantially from its immediate predecessor [[DOCK 3.6]],&lt;br /&gt;
which uses a different format of database files that cannot be read by [[DOCK 3.7]], and vice versa. &lt;br /&gt;
&lt;br /&gt;
= How to Cite = &lt;br /&gt;
To cite the DOCK 3.7 paper, please use&lt;br /&gt;
[http://www.plosone.org/article/info:doi/10.1371/journal.pone.0075992 Coleman, Carchia, Sterling, Irwin &amp;amp; Shoichet, PLOS ONE 2013.]&lt;br /&gt;
&lt;br /&gt;
= How to Download = &lt;br /&gt;
DOCK 3.7 is available at  [http://dock.compbio.ucsf.edu/DOCK3.7/ http://dock.compbio.ucsf.edu/DOCK3.7/].&lt;br /&gt;
&lt;br /&gt;
= Implementation = &lt;br /&gt;
DOCK 3.7 is written in Fortran and some C. Scripts are mostly in [[python]] and [[perl]].&lt;br /&gt;
&lt;br /&gt;
{{Template:CC-BY-SA-30}}&lt;br /&gt;
{{Template:Coleman}}&lt;br /&gt;
&lt;br /&gt;
[[Category:DOCK 3.7]]&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Freecom]]&lt;/div&gt;</summary>
		<author><name>Xiaobo wan</name></author>
	</entry>
</feed>