parse_noe_restraints(lines,
proton1_col=None,
proton2_col=None,
lower_col=None,
upper_col=None,
sep=None)
| source code
|
Parse and return the NOE restraints from the generic formatted
file.
- Parameters:
lines (list of str) - The file, or file fragment, split into lines.
proton1_col (None or int) - The column containing the first proton of the NOE or ROE cross
peak.
proton2_col (None or int) - The column containing the second proton of the NOE or ROE cross
peak.
lower_col (None or int) - The column containing the lower NOE bound.
upper_col (None or int) - The column containing the upper NOE bound.
sep (None or str) - The column separator (the default is white space).
- Returns: list of lists of [str, str, float, float]
- The NOE restraint list in the format of two atom identification
strings and the lower and upper restraints.
|