Skip to main content

Metadata generation, validation, search and visualization.

Project description

DOI bioRxiv PyPI Release FAIR checklist badge

FRED

Introduction

Scientific research relies on transparent dissemination of data and its associated interpretations. This task encompasses accessibility of raw data, its metadata, details concerning experimental design, along with parameters and tools employed for data interpretation. Production and handling of these data represents an ongoing challenge, extending beyond publication into individual facilities, institutes and research groups, often termed Research Data Management (RDM). It is foundational to scientific discovery and innovation, and can be paraphrased as Findability, Accessibility, Interoperability and Reusability (FAIR). Although the majority of peer-reviewed journals require the deposition of raw data in public repositories in alignment with FAIR principles, metadata frequently lacks full standardization. This critical gap in data management practices hinders effective utilization of research findings and complicates sharing of scientific knowledge. Here we present a flexible design of a machine-readable metadata format to store experimental metadata, along with an implementation of a generalized tool named FRED (FaiR Experimental Designs). It enables i) dialog based creation of metadata files, ii) structured semantic validation, iii) logical search, iv) an external programming interface (API), and v) a standalone web-front end. The tool is intended to be used by non-computational scientists as well as specialized facilities, and can be seamlessly integrated in existing RDM infrastructure.

For more information about FRED, please see the documentation.

Quick start

# 1. Generate a metadata file
fred generate -p /my/project/folder -id dst123

# 2. Validate it
fred validate -p /my/project/folder/dst123_metadata.yaml

# 3. Search across a directory
fred find -p /my/project/folder -s 'organism_name:"Homo_sapiens"'

# 4. Export to MAGE-TAB (ArrayExpress) or GEO
fred export -p /my/project/folder/dst123_metadata.yaml --format mage-tab
fred export -p /my/project/folder/dst123_metadata.yaml --format geo

Available commands

Command Description
fred generate Create a new metadata file via interactive dialog
fred validate Validate a metadata file or all files in a directory
fred edit Edit an existing metadata file
fred find Search for metadata files using a query string
fred export Export metadata to MAGE-TAB (ArrayExpress) or GEO format
fred plot Visualize the experimental design as a heatmap

Pass -h to any command for a full list of arguments, e.g. fred generate -h.

How to install

Via Python package


FRED is published in the Python Package Index (PyPI) under the name fred-metadata. It can be installed with the following command:

pip install fred-metadata

Via Repository

You can install FRED directly from the repository with the following commands:

  1. Clone the repository
git clone https://github.com/loosolab/FRED.git
  1. Move to the new repository directory
cd FRED
  1. (Optional) Create and activate a pip environment
python3 -m venv .venv
source .venv/bin/activate
  1. Install the package
pip install .

Standalone Version

The standalone web-frontend is provided in a separate Repository. You can find it here:

https://github.com/loosolab/FRED_standalone

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

fred_metadata-2.0.3.tar.gz (3.7 MB view details)

Uploaded Source

Built Distribution

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

fred_metadata-2.0.3-py3-none-any.whl (3.7 MB view details)

Uploaded Python 3

File details

Details for the file fred_metadata-2.0.3.tar.gz.

File metadata

  • Download URL: fred_metadata-2.0.3.tar.gz
  • Upload date:
  • Size: 3.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for fred_metadata-2.0.3.tar.gz
Algorithm Hash digest
SHA256 344920b915c6f0c58752bc2356bb34a94bb810b74a8eebeb5ab9059a0b889713
MD5 8f488c25206861a44b8723dc364a9364
BLAKE2b-256 55ef32ff096c67c06e53bd9f63b955732db573521dc5917c0eedab649cff2e6b

See more details on using hashes here.

File details

Details for the file fred_metadata-2.0.3-py3-none-any.whl.

File metadata

  • Download URL: fred_metadata-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for fred_metadata-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5a6ee2188ea3dbe6c0dfddf71974b429fd19ce8f1eae22760f692c8e66b2f276
MD5 27e46912677ed176a013c0be4598f8d1
BLAKE2b-256 943321051c8fdb70237d69029e7ac060815dcfd4393d999f80ebef21a9b62940

See more details on using hashes here.

Supported by

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