This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| tutorials:eccb_t2_badasp [2012/09/06 16:27] – created romainstuder | tutorials:eccb_t2_badasp [2012/09/08 16:15] (current) – romainstuder | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ==== BADASP ==== | ||
| - | cd / | + | BADASP can produce different measures: |
| - | # Run badasp | + | * bad: similar the **Type II** of functional divergence. The threshold to choose depend if we want to be stringeant (i.e. BAD > 4) or more relaxed (BAD > 2). |
| - | < | + | * badn = BADN variant of BAD: similar the **Type I** of functional divergence, between __two__ groups. |
| + | * badx = BADX variant of BAD: similar the **Type II** of functional divergence, between __many__ groups. | ||
| + | * ssc = Livingstone & Barton method (SSC) => doesn' | ||
| + | * pdad = Property Difference After Duplication (PDAD) method | ||
| + | * eta = Basic Evolutionary Trace Analysis (ETA) => Strictly conserved residues = 1, else = 0. | ||
| + | * etaq = Quantitative variant of ETA | ||
| + | |||
| + | All these methods are described in details in the manual, **chapter 3.1: Functional Specificity Prediction**. | ||
| + | |||
| + | === Installation === | ||
| + | |||
| + | Download the badasp | ||
| + | [[http:// | ||
| + | < | ||
| + | wget http:// | ||
| + | unzip badasp.zip | ||
| + | </ | ||
| + | |||
| + | === Analysis of the V-type proton ATPase 116 kDa subunit a gene family === | ||
| + | |||
| + | We want to identify the residues making differences between the **isoforms 1** and **isoforms 4** of the V-type proton ATPase 116 kDa subunit a. | ||
| + | |||
| + | First, visualise briefly the multiple alignment in Jalview. (File " | ||
| + | |||
| + | |||
| + | Execute **badasp** by importing the multiple alignment in FASTA format (" | ||
| + | |||
| + | < | ||
| + | cd ./ | ||
| + | python badasp.py seqin=badasp_eg.fas i=1</ | ||
| + | |||
| + | Badasp will ask for the associated tree, in newick format (" | ||
| < | < | ||
| - | # Ask for a tree | ||
| Looking for treefile badasp_eg.nsf. | Looking for treefile badasp_eg.nsf. | ||
| Tree: [' | Tree: [' | ||
| Line 12: | Line 43: | ||
| => Press enter | => Press enter | ||
| + | </ | ||
| Display Tree, with two groups of sequences: | Display Tree, with two groups of sequences: | ||
| V-type proton ATPase 116 kDa subunit a | V-type proton ATPase 116 kDa subunit a | ||
| - | - VPP1 = VPP Isoform 1 (8 genes) | + | |
| - | - NVL = VPP Isoform 4 (3 genes) | + | * NVL = VPP Isoform 4 (3 genes) |
| + | < | ||
| Rooted Tree (1000 bootstraps). Branch Lengths given. 21 nodes. | Rooted Tree (1000 bootstraps). Branch Lengths given. 21 nodes. | ||
| => Press enter | => Press enter | ||
| - | |||
| Tree is rooted at node 21 => perfect | Tree is rooted at node 21 => perfect | ||
| Line 31: | Line 61: | ||
| Choice [default=Q]: | Choice [default=Q]: | ||
| Quit Tree Menu? (y/n) [default=Y]: | Quit Tree Menu? (y/n) [default=Y]: | ||
| + | </ | ||
| + | The tree is now loaded and we need to define the two groups to analyse: | ||
| + | |||
| + | < | ||
| #*# Grouping Summary #*# | #*# Grouping Summary #*# | ||
| Line 37: | Line 71: | ||
| => Press enter | => Press enter | ||
| - | We need to split the tree on the node 21, so we need to define two groups from the children nodes 20 and 19. | + | # We need to split the tree on the node 21, |
| + | # so we need to define two groups from the children nodes 20 (= VPP1 subfamily) | ||
| => Press M, then enter. | => Press M, then enter. | ||
| (Tree displayed) | (Tree displayed) | ||
| - | Choice? [default=Q]: | + | Choice? [default=Q]: |
| Node [default=0]: | Node [default=0]: | ||
| => Type VPP1, then Press enter | => Type VPP1, then Press enter | ||
| - | Choice? [default=Q]: | + | Choice? [default=Q]: |
| Node [default=0]: | Node [default=0]: | ||
| => Type VPP4, then Press enter | => Type VPP4, then Press enter | ||
| Line 60: | Line 95: | ||
| Use badasp_eg for output filenames? (y/n) [default=Y]: | Use badasp_eg for output filenames? (y/n) [default=Y]: | ||
| Use these parameters? (y/n) [default=Y]: | Use these parameters? (y/n) [default=Y]: | ||
| + | </ | ||
| + | Badasp will now perform some computations. It will reconstruct the ancestral sequences at each node of the tree, using GASP (ref: http: | ||
| + | < | ||
| Making Ancestral Sequences - Variable PAM Weighting | Making Ancestral Sequences - Variable PAM Weighting | ||
| Reading PAM1 matrix from jones.pam | Reading PAM1 matrix from jones.pam | ||
| Line 73: | Line 111: | ||
| ...Done! | ...Done! | ||
| ...win(0) | ...win(0) | ||
| + | </ | ||
| + | |||
| + | Now, Badasp will ask you the kind of output you want. | ||
| + | Let's say yes to everything. | ||
| + | |||
| + | < | ||
| Output additional, filtered results? (y/n) [default=N]: | Output additional, filtered results? (y/n) [default=N]: | ||
| Name for partial results file? [default=badasp_eg.partial.badasp]: | Name for partial results file? [default=badasp_eg.partial.badasp]: | ||
| Line 84: | Line 128: | ||
| Output PDAD results? (y/n) [default=Y]: | Output PDAD results? (y/n) [default=Y]: | ||
| Output ETA results? (y/n) [default=Y]: | Output ETA results? (y/n) [default=Y]: | ||
| - | |||
| Output ETAQ results? (y/n) [default=Y]: | Output ETAQ results? (y/n) [default=Y]: | ||
| - | |||
| Output Info results? (y/n) [default=Y]: | Output Info results? (y/n) [default=Y]: | ||
| - | |||
| Output PCon_Abs results? (y/n) [default=Y]: | Output PCon_Abs results? (y/n) [default=Y]: | ||
| - | |||
| Output PCon_Mean results? (y/n) [default=Y]: | Output PCon_Mean results? (y/n) [default=Y]: | ||
| - | |||
| Output QPCon_Mean results? (y/n) [default=Y]: | Output QPCon_Mean results? (y/n) [default=Y]: | ||
| - | |||
| Output QPCon_Abs results? (y/n) [default=Y]: | Output QPCon_Abs results? (y/n) [default=Y]: | ||
| - | |||
| Filter Rows by Results VALUES? (y/n) [default=Y]: | Filter Rows by Results VALUES? (y/n) [default=Y]: | ||
| - | |||
| Min. value for BAD? [default=-6.708333]: | Min. value for BAD? [default=-6.708333]: | ||
| - | |||
| => New value = " | => New value = " | ||
| - | |||
| Min. value for BADN? [default=-6.708333]: | Min. value for BADN? [default=-6.708333]: | ||
| - | |||
| => New value = " | => New value = " | ||
| - | |||
| Min. value for BADX? [default=-3.500000]: | Min. value for BADX? [default=-3.500000]: | ||
| - | |||
| => New value = " | => New value = " | ||
| - | |||
| Min. value for SSC? [default=0.000000]: | Min. value for SSC? [default=0.000000]: | ||
| - | |||
| => New value = " | => New value = " | ||
| - | |||
| Min. value for PDAD? [default=-0.297619]: | Min. value for PDAD? [default=-0.297619]: | ||
| - | |||
| => New value = " | => New value = " | ||
| - | + | Min. value for ETA? [default=0.000000]: | |
| - | Min. value for ETA? [default=0.000000]: | + | |
| => New value = " | => New value = " | ||
| - | + | Min. value for ETAQ? [default=0.000000]: | |
| - | Min. value for ETAQ? [default=0.000000]: | + | |
| => New value = " | => New value = " | ||
| - | |||
| Min. value for Info? [default=0.424111]: | Min. value for Info? [default=0.424111]: | ||
| - | |||
| => New value = " | => New value = " | ||
| - | |||
| Min. value for PCon_Abs? [default=1.000000]: | Min. value for PCon_Abs? [default=1.000000]: | ||
| - | |||
| => New value = " | => New value = " | ||
| - | |||
| Min. value for PCon_Mean? [default=5.000000]: | Min. value for PCon_Mean? [default=5.000000]: | ||
| - | |||
| => New value = " | => New value = " | ||
| - | |||
| Min. value for QPCon_Mean? [default=9.375000]: | Min. value for QPCon_Mean? [default=9.375000]: | ||
| - | |||
| => New value = " | => New value = " | ||
| - | |||
| Min. value for QPCon_Abs? [default=0.000000]: | Min. value for QPCon_Abs? [default=0.000000]: | ||
| - | |||
| => New value = " | => New value = " | ||
| - | |||
| BADASP Partial Results Output (badasp_eg.partial.badasp) ... Done! | BADASP Partial Results Output (badasp_eg.partial.badasp) ... Done! | ||
| #LOG 00: | #LOG 00: | ||
| + | </ | ||
| - | ### Analysis | + | === Analysis |
| Open the file in your spreadsheet (or cut& | Open the file in your spreadsheet (or cut& | ||
| Line 161: | Line 174: | ||
| Color the " | Color the " | ||
| - | |||
| - | </ | ||
| == In Jalview: == | == In Jalview: == | ||
| Line 172: | Line 183: | ||
| Put a vertical line a the root of the tree to split the tree in two. | Put a vertical line a the root of the tree to split the tree in two. | ||
| + | Some sites are interesting, | ||
| + | * Positon 3 BAD | ||
| + | * Position 762 BAD | ||
| + | * Position 223 BADX | ||
| - | Positon 3 BAD | + | There are only three genes in the group de VPP4, that explains why the BADX score are very close to the BAD score. |
| - | Position 762 BAD | + | |
| - | Position 223 BADX | + | |