Difference between revisions of "BIO Assignment Week 2"

From "A B C"
Jump to navigation Jump to search
Line 300: Line 300:
  
  
This os '''one''' way to find related sequences: by accessing precomputed results at the NCBI. We will however explore much more principled approaches in a later assignment. Let's leave the sequence searches for the moment, and explore other information on Yeast Mbp1 that may be useful for annotating sequences in YFO.
+
This is '''one''' way to find related sequences: by accessing precomputed results at the NCBI. We will however explore much more principled approaches in a later assignment. Let's leave the sequence searches for the moment, and explore other information on Yeast Mbp1 that may be useful for annotating sequences in YFO.
  
 
===PubMed===
 
===PubMed===

Revision as of 04:42, 21 September 2012

Assignment for Week 2
Scenario, Databases, Search and Retrieve

Note! This assignment is currently inactive. Major and minor unannounced changes may be made at any time.

 
 

Concepts and activities (and reading, if applicable) for this assignment will be topics on next week's quiz.



 

The Scenario

Baker's yeast, Saccharomyces cerevisiae, is perhaps the most important model organism. It is a eukaryote that has been studied genetically and biochemically in great detail for many decades, and it is easily manipulated with high-throughput experimental methods. We will use information from this model organism to study the conservation of function and sequence in other fungi whose genomes have been completely sequenced; the assignments are an exercise in model-organism reasoning: the transfer of knowledge from one, well-studied organism to others.

This and the following assignments will revolve around a transcription factor that plays an important role in the regulation of the cell cycle: Mbp1 is a key component of the MBF complex (Mbp1/Swi6). This complex regulates gene expression at the crucial G1/S-phase transition of the mitotic cell cycle and has been shown to bind to the regulatory regions of more than a hundred target genes. It is therefore a DNA binding protein that acts as a control switch for a key cellular process.

One would speculate that such central control machinery would be conserved in other fungi and it will be your task in these assignments to collect evidence whether related molecular components are present in some of the newly sequenced fungal genomes. Throughout the assignments we will use freely available tools to conduct bioinformatics investigations of sequences, structures and relationships that may ultimately answer questions such as:

  • Do related proteins exist in other organisms?
  • What functional features can we detect in the related proteins?
  • Do we have evidence that they may bind to similar sequence motifs?
  • Do we believe they may function in a similar way?

Task:
Access the information page on Mbp1 at the Saccharomyces Genome Database and read the summary paragraph on the protein's function!

(If you would like to brush up on the concepts mentioned above, you could study the corresponding chapter in Lodish's Molecular Cell Biology and./or read Nobel laureate Paul Nurse's review of the key concepts of the eukaryotic cycle. It is not strictly necessary to understand the details of the yeast cell-cycle to complete the assignments, but it's obviously more satisfying to work with concepts that actually make some sense.)

For reference, this is the FASTA formatted sequence of Mbp1 from Saccharomyces cerevisiae:

>gi|6320147|ref|NP_010227.1| Mbp1p [Saccharomyces cerevisiae S288c]
MSNQIYSARYSGVDVYEFIHSTGSIMKRKKDDWVNATHILKAANFAKAKRTRILEKEVLKETHEKVQGGF
GKYQGTWVPLNIAKQLAEKFSVYDQLKPLFDFTQTDGSASPPPAPKHHHASKVDRKKAIRSASTSAIMET
KRNNKKAEENQFQSSKILGNPTAAPRKRGRPVGSTRGSRRKLGVNLQRSQSDMGFPRPAIPNSSISTTQL
PSIRSTMGPQSPTLGILEEERHDSRQQQPQQNNSAQFKEIDLEDGLSSDVEPSQQLQQVFNQNTGFVPQQ
QSSLIQTQQTESMATSVSSSPSLPTSPGDFADSNPFEERFPGGGTSPIISMIPRYPVTSRPQTSDINDKV
NKYLSKLVDYFISNEMKSNKSLPQVLLHPPPHSAPYIDAPIDPELHTAFHWACSMGNLPIAEALYEAGTS
IRSTNSQGQTPLMRSSLFHNSYTRRTFPRIFQLLHETVFDIDSQSQTVIHHIVKRKSTTPSAVYYLDVVL
SKIKDFSPQYRIELLLNTQDKNGDTALHIASKNGDVVFFNTLVKMGALTTISNKEGLTANEIMNQQYEQM
MIQNGTNQHVNSSNTDLNIHVNTNNIETKNDVNSMVIMSPVSPSDYITYPSQIATNISRNIPNVVNSMKQ
MASIYNDLHEQHDNEIKSLQKTLKSISKTKIQVSLKTLEVLKESSKDENGEAQTNDDFEILSRLQEQNTK
KLRKRLIRYKRLIKQKLEYRQTVLLNKLIEDETQATTNNTVEKDNNTLERLELAQELTMLQLQRKNKLSS
LVKKFEDNAKIHKYRRIIREGTEMNIEEVDSSLDVILQTLIANNNKNKGAEQIITISNANSHA

I have highlighted the protein's APSES domain (also known as a KilA-N domain), which is the DNA binding element of the sequence. Of course, such coloring is not part of the actual FASTA file which contains only a header and sequence letters.


Choosing YFO (Your Favourite Organism)

The first task is to choose a species in which to conduct your explorations.


Many fungal genomes have been sequenced and more are added each year. For the purposes of the course assignments, we need a species

  • that has transcription factors containing APSES domains;
  • whose genome has been completely sequenced;
  • for which records exist in the RefSeq database, NCBI's unique sequence collection.


To prepare such a list of species, I have searched the NCBI's RefSeq database for proteins whose sequences are similar to the APSES domain of Mbp1 and compiled the names of organisms that contain them.
  1. Performed a PSI BLAST search with the Mbp1 APSES domain sequence shown above. Restricted the search to the refseq_protein database and an Entrez query limit of fungi (taxid: 4751). This search was iterated a few times and retrieves all sequence-similar proteins from the RefSeq database - the result contains examples from all fungal species.
  2. In the header of the results page, there is a link to [Taxonomy reports] This contains a list of all hits, sorted by species. We can see the number of hits, but not whether the hits came from a genome sequence or have been contributed ad hoc as individual sequences. In the latter case, not all of the species' APSES domain proteins might be included in the RefSeq database.
  3. To confirm the sequencing status, navigated to the table of organims available for genomic BLAST. Clicked on the link to the eukaryotic genomes tree. For each species name in the taxonomy report, confirmed that the species' genome sequence is available, has been annotated, and the protein sequences have been included in RefSeq (in that table, species for which this is true are marked with a red P).
  4. I included only species with at least three hits in the search results.

This is a fairly typical example of gathering information across different data sources.

 

Next, I would like to assign species from this list randomly to each student, but I'd also like to avoid having to make a fresh table of assignments every year.

Here's an idea: we could use the student ID ( a unique identifier) to pick entries from the list! Indeed, the functions provided in R can easily be used to randomly but reproducibly choose an element from a list. Essentially we can write a function thatcreates a many-faced die, with a piece of text—the species' names— on every face. It will fall differently for each student ID, but will fall the same every time the same ID is encountered.

This makes use of the fact that "random" numbers generated by a computer algorithm aren't really random: they are "pseudorandom", generated by a deterministic algorithm. Such an algorithm takes a number—a seed— and mangles it until the resulthas no recognizable connection to the seed. The result actually is indistinguishable from a random number, except that if we use the same seed, we will always get the same result. So a random pick can be programmed with the following steps:

  1. Create a list
  2. Initialize a random number generator with a student ID as a seed
  3. pick a random integer "i" in the range from first to last element of the list
  4. return the i-th list element.

Here is R code to accomplish this:

Task:


  • Read, try to understand and then execute the following R-code.
pickSpecies <- function(ID) {
	# this function randomly picks a fungal species
	# from a list. It is seeded by a student ID. Therefore
	# the pick is random, but reproducible.
	
	# first, define a list of species:
	Species <- c(
		"Ajellomyces dermatitidis (AJEDE)",
		"Arthroderma gypseum (ARTGY)",
		"Ashbya gossypii (ASHGO)",
		"Aspergillus clavatus (ASPCL)",
		"Aspergillus flavus (ASPFL)",
		"Botryotinia fuckeliana (BOTFU)",
		"Candida glabrata (CANGL)",
		"Chaetomium globosum (CHAGL)",
		"Clavispora lusitaniae (CLALU)",
		"Coccidioides immitis (COCIM)",
		"Coprinopsis cinerea (COPCI)",
		"Debaryomyces hansenii (DEBHA)",
		"Gibberella zeae (GIBZE)",
		"Kluyveromyces lactis (KLULA)",
		"Komagataella pastoris (KOMPA)",
		"Laccaria bicolor (LACBI)",
		"Lachancea thermotolerans (LACTH)",
		"Lodderomyces elongisporus (LODEL)",
		"Magnaporthe oryzae (MAGOR)",
		"Malassezia globosa (MALGL)",
		"Meyerozyma guilliermondii (MEYGU)",
		"Nectria haematococca (NECHA)",
		"Neosartorya fischeri (NEOFI)",
		"Paracoccidioides brasiliensis (PARBR)",
		"Penicillium chrysogenum (PENCH)",
		"Puccinia graminis (PUCGR)",
		"Pyrenophora teres (PYRTE)",
		"Scheffersomyces stipitis (SCHST)",
		"Schizophyllum commune (SCHCO)",
		"Phaeospheria nodorum (PHANO)",
		"Schizosaccharomyces japonicus (SCHJA)",
		"Sclerotinia sclerotiorum (SCLSC)",
		"Talaromyces stipitatus (TALST)",
		"Trichophyton rubrum (TRIRU)",
		"Uncinocarpus reesii (UNCRE)",
		"Vanderwaltozyma polyspora (VANPO)",
		"Verticillium albo-atrum (VERAL)",
		"Yarrowia lipolytica (YARLI)",
		"Zygosaccharomyces rouxii (ZYGRO)"
		)
	l <- length(Species)    # number of elements in the list
	set.seed(ID)            # seed the random number generator
	                        # with the student ID
	i <- runif(1, 0, 1)     # pick one random number between 0 and 1
	i <- l * i              # multiply with number of elements
	i <- ceiling(i)         # round up to nearest integer
	choice <- Species[i]    # pick the i'th element from list
	return(choice)
}
  • Execute the function pickSpecies() with your student ID as its parameter. Example:
 > pickSpecies(991234567)
 [ 1] "Candida glabrata (CANGL)"
  • Note down the species name and its five letter abbreviation. Use this species whenever this or future assignments refer to YFO.
  • While you already have R open, access the R tutorial and work through the section on Simple commands. It is short, and should help you understand the code above.


 

Keeping a notebook

Consider it a part of your assignment to document your activities. This will be helpful, because the assignment is more or less integrated over the entire term, and later assignments will make use of earlier results. But it is also excellent practice for "real" research.

You should write your documentation like a lab notebook—not a formal lab report, but a point-form record of your actual activities. Write such documentation as notes to your (future) self. Obviously, since much of the work will be done on the Web, an electronic notebook makes more sense than a paper notebook.

For each task:

  • Write a header and give it a unique number.
It is useful to refer to the header number in later text.
  • State the objective.
In one brief sentence, restate what your task is supposed to achieve.
  • Document the procedure.
Note what you have done, as concisely as possible. Give enough information so that anyone could reproduce unambiguously what you have done— your future student, or even your future self.
  • Document your results.
You can distinguish different types of results -
    • Static data does not change over time and it may be sufficient to note a reference to the result. For example, there is no need to copy a genbank record into your documentation, it is sufficient to note the accession number or the GI number.
    • Variable data can change over time. For example the results of a BLAST search depend on the sequences in the database. A list of similar structures may change as new structures get solved. In principle you want to record such data, to be able to reproduce at a later time what your conclusions were based on. But be selective in what you record. For example you should not paste the entire set of results of a BLAST search into your asignment, but only those matches that were important for your conclusions. Indiscriminate pasting of irrelevant information will make your notes unusable.
    • Analysis results
The results of sequence analyses, alignments etc. in general get recorded in your documentation. Again: be selective. Record what is important.
  • Note your conclusions.
An analysis is not complete unless you conclude something from the results. (Remember what we said about "Cargo Cult Science". If there is no conclusion possible, your activities are quite pointless.) Are two sequences likely homologues, or not? Does your protein contain a signal-sequence or does it not? Is a binding site conserved, or not? The analysis gives you the data, in your conclusion you provide the interpretation of what the data means in the context of your objective. Sometimes your assignment task will ask you to elaborate on an analysis and conclusion. But this does not mean that when the assignment does not explicitly mention it, you don't need to interpret your data.
  • Prepare your images well
Don't paste uncompressed screendumps into your notes. Save images in a compressed file format. Then e.g. if you are using MSWord documents, use the Insert → Picture → From File ... function of MSWord to insert the image into your file.
  • Use the right image types.
In principle, images can be stored uncompressed as .tiff or .bmp, or compressed as .gif or .jpg or .png. .gif is useful for images with large, monochrome areas and sharp, high-contrast edges because the LZW compression algorithm it uses works especially well on such data; .jpg (or .jpeg) is preferred for images with shades and halftones such as the structure views you should prepare for several assignments, JPEG has excellent application support and is the most versatile general purpose image file format currently in use; .tiff (or .tif) is preferred to archive master copies of images in a lossless fashion, use LZW compression for TIFF files if your system/application supports it; The .png format is an open source alternative for lossless, compressed images. Application support is growing but still variable. .bmp is not preferred for really anything, it is bloated in its (default) uncompressed form and primarily used only because it is simple to code and ubiquitous on Windows computers.
Image dimensions and resolution
Stereo images should have equivalent points approximately 6cm apart. It depends on your monitor how many pixels this corresponds to. The dimensions of an image are stated in pixels (width x height). My notebook screen has a native display resolution of 1440 x 900 pixels/23.5 x 21 cm. Therefore a 6cm separation on my notebook corresponds to ~260 pixels. However on my desktop monitor, 260 pixels is 6.7 cm across. For the assignments: adjust your stereo images so they are approximately at the the right separation and approximately 500 to 600 pixels across. Also, scale your molecules so they fill the available window and are not just dim blobs losing themselves in murky shadows.
Considerations for print (manuscripts etc.) are slightly different: for print output you can specify the output resolution in dpi (dots per inch). A typical print resolution is about 300 dpi: 6 cm separation at 300dpi is about 700 pixels. Print images should therefore be about three times as large in width and height as screen images.
Preparation of stereo views
When assignments require you to create molecular images, always create stereo views.
Keep your images uncluttered and expressive
Turn off the axes if they are not needed and scale the molecular model to fill the available space of your image well. Orient views so they illustrate a point you are trying to make. Emphasize residues that you are writing about with a contrasting coloring scheme. Add labels, where residue identities are not otherwise obvious. Turn off side-chains for residues that are not important. The more you practice these small details, the more efficient you will become in the use of your tools.


If you have technical difficulties, post your questions to the list and/or contact me.


 

NCBI databases

Let us explore some of the offerings of the NCBI that can contribute to our objective of studying a particular gene in a newly sequenced organism.


Entrez

Task:
Remember to document your activities.

  1. Access the NCBI website at http://www.ncbi.nlm.nih.gov/
  2. In the search bar, enter mbp1 and click Search.
  3. On the resulting page, look for the Protein section and click on it. What do you find?


The result page of your search in "All Databases" is the "Global Query Result Page" of the Entrez system. If you follow the "Protein" link, you get taken to the 200 or so sequences in the NCBI Protein database. But looking at that page, you see that the result is quite non-specific: searching only by gene name retrieves an Arabidopsis protein, a Saccharomyces protein (presumably one that we might be interested in), Maltose Binding Proteins - and much more. There must be a more specific way to search, and indeed there is. Time to read up on the Entrez system.


Task:

  1. Navigate to the Entrez Help Page and read about the Entrez system, especially about:
    1. Boolean operators,
    2. wildcards,
    3. limits, and
    4. filters.
  2. You should minimally understand:
    1. How to search by keyword;
    2. How to search by gene or protein name;
    3. How to restrict a search to a particular organism.

Don't skip this part, you don't need to know the options by heart, but you should know they exist and how to find them.


Keyword and organism searches are pretty universal, but apart from that, each NCBI database has its own set of specific fields. You can access them via the Advanced Search interface of any of the database pages.


Protein

 

Task:
Now try the search for Mbp1 in Baker's Yeast alone. Return to the Global Search page and enter:

Mbp1[protein name] AND "Saccharomyces cerevisiae"[organism]


This should find one and only one protein. Follow the link into the protein database: since this is only one record, the link takes you directly to the result—a data record in Genbank Flat File (GFF) format, not to a list of hits, as before. Explore the record and familiarize yourself with the information that is there.

All well and good - but didn't we want to find RefSeq entries, since that is expected to be the database of unique, curated sequence records? I can't tell you why the RefSeq result was not listed among the search results. But I can at least tell you how to find it:


Task:

  1. In the right-hand margin of the record, you will find a section of Identical proteins ...: click on See all..."" to list them all. Among these, find the entry with an accession number like NP_123456. This is a RefSeq ID. Follow the link.
  2. Explore the resulting page. You will notice that the information elements are not identical, even though these are sequence records for one and the same yeast gene product, in two similar databases, at the same data provider!
  3. Note down the RefSeq ID, you will probably need it later on.


All well and good, and the Mbp1 protein is going to accompany us throughout the term—but we were actually trying to find related proteins in YFO. Let's give that a try.


Task:

  1. Again in the right hand margin, find the section on Related Information and follow the link to Related Sequences. There are many. More than 8,000 actually. Definitely more than you would like to browse through to find the sequences in YFO. Let's use a filter on these results.
  2. Click on the Advanced link to access the search history that brought you here. Since you have read the Entrez page, you should be able to understand clearly that you can type something like
#4 AND "Magnaporthe grisea"[organism]

... or whatever your command-history number resp. YFO name suggests.

You should find a handful of genes, all of them in YFO. If you find none, or hundreds, you did something wrong. Ask on the mailing list and make sure to fix the problem.


This is one way to find related sequences: by accessing precomputed results at the NCBI. We will however explore much more principled approaches in a later assignment. Let's leave the sequence searches for the moment, and explore other information on Yeast Mbp1 that may be useful for annotating sequences in YFO.

PubMed

Arguably one of the most important databases in the life sciences is PubMed and this is a good time to look at PubMed in a bit more detail than you might have done previously.


Task:

  1. Return back to the MBP1 RefSeq record. If you have already closed it, simply enter the RefSeq ID into the search field for a Protein database search and find it again.
  2. Find the PubMed links under Related information in the right-hand margin and explore them. One will take you only to information related to the actual RefSeq record, the others find more broadly relatd information. PubMed(weighted) appears to give a pretty good overview of systems-biology type, cross-sectional and functional information. But neither of the searches finds all Mbp1 related literature.
  3. Again, enter the Advanced query page and study the keywords that apply to PubMed searches. These are actually quite important and useful to remember. Make yourself familiar with the section on Search field descriptions and tags in the PubMed help document, (in particular [DP], [AU], [TI], and [TA]), how you use the History to combine searches, and the use of AND, OR, NOT and brackets. Understand how you can restrict a search to reviews only, and what the link to Related citations... is useful for.
  4. Now find publications with Mbp1 in the title. In the result list, follow the links for the two Biochemistry papers by Taylor et al. (2000) and by Deleeuw et al. (2008). Download the PDFs, we will need them later.


Structure search

The search options in the PDB structure database are as sophisticated as those at the NCBI. For now, we will try a simple keyword search to get us started.


Task:

  1. Visit the RCSB PDB website at http://www.pdb.org/
  2. Briefly orient yourself regarding the database contents and its information offerings and services.
  3. Enter Mbp1 into the search field.
  4. In your journal, note down the PDB IDs for the three Saccharomyces cerevisiae Mbp1 transcription factor structures your search has retrieved.
  5. Click on one of the entries and explore the information and services linked from that page.

VMD

 

Task:

  1. Open VMD.
  2. Load one the yeast Mbp1 fragment structures for which you have noted the PDB ID (simply enter the ID into the appropriate field of a File → New Molecule window).
  3. Display the protein in New Cartoon display and familiarize yourself with its topology of helices and strands.
  4. Using the sequence viewer window, identify the part of the sequence that corresponds to the APSES domain I have highlighted in the FASTA record above.
  5. Generate a stereo-view that shows the molecule well, in which the the APSES domain residues are red and the remaining residues are white.
  6. Save the image in your journal.

Stereo vision

Task:

Continue with your stereo practice.

Practice at least ...

  • two times daily,
  • for 3-5 minutes each session,

Keep up your practice throughout the course. Once again: do not go through your practice sessions mechanically. If you are not making constant progress in your practice sessions, contact me so we can help you on the right track.

Ask, if things don't work for you!

If anything about the assignment is not clear to you, please ask on the mailing list. You can be certain that others will have had similar problems. Please remember that "participation" is a significant part of your course mark.