Reshma Shetty/blog

From OpenWetWare

Jump to: navigation, search

RSS

5/10/2007

Today I wanted to find the number of operator sites for a given short sequence within the Escherichia coli. The catch was that I also wanted to find operator sites with 1,2,3 or 4 mismatches to my specified operator site. Here are some brief notes on how I figured out how to do this.

Notes on finding the number of operator sites within the Escherichia coli genome.

  1. Visit coliBase's pattern search
    • For some reason it took multiple google searches and browsing to find this site!
  2. Choose your genome, enter your sequence and the maximum number of mismatches you are willing to tolerate.
    • Note that a 2 bp mismatch search will also find all 0 and 1 bp mismatches. Also, the higher the number of mismatches, the longer it will take to run.
  3. Copy and paste the search results to a text file (e.g. filename.txt).
    • In my case, my operator was palindromic so I left out the second half of the search results that give the complementary strand hits (to avoid double counting). Or save the whole file and divide your resulting numbers by two.
  4. Use terminal or xterm on a Mac or Linux/Unix box.
  5. Type grep 4\ mismatches filename.txt to list all 4 bp mismatches
  6. Type grep 4\ mismatches filename.txt | wc to determine the count of all 4 bp mismatches. The first number is the number of lines with the words "4 mismatches". It is the count of the number of 4 bp mismatches in the genome.
    • To find the number of 3 bp mismatches, type grep 3\ mismatches filename.txt | wc etc.

See also Yeast pattern matching and Campylobacter pattern matching.

If anyone knows of a simpler way to do this, let me know. It seems like there should be a program that just does this but it took quite a bit of googling to figure out this ugly approach.

4/20/2007

With a lot of playing around by Vincent, Austin and I, we finally managed to find a reasonably straightforward way to make a google map on the wiki! Check out OpenWetWare:Map. Please feel free to make your institution's call out box more interesting or fix coordinates etc.

3/23/2007 OpenWetWare institutions world tour

For no real reason, I started playing around with Google Earth and made the following world tour of institutions with labs on OpenWetWare. (Equal credit goes to Austin and Mac for helping me actually generate the video!) Note that this video is about 10 mins long.


This movie is an around the world tour of institutions with labs on OpenWetWare (http://openwetware.org)


Apologies to any institutions whose locations I got wrong. I essentially just searched for institutions and found a location that looked approximately right. If you'd like to fix your institution's location, here is the kmz file. Or you can give me new latitude and longitude coordinates. Also here are some notes on making Google Earth tour videos.

Personal tools