Skip to main content

Variance-adjusted estimation of motif activities.

Project description

MARADONER

MARADONER: Motif Activity Response Analysis Done Right

MARADONER is a tool for analyzing motif activities using promoter expression data. It provides a streamlined workflow to estimate parameters, predict deviations, and export results in a tabular form.

Basic Workflow

A typical MARADONER analysis session involves running commands sequentially for a given project:

  1. create: Initialize the project. This step parses your input files (promoter expression, motif loadings, optional motif expression, and sample groupings), performs initial filtering, and sets up the project's internal data structures.

    # Example: Initialize a project named 'my_project'
    maradoner create my_project path/to/expression.tsv path/to/loadings.tsv --sample-groups path/to/groups.json [other options...]
    
    • Input files are typically tabular (.tsv, .csv), potentially compressed.
    • You only need to provide input data files at this stage.
  2. fit: Estimate the model's variance parameters and mean motif activities using the data prepared by create.

    maradoner fit my_project [options...]
    
  3. predict: Estimate the deviations of motif activities from their means for each sample or group, based on the parameters estimated by fit.

    maradoner predict my_project [options...]
    
  4. export: Save the final results, including estimated motif activities (mean + deviations), parameter estimates, goodness-of-fit statistics, and potentially statistical test results (like ANOVA) to a specified output folder.

    maradoner export my_project path/to/output_folder [options...]
    

Other Useful Commands

  • gof: After fit, calculate Goodness-of-Fit statistics (like Fraction of Variance Explained or Correlation) to evaluate how well the model components explain the observed expression data.
    maradoner gof my_project [options...]
    
  • select-motifs: If you provided multiple loading matrices in create (e.g., from different databases) with unique postfixes, this command helps select the single "best" variant for each motif based on statistical criteria. The output is a list of motif names intended to be used with the --motif-filename option in a subsequent create run.
    maradoner select-motifs my_project best_motifs.txt
    # Then, potentially re-run create using the generated list:
    # maradoner create my_project_filtered ... --motif-filename best_motifs.txt
    
  • generate: Create a synthetic dataset with known properties for testing or demonstration purposes.
    maradoner generate path/to/synthetic_data_output [options...]
    

Getting Help

Each command has various options for customization. To see the full list of commands and their detailed options, use the --help flag:

maradoner --help
maradoner create --help
maradoner fit --help
# and so on for each command

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

maradoner-0.28.0.tar.gz (61.4 kB view details)

Uploaded Source

File details

Details for the file maradoner-0.28.0.tar.gz.

File metadata

  • Download URL: maradoner-0.28.0.tar.gz
  • Upload date:
  • Size: 61.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for maradoner-0.28.0.tar.gz
Algorithm Hash digest
SHA256 3d4374752957ae2155409e8e23c8e38d2ac14b862a3a686119baaa24b7ade1bb
MD5 74ec8fd9ef731e99ca828eaa532b86c2
BLAKE2b-256 7b57054cd71445b2f5f57b87c6e7ad814537e37e180c28a56991f70671c1f092

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