code: def convert_protein_to_pdbqt(mol: RDKitMol, outfile: str) -> None:
      """Convert a protein PDB file into a pdbqt file.
  
      Writes the extra PDBQT terms directly to `outfile`.
  
      Parameters
      ----------
      mol: rdkit.Chem.rdchem.Mol
          Protein molecule
      outfile: str
          filename which already has a valid pdb representation of mol
      """
      lines = [x.strip() for x in open(outfile).readlines()]
      out_lines = []
      for line in lines:
          if "ROOT" in line or "ENDROOT" in line or "TORSDOF" in line:
              out_lines.append("%s\n" % line)
              continue
          if not line.startswith("ATOM"):
              continue
          line = line[:66]
          atom_index = int(line[6:11])
          atom = mol.GetAtoms()[atom_index - 1]
          line = "%s    +0.000 %s\n" % (line, atom.GetSymbol().ljust(2))
          out_lines.append(line)
      with open(outfile, "w") as fout:
          for line in out_lines:
              fout.write(line)
  
file_path: deepchem/deepchem/utils/pdbqt_utils.py
imports: from typing import Dict, List, Optional, Set, Tuple
  from deepchem.utils.typing import RDKitMol
label_desc: Use image node_id 2 for calling a global function with example usage: convert_protein_to_pdbqt(mol, outfile) without return types