Skip to content

When running alphafold model the peptide tries to connect to mhc #19

@rhinowarrior

Description

@rhinowarrior

The alphafold models can run using swiftTCR but the only problem is that it tries to connect the peptide to the MHC when viewed in PyMol. This is because of this line
command = "pdb_tidy {} | pdb_selchain -A,B,C | pdb_chain -A | pdb_reres -1 > {}".format(str(p_rec), receptor_name)

We can fix this by changing it to this:

  command = (
    "pdb_tidy {} | "  
    "pdb_selchain -A,B | pdb_chain -A | pdb_reres -1000 > mhc.pdb; "  
    "pdb_tidy {} | "  
    "pdb_selchain -C | pdb_chain -A | pdb_reres -1 > pep.pdb; "  
    "pdb_merge pep.pdb mhc.pdb | pdb_tidy > {}; " 
    "rm mhc.pdb pep.pdb"  
    ).format(str(p_rec), str(p_rec), receptor_name)

But this crashes the program because it gives problems in pairwise_rmsd.py so we should really change that code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions