Difference between revisions of "Kevin Wyllie Week 3"

From LMU BioDB 2015
Jump to: navigation, search
(Began the week 3 individual assignment; just saving my progress in case of timeout.)
 
(Edited my screenshot and command line to show the complementary DNA sequence from 5' -> 3' direction (by adding the rev command).)
Line 3: Line 3:
 
====Complement of a Strand====
 
====Complement of a Strand====
  
[[Image:KwComplementary_strand.jpg|right|thumb]]
+
[[Image:Kwscreenshot1.jpg|right|thumb]]
  
 
The following command is used to open the file (using prokaryote.txt as an example),
 
The following command is used to open the file (using prokaryote.txt as an example),
Line 9: Line 9:
 
  cat prokaryote.txt
 
  cat prokaryote.txt
  
while the the following command is used to sequence the complementary strand.
+
while the the following command is used to sequence the complementary strand (in the 5' -> 3' direction - thus the "rev" command):
  
  cat prokaryote.txt | sed "y/atgc/tacg/"
+
  cat prokaryote.txt | sed "y/atgc/tacg/" | rev

Revision as of 23:40, 19 September 2015

Journal Week 3

Complement of a Strand

Kwscreenshot1.jpg

The following command is used to open the file (using prokaryote.txt as an example),

cat prokaryote.txt

while the the following command is used to sequence the complementary strand (in the 5' -> 3' direction - thus the "rev" command):

cat prokaryote.txt | sed "y/atgc/tacg/" | rev