Analyzing and linking genomics and phenomics experiments

pip install DuctApe==0.17.15



Build Status

Analyzing and linking genomics and phenomics experiments

DuctApe is a python library with a series of command-line programs that will help bioinformaticians to analyze genomes AND phenomic experiments. The final purpose of the program is to combine the genomic informations (encoded as KEGG pathways) with the results of phenomic experiments (for now the Phenotype microarrays are supported) and highlight the genes that may be responsible for phenotypic variations. Several scientific python libraries are used to perform this tasks: all the data is stored in a portable database file to allow an easy exchange of results. The most complex computing tasks are speeded up by parallelization. There are three distinct programs with an expressive syntax to ensure flexibility in the analysis, while keeping it simple.

Future releases will also include a web interfaces.


  • Biopython
  • Numpy
  • SciPy
  • matplotlib
  • scikits.learn
  • multiprocessing
  • networkx
  • PyYaml


  • Method 1 (missing dependencies will be downloaded)

    • python -m pip install DuctApe
  • Method 2 (the dependencies won't be checked)

    • (Download and extract the tarball)
    • sudo python install
  • Method 3 (missing dependencies will be downloaded)

    • (Download and extract the tarball)
    • python -m pip install .
  • Method 4 (missing dependencies will be downloaded)

    • conda create -n ductape pip numpy scipy scikit-learn matplotlib biopython networkx blast
    • conda activate ductape (or source activate ductape)
    • python -m pip install DuctApe
  • Dependencies installation on Debian/Ubuntu

    • sudo apt-get install python-numpy python-scipy python-sklearn python-matplotlib python-biopython python-networkx ncbi-blast+

Note: when using pip, some of the dependencies may fail to be installed; use your package manager (such as apt-get in the above snippet) to manually install the problematic packages

Quick how-to

Three command line utilities will be installed

  • dape

      * Used to initialize the project and add/remove the organism
      * Reconstructs the whole KEGG metabolic map
      * Produces a series of explorable metabolic maps
      * Performs the combination of genomics and phenomics experiments
  • dgenome

      * Handles protein sequences for each organism of the project
      * For pangenomic studies it can build the pangenome using the BBH algorithm (user-defined pangenomes can be added)
      * The proteins are mapped to KEGG metabolic pathways
  • dphenome

      * Handles phenomic experiments for each organism of the project (Phenotype microarray experiments)
      * Performs zero-subtraction on the biolog plates
      * Calculates the growth parameters
      * Ranks the single experiments with a clusterization over growth parameters
      * The compounds from the phenomic experiments are mapped to KEGG


  • Single organism experiment

      * dape init (initializes the project)
      * dape add MyOrg (adds my organism using the ID MyOrg)
      * dgenome add MyOrg.faa MyOrg (adds the proteome of MyOrg)
      * dgenome add-ko (adds the output of KAAS, a KEGG mapper)
      * dgenome start (maps the proteome to KEGG)
      * dgenome stats (statistic and graphics)
      * dgenome export (exports the genomic data)
      * dphenome add MyOrg.csv MyOrg (adds the phenomic experiment, BIOLOG data)
      * dphenome zero (performs control subtraction)
      * dphenome start -n 4 (calculates the growth parameters and performs the clusterization, using 4 CPUs)
      * dphenome plot (plots the growth curves)
      * dphenome purge -d 3 keep-max (removes inconsistent replicas: keep the highest replicas when there is an activity index delta >= 3)
      * dphenome plot (plots only those curves that are not purged)
      * dphenome restore (restore the purged replicas)
      * dphenome stats
      * dphenome export
      * dape start (metabolic network analysis)
      * dape map (produces a series of explorable KEGG maps)
      * dape export (KEGG data is exported)
  • Mutant experiment

      * dape init
      * dape add MyOrg
      * dape add-mut -m MyOrg -k deletion MyMut (adds mutant MyMut, a deletion mutant of MyOrg)
      * dgenome add-dir MyFolder (adds the proteins files found in this directory)
      * dgenome add-ko
      * dgenome start
      * dphenome add-dir MyPhenomicFolder (adds the phenomic files found in this directory)
      * dphenome zero
      * dphenome start -n 4
      * dphenome purge -d 3 keep-max
      * dphenome plot
      * dape start
      * dape map MyMut (only the metabolic map of the mutant is produced)
  • Pangenomic experiment

      * dape init
      * dape add MyOrg
      * dape add MyOrg2
      * dape add MyOrg3
      * dgenome add-dir MyFolder
      * dgenome add-ko
      * dgenome start -n 4 (also performs pangenome creation using 4 CPUs)
      * dphenome add-dir MyPhenomicFolder
      * dphenome zero
      * dphenome start -n 4
      * dphenome purge -d 3 keep-max
      * dphenome plot
      * dape start
      * dape map (plots the maps for the whole pangenome)

More informations

Each program options and parameters can be queried adding -h


This program has been developed by Marco Galardini, Department of evolutionary biology, University of Florence