Commit c128d1aa authored by Andrew Cowie's avatar Andrew Cowie Committed by Copybara-Service
Browse files

Change fasta description used in data pipeline to be chain_<chain number>.

PiperOrigin-RevId: 407584472
Change-Id: Icfa755722ddabff71d27f4a3d07f9e88a409c3a6
parent 0be2b30b
......@@ -202,7 +202,7 @@ class DataPipeline:
msa_output_dir: str,
is_homomer_or_monomer: bool) -> pipeline.FeatureDict:
"""Runs the monomer pipeline on a single chain."""
chain_fasta_str = f'>{description}\n{sequence}\n'
chain_fasta_str = f'>chain_{chain_id}\n{sequence}\n'
chain_msa_output_dir = os.path.join(msa_output_dir, chain_id)
if not os.path.exists(chain_msa_output_dir):
os.makedirs(chain_msa_output_dir)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment