User Tools

Site Tools


assignments:2017nsci580a5assignment2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
assignments:2017nsci580a5assignment2 [2017/09/28 12:09]
tai
assignments:2017nsci580a5assignment2 [2017/09/28 15:31] (current)
tai
Line 11: Line 11:
 b) prompts the user to indicate if the sequence is DNA or RNA\\ b) prompts the user to indicate if the sequence is DNA or RNA\\
 c) if RNA, tests if the sequence contains Ts, and if DNA, tests if the sequence contains Us and prints an error message if Ts are identified in an RNA sequence or if Us are identified in a DNA sequence ​ c) if RNA, tests if the sequence contains Ts, and if DNA, tests if the sequence contains Us and prints an error message if Ts are identified in an RNA sequence or if Us are identified in a DNA sequence ​
 +\\
 +
 +====Exercise 1====
 +ORIGINAL (optional, can do the revised Ex 1 above instead): Can be done with material we've covered thus far, but challenging:​\\
 +Write a script that:\\
 +a) prompts the user to enter a sequence\\
 +b) prompts the user to indicate if the sequence is DNA or RNA\\
 +c) if RNA, prints the RNA complement, and if DNA, prints the DNA complement on a single line
 \\ \\
  
assignments/2017nsci580a5assignment2.txt ยท Last modified: 2017/09/28 15:31 by tai