Sign inSign up

agusinac/autoflow

By agusinac

Updated 7 months ago

R image for the running of the autoFlow.R script: https://github.com/agusinac/OmicFlow

Image
Data science
0

10K+

agusinac/autoflow repository overview

📋 Metadata File Specification

OmicFlow expects your sample metadata to follow a simple, but strict structure so that all datasets are compatible and validated up‑front.
Your metadata should be provided as a CSV (or TSV) file where each row = one sample and the first line should be a header. Additional columns are allowed and will be ignored during the metadata validation step.


Minimum requirement
  • SAMPLE_ID ➡ every row must have a unique, non‑empty sample identifier.
  • No spaces are allowed in IDs — use underscores _ or dashes - instead.

Example:

SAMPLE_IDFEATURE_IDSAMPLEPAIR_IDCONTRAST_TreatmentVARIABLE_Age
S1OTU0001P1Drug42
S2OTU0002P1Placebo36
S3OTU0003P2Drug51

Column types and naming rules
🔹 Required column
ColumnTypeRules
SAMPLE_IDstringUnique, no spaces, one per sample row
🔹 Optional standard columns
ColumnTypeRules
FEATURE_IDstringOptional — no spaces. Naming of the feature identifiers to include or exclude certain features
SAMPLEPAIR_IDstringOptional — no spaces. Use when samples are paired and belong to an individual source/subject
🔹 Pattern‑based columns

You can define extra variables using special prefixes:

  • CONTRAST_... → grouping/category labels used in differential comparisons
    Example: CONTRAST_Treatment with values Drug / Placebo
  • VARIABLE_... → numeric or string variables for statistical analysis
    Example: VARIABLE_Age with values 42, 51, etc.

The pattern-based columns are only used during the autoFlow function. At the moment only columns with prefix CONTRAST_ are supported.

NOTE: Symbolic links do not work with mounting, please only copy the original file!

Example: Outputs a report.html file in current work directory

docker run -it --rm -v \
    "$(pwd)":/data \             # Mount the data in a temporary directory
    -w /data \                   # set working directory
    -u $(id -u):$(id -g) \       # non-root user
    agusinac/autoflow:1.4.0 \
    autoflow \                   # autoflow R script
    -b /data/biom_with_taxonomy_hdf5.biom \
    -m /data/metadata.tsv

For additional options please run autoflow -h

Support

If you are having issues, please create an issue

Tag summary

Content type

Image

Digest

sha256:0926ea057

Size

1.2 GB

Last updated

7 months ago

docker pull agusinac/autoflow