scripts.data.preprocessing.parseCoords.parseCoords¶
- scripts.data.preprocessing.parseCoords.parseCoords(filename, save=True)[source]¶
Parse coordinates from
.red.pdbfiles, and dump in files if specified.- Parameters:
filename (str) – path to
.red.pdbfilesave (bool, default=True) – whether or not to dump the results
- Returns:
chain_tensors (dict) – Dictionary mapping chain IDs to arrays of atomic coordinates.
seq (str) – Sequence of all chains concatenated.