User Tools

Site Tools


assignment6

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
assignment6 [2018/10/25 08:55]
dokuroot
assignment6 [2018/10/29 09:30] (current)
dokuroot
Line 9: Line 9:
 \\ \\
 \\ \\
-The function should ​accept the two arguments, input_file and output_file,​ from the command line and exit gracefully if the files can't be opened.+The function should exit gracefully if the files can't be opened.
  
   Input File   Input File
Line 29: Line 29:
 \\ \\
 \\ \\
-The function should ​allow for any number of Ns to be present in the motif (e.g. TGANNNTCA) and should require the user to pass the input file name and motif to the function from the command line and exit gracefully if the file can't be opened.+The function should ​have the following attributes:
 \\ \\
 \\ \\
-The function should count motifs that span multiple lines.+1) The function should allow for any number of Ns (where N is a wild card that can be any nucleotide - A, C, G, T) specified by the user to be present in the motif (e.g. TGANNNTCA). ​ The user should specify the exact sequence, which may contain Ns, but the user should indicate how many Ns there are and where they occur within the sequence. Some possible motifs: TTTTCNGA, NATAAA, NATNAA. 
 +\\ 
 +\\ 
 +2) The function should exit gracefully if the file can't be opened. 
 +\\ 
 +\\ 
 +3) The function should count motifs that span multiple lines.
 \\ \\
  
  
 **Submit your assignment as a file upload on canvas.** **Submit your assignment as a file upload on canvas.**
assignment6.1540479341.txt.gz · Last modified: 2018/10/25 08:55 by dokuroot