Skip to content

Commit

Permalink
update chain name
Browse files Browse the repository at this point in the history
  • Loading branch information
ntxxt authored May 14, 2024
1 parent 147fe0b commit 27480d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/get_fasta.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def pdb_to_fasta(pdb_file_dir, chain_id1, chain_id2):
sequence += three_to_one(residue.get_resname())

# Write the sequence to the file with chain ID
file.write(f">{chain_id}\n")
file.write(f">{pdb_id}.{chain_id}\n")
file.write(sequence + "\n")

def main():
Expand Down

0 comments on commit 27480d9

Please sign in to comment.