• Gallery
  • API |
  • Installation |
  • Home |

Example gallery¶

Here you will find examples on how to use COCOA-Tree, from basic examples performing default analyses in the quick start section, to more elaborate ones in the advanced usage section.

Contents

  • Example gallery

    • Cocoatree quick start

    • Advanced usage of cocoatree

    • Visualization

    • Datasets

Cocoatree quick start¶

In this section, you’ll find examples to perform basic coevolution analyses using cocoatree

Load a tree file

Load a tree file

Mapping original MSA, filtered MSA, PDB, and XCoRs

Mapping original MSA, filtered MSA, PDB, and XCoRs

Load a PDB structure file

Load a PDB structure file

A minimal coevo analysis

A minimal coevo analysis

A minimal coevo analysis using cocoatree.perform_sca()

A minimal coevo analysis using cocoatree.perform_sca

Advanced usage of cocoatree¶

In this section, you will find examples showing you how to use COCOA-Tree to perform coevolution analyses in detail and enabling you to modify the default parameters to better suit your datasets.

Running Cocoatree with your own metric

Running Cocoatree with your own metric

Mutual information versus SCA co-evolution metrics

Mutual information versus SCA co-evolution metrics

Perform full SCA analysis on the S1A serine protease dataset

Perform full SCA analysis on the S1A serine protease dataset

Visualization¶

In this section, you will find examples on how to plot COCOA-Tree’s coevolution results along with sequence metadata and phylogeny.

Simple tree visualization with metadata

Simple tree visualization with metadata

Plot XCoR together with (phylogenetic) tree and metadata

Plot XCoR together with (phylogenetic) tree and metadata

Specifying metadata’s colors

Specifying metadata's colors

Plot a similarity heatmap of a XCoR along the phylogenetic tree

Plot a similarity heatmap of a XCoR along the phylogenetic tree

Datasets¶

In this section you will find descriptions of the three datasets included within COCOA-Tree and of how you can access their different objects.

DHFR proteases

DHFR proteases

Rhomboid proteases

Rhomboid proteases

S1A serine proteases

S1A serine proteases

Download all examples in Python source code: auto_examples_python.zip

Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Gallery generated by Sphinx-Gallery