deepfold.common.protein.to_modelcif¶
- deepfold.common.protein.to_modelcif(prot: Protein) str[source]¶
Converts a Protein instance to a ModelCIF string. Chains with identical modelled coordinates will be treated as the same polymer entity. But note that if chains differ in modelled regions, no attempt is made at identifying them as a single polymer entity.
- Parameters:
prot – The protein to convert to PDB.
- Returns:
ModelCIF string.