Sarah Carratt: Week 12: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
(formatting created)
 
Line 1: Line 1:
==Instructions==
==Instructions==
=== Clustering and Gene Ontology Analysis with STEM ===
For this assignment, keep an electronic lab notebook recording all of the actions that you take following the protocol.  In addition, answer the questions embedded in the protocol.
# '''Begin by downloading and extracting the STEM software.'''  [http://www.cs.cmu.edu/~jernst/stem/ Click here to go to the STEM web site].
#* Click on the [http://www.andrew.cmu.edu/user/zivbj/stemreg.html download link], register, and download the <code>stem.zip</code> file to your Desktop.
#* Unzip the file.  In Seaver 120, you can right click on the file icon and select the menu item ''7-zip > Extract Here''.
#* This will create a folder called <code>stem</code>.  Inside the folder, double-click on the <code>stem.cmd</code> to launch the STEM program.
#** In Seaver 120, we encountered an issue where the program would not launch on the Windows XP machines due to a lack of memory.  To get around this problem, launch STEM from the command line.
#*** Go to the start menu and click on ''Programs > Accessories > Command Prompt''.
#*** You will need to navigate to the directory (folder) in which the STEM program resides.  If you followed the instructions above and extracted the stem folder to the Desktop, type the following:  <code>cd Desktop\stem</code>  and press "Enter".
#*** To launch the program then type:  <code>java -mx512M -jar stem.jar -d defaults.txt</code>  and press "Enter".  This will launch the program with less memory allocated to it.
# '''Prepare your microarray data file for loading into STEM.'''
#* Using the Excel spreadsheet that you turned in for your [[BIOL398-01/S11:Week 11 | Week 11 Assinment]], insert a new worksheet and name it "stem".
#* Select all of the data from your "final" worksheet and paste it into your "stem" worksheet.
#** Your leftmost column should have the column header "MasterIndex".  Rename this column to "SPOT".  Column B should be named "ID".  Rename this column to "Gene Symbol".
#** Delete all of the data columns '''''EXCEPT''''' for the AvgLogFC columns for each timepoint.
#** Rename the data columns with just the time and units.  Use the same timepoints for all samples.  For example, 15m, 30m, etc. for the Dahlquist lab data or 0.17h, 0.5h, etc. for the Schade data (for the Schade data, leave out the 0 timepoint).
#** Save your work.  Then use ''Save As'' to save this spreadsheet as Text (Tab-delimited) (*.txt).  Click OK to the warnings and close your file.
# '''Running STEM'''
## In section 1 (Expression Data Info) of the the main STEM interface window, click on the ''Browse...'' button to navigate to and select your file.
##* Click on the radio button ''No normalization/add 0''.
##* Check the box next to ''Spot IDs included in the data file''.
## In section 2 (Gene Info) of the main STEM interface window, select ''Saccharomyces cerevisiae (SGD)'', from the drop-down menu for Gene Annotation Source.  Select ''No cross references'', from the Cross Reference Source drop-down menu.  Select ''No Gene Locations'' from the Gene Location Source drop-down menu.
## In section 3 (Options) of the main STEM interface window, make sure that the Clustering Method says "STEM Clustering Method" and do not change the defaults for Maximum Number of Model Profiles or Maximum Unit Change in Model Profiles between Time Points.
## In section 4 (Execute) click on the yellow Execute button to run STEM.
# '''Viewing and Saving STEM Results'''
## A new window will open called "All STEM Profiles (1)".  Each box corresponds to a model expression profile.  Colored profiles have a statistically significant number of genes assigned; they are arranged in order from most to least significant p value.  Profiles with the same color belong to the same cluster of profiles.  The number in each box is simply an ID number for the profile.
##* Click on the button that says "Interface Options...".  At the bottom of the Interface Options window that appears below where it says "X-axis scale should be:", click on the radio button that says "Based on real time".  Then close the Interface Options window.
##*Take a screenshot of this window (on a PC, simultaneously press the <code>Alt</code> and <code>PrintScreen</code> buttons to save the view in the active window to the clipboard) and paste it into a new PowerPoint presentation to save your figures.
## Click on each of the profiles to open a window showing a more detailed plot containing all of the genes in that profile.
##* Take a screenshot of each of the individual profile windows and save the images in your PowerPoint presentation.
##* At the bottom of each profile window, there are two yellow buttons "Profile Gene Table" and "Profile GO Table".  For each of the profiles, click on the "Profile Gene Table" button to see the list of genes belonging to the profile.  In the window that appears, click on the "Save Table" button and save the file to your desktop.  Make your filename descriptive of the contents, e.g. "wt_profile#_genelist.txt", where you replace the number symbol with the actual profile number.
##** Upload this file to [http://lionshare.lmu.edu LionShare] and provide a link to Dr. Dahlquist and Dr. Fitzpatrick.
##* For each of the profiles, click on the "Profile GO Table" to see the list of Gene Ontology terms belonging to the profile.  In the window that appears, click on the "Save Table" button and save the file to your desktop.  Make your filename descriptive of the contents, e.g. "wt_profile#_GOlist.txt", where you use "wt", "dGLN3" or "Schade" to indicate the dataset and where you replace the number symbol with the actual profile number.  At this point you have saved all of the primary data from the STEM software and it's time to interpret the results!
##** Upload this file to [http://lionshare.lmu.edu LionShare] and provide a link to Dr. Dahlquist and Dr. Fitzpatrick.
# '''Analyzing and Interpreting STEM Results'''
## Select '''''one''''' of the profiles you saved in the previous step for further intepretation of the data.  We suggest that you choose one that has a pattern of up- or down-regulated genes at the early (first three) timepoints.  Answer the following:
##* '''''Why did you select this profile?  In other words, why was it intersting to you?'''''
##* '''''How many genes belong to this profile?'''''
##* '''''How many genes were expected to belong to this profile?'''''
##* '''''What is the p value for the enrichment of genes in this profile?'''''  Bear in mind that in [[BIOL398-01/S11:Week 11 | last week's assignment]], you computed p values to determine whether each individual gene had a significant change in gene expression at each time point.  This p value determines whether the number of genes that show this particular expression profile across the time points is significantly more than expected.
##* Open the GO list file you saved for this profile in Excel.  This list shows all of the Gene Ontology terms that are associated with genes that fit this profile.  Select the third row and then choose from the menu Data > Filter > Autofilter.  Filter on the "p-value" column to show only GO terms that have a p value of < 0.05.  '''''How many GO terms are associated with this profile at p < 0.05?'''''  The GO list also has a column called "Corrected p-value".  This correction is needed because the software has performed thousands of significance tests.  Filter on the "Corrected p-value" column to show only GO terms that have a corrected p value of < 0.05.  '''''How many GO terms are associated with this profile with a corrected p value < 0.05?'''''
##* Select 10 Gene Ontology terms from your filtered list (either p < 0.05 or corrected p < 0.05).  '''''Look up the definitions for each of the terms at [http://geneontology.org http://geneontology.org].  Write a paragraph that describes the biological interpretation of these GO terms.  In other words, why does the cell react to cold shock by changing the expression of genes associated with these GO terms?'''''
=== Using YEASTRACT to Infer which Transcription Factors Regulate a Cluster of Genes ===
In the previous analysis using STEM, we found a number of gene expression profiles (aka clusters) which grouped genes based on similarity of gene expression changes over time.  The implication is that these genes share the same expression pattern because they are regulated by the same (or the same set) of transcription factors.  We will explore this using the YEASTRACT database.
# Open the gene list in Excel for the profile/cluster that you analyzed above.
#* Copy the list of gene IDs onto your clipboard.
# Launch a web browser and go to the [http://www.yeastract.com/ YEASTRACT database].
#* On the left panel of the window, click on the link to [http://www.yeastract.com/formgroupbytf.php ''group by TF''].
#* Paste your list of genes from your cluster into the box labeled ''ORFs/Genes''.
#* Check the box for ''Check for all TFs''.
#* Uncheck the box for ''Indirect Evidence''.
#* Click the ''Search'' button.
# Answer the following questions:
#* '''''What are the top 10 transcription factors in your results?  List them on your wiki page with the percent of the genes in your cluster that they each regulate.'''''
#* '''''Is Gln3 on the list?  What percentage of the genes in the cluster does it regulate?  How many genes does it regulate?  What are the names of the genes?'''''
# For the mathematical model that we will build in class, we need to define a ''gene regulatory network'' of transcription factors that regulate other transcription factors.  We can use YEASTRACT to assist us with creating the network.  The model that we will start with has the following transcription factors in it:
CIN5
CUP9
FHL1
GTS1
HSF1
MSN1
MSN4
NRG1
RAP1
RCS1
REB1
ROX1
RPH1
YAP1
YAP6
* We will also include GLN3 because it is known to regulate the genes that code for enzymes in nitrogen metabolism.  Based on your previous analysis of the transcription factors that regulate your chosen cluster above, select up to five additional transcription factors to add to the network.  '''''Which transcription factors do you want to add to the model and why?'''''
* Go back to the YEASTRACT database and follow the link to ''[http://www.yeastract.com/formgenerateregulationmatrix.php Generate Regulation Matrix]''.
** Copy and paste the list above, plus GLN3, plus the additional transcription factors you identified into both the "Transcription Factor" field and the "ORF/Genes" field.
** Uncheck the box for "Indirect Evidence" and select "JPEG" from the drop-down menu for the "Output Image".
** Click the "Generate" button.
* In the results window that appears, click on the link to the "RegulationMatrix" file that appears and save it to your Desktop.
* Click on the "Image" link to see the diagram of the network.  Save the image file (you can copy and paste it to your PowerPoint file or upload it to the wiki).
* We will use this matrix file as an input to your model next week.
* Make sure that your wiki assignment page includes your PowerPoint file to which you saved your screenshots and your "RegulationMatrix" file.


== Online Sources ==
== Online Sources ==

Revision as of 09:40, 7 April 2011

Instructions

Clustering and Gene Ontology Analysis with STEM

For this assignment, keep an electronic lab notebook recording all of the actions that you take following the protocol. In addition, answer the questions embedded in the protocol.

  1. Begin by downloading and extracting the STEM software. Click here to go to the STEM web site.
    • Click on the download link, register, and download the stem.zip file to your Desktop.
    • Unzip the file. In Seaver 120, you can right click on the file icon and select the menu item 7-zip > Extract Here.
    • This will create a folder called stem. Inside the folder, double-click on the stem.cmd to launch the STEM program.
      • In Seaver 120, we encountered an issue where the program would not launch on the Windows XP machines due to a lack of memory. To get around this problem, launch STEM from the command line.
        • Go to the start menu and click on Programs > Accessories > Command Prompt.
        • You will need to navigate to the directory (folder) in which the STEM program resides. If you followed the instructions above and extracted the stem folder to the Desktop, type the following: cd Desktop\stem and press "Enter".
        • To launch the program then type: java -mx512M -jar stem.jar -d defaults.txt and press "Enter". This will launch the program with less memory allocated to it.
  2. Prepare your microarray data file for loading into STEM.
    • Using the Excel spreadsheet that you turned in for your Week 11 Assinment, insert a new worksheet and name it "stem".
    • Select all of the data from your "final" worksheet and paste it into your "stem" worksheet.
      • Your leftmost column should have the column header "MasterIndex". Rename this column to "SPOT". Column B should be named "ID". Rename this column to "Gene Symbol".
      • Delete all of the data columns EXCEPT for the AvgLogFC columns for each timepoint.
      • Rename the data columns with just the time and units. Use the same timepoints for all samples. For example, 15m, 30m, etc. for the Dahlquist lab data or 0.17h, 0.5h, etc. for the Schade data (for the Schade data, leave out the 0 timepoint).
      • Save your work. Then use Save As to save this spreadsheet as Text (Tab-delimited) (*.txt). Click OK to the warnings and close your file.
  3. Running STEM
    1. In section 1 (Expression Data Info) of the the main STEM interface window, click on the Browse... button to navigate to and select your file.
      • Click on the radio button No normalization/add 0.
      • Check the box next to Spot IDs included in the data file.
    2. In section 2 (Gene Info) of the main STEM interface window, select Saccharomyces cerevisiae (SGD), from the drop-down menu for Gene Annotation Source. Select No cross references, from the Cross Reference Source drop-down menu. Select No Gene Locations from the Gene Location Source drop-down menu.
    3. In section 3 (Options) of the main STEM interface window, make sure that the Clustering Method says "STEM Clustering Method" and do not change the defaults for Maximum Number of Model Profiles or Maximum Unit Change in Model Profiles between Time Points.
    4. In section 4 (Execute) click on the yellow Execute button to run STEM.
  4. Viewing and Saving STEM Results
    1. A new window will open called "All STEM Profiles (1)". Each box corresponds to a model expression profile. Colored profiles have a statistically significant number of genes assigned; they are arranged in order from most to least significant p value. Profiles with the same color belong to the same cluster of profiles. The number in each box is simply an ID number for the profile.
      • Click on the button that says "Interface Options...". At the bottom of the Interface Options window that appears below where it says "X-axis scale should be:", click on the radio button that says "Based on real time". Then close the Interface Options window.
      • Take a screenshot of this window (on a PC, simultaneously press the Alt and PrintScreen buttons to save the view in the active window to the clipboard) and paste it into a new PowerPoint presentation to save your figures.
    2. Click on each of the profiles to open a window showing a more detailed plot containing all of the genes in that profile.
      • Take a screenshot of each of the individual profile windows and save the images in your PowerPoint presentation.
      • At the bottom of each profile window, there are two yellow buttons "Profile Gene Table" and "Profile GO Table". For each of the profiles, click on the "Profile Gene Table" button to see the list of genes belonging to the profile. In the window that appears, click on the "Save Table" button and save the file to your desktop. Make your filename descriptive of the contents, e.g. "wt_profile#_genelist.txt", where you replace the number symbol with the actual profile number.
        • Upload this file to LionShare and provide a link to Dr. Dahlquist and Dr. Fitzpatrick.
      • For each of the profiles, click on the "Profile GO Table" to see the list of Gene Ontology terms belonging to the profile. In the window that appears, click on the "Save Table" button and save the file to your desktop. Make your filename descriptive of the contents, e.g. "wt_profile#_GOlist.txt", where you use "wt", "dGLN3" or "Schade" to indicate the dataset and where you replace the number symbol with the actual profile number. At this point you have saved all of the primary data from the STEM software and it's time to interpret the results!
        • Upload this file to LionShare and provide a link to Dr. Dahlquist and Dr. Fitzpatrick.
  5. Analyzing and Interpreting STEM Results
    1. Select one of the profiles you saved in the previous step for further intepretation of the data. We suggest that you choose one that has a pattern of up- or down-regulated genes at the early (first three) timepoints. Answer the following:
      • Why did you select this profile? In other words, why was it intersting to you?
      • How many genes belong to this profile?
      • How many genes were expected to belong to this profile?
      • What is the p value for the enrichment of genes in this profile? Bear in mind that in last week's assignment, you computed p values to determine whether each individual gene had a significant change in gene expression at each time point. This p value determines whether the number of genes that show this particular expression profile across the time points is significantly more than expected.
      • Open the GO list file you saved for this profile in Excel. This list shows all of the Gene Ontology terms that are associated with genes that fit this profile. Select the third row and then choose from the menu Data > Filter > Autofilter. Filter on the "p-value" column to show only GO terms that have a p value of < 0.05. How many GO terms are associated with this profile at p < 0.05? The GO list also has a column called "Corrected p-value". This correction is needed because the software has performed thousands of significance tests. Filter on the "Corrected p-value" column to show only GO terms that have a corrected p value of < 0.05. How many GO terms are associated with this profile with a corrected p value < 0.05?
      • Select 10 Gene Ontology terms from your filtered list (either p < 0.05 or corrected p < 0.05). Look up the definitions for each of the terms at http://geneontology.org. Write a paragraph that describes the biological interpretation of these GO terms. In other words, why does the cell react to cold shock by changing the expression of genes associated with these GO terms?

Using YEASTRACT to Infer which Transcription Factors Regulate a Cluster of Genes

In the previous analysis using STEM, we found a number of gene expression profiles (aka clusters) which grouped genes based on similarity of gene expression changes over time. The implication is that these genes share the same expression pattern because they are regulated by the same (or the same set) of transcription factors. We will explore this using the YEASTRACT database.

  1. Open the gene list in Excel for the profile/cluster that you analyzed above.
    • Copy the list of gene IDs onto your clipboard.
  2. Launch a web browser and go to the YEASTRACT database.
    • On the left panel of the window, click on the link to group by TF.
    • Paste your list of genes from your cluster into the box labeled ORFs/Genes.
    • Check the box for Check for all TFs.
    • Uncheck the box for Indirect Evidence.
    • Click the Search button.
  3. Answer the following questions:
    • What are the top 10 transcription factors in your results? List them on your wiki page with the percent of the genes in your cluster that they each regulate.
    • Is Gln3 on the list? What percentage of the genes in the cluster does it regulate? How many genes does it regulate? What are the names of the genes?
  4. For the mathematical model that we will build in class, we need to define a gene regulatory network of transcription factors that regulate other transcription factors. We can use YEASTRACT to assist us with creating the network. The model that we will start with has the following transcription factors in it:
CIN5
CUP9
FHL1
GTS1
HSF1
MSN1
MSN4
NRG1
RAP1
RCS1
REB1
ROX1
RPH1
YAP1
YAP6
  • We will also include GLN3 because it is known to regulate the genes that code for enzymes in nitrogen metabolism. Based on your previous analysis of the transcription factors that regulate your chosen cluster above, select up to five additional transcription factors to add to the network. Which transcription factors do you want to add to the model and why?
  • Go back to the YEASTRACT database and follow the link to Generate Regulation Matrix.
    • Copy and paste the list above, plus GLN3, plus the additional transcription factors you identified into both the "Transcription Factor" field and the "ORF/Genes" field.
    • Uncheck the box for "Indirect Evidence" and select "JPEG" from the drop-down menu for the "Output Image".
    • Click the "Generate" button.
  • In the results window that appears, click on the link to the "RegulationMatrix" file that appears and save it to your Desktop.
  • Click on the "Image" link to see the diagram of the network. Save the image file (you can copy and paste it to your PowerPoint file or upload it to the wiki).
  • We will use this matrix file as an input to your model next week.
  • Make sure that your wiki assignment page includes your PowerPoint file to which you saved your screenshots and your "RegulationMatrix" file.

Online Sources

Student Response

Navigation Guide

Individual Assignments

Sarah Carratt: Week 2 Sarah Carratt: Week 6 Sarah Carratt: Week 11
Sarah Carratt: Week 3 Sarah Carratt: Week 7 Sarah Carratt: Week 12
Sarah Carratt: Week 4 Sarah Carratt: Week 8 Sarah Carratt: Week 13
Sarah Carratt: Week 5 Sarah Carratt: Week 9 Sarah Carratt: Week 14

Class Assignments

Shared Journal: Week 1 Shared Journal: Week 6 Shared Journal: Week 11
Shared Journal: Week 2 Shared Journal: Week 7 Shared Journal: Week 12
Shared Journal: Week 3 Shared Journal: Week 8 Shared Journal: Week 13
Shared Journal: Week 4 Shared Journal: Week 9 Shared Journal: Week 14
Shared Journal: Week 5 Shared Journal: Week 10

Class Notes

Sarah Carratt_1.18.11 Sarah Carratt_2.3.11 Sarah Carratt_2.22.11
Sarah Carratt_1.20.11 Sarah Carratt_2.8.11 Sarah Carratt_2.24.11
Sarah Carratt_1.25.11 Sarah Carratt_2.10.11 Sarah Carratt_3.1.11
Sarah Carratt_1.27.11 Sarah Carratt_2.15.11 Sarah Carratt_3.3.11
Sarah Carratt_2.1.11 Sarah Carratt_2.17.11 Sarah Carratt_3.8.11

Internal Links

BIOL398-01/S11:Assignments BIOL398-01/S11:People BIOL398-01/S11:Sarah Carratt