Codon based alignments in Seaview Load nucleotide sequences (no gaps in sequences, sequence starts with nucleotide corresponding to 1 st codon position)

Slides:



Advertisements
Similar presentations
MCB 5472 Blast, Psi BLAST, Perl: Arrays, Loops J. Peter Gogarten Office: BPB 404 phone: ,
Advertisements

Sampling distributions of alleles under models of neutral evolution.
Plant of the day! Pebble plants, Lithops, dwarf xerophytes Aizoaceae
Random Genetic Drift Selection Allele frequency advantageous disadvantageous Modified from from
Molecular Evolution Revised 29/12/06
MCB 5472 Psi BLAST, Perl: Arrays, Loops J. Peter Gogarten Office: BPB 404 phone: ,
The gradualist point of view Evolution occurs within populations where the fittest organisms have a selective advantage. Over time the advantages genes.
Readings for this week Gogarten et al Horizontal gene transfer….. Francke et al. Reconstructing metabolic networks….. Sign up for meeting next week for.
Adaptive evolution of bacterial metabolic networks by horizontal gene transfer Chao Wang Dec 14, 2005.
The gradualist point of view Evolution occurs within populations where the fittest organisms have a selective advantage. Over time the advantages genes.
PSI (position-specific iterated) BLAST The NCBI page described PSI blast as follows: “Position-Specific Iterated BLAST (PSI-BLAST) provides an automated,
Molecular Evolution with an emphasis on substitution rates Gavin JD Smith State Key Laboratory of Emerging Infectious Diseases & Department of Microbiology.
The gradualist point of view Evolution occurs within populations where the fittest organisms have a selective advantage. Over time the advantages genes.
Branches, splits, bipartitions In a rooted tree: clades (for urooted trees sometimes the term clann is used) Mono-, Para-, polyphyletic groups, cladists.
Positive selection A new allele (mutant) confers some increase in the fitness of the organism Selection acts to favour this allele Also called adaptive.
Example of bipartition analysis for five genomes of photosynthetic bacteria (188 gene families) total 10 bipartitions R: Rhodobacter capsulatus, H: Heliobacillus.
Similar Sequence Similar Function Charles Yan Spring 2006.
Cenancestor (aka LUCA or MRCA) can be placed using the echo remaining from the early expansion of the genetic code. reflects only a single cellular component.
Psi-Blast: Detecting structural homologs Psi-Blast was designed to detect homology for highly divergent amino acid sequences Psi = position-specific iterated.
MCB 372 PSI BLAST, scalars J. Peter Gogarten Office: BPB 404 phone: ,
Whole genome alignments Genome 559: Introduction to Statistical and Computational Genomics Prof. James H. Thomas
Comparative Genomics of the Eukaryotes
© Wiley Publishing All Rights Reserved. Searching Sequence Databases.
Pairwise Alignment How do we tell whether two sequences are similar? BIO520 BioinformaticsJim Lund Assigned reading: Ch , Ch 5.1, get what you can.
ATPase dataset -> muscle -> phyml (with ASRV)– re-rooted.
Amino acids are the building blocks of what macromolecule?
MCB 5472 Psi BLAST, Perl: Arrays, Loops, Hashes J. Peter Gogarten Office: BPB 404 phone: ,
Neutral theory: The vast majority of observed sequence differences between members of a population are neutral (or close to neutral). These differences.
In the deterministic model, the time till fixation depends on the selective advantage, but fixation is guaranteed.
Molecular basis of evolution. Goal – to reconstruct the evolutionary history of all organisms in the form of phylogenetic trees. Classical approach: phylogenetic.
Coalescence and the Cenancestor J. Peter Gogarten University of Connecticut Department of Molecular and Cell Biology.
Selection versus drift The larger the population the longer it takes for an allele to become fixed. Note: Even though an allele conveys a strong selective.
Lecture 25 - Phylogeny Based on Chapter 23 - Molecular Evolution Copyright © 2010 Pearson Education Inc.
Bioinformatics 2011 Molecular Evolution Revised 29/12/06.
Database Searches BLAST. Basic Local Alignment Search Tool –Altschul, Gish, Miller, Myers, Lipman, J. Mol. Biol. 215 (1990) –Altschul, Madden, Schaffer,
Neutral theory: The vast majority of observed sequence differences between members of a population are neutral (or close to neutral). These differences.
Sequence-based Similarity Module (BLAST & CDD only ) & Horizontal Gene Transfer Module (Ortholog Neighborhood & GC content only)
CISC667, F05, Lec9, Liao CISC 667 Intro to Bioinformatics (Fall 2005) Sequence Database search Heuristic algorithms –FASTA –BLAST –PSI-BLAST.
Bioinformatics Ayesha M. Khan 9 th April, What’s in a secondary database?  It should be noted that within multiple alignments can be found conserved.
BLAST Slides adapted & edited from a set by Cheryl A. Kerfeld (UC Berkeley/JGI) & Kathleen M. Scott (U South Florida) Kerfeld CA, Scott KM (2011) Using.
Basic Local Alignment Search Tool BLAST Why Use BLAST?
N=50 s=0.150 replicates s>0 Time till fixation on average: t av = (2/s) ln (2N) generations (also true for mutations with negative “s” ! discuss among.
LBA phyml Gamma = 1 no alignment – true homologous positions with muscle alignment log 10 (x)
Bayes’ Theorem Reverend Thomas Bayes ( ) Posterior Probability represents the degree to which we believe a given model accurately describes the.
Blast 2.0 Details The Filter Option: –process of hiding regions of (nucleic acid or amino acid) sequence having characteristics.
David Wishart February 18th, 2004 Lecture 3 BLAST (c) 2004 CGDN.
Why could a gene tree be different from the species tree? Lack of resolution Lineage sorting Gene duplications/gene loss (paralogs/orthologs) Gene transfer.
Step 3: Tools Database Searching
Bootstrap ? See herehere. Maximum Likelihood and Model Choice The maximum Likelihood Ratio Test (LRT) allows to compare two nested models given a dataset.Likelihood.
©CMBI 2005 Database Searching BLAST Database Searching Sequence Alignment Scoring Matrices Significance of an alignment BLAST, algorithm BLAST, parameters.
MCB 3421 class 25. student evaluations Please go to husky CT and complete student evaluations !
Neutral mutations Neither advantageous nor disadvantageous Invisible to selection (no selection) Frequency subject to ‘drift’ in the population Mutation.
PHYOGENY & THE Tree of life Represent traits that are either derived or lost due to evolution.
The gradualist point of view Evolution occurs within populations where the fittest organisms have a selective advantage. Over time the advantages genes.
Molecular Clocks and Continued Research
The Coral of Life (Darwin)
Evolution of gene function
Basics of BLAST Basic BLAST Search - What is BLAST?
Pipelines for Computational Analysis (Bioinformatics)
Codon based alignments in Seaview
BLAST.
PSI (position-specific iterated) BLAST
Basic Local Alignment Search Tool
Variant arose about years ago
Blast, Psi BLAST, Perl: Arrays, Loops
DN/dS.
An African American Paternal Lineage Adds an Extremely Ancient Root to the Human Y Chromosome Phylogenetic Tree  Fernando L. Mendez, Thomas Krahn, Bonnie.
Characteristics of Neutral and Deleterious Protein-Coding Variation among Individuals and Populations  Wenqing Fu, Rachel M. Gittelman, Michael J. Bamshad,
BLAST, unix, Perl continued
LBA ProtPars.
Presentation transcript:

Codon based alignments in Seaview Load nucleotide sequences (no gaps in sequences, sequence starts with nucleotide corresponding to 1 st codon position) Select view as proteins

Codon based alignments in Seaview With the protein sequences displayed, align sequences Select view as nucleotides

PAML (codeml) the basic model

sites versus branches You can determine omega for the whole dataset; however, usually not all sites in a sequence are under selection all the time. PAML (and other programs) allow to either determine omega for each site over the whole tree,, or determine omega for each branch for the whole sequence,. It would be great to do both, i.e., conclude codon 176 in the vacuolar ATPases was under positive selection during the evolution of modern humans – alas, a single site often does not provide much statistics. PAML does provide a branch site model.

Sites model(s) have been shown to work great in few instances. The most celebrated case is the influenza virus HA gene. A talk by Walter Fitch (slides and sound) on the evolution of this molecule is here.here This article by Yang et al, 2000 gives more background on ml aproaches to measure omega. The dataset used by Yang et al is here: flu_data.paup. article by Yang et al, 2000 flu_data.paup

sites model in MrBayes begin mrbayes; set autoclose=yes; lset nst=2 rates=gamma nucmodel=codon omegavar=Ny98; mcmcp samplefreq=500 printfreq=500; mcmc ngen=500000; sump burnin=50; sumt burnin=50; end; The MrBayes block in a nexus file might look something like this:

plot LogL to determine which samples to ignore the same after rescaling the y-axis

for each codon calculate the the average probability enter formula copy paste formula plot row

To determine credibility interval for a parameter (here omega<1): Select values for the parameter, sampled after the burning. Copy paste to a new spreadsheet,

Sort values according to size, Discard top and bottom 2.5% Remainder gives 95% credibility interval.

Log(likelyhood) in tracer

Credible intervals in tracer Trace of Omega -

Credible intervals in tracer Esitmates of Mean and 95% credible interval

Purifying selection in E.coli ORFans dN-dS < 0 for some ORFan E. coli clusters seems to suggest they are functional genes. Adapted after Yu, G. and Stoltzfus, A. Genome Biol Evol (2012) Vol Gene groupsNumberdN-dS>0dN-dS<0dN-dS=0 E. coli ORFan clusters (25%)1953 (52%)876 (23%) Clusters of E.coli sequences found in Salmonella sp., Citrobacter sp (17%)423(69%)83 (14%) Clusters of E.coli sequences found in some Enterobacteriaceae only 3738 (2%)365 (98%)0 (0%)

Trunk-of-my-car analogy: Hardly anything in there is the is the result of providing a selective advantage. Some items are removed quickly (purifying selection), some are useful under some conditions, but most things do not alter the fitness. Could some of the inferred purifying selection be due to the acquisition of novel detrimental characteristics (e.g., protein toxicity, HOPELESS MONSTERS)?

Other ways to detect positive selection Selective sweeps -> A) fewer alleles present in population (allele shows little within allele divergence - see contributions from archaic Humans for example), B) SNP and neighboring SNPs have not yet been broken up by recombination. Repeated episodes of positive selection -> high dN (works well for repeated positive – aka diversifying – selection; e.g. virus interaction with the immunesystem)

Other ways to detect positive selection Selective sweeps -> fewer alleles present in population (allele shows little within allele divergence - see contributions from archaic Humans for example), SNP or neighboring SNPs are at higher frequency within a population. Repeated episodes of positive selection -> high dN

Fig. 1 Current world-wide frequency distribution of CCR5-Δ32 allele frequencies. Only the frequencies of Native populations have been evidenced in Americas, Asia, Africa and Oceania. Map redrawn and modified principally from B... Eric Faure, Manuela Royer-Carenzi Is the European spatial distribution of the HIV-1-resistant CCR5-Δ32 allele formed by a breakdown of the pathocenosis due to the historical Roman expansion? Infection, Genetics and Evolution, Volume 8, Issue 6, 2008,

Geographic origin of the three populations studied. Hafid Laayouni et al. PNAS 2014;111: ©2014 by National Academy of Sciences 196,524 SNPs -> PCA

Manhattan plot of results of selection tests in Rroma, Romanians, and Indians using TreeSelect statistic (A) and XP-CLR statistic (B). Laayouni H et al. PNAS 2014;111: ©2014 by National Academy of Sciences Convergent evolution in European and Rroma populations reveals pressure exerted by plague on Toll-like receptors. selective sweeps detected through linkage disequilibrium SNP frequencies within and between populations

Variant arose about 5800 years ago

The age of haplogroup D was found to be ~37,000 years

Adam and Eve never met  Albrecht Dürer, The Fall of Man, 1504 Mitochondrial Eve Y chromosome Adam Lived approximately 40,000 years ago Lived 166, ,000 years ago Thomson, R. et al. (2000) Proc Natl Acad Sci U S A 97, Underhill, P.A. et al. (2000) Nat Genet 26, Mendez et al. (2013) American Journal of Human Genetics 92 (3): 454. Cann, R.L. et al. (1987) Nature 325, 31-6 Vigilant, L. et al. (1991) Science 253, The same is true for ancestral rRNAs, EF, ATPases!

Am J Hum Genet Mar 7; 92(3): 454–459. doi: /j.ajhg PMCID: PMC An African American Paternal Lineage Adds an Extremely Ancient Root to the Human Y Chromosome Phylogenetic Tree Fernando L. Mendez,1 Thomas Krahn,2 Bonnie Schrack,2 Astrid-Maria Krahn,2 Krishna R. Veeramah,1 August E. Woerner,1 Forka Leypey Mathew Fomine,3 Neil Bradman,4 Mark G. Thomas,5 Tatiana M. Karafet,1 and Michael F. Hammer1, ∗ “Genotyping of a DNA sample that was submitted to a commercial genetic-testing facility demonstrated that the Y chromosome of this African American individual carried the ancestral state of all known Y chromosome SNPs. To further characterize this lineage, which we dubbed A00...”

Motoo Kimura 1968 Neutral Theory Genetic Drift is main force for changing allele frequencies How do you define evolution? Richard Goldschmidt 1940 hopeful monsters Mutationism HGT/WGD! Punctuated Equilibrium Few genes / large effect Vilified by Mayr, celebrated 1977 Gould & Evo-devo Ernst Mayr 1942 NeoDarwinian Synthesis Natural Selection Gradualism Many genes/small effect Dario – “Fisher right” Slide from Chris Pires

Duplications and Evolution Ohno postulated that gene duplication plays a major role in evolution Small scale duplications (SSD) Whole genome duplications (WGD ) Polyploid: nucleus contains three or more copies of each chromosome Autopolyploid: formed within a single species Diploids AA and A’A’ Polyploid AAA’A’ Allopolyploid: formed from more than one species Diploids AA and BB Polyploid AABB Susumu Ohno 1970 Evolution by gene duplication 1R and 2R hypothesis “Junk DNA” 1972 Slide from Chris Pires

e.g. gene duplications in yeast from Benner et al., 2002Benner et al., 2002 Figure 1. The number of duplicated gene pairs (vertical axis) in the genome of the yeast Saccharomyces cerevisiae versus f 2, a metric that models divergence of silent positions in twofold redundant codon systems via an approach-to- equilibrium kinetic process and therefore acts as a logarithmic scale of the time since the duplications occurred. Recent duplications are represented by bars at the right. Duplications that diverged so long ago that equilibrium at the silent sites has been reached are represented by bars where f Noticeable are episodes of gene duplication between the two extremes, including a duplication at f This represents the duplication, at ~80 Ma, whereby yeast gained its ability to ferment sugars found in fruits created by angiosperms. Also noticeable are recent duplications of genes that enable yeast to speed DNA synthesis, protein synthesis, and malt degradation, presumably representing yeast's recent interaction with humans. The chemical pathway that converts glucose to alcohol in yeast arose ~80 Ma, near the time that fermentable fruits became dominant. Gene families that suffered duplication near this time, captured in the episode of gene duplication represented in the histogram in Fig. 1 by bars at f , are named in red. According to the hypothesis, this pathway became useful to yeast when angiosperms (flowering, fruiting plants) began to provide abundant sources of fermentable sugar in their fruits.

Gene Transfer, Sex, and Recombination: Inventions do not need to be made sequentially Gene transfer, followed by homologous or non-homologous recombination, allows inventions to be shared across the tree of life

Aside: Gene and genome duplication versus Horizontal Gene Transfer Autochtonous gene/genome duplication are rare in prokaryotes Gene family expansion through horizontal gene transfer – the most common process in prokaryotes

Horizontal Gene Transfer (HGT) and the Acquisition of New Capabilities Most important process to adapt microorganisms to new environments. E.g.: Antibiotic and heavy metal resistance, pathways that allow acquisition and breakdown of new substrates. Creation of new metabolic pathways. HGT not autochthonous gene duplication is the main process of gene family expansion in prokaryotes. Also important in the recent evolution of multicellular eukaryotes (HGT between fish species and between grasses). Selection acts on the Holobiont (= Host + Symbionts) To adapt to new conditions, new symbionts can be acquired, or existing symbionts can acquire new genes through HGT.

Gene Transfer in Eukaryotes Bacterial parasites on red algae HGT Human gut symbiont

Gene Transfer in Eukaryotes – Example 2 Eric H. Roalson Current Biology Vol 22 No 5 R162 Curr Biol Mar 6;22(5): Epub 2012 Feb 16. Adaptive Evolution of C(4) Photosynthesis through Recurrent Lateral Gene Transfer. Christin PA, Edwards EJ, Besnard G, Boxall SF, Gregory R, Kellogg EA, Hartwell J, Osborne CP. Curr Biol Mar 6;22(5): Epub 2012 Feb 16. Adaptive Evolution of C(4) Photosynthesis through Recurrent Lateral Gene Transfer. Christin PA, Edwards EJ, Besnard G, Boxall SF, Gregory R, Kellogg EA, Hartwell J, Osborne CP. Highlights Key genes for C 4 photosynthesis were transmitted between distantly related grasses These genes contributed to the adaptation of the primary metabolism Their transmission was independent from most of the genome Highlights Key genes for C 4 photosynthesis were transmitted between distantly related grasses These genes contributed to the adaptation of the primary metabolism Their transmission was independent from most of the genome

Gene Transfer in Eukaryotes – Example 2 From: Christin PA, Edwards EJ, Besnard G, Boxall SF, Gregory R, Kellogg EA, Hartwell J, Osborne CP. Adaptive Evolution of C(4) Photosynthesis through Recurrent Lateral Gene Transfer. Curr Biol Mar 6;22(5): Epub 2012 Feb 16. From: Christin PA, Edwards EJ, Besnard G, Boxall SF, Gregory R, Kellogg EA, Hartwell J, Osborne CP. Adaptive Evolution of C(4) Photosynthesis through Recurrent Lateral Gene Transfer. Curr Biol Mar 6;22(5): Epub 2012 Feb 16.

Gene Transfer in Eukaryotes – Example 3

HGT as a force creating new pathways

HGT as a force creating new pathways – Example I Acetoclastic Methanogenesis  Unique to subset of Archaea  Energy production via reduction of multiple carbon substrates to CH 4  900 Million metric tons of biogenic methane produced annually.  Over 66% of biogenic methane is produced from acetate, mostly by Methanosarcina genera. From: Galagan et al., 2002 Fournier and Gogarten (2008) Evolution of Acetoclastic Methanogenesis in Methanosarcina via Horizontal Gene Transfer from Cellulolytic Clostridia. J. Bacteriol. 190(3):1124-7

Clostridia acetigenic pathway Methanosarcina acetoclastic pathway Figures drawn with Metacyc ( PtaA AckA HGT

HGT as a force creating new pathways – Example 2 Oxygen producing photosynthesis

A heterologous fusion model for the evolution of oxygenic photosynthesis based on phylogenetic analysis. Xiong J et al. PNAS 1998;95: ©1998 by National Academy of Sciences

oxaloacetate acetyl-CoA citrate malate fumarate isocitrate succinate succinyl-CoA propionyl-CoA 3-methylmalyl-CoA 2-oxoglutarate glutamate methylaspartate mesaconyl-CoA mesaconate glyoxylate acetyl-CoA CO 2 2 Polyhydroxybutyrate Lysine, leucine Acetate Fatty acids Alcohols Proteins Poly-γ -glutamate γ-Glutamylcystein Osmoadaptation HGT as a force creating new pathways – Example 3 Acetyl-CoA Assimilation: Methylaspartate Cycle Khomyakova, Bükmez, Thomas, Erb, Berg, Science, 2011

oxaloacetate acetyl-CoA citrate malate fumarate isocitrate succinate succinyl-CoA 2-oxoglutarate glyoxylate acetyl-CoA CO 2 2 acetyl-CoA crotonyl-CoA ethylmalonyl-CoA methylsuccinyl-CoA mesaconyl-CoA 3-methylmalyl-CoA propionyl-CoA succinyl-CoA glyoxylate malate acetyl-CoA CO 2 2 oxaloacetate acetyl-CoA citrate malate fumarate isocitrate succinate succinyl-CoA propionyl-CoA 3-methylmalyl-CoA 2-oxoglutarate glutamate methylaspartate mesaconyl-CoA mesaconate glyoxylate acetyl-CoA CO 2 2 Comparison of different anaplerotic pathways Citric acid cycle and Glyoxylate cycle Ethylmalonyl-CoA pathway Methylaspartate cycle Bacteria, Eukarya and some Archaeaα-Proteobacteria, streptomyceteshaloarchaea

Khomyakova, Bükmez, Thomas, Erb, Berg, Science, 2011 Haloarchaea Haloarcula marismortui, Natrialba magadii HGT as a force creating new pathways – Example 3 Acetyl-CoA Assimilation: methylaspartate cycle Propionate assimilation Acetate assimilation, Bacteria Glutamate fermentation, Bacteria

PSI (position-specific iterated) BLAST The NCBI page described PSI blast as follows: “Position-Specific Iterated BLAST (PSI-BLAST) provides an automated, easy-to-use version of a "profile" search, which is a sensitive way to look for sequence homologues. The program first performs a gapped BLAST database search. The PSI-BLAST program uses the information from any significant alignments returned to construct a position-specific score matrix, which replaces the query sequence for the next round of database searching. PSI-BLAST may be iterated until no new significant alignments are found. At this time PSI-BLAST may be used only for comparing protein queries with protein databases.”

The Psi-Blast Approach 1. Use results of BlastP query to construct a multiple sequence alignment 2. Construct a position-specific scoring matrix from the alignment 3. Search database with alignment instead of query sequence 4. Add matches to alignment and repeat Psi-Blast can use existing multiple alignment, or use RPS-Blast to search a database of PSSMs

PSI BLAST scheme

Position-specific Matrix M Gribskov, A D McLachlan, and D Eisenberg (1987) Profile analysis: detection of distantly related proteins. PNAS 84: by Bob Friedman

Psi-Blast Psi-Blast Results Query: (intein) link to sequence here, check BLink here

Psi-Blast is for finding matches among divergent sequences (position- specific information) WARNING: For the nth iteration of a PSI BLAST search, the E-value gives the number of matches to the profile NOT to the initial query sequence! The danger is that the profile was corrupted in an earlier iteration. PSI BLAST and E-values!

Often you want to run a PSIBLAST search with two different databanks - one to create the PSSM, the other to get sequences: To create the PSSM: blastpgp -d nr -i subI -j 5 -C subI.ckp -a 2 -o subI.out -h F f blastpgp -d swissprot -i gamma -j 5 -C gamma.ckp -a 2 -o gamma.out -h F f Runs 4 iterations of a PSIblast the -h option tells the program to use matches with E <10^-5 for the next iteration, (the default is ) -C creates a checkpoint (called subI.ckp), -o writes the output to subI.out, -i option specifies input as using subI as input (a fasta formated aa sequence). The nr databank used is stored in /common/data/ -a 2 use two processors -h e-value threshold for inclusion in multipass model [Real] default = THIS IS A RATHER HIGH NUMBER!!! (It might help to use the node with more memory (017) (command is ssh node017) PSI Blast from the command line

To use the PSSM: blastpgp -d /Users/jpgogarten/genomes/msb8.faa -i subI -a 2 -R subI.ckp -o subI.out3 -F f blastpgp -d /Users/jpgogarten/genomes/msb8.faa -i gamma -a 2 -R gamma.ckp -o gamma.out3 -F f Runs another iteration of the same blast search, but uses the databank /Users/jpgogarten/genomes/msb8.faa -R tells the program where to resume -d specifies a different databank -i input file - same sequence as before -o output_filename -a 2 use two processors -h e-value threshold for inclusion in multipass model [Real] default = This is a rather high number, but might be ok for the last iteration.

PSI Blast and finding gene families within genomes 2nd step: use PSSM to search genome: A)Use protein sequences encoded in genome as target: blastpgp -d target_genome.faa -i query.name -a 2 -R query.ckp -o query.out3 -F f B) Use nucleotide sequence and tblastn. This is an advantage if you are also interested in pseudogenes, and/or if you don’t trust the genome annotation: blastall -i query.name -d target_genome_nucl.ffn -p psitblastn -R query.ckp

Psi-Blast finds homologs among divergent sequences (position-specific information) WARNING: For the nth iteration of a PSI BLAST search, the E-value gives the number of matches to the profile NOT to the initial query sequence! The danger is that the profile was corrupted in an earlier iteration.