# LC-MS/MS run in open mzML format: SILAC-labelled HEK cell lysate on a Q Exactive, 8,098 spectra (quantitation test dataset)

## Facts

- Provider: Oliver Schilling, Florian Christoph Sigloch, Stefan Tholen (University of Freiburg); mirrored by Scigantic
- License: CC-BY-4.0
- Size: 1 data file, 219,336,664 bytes
- Records: 8,098 spectra (770 MS1, 7,328 MS2); 7,328 MS2 with an assigned precursor charge
- Stored at: Amazon S3, s3://scigantic-zenodo-1051552 (us-east-1)
- Access: public, readable without an account
- Category: Proteomics
- Source: https://doi.org/10.5281/zenodo.1051552
- Page: https://scigantic.com/archive/b8bcb3c7-1803-5285-a64d-e606c8091625
- Keywords: Proteomics, spectroscopy, AWS Open Data

## About

One mzML file (219.3 MB, 8,098 spectra) of an LC-MS/MS run of a SILAC-labelled human embryonic kidney (HEK) cell lysate on a Thermo Q Exactive: light and heavy (K6R6, Label:13C(6)) proteomes mixed at a set ratio, trypsin-digested, converted from the Thermo RAW with ProteoWizard msconvert 3.0.10385 (Xcalibur 2.3 acquisition) and filtered to the 2,000 to 3,000 s window of the original run so it stays small. Published as a test dataset for protein identification and quantitation software: Schilling, Sigloch and Tholen, "Proteomics LC-MS/MS test dataset for protein quantitation via stable isotope labelling" (Zenodo 1051552, doi:10.5281/zenodo.1051552, CC BY 4.0). Mirrored byte-for-byte into s3://scigantic-zenodo-1051552 with MIRROR.md recording Zenodo's md5; cite the record and authors, not the mirror. mzML is the HUPO-PSI open XML format for mass spectrometer output, readable with the standard library; it is the open-format counterpart of the Thermo .raw archive on this portal and the mass-spectrometry side of what ASM models.

## Load the data

```python
import os, base64, zlib, numpy as np, pandas as pd
import xml.etree.ElementTree as ET
ROOT = os.environ.get('SCIGANTIC_MOUNT_PATH', '/mnt/archive')   # = s3://scigantic-zenodo-1051552
PATH = f'{ROOT}/HEK_SILAC-K6R6_ST905_part.mzml'
NS = '{http://psi.hupo.org/ms/mzml}'

def arrays(spec):
    out = {}
    for bda in spec.iter(NS + 'binaryDataArray'):
        names = {c.get('name') for c in bda.iter(NS + 'cvParam')}
        raw = base64.b64decode(bda.find(NS + 'binary').text)
        if 'zlib compression' in names: raw = zlib.decompress(raw)
        arr = np.frombuffer(raw, dtype='<f8' if '64-bit float' in names else '<f4')
        out['mz' if 'm/z array' in names else 'intensity'] = arr
    return out

# Stream the file once: one row per spectrum (level, retention time, TIC, precursor m/z)
rows, first_ms1 = [], None
for _, el in ET.iterparse(PATH):
    if el.tag != NS + 'spectrum': continue
    cv = {c.get('name'): c.get('value') for c in el.iter(NS + 'cvParam')}
    rt_unit = next(c.get('unitName') for c in el.iter(NS + 'cvParam') if c.get('name') == 'scan start time')
    rows.append({'index': int(el.get('index')), 'ms_level': int(cv['ms level']), 'rt': float(cv['scan start time']), 'rt_unit': rt_unit,
                 'tic': float(cv['total ion current']), 'base_peak_mz': float(cv['base peak m/z']), 'precursor_mz': float(cv['selected ion m/z']) if 'selected ion m/z' in cv else None})
    if first_ms1 is None and cv['ms level'] == '1': first_ms1 = arrays(el)
    el.clear()
scans = pd.DataFrame(rows)
print(scans.ms_level.value_counts().to_dict(), 'spectra; RT', scans.rt.min(), 'to', scans.rt.max(), scans.rt_unit.iloc[0])
ax = scans[scans.ms_level == 1].plot(x='rt', y='tic', figsize=(8, 3), legend=False, title='MS1 total ion current')
pd.DataFrame(first_ms1).sort_values('intensity', ascending=False).head(10)
```

Written for a Scigantic notebook, where /mnt/archive (SCIGANTIC_MOUNT_PATH) is the mounted dataset.

From any machine:

```python
import boto3
from botocore import UNSIGNED
from botocore.client import Config
s3 = boto3.client('s3', region_name='us-east-1', config=Config(signature_version=UNSIGNED))
s3.list_objects_v2(Bucket='scigantic-zenodo-1051552')
```

Lists the files with anonymous access. Runs on any machine, with no cloud account.

## Data structure

| Field | Type |
| --- | --- |
| `spectrum` | XML element |
| `binaryDataArray` | base64 of zlib-compressed float64 |
| `chromatogram` | XML element |

Files:

```text
/mnt/archive = s3://scigantic-zenodo-1051552 (flat).
  HEK_SILAC-K6R6_ST905_part.mzml   219,336,664 bytes, mzML 1.1 with indexedmzML wrapper, spectrumList count="8098", run startTimeStamp 2015-06-13T09:22:57
  MIRROR.md   provenance and md5

MEASURED IN ONE FULL STREAMING PASS (2026-10-20):
  plain <mzML> 1.1.0, NOT indexedmzML: no offset index, so there is no random access to scan N; every reader streams the file. XML declares encoding ISO-8859-1.
  770 MS1 (770 profile mode, median 14,027 points, max 23,501) and 7,328 MS2 (centroided, median 102 peaks)
  MS2: beam-type collision-induced dissociation (HCD) at collision energy 25, isolation window -1/+1 m/z; precursor charge 2+: 3,038, 3+: 2,955, 4+: 983, 5+: 253, 6+: 69, 7+: 22, 8+: 8
  arrays: MS2 m/z 64-bit x7328, MS2 intensity 32-bit x7328, MS1 m/z 64-bit x770, MS1 intensity 32-bit x770; compression: no compression x8098
  retention time 2000-3000 seconds; instrument Q Exactive, nanoelectrospray, quadrupole, orbitrap, inductive detector; converted by ProteoWizard 3.0.10385 from Xcalibur 2.3, then cut to that window by FileFilter 2.2.0
  chromatogramList: TIC with 0 points
```

Example file: `HEK_SILAC-K6R6_ST905_part.mzml`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/b8bcb3c7-1803-5285-a64d-e606c8091625
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/b8bcb3c7-1803-5285-a64d-e606c8091625
- Over MCP: `get_schema_card` with id `b8bcb3c7-1803-5285-a64d-e606c8091625` at https://api.scigantic.com/mcp

## Related topics

- [Spectroscopy datasets](https://scigantic.com/topics/spectroscopy)
- [Proteomics datasets](https://scigantic.com/topics/proteomics)
