Skip to main content

Data processing/analysis functionality of metabolomics dashboard FERMO

Project description

fermo_core

DOI PyPI version

fermo_core is a Python-based command line tool to process, analyze, and prioritize compounds from metabolomics data. While primarily intended to be the backend processing module of fermo_gui of the application FERMO, fermo_core can be used independently for large-scale data processing and analysis.

This README specifies the use of fermo_core as command line interface. For a more user-friendly version, see the FERMO online. Please also consult the Documentation.

Table of Contents

Installation

With pip from PyPI

  • Install python 3.11.x
  • Create a virtual environment (e.g. venv, conda) and activate it
  • Run pip install fermo_core
  • Once installed, run as specified in Run with pip

With hatch from GitHub

  • Install python 3.11.x
  • Install hatch (e.g. with pipx install hatch)
  • Download or clone the repository
  • (Change into the fermo_core base directory if not already present)
  • Run hatch -v env create
  • Once installed, run as specified in Run with hatch

With conda from GitHub

  • Install conda (e.g. miniconda)
  • Create a conda environment with conda create --name fermo_core python=3.11
  • Activate the conda environment with conda activate fermo_core
  • Download or clone the repository
  • (Change into the fermo_core base directory if not already present)
  • Run pip install -e .
  • Once installed, run as specified in Run with conda

Quick Start

Run with pip

  • fermo_core --parameters <your_parameter_file.json>

Run with hatch:

  • hatch run fermo_core --parameters <your_parameter_file.json>

Run with conda:

  • python fermo_core/main.py --parameters <your_parameter_file.json>

Usage

fermo_core can be used both as a command line interface as well as a library.

All parameters and input data are specified in a parameters.json file be formatted following the schema specified in fermo_core/config/schema.json. See the example in example_data/case_study_parameters.json and/or consult the Documentation.

As minimum data input, fermo_core` requires a pre-processed peaktable summarizing the detected molecular features (no raw data). This peaktable must:

  • Derive from liquid chromatography electrospray ionization (tandem) mass spectrometry (LC-ESI-(MS/)MS)
  • Constitute of samples acquired at identical concentration/dilution and identical injection volume
  • Be acquired using untargeted Data-dependent acquisition (DDA)
  • Be of high resolution (ideally, <20 ppm mass deviation)
  • Be in a single polarity (either positive or negative ion mode)

Optionally (but recommended), fermo_core also accepts the following file types:

  • Mass fragmentation (MS/MS) accompanying the peak table
  • Metadata on sample grouping
  • Phenotype (bioactivity) data associated with the samples
  • A spectral library
  • An MS2Query results file
  • An antiSMASH results folder

For more information on input and output files, their format, and their purpose, consult the Documentation.

Attribution

License

fermo_core is an open source tool licensed under the MIT license (see LICENSE).

Publications

See FERMO online for information on citing fermo_core.

Authors

Mitja M. Zdouc zdoucmm@gmail.com

Contributing

Contributions, whether filing an issue, making a pull request, or forking, are appreciated. Please see Contributing for more information on getting involved. Contributors agree to adhere to the specified Code of Conduct. For technical details, see the For Developers pages in the Documentation.

Project details


Download files

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

Source Distribution

fermo_core-0.4.3.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

fermo_core-0.4.3-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file fermo_core-0.4.3.tar.gz.

File metadata

  • Download URL: fermo_core-0.4.3.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for fermo_core-0.4.3.tar.gz
Algorithm Hash digest
SHA256 0aa88007488ebf90fef1acc21e0645257f4255981a0a29b606836da487f071a5
MD5 d79aac10f12e3e6476d9579d0a1ceedb
BLAKE2b-256 f94518498f2d42f33a59e663e99ac319a82805cfb5f7bbb3d5e850fb667a0d23

See more details on using hashes here.

File details

Details for the file fermo_core-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: fermo_core-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for fermo_core-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d1de9b1de4f75157cc147ea31850c041ee839b6649a33b56d212ad23431daad6
MD5 24791fbebf7f090bf0f51abbf9586873
BLAKE2b-256 bf5dbd027fcb9d64819ccf122e9ae5f4318be66fadb50db93e0163a2bc1f3f2f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page