# NSCI 580A5 fall 2017

### Site Tools

assignments:2016nsci580a5assignment2

# Differences

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

 assignments:2016nsci580a5assignment2 [2016/09/29 13:12]tai assignments:2016nsci580a5assignment2 [2016/09/29 13:14] (current)tai Both sides previous revision Previous revision 2016/09/29 13:14 tai 2016/09/29 13:12 tai 2016/09/29 09:54 asa [Exercise 2] 2016/09/29 09:53 asa [Exercise 1] 2016/09/29 09:22 tai created 2016/09/29 13:14 tai 2016/09/29 13:12 tai 2016/09/29 09:54 asa [Exercise 2] 2016/09/29 09:53 asa [Exercise 1] 2016/09/29 09:22 tai created Line 36: Line 36: ====Exercise 5==== ====Exercise 5==== Create a module that can also act as a standalone program that accepts an argument from the command line. Create a module that can also act as a standalone program that accepts an argument from the command line. + \\ + \\ The function within the module should help the user identify which marker to use on a Western blot depending on the size of their protein of interest as follows: The function within the module should help the user identify which marker to use on a Western blot depending on the size of their protein of interest as follows: + \\ + \\ The function should take as an argument the mass of a protein in kDa. The function should take as an argument the mass of a protein in kDa. - The module ​return value should be the marker (low_range, high_range, either, or neither). + \\ + \\ + The return value should be the marker (low_range, high_range, either, or neither). + \\ + \\ The two markers available are: 1) a low-range protein marker (e.g. 5-100 kDa) and 2) a high-range protein marker (e.g. 50-250 kDa), but it is possible for the protein to lie outside the range of either marker or within the range of both markers. The two markers available are: 1) a low-range protein marker (e.g. 5-100 kDa) and 2) a high-range protein marker (e.g. 50-250 kDa), but it is possible for the protein to lie outside the range of either marker or within the range of both markers. + \\ + \\ When used as a module, the function should return a value but not print anything. When used as a module, the function should return a value but not print anything. + \\ + \\ When used as a standalone program, it should print which marker should be used on the gel. Arguments should be supplied at execution from the command line when run as a standalone program. When used as a standalone program, it should print which marker should be used on the gel. Arguments should be supplied at execution from the command line when run as a standalone program. \\ \\