Image bmrb Image document-open


Read BMRB files in the NMR-STAR format.

Defaults, dir=None, version=None, sample_conditions=None)

Keyword arguments

file: The name of the BMRB NMR-STAR formatted file to read.

dir: The directory where the file is located.

version: The version of the BMRB NMR-STAR format to read. This is not necessary as the version is normally auto-detected.

sample_conditions: The sample conditions label in the NMR-STAR file to restrict loading to.


This will allow most of the data from a BMRB NMR-STAR formatted file to be loaded into the relax data store. Note that an empty data pipe should be created for storing the data, and that currently only model-free data pipes can be used. Also, only one sample condition can be read per relax data pipe. Therefore if one of the sample conditions is not specified and multiple conditions exist in the NMR-STAR file, an error will be raised.

The relax user manual (PDF), created 2024-06-08.