### Parsing diffusion output TRB files to extract fixed motif residues
## These residues will not be redesigned with proteinMPNN
mask_json_cmd = f"{PYTHON['general']} {SCRIPT_DIR}/scripts/ligandMPNN/helper_scripts/make_maskdict_from_trb.py --out masked_pos.jsonl --trb"
for d in diffused_backbones_good:
mask_json_cmd += " " + d.replace(".pdb", ".trb")
p = subprocess.Popen(mask_json_cmd, shell=True)
(output, err) = p.communicate()
assert os.path.exists("masked_pos.jsonl"), "Failed to create masked positions JSONL file"
In this part of the pipeline, I don't have the "ligandMPNN" directory inside my scripts. I don't think it is added when I update the submodule either. Anything I may be missing?
In this part of the pipeline, I don't have the "ligandMPNN" directory inside my scripts. I don't think it is added when I update the submodule either. Anything I may be missing?