Advertisement
iamrobot

runDpf.sh

Jan 19th, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. for ligand in ../../ligantes/pdbqt/*.pdbqt; do
  4. ligandRen=`echo $ligand | cut -d'/' -f5 | cut -d'.' -f1`
  5. ../../comand/prepare_dpf4.py -l ../../ligantes/pdbqt/${ligandRen}.pdbqt -r NBH_rest2_clu01_top_protein_rigid.pdbqt -p move=../../ligantes/pdbqt/${ligandRen}.pdbqt -p flexres=NBH_rest2_clu01_top_protein_flex.pdbqt -p set_ga=lga -p ga_num_evals=10000000 -p ga_pop_size=300 -p ga_run=100 -o NBH_clu01_${ligandRen}_protein_rigid.dpf
  6. sed '/outlev/i parameter_file ../../comand/AD4.1_bound.dat' NBH_clu01_${ligandRen}_protein_rigid.dpf > ${arqDpfRen}.tmp
  7. sed 's/#/ #/g' ${arqDpfRen}.tmp > NBH_clu01_${ligandRen}_protein_rigid.dpf
  8. rm ${arqDpfRen}.tmp
  9. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement