Create a function in Matlab called DNA_Manipulation (file new function) that takes a string of DNA...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Create a function in Matlab called "DNA_Manipulation" (file →new function) that takes a string of DNA sequence of arbitrary size as a single input (call it DNA_Data). The letters in the sequence are all lowercase and can be either 'a', 't','g', or 'c'. The function should return the following two outputs: - First output (call it Reverse_Data) should simply produce the DNA sequence in reverse. - Second output (call it Complement_Data) should produce the complement of the DNA sequence so that 'a' becomes t', 'g' becomes 'c', and vice versa (Hint: Use a loop and if/elseif statements). Test your function with the following input: DNA_data = 'gattaca' Create a function in Matlab called "DNA_Manipulation" (file →new function) that takes a string of DNA sequence of arbitrary size as a single input (call it DNA_Data). The letters in the sequence are all lowercase and can be either 'a', 't','g', or 'c'. The function should return the following two outputs: - First output (call it Reverse_Data) should simply produce the DNA sequence in reverse. - Second output (call it Complement_Data) should produce the complement of the DNA sequence so that 'a' becomes t', 'g' becomes 'c', and vice versa (Hint: Use a loop and if/elseif statements). Test your function with the following input: DNA_data = 'gattaca'
Expert Answer:
Answer rating: 100% (QA)
Create a script file matlab named as DNAManipulationm to define the function Write the matlab code i... View the full answer
Related Book For
Posted Date:
Students also viewed these mathematics questions
-
A single loop second order circuit is described by the following differential equation What is the correct form of the total (natural plus forced) response?
-
DNA evidence can be extracted from biological traces such as blood, hair, and saliva. DNA fingerprinting is increasingly used in the courtroom as well as in paternity testing. Given that a person is...
-
The following software outputs provide information about the Size (in square feet) of 18 homes in Ithaca, New York, and the city's assessed Value of those homes. Dependent variable is Value R-squared...
-
South Sea Baubles has the following (incomplete) balance sheet and income statement. a. What is shareholders' equity in 2013 and 2014? b. What is net working capital in 2013 and 2014? c. What are...
-
In Problems, sketch the graph of the given parametric equation and find its length. a. x= t3/3, y = t2/2; 0 t 1 b. x = 3t2 + 2, y = 2t3 - 1/2; 1 t 4
-
In Section 4.4.1 we introduced belief states to solve sensorless search problems. A sequence of actions solves a sensorless problem if it maps every physical state in the initial belief state b to a...
-
Its not like what youve done has really hurt anyone. At most, the missing money might cost earnings-pershare, maybe a penny. Is that what caused you to write those checks in the name of your company?
-
Billy's Hamburgers, Inc., issued 5%, 10-year bonds payable at 90 on December 31, 2010. At December 31, 2012, Billy reported the bonds payable as follows: Billy uses the straight-line amortization...
-
DATABASE SYSTEMS What is a key and how is it important in a relational model?
-
Can you make the journal entries for the transactions below: Dec. 1 - Sold merchandise to Argem Day Care Center for P20,000 and received a 3-month, 12% note. 2 - Purchased merchandise from Stephen...
-
Assume that you are the auditor of ABC Inc, for the fiscal year 2006. No audit procedures have been performed other than general information gathering. Please read all the information given below...
-
Intermediate Accounting 2 Can you explain this for me in three to five sentences. 1. Share options 2. Share appreciation rights 3. Lessor 4. Lessee 5. Operating Lease 6. Financing Lease 7. Sales...
-
Think about the types of oil and gas industry-related events you might have heard, read, or seen on the news. Give a couple of examples of accidents and incidents, and discuss what elements regarding...
-
Complete a research summary related to the audit process and the meaning of audit risk. Distinguish between auditing standards and and audit procedures. How is audit risk managed through the...
-
Discuss two advantages and disadvantages of the modern market economy, how to fix the disadvantages, and if a better system may evolve to replace the market economy in the 21st century.
-
In this problem, you will be considering a binary tree with a score assigned to each node. Given a subset of the tree nodes, the score of that subset is the sum of the score of the nodes in the...
-
Express the area of a rectangle A as a function of its length x if the width is 3 feet longer than the length. What is the domain of the function?
-
APC16550D UART has a clock running at18.432 MHz and its baud rate is set to 2000.Determine the HEX contents of its DLM and DLL registers. Please can you explain step by step and in detail how you get...
-
The equilibrium constant for a certain reaction decreases from 8.84 to 3.25 10-2 when the temperature increases from 25oC to 75oC. Estimate the temperature where K = 1.00 for this reaction. Estimate...
-
Write equations showing the ions present after the following strong electrolytes are dissolved in water. a. HNO3 b. Na2SO4 c. Al(NO3)3 d. SrBr2 e. KClO4 f. NH4Br g. NH4NO3 h. CuSO4 i. NaOH
-
Calculate the energy required to change the temperature of 1.00 kg of ethane (C2H6) from 25.0oC to 73.4oC in a rigid vessel. (Cv for C2H6 is 44.60 J K-1 mol-1.) Calculate the energy required for this...
-
Let X be the distance in miles from their present homes to residences when in high school for individuals at a class reunion. Then X is: (1) a categorical (nominal) variable (2) a continuous variable...
-
The median is a better measure of central tendency than the mean if: (1) the variable is discrete (2) the distribution is skewed (3) the variable is continuous (4) the distribution is symmetric (5)...
-
A subset of a population is: (1) a parameter (2) a population (3) a statistic (4) a sample (5) none of the above
Study smarter with the SolutionInn App