McClean:Searching a Sequence for All Database Primers: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
(New page: <!-- COPY EVERYHING BELOW HERE TO START YOUR OWN PROTOCOL! --> ==Overview== Because there are many varied database and sequence file formats as well as proprietary sequence editors, sear...)
 
(New page: <!-- COPY EVERYHING BELOW HERE TO START YOUR OWN PROTOCOL! --> ==Overview== Because there are many varied database and sequence file formats as well as proprietary sequence editors, sear...)
 
(No difference)

Latest revision as of 15:21, 28 May 2013


Overview

Because there are many varied database and sequence file formats as well as proprietary sequence editors, searching a sequence against our entire primer collection is not straightforward. However, it can be done and is well worth the effort. There is better copy of this write-up in Michael Patel's Z: drive folder, in the folder called 'Oligo Search Files.'

Procedure

Convert List of Oligos in Database to FASTA:

  1. Make sure the Ruby environment is installed on your computer. http://rubyinstaller.org/ is the easiest way. When installing make sure all options are checked.
  2. Convert the oMM sheet from Access into an Excel spreadsheet by using the export tool within Access.
  3. Open this newly created file in Excel and ‘save as’ to a .csv file. (This really shouldn’t be multiple steps, so if you figure out a quicker way, change it.) Take this .csv file and delete the superfluous columns (all columns that aren’t the oMM title and oligo sequence.) There should only be two columns left. I call the resulting file oMM.csv.
  4. Open up Command Prompt and change the directory (the command ‘cd’) to include the folder where you saved oMM.csv, or you can create a new folder somewhere and work off of that. I find the latter to be better. Just make sure oMM.csv is in the folder where you choose to work.
  5. Enter the command “ruby -ne 'puts ">" + $_.split(",").first(2).join("\n")' oMM.csv > oMM.fasta” and hit enter. If you choose different file names, be sure to adjust accordingly.
  6. oMM.fasta should be in the same folder that the .csv file is. Open the new file and make sure the formatting is correct. Correct any mistakes that may appear.
  7. I have an already prepared oMM.fasta in my Z:\ drive folder (Z:\Michael Patel\Oligo Search Files\) It encompasses oMM001-oMM653.

Perform Search with UGENE:

  1. Install UGENE if you haven’t already: http://ugene.unipro.ru/download.html. If you’re familiar with VectorNTI, the layout is somewhat similar.
  2. On the main toolbar, go to ‘Tools > Workflow Designer.’ Once there, on the main toolbar go to ‘Actions > Load Schema.’ Choose the file ‘complete_oligo_search.uwl’ which I have included in my above mentioned Z:\ drive folder. Of course, you can double click on the file if it defaults to UGENE on your computer. Both methods will bring you the same screen.
  3. In the ‘Read Sequence’ box, click on the blue lettering that says ‘oMM159.gb’. The panel on the right will highlight the ‘Input File(s).’ Change to your desired reference file (the Genbank, or .gb, file format is preferred but not absolutely necessary.)
  4. In the ‘Smith-Waterman Search’ box, make sure the path to oMM.fasta is correct (the first blue highlighted words,) the percent similarity is 100%, and that you are searching both strands. The ‘output the regions found…” part you can rename to whatever you want if you choose.
  5. Click on the ‘Write Sequence’ box and click on the last set of blue lettering and adjust the ‘output file’ section to whatever path and filename you choose. Here I have it set as ‘C:/Scripts/query.gb’. Make sure the output file format remains Genbank. Right below these dropboxes you should see another dropbox called ‘Set of Annotations.’ Make sure all boxes are checked.
  6. Click on the orange Play button in the toolbar (or CTRL + R) to run the search. The search will take a few minutes or so depending on your computer.
  7. When finished, open up the output file. You should see the positive search results highlighted. If you hover your mouse over them, the oMM title will be in the dialog box that comes up.

Notes

Please feel free to post comments, questions, or improvements to this protocol. Happy to have your input!

  1. List troubleshooting tips here.
  2. You can also link to FAQs/tips provided by other sources such as the manufacturer or other websites.
  3. Anecdotal observations that might be of use to others can also be posted here.

Please sign your name to your note by adding '''*~~~~''': to the beginning of your tip.



Contact

--Michael T. Patel 18:21, 28 May 2013 (EDT)*Michael T. Patel 18:21, 28 May 2013 (EDT): or instead, discuss this protocol.


-->