Part I: Practice regular expressions (3 marks) Write regular expressions for each of the following cases. Assume that the regular expression would be used in the following context, where we’d like to check if a string has a particular pattern, and if so, execute a set of statements: if (grepl(“regular expression”, stringVariable)) { } a. Check to see if a string contains a valid yeast gene name, e.g. YJL045W, YKR034W, YLL023C (hint: a yeast systematic gene name consists of a Y, a letter between A and P indicating chromosome number, an R or L for right or left chromosome arm, 3 numbers indicating chromosome position, and then a W or C to designate the strand, either Watson or Crick) b. Check to see if a yeast gene is encoded on the Crick strand (Note: YHR143W-C is not encoded on the Crick strand) c. Check a sequence string for Mot3’s (a yeast transcription factor) binding site motif: AAGG(G or T)T d. Check a sequence string for Hap1’s (a yeast transcription factor) binding site motif. ‘?’ implies that there is a single arbitrary nucleotide. GG???TA?CGG e. Explain in English what the following regular expression matches: CGG(A|C|G|T){3}T(A|C|G|T)(A|G)(A|C|G|T){8,12}CCG E.g. “It matches CGG followed by…” Write your answers in a text file called assignment3_part1.txt. You do not need to write
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme