Skip to content

Commit

Permalink
Change fasta description used in data pipeline to be chain_<chain num…
Browse files Browse the repository at this point in the history
…ber>.

PiperOrigin-RevId: 407584472
Change-Id: Icfa755722ddabff71d27f4a3d07f9e88a409c3a6
  • Loading branch information
andycowie authored and copybara-github committed Nov 4, 2021
1 parent 0be2b30 commit c128d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alphafold/data/pipeline_multimer.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def _process_single_chain(
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)
Expand Down

1 comment on commit c128d1a

@PLACIDE7
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there

Please sign in to comment.