Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/alphafold3/data/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -1709,12 +1709,15 @@ def process_batch(
for hit, struc in template_hits.get_hits_with_structures()
]

# Preserve any user-supplied templates from the input JSON.
user_templates = list(chain.templates) if chain.templates else []

# Get Foldseek templates and merge
foldseek_tmpls = self._get_foldseek_templates(
chain.sequence
)
templates = self._merge_templates(
pdb_templates, foldseek_tmpls
user_templates + pdb_templates, foldseek_tmpls
)

processed_chain = folding_input.ProteinChain(
Expand Down