Skip to content

msmu.io.read_diann

Reads DIA-NN output and returns a MuData object.

Parameters:

Name Type Description Default
identification_file str | Path | list

Path to the DIA-NN output file or directory.

required
level Literal['precursor', 'protein_group']

Level of the output to read ('precursor' or 'protein_group'). Note: 'protein_group' is not yet implemented.

'precursor'
sdrf_file str | Path | None

Optional SDRF metadata file to merge into obs.

None
validate_sdrf bool

Validate the SDRF with sdrf-pipelines if installed. Default is True.

True

Returns:

Type Description
MuData

A MuData object containing the DIA-NN data.