Skip to content

Commit

Permalink
Don't break chain when Ca-N distance > 1.8 A
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaMolod committed Nov 26, 2024
1 parent 240551b commit 98886f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alphapulldown/scripts/convert_to_modelcif.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ def _get_entities(
structure = PDBParser().get_structure(cmplx_name, pdb_file)
cif_json["target_entities"] = []
already_seen = []
for seq in PPBuilder().build_peptides(structure):
for seq in PPBuilder(radius=999999999).build_peptides(structure, aa_only=False):
chn_id = seq[0].parent.id
seq = str(seq.get_sequence())
seq_md5 = hashlib.md5(seq.encode()).hexdigest()
Expand Down

0 comments on commit 98886f1

Please sign in to comment.