20.109(S15):Phylogentic analysis (Day8): Difference between revisions

From OpenWetWare
Jump to navigationJump to search
Line 16: Line 16:




===Part 1: Bird microbiome analysis===
===Bird microbiome analysis===


====Overview====
====Overview====
Line 23: Line 23:


* For each of your clones, you will trim and combine the forward and reverse sequencing results to get one intact 16S rRNA gene sequence.
* For each of your clones, you will trim and combine the forward and reverse sequencing results to get one intact 16S rRNA gene sequence.
* For each sequence, you will use BLAST to determine the closest known bacterial species to that sequence.  
**Do this by following [http://openwetware.org/wiki/20.109%28S15%29:AIV_detection_assay_and_analysis_%28Day7%29#Part_A:_Understand_possible_insert_orientations_within_vector Parts A-C] from M1D7.
* You will post the sequences and a summary of the species that you found, according to a specific template.
* For each sequence, you will use [http://openwetware.org/wiki/20.109%28S15%29:AIV_detection_assay_and_analysis_%28Day7%29#Part_D:_Identify_species_from_sequences BLAST] to determine the closest known bacterial species to that sequence.  
* You should then team up with your partner and together, you will align all of the robust sequences from your bird sample, up to 24 of them, in a program called MEGA, and subsequently construct a phylogenetic tree.  
* You will post the sequences and a summary of the species that you found, according to a specific template. See [http://openwetware.org/wiki/20.109%28S15%29:AIV_detection_assay_and_analysis_%28Day7%29#Part_D:_Identify_species_from_sequences Part D] from M1D7.
**<font color = red>'''Each group''' must post an interim or complete alignment file and tree for their bird sample.</font color>
* You should then team up with your partner and together, you will align all of the robust sequences from your bird sample, up to 24 of them, in a program called MEGA, and subsequently construct a phylogenetic tree following [http://openwetware.org/wiki/20.109%28S15%29:AIV_detection_assay_and_analysis_%28Day7%29#Part_E:_Align_sequences_and_construct_tree Part E] from M1D7.
**<font color = red>'''Each group''' must post a complete alignment file and tree for their bird sample.</font color>
* These trees will be used to make cross-class comparisons, along with composite trees for each bird population. (See assignment description for further guidance.)
* These trees will be used to make cross-class comparisons, along with composite trees for each bird population. (See assignment description for further guidance.)
** The trees can largely be compared by inspection.  For a more 'scientific' comparison you will complete UniFrac analysis that should be included within your final report.
** Make sure use all the tools available to you -- for example, complete an [http://openwetware.org/wiki/20.109%28S15%29:AIV_detection_assay_and_analysis_%28Day7%29#Part_F:_Determine_if_there_are_differences_between_birds_using_Fast_Unifrac UniFrac analysis] to quantitatively compare your bird samples and determine if geography or sex play a role in shaping the microbiome.
 
====Part A: Understand possible insert orientations within vector====
 
#Recall from Day 1 the sequences of the forward and reverse primers used to broadly amplify bacterial 16S rRNA gene segments:
#*Forward: 5' AGAGTTTGATCCTGGCTCAG <br>
#*Reverse: 5' ACGGGCGGTGTGTACA
#Based on these sequences, you might expect that your insert will always begin with "AGA" and always end with "CGT." (Draw a picture to make sure you understand why the last three bases are as they are written here.)
#However, in blunt-end cloning, the insert &ndash; here our PCR product &ndash; can face in either orientation. Take a moment to figure out what other basepairs you might expect to see at the beginning or end of your sequenced insert.
#*The kind of cloning we are doing is called non-directional cloning. Directional cloning is possible when, for example, two different restriction enzymes are used to create overhangs that are complementary to the vector but not to each other.
 
====Part B: How to download a sequence====
 
#The data from Genewiz is available at the company website, [http://genewiz.com linked here].
#Choose the "Login" link and then use "skalford@mit.edu" and "be20109" to log in.
#At the bottom right should be a section called ''Recent Result''s. Click on ''More'' to expand it, and then click the icon under the Results column for your particular plate.
#*T/R orders were placed on 02/26, and W/F orders were placed on 02/28.
#The quickest way to start working with a particular sequence is to follow the "View" link under the ''Seq File'' heading. For ambiguous data, you may want to look directly at the ''Trace File'' as well.
 
====Part C: Prepare sequences for analysis====
 
#Begin by downloading [[Media:PCRBlunt_20109.ape| '''this file''']], which contains the DNA sequence of the vector we are using in GenBank format. Open the file in ApE (''A plasmid Editor'', created by M. Wayne Davis at the University of Utah), which is found on your desktop. Three items of interest are highlighted: the forward priming site, the reverse priming site and the two basepairs between which your sequence should be inserted.
#Follow the steps below for each clone that had successful forward and reverse sequencing reactions. In cases where only one reaction was successful, briefly check whether you can locate an insert. You should also scroll down to the bottom of the Genewiz table to check if any of your failed reactions were repeated; these are noted with an "R" and in some cases worked the second time around. 
#Paste the forward sequence of your first candidate into a new ApE file. Locate where the vector ends and the insert begins; trim away the vector.
#*It may be easiest to find the insert by doing ''Edit'' &rarr; ''Find'' (or Apple-F) using the base pairs right before the insert should begin.
#Paste the reverse sequence of your first candidate into yet another ApE file. Immediately use ''Edit'' &rarr; ''Reverse Complement'' to adjust the sequence, and again trim away the vector.
#*''Why is it more convenient to work with the reverse complement when sequencing from the reverse direction?''
#In ApE, use ''Tools'' &rarr; ''Align Sequence'' to find where the forward and reverse sequences overlap. Combine them into one sequence with no repeated parts; where both forward and reverse sequence have coverage of the gene, choose whatever combination has the fewest unknown based, or Ns (ideally none!).
#*You may find it easiest to print out the alignment and mark up the hardcopy in order to choose where to switch from using forward to using reverse sequence. Let the base-pair numbers be your guides.
#*Be aware that that long stretches of the same base (particularly Gs and Cs) are prone to error; for example, the string "CCC" may be mis-sequenced as "CC" or "CCCC."
#Save this sequence as a new file called YourTeamDayYourTeamColorYourSampleIDC"Candidate Number (e.g., WFPurple737C1).
#Finally, depending on the orientation of your insert, you may want to reverse complement the entire sequence. Use the original sequences of the forward and reverse 16S primers to guide your decision.
#*<font color=FF33FF>'''It is important for subsequent alignment that all sequences are 5' to 3' (begin with AGA).'''</font color>
#You must now save each sequence in .txt format. If anyone can figure out how to do this task directly in ApE, let us know! Otherwise, you can copy-paste the sequence into a program such as TextEdit, choose ''File'' &rarr; ''Save'', and in the pulldown menu select ''Plain Text''.
 
====Part D: Identify species from sequences====
# The "nucleotide BLAST" alignment program can be accessed through the NCBI [http://www.ncbi.nlm.nih.gov/BLAST/ BLAST page] or directly from this [http://blast.ncbi.nlm.nih.gov/Blast.cgi?PROGRAM=blastn&BLAST_PROGRAMS=megaBlast&PAGE_TYPE=BlastSearch&SHOW_DEFAULTS=on&LINK_LOC=blasthome link]. Follow the steps below for each clone, one at a time.
# Paste the sequence text that you prepared above into the "Query" box. If there were ambiguous areas of your sequencing results, these will be listed as "N" rather than "A" "T" "G" or "C" and it's fine to include Ns in the query.
# Under ''Choose Search Set'', select "16S ribosomal RNA sequences (Bacteria and Archaea)" from the ''Database'' pulldown menu.
# Click on the BLAST button. Matches will be shown by vertical lines between the aligned sequences, while mismatches and gaps will be shown with a dash.
#Because this gene is highly conserved, a number of species should come up as highly matched. However, one should (usually) be a best choice. Think carefully here rather than blindly accepting the top species listed.
#*For example, if a partial sequence for species A comes up as the top choice, a full sequence for species B comes up as the second choice, and a full sequence for species A is the third most closely matched choice, is species A or B truly closer to your original sequence?
#When you have decided which is best, use the [[Media: S14-M1D7-template.xlsx | '''linked template''']] to document this strain and its accession number, its associated max score, query coverage, max identity, gaps, mismatches, and full taxonomy; write down these parameters for the second most closely matched species as well. The taxonomy information can be found by clicking on the accession number and looking under the "organism" heading.
#*Taxonomy order is kingdom, phylum, class, order, family, genus, and species. 
# When a particular clone is very closely matched to two different species, you might choose to define it at a higher order, such as genus or family. When a particular clone is not well-matched to any known species (perhaps representing an unidentified or undocumented species), you might also choose to define it at a higher order when submitting this information in the phylogenetics program.
# Be sure to rename the Excel file according to your your section day, team color, and sample ID number.
# Please post all of your .txt files (up to 8 per person) and also your Excel file to the table on today's Talk page when you have finished.
 
====Part E: Align sequences and construct tree====
 
For this next part you will use freely available software called Molecular Evolutionary Genetics analysis, or MEGA. Feel free to read additional information about this software at the [http://www.megasoftware.net MEGA website]. What you need should already be downloaded on your laboratory computers, or you can download onto your personal computers if you wish.
#Open MEGA. In the upper left corner, click on the icon labeled ''Align'', and choose ''Edit/Build Alignment'' from the pulldown menu. This selection should open the Alignment Explorer. When you are prompted, choose "DNA" alignment of course.
#Under ''Edit'', choose ''Insert Sequence from File'' and select your first .txt file. It should appear in the explorer.
#Double-click to rename according to the species. Note that each sequence must have a unique name. Thus, it is best that you name according to both species and clone: for example, "Klebsiella.oxytoca.TRBlu.4. This approach will also allow us to track which sequences came from which individual preps, which might be useful information.
#*Please use the following 3-letter abbreviations for your colors: Red, Org, Ylw, Grn, Blu, Pnk, Prp, Sil, Wht.
#*<font color=FF33FF>Use periods, NOT spaces, in the species name, in order to facilitate UniFrac analysis later on.</font color>
#When you have input all sequences from your three-person team (up to 24), choose ''Edit'' &rarr; ''Select All'', followed by ''Alignment'' &rarr; ''Align by Clustal-W''.
#Now choose ''Data'' &rarr; ''Save Session'' and name the alignment according to section and clone (such as "TR-716-alignment"). Post this file on today's Talk page.
#*If you are posting a partial alignment file for any sample, add "-partial" at the end of the filename. That way additional data can readily be combined into one tree per gull sample, by using ''Open Saved Alignment Session'' followed by copy and paste.
#Under ''Data'', choose ''Phylogenetic Analysis''.
#*''When prompted, should you answer that the DNA is protein-coding or not protein-coding?''
#Now leave Alignment Explorer and go back to the original MEGA window.
#From the ''Phylogeny'' icon pulldown menu, select ''Construct/Test Neighbor-Joining Tree''. To proceed, click on ''Compute''.
#Finally, choose ''Image'' &rarr; ''Save as PDF File'' to document your tree. Save according to section and sample number as before.
#Please post the trees on today's Talk page for class-wide use.
 
====Part F: Compare sets of trees====
 
Most of the guidance about your data analysis is found in the assignment description [[20.109(S15):Microbiome data summary |'''linked here'''.]]
 
However, before you leave today it is worth doing one check: Are there any supposedly identical species that show up on different leaves? If so, are the different leaves correlated with different team names? If so, please ask those teams to double-check that all their sequence files are facing in the correct direction! There are other reasons that identical species can show up on different leaves, however. As you think about why, remember that MEGA is using your sequence information (and only your sequence information) directly in its algorithm.
 
 


==Reagent list==
==Reagent list==

Revision as of 19:23, 2 March 2015


20.109(S15): Laboratory Fundamentals of Biological Engineering

Home        People        Schedule Spring 2015        Assignments        Lab Basics        OWW Basics       
DNA Engineering        System Engineering        Biomaterials Engineering              

Introduction

Analysis of sequence data is no small task. “Sequence gazing” can swallow hours of time with little or no results. There are also many web-based programs to decipher patterns. The nucleotide or its translated protein can be examined in this way. Thanks to the genome sequence information that is now available, a new verb, “to BLAST,” has been coined to describe the comparison of your own sequence to sequences from other organisms. BLAST is an acronym for Basic Local Alignment Search Tool, and can be accessed through the National Center for Biotechnology Information (NCBI) home page. You will use BLAST to identify which bacterial populations are present in your bird cloacal samples. These identifications will be used to complete phylogenetics and assess population differences that may be present in the microbiomes of birds based on sex or location.

Molecular phylogeny, or phylogenetics, is used to study relationships among organisms. The most common approach these days involves examining nucleic acid sequences or protein data from specific genetic loci; frequently the goal is to define data down to the species level. All life forms on earth trace back to a few organisms that lived billions of years ago and all share a common descent. Groups of organisms that are closely related to each other diverged from more recent shared common ancestors. Phylogeny remains one of the only effective means of describing these relationships, which can be difficult to assess by other means.

The goals of phylogenetics are to 1) reconstruct the correct genealogical relationship between organisms/genes/sequence data and 2) to estimate their divergence since sharing a common ancestor. The process of phylogenetic reconstruction relies heavily on correct comparison of the traits under question, whether it is morphological data (such as wing lengths) or sequence data. For sequence data, comparison is made by the alignment of a set of orthologous sequences, which we will do in lab from the 16s rRNA gene.

Today, we have a choice of algorithms (distance-based, neighbor-joining, parsimony, likelihood, and other) for reconstructing a phylogenetic tree that depicts the relationships among aligned sequences. A number of models for defining how the mutations between sequences (genetic substitution) are assessed are also available. Each of these methods and models has advantages and disadvantages, which are closely considered (ideally!) in any formal published phylogenetics study. In the world of microbial community analysis, a popular choice is the neighbor-joining method (Saitou and Nei, 1987), which is one of the methods that deals most accurately and consistently with large data sets. Regardless of the best method, however, the result – a reconstructed phylogenetic tree – has proven to be an extremely useful qualitative and often even quantitative tool for examining the relationships among organisms.

Protocols

Bird microbiome analysis

Overview

You will take several steps to analyze your bird stool sequencing data, first alone, then with your partner, and ultimately across the entire class:

  • For each of your clones, you will trim and combine the forward and reverse sequencing results to get one intact 16S rRNA gene sequence.
  • For each sequence, you will use BLAST to determine the closest known bacterial species to that sequence.
  • You will post the sequences and a summary of the species that you found, according to a specific template. See Part D from M1D7.
  • You should then team up with your partner and together, you will align all of the robust sequences from your bird sample, up to 24 of them, in a program called MEGA, and subsequently construct a phylogenetic tree following Part E from M1D7.
    • Each group must post a complete alignment file and tree for their bird sample.
  • These trees will be used to make cross-class comparisons, along with composite trees for each bird population. (See assignment description for further guidance.)
    • Make sure use all the tools available to you -- for example, complete an UniFrac analysis to quantitatively compare your bird samples and determine if geography or sex play a role in shaping the microbiome.

Reagent list

  • Your brains!

Navigation Links

Next Day: Journal club II

Previous Day: AIV detection assay and analysis