MCPcopy Create free account
hub / github.com/DunbrackLab/IPSAE / parse_pdb

Function parse_pdb

af2rechain.py:27–30  ·  view source on GitHub ↗
(file_path)

Source from the content-addressed store, hash-verified

25import sys
26
27def parse_pdb(file_path):
28 with open(file_path, 'r') as file:
29 lines = file.readlines()
30 return [line for line in lines if line.startswith('ATOM')]
31
32def rechain_pdb(pdb_data, breakpoints):
33 current_chain_id = 65 # ASCII for 'A'

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected