proteindf_bridge.functions module

proteindf_bridge.functions.get_yaml(data)[source]
Return type:

str

proteindf_bridge.functions.load_atomgroup(brd_path)[source]

load bridge file (msgpack format)

Return type:

AtomGroup

proteindf_bridge.functions.load_msgpack(mpac_path)[source]

load message pack file and return python data

Return type:

Any

proteindf_bridge.functions.load_yaml(yaml_path)[source]
Return type:

Any

proteindf_bridge.functions.locate()[source]

return tuple of (file, function, line number) cf.) https://qiita.com/ymko/items/b46d32b98f013f06d805

Return type:

Tuple[str, str, int]

proteindf_bridge.functions.parse_yaml(yaml_data)[source]
Return type:

List[Any]

proteindf_bridge.functions.save_atomgroup(atomgroup, file_path)[source]

save bridge file (msgpack format)

Return type:

None

proteindf_bridge.functions.save_msgpack(data, mpac_path)[source]

save python data to msgpack file

Return type:

None

proteindf_bridge.functions.save_yaml(data, yaml_path)[source]
Return type:

None

proteindf_bridge.functions.split_residue_key(key)[source]

Split a residue key into (sequence number, insertion code).

Accepts keys matching ^(-?\d+)(\S?)$ and returns (int(res_seq), i_code). If there is no insertion code, i_code is “”. Raises ValueError if key does not match.

Return type:

Tuple[int, str]