Skip to main content

BULK METABOLOMICS SAMPLESHEET

This folder contains the files necessary for the samplesheet of LC-MS and spatial metabolomics. Samplesheet template (LC-MS_metabolomics_samplesheet.xlsx or spatial_metabolomics_samplesheet.xlsx) should be given to clients to be compiled. Once received back, it should be tested with the parser (LC-MS_parse_samplesheet.py or spatial_parse_samplesheet.py).

Samplesheet template

Samplesheet templates contains 3 sheets:

  • input: the one the user should fill. It contains two sections, one with user info and the other with samples metadata.
  • example_ok: an example of a good samplesheet
  • example_fail: an example of a problematic samplesheet

Parser

The parser will check the samplesheet for its correct compilation and raises warnings and/or errors if any. If no errors are found, the samples metadata section is saved as a csv file (specified as -o). Warnings also prevent file to be saved, but this can be overruled by --ignore-warnings.

Test

In test folder, 3 test samplesheet for each technology are found:

  • test_error.xlsx: a test samplesheet with errrors
  • test_ok.xlsx: a test samplesheet correctly compiled
  • test_warning.xlsx: a test samplesheet with warnings

Several test should be run after changind any file:

  • python LC-MS_parse_samplesheet.py (this should result in an error for missing input and output)
  • python LC-MS_parse_samplesheet.py -i test_files/LC-MS_test_ok.xlsx -o test.csv --dry-run (this should be ok, with no errors nor warnings, but no file should be saved due to --dry-run)
  • python LC-MS_parse_samplesheet.py -i test_files/LC-MS_test_ok.xlsx -o test.csv (this should be ok, with also test.csv file saved)
  • python LC-MS_parse_samplesheet.py -i test_files/LC-MS_test_error.xlsx -o test.csv (this should raise errors and no test.csv file should be created)
  • python LC-MS_parse_samplesheet.py -i test_files/LC-MS_test_warning.xlsx -o test.csv (this should raise warnings and no test.csv file should be created)
  • python LC-MS_parse_samplesheet.py (this should result in an error for missing input and output)
  • python spatial_parse_samplesheet.py -i test_files/spatial_test_ok.xlsx -o test.csv --dry-run (this should be ok, with no errors nor warnings, but no file should be saved due to --dry-run)
  • python LC-MS_parse_samplesheet.py -i test_files/LC-MS_test_ok_timecourse.xlsx -o test.csv (this should be ok, with also test.csv file saved)
  • python spatial_parse_samplesheet.py -i test_files/spatial_test_ok.xlsx -o test.csv (this should be ok, with also test.csv file saved)
  • python spatial_parse_samplesheet.py -i test_files/spatial_test_error.xlsx -o test.csv (this should raise errors and no test.csv file should be created)
  • python spatial_parse_samplesheet.py -i test_files/spatial_test_warning.xlsx -o test.csv (this should raise warnings and no test.csv file should be created)
  • python spatial_parse_samplesheet.py -i test_files/spatial_test_warning.xlsx -o test.csv --ignore-warnings (this should raise warnings, but test.csv file should be created)
  • python spatial_parse_samplesheet.py -i test_files/spatial_test_warning.xlsx -o test.csv --ignore-warnings (this should raise warnings, but test.csv file should be created)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parseet-1.0.0.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

parseet-1.0.0-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

Details for the file parseet-1.0.0.tar.gz.

File metadata

  • Download URL: parseet-1.0.0.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.26.3 CPython/3.13.2 Darwin/24.1.0

File hashes

Hashes for parseet-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6c739635476f6048cbbafc1e468a5ca520ed9fbde02212cb136b4fc06c8e3a2c
MD5 3dccdbafadd6a2f5b05d941ab69de3ba
BLAKE2b-256 2157656a615af0a5cdbd35b5498d8583b8ee723b5f0d400f53a09ced7118b807

See more details on using hashes here.

File details

Details for the file parseet-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: parseet-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 28.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.26.3 CPython/3.13.2 Darwin/24.1.0

File hashes

Hashes for parseet-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a16bb23a18a1923053558abb268102bb4eaa8d732e762db40b504b5a0df8e410
MD5 54954799f2635c4d9d0a0e0395988cfb
BLAKE2b-256 dc32085a05be04c283bcb413e73f2bef5e352489b11f8dbd58ae14502b84331d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

0.2.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page