DNA is a two-stranded molecule. Each strand is a polynucleotide composed of A (adenosine), T (thymidine),...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
DNA is a two-stranded molecule. Each strand is a polynucleotide composed of A (adenosine), T (thymidine), C (cytidine), and G (guanosine) residues. The two strands of DNA run antiparallel (i.e., at each nucleotide residue along the double-stranded DNA molecule, the nucleotides are complementary). That is, A forms two hydrogen-bonds with T; C forms three hydrogen bonds with G. In most cases the two-stranded, antiparallel, complementary DNA molecule folds to form a helical structure, which resembles a spiral staircase. This is the reason why DNA has been referred to as the "Double Helix." An example of two complementary strands of DNA would be: ATGGAATICICGCTE TACCUTAAGAGSGAG This genetic sequencing problem is to find complementary matching strands of DNA. Write a LISP function (matchDNA strand1 strand2) that takes two strands as lists of nucleotides, and returns: 1) the beginning part of the second strand which does not match, 2) the part of the second strand which the first string matches, and 3) the remaining part of the second strand which does not match. Note that if there is no match, the second and third components will be null. If there are multiple matching strings, returning only the first match is sufficient. Test your function as follows: (a) (matchDNA '(A TG C) '(ATGCATACG A))=((AT GCA) (T ACG) (A)) (b) (matchDNA '(A) (A TG CAT))=((A) (T) (G CAT)) (c) (matchDNA '(CG) '(AT G C)) ((AT) (G C) nil) B (d) (matchDNA '(G AATTC) '(TGGAATTCT)) ((TGGAATTCT) nil nil) DNA is a two-stranded molecule. Each strand is a polynucleotide composed of A (adenosine), T (thymidine), C (cytidine), and G (guanosine) residues. The two strands of DNA run antiparallel (i.e., at each nucleotide residue along the double-stranded DNA molecule, the nucleotides are complementary). That is, A forms two hydrogen-bonds with T; C forms three hydrogen bonds with G. In most cases the two-stranded, antiparallel, complementary DNA molecule folds to form a helical structure, which resembles a spiral staircase. This is the reason why DNA has been referred to as the "Double Helix." An example of two complementary strands of DNA would be: ATGGAATICICGCTE TACCUTAAGAGSGAG This genetic sequencing problem is to find complementary matching strands of DNA. Write a LISP function (matchDNA strand1 strand2) that takes two strands as lists of nucleotides, and returns: 1) the beginning part of the second strand which does not match, 2) the part of the second strand which the first string matches, and 3) the remaining part of the second strand which does not match. Note that if there is no match, the second and third components will be null. If there are multiple matching strings, returning only the first match is sufficient. Test your function as follows: (a) (matchDNA '(A TG C) '(ATGCATACG A))=((AT GCA) (T ACG) (A)) (b) (matchDNA '(A) (A TG CAT))=((A) (T) (G CAT)) (c) (matchDNA '(CG) '(AT G C)) ((AT) (G C) nil) B (d) (matchDNA '(G AATTC) '(TGGAATTCT)) ((TGGAATTCT) nil nil)
Expert Answer:
Answer rating: 100% (QA)
Answer Here is a LISP function match DNA that takes two strands as lists of nucleotides ... View the full answer
Related Book For
Fundamentals of biochemistry Life at the Molecular Level
ISBN: 978-0470547847
4th edition
Authors: Donald Voet, Judith G. Voet, Charlotte W. Pratt
Posted Date:
Students also viewed these programming questions
-
Design a Java class that represents a cache with a fixed size. It should support operations like add, retrieve, and remove, and it should evict the least recently used item when it reaches capacity.
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
Compare sand, die, investment, lost foam, and continuous casting techniques.
-
Waterworks has a dividend yield of 8%. If its dividend is expected to grow at a constant rate of 5%, what must be expected rate of return on the company's stock?
-
What should Baker do now? Why?
-
The heat capacity at constant pressure \(\left(C_{P} ight)\) is defined as (a) \(C_{P}=\left(\frac{\partial U}{\partial T} ight)_{P}\) (b) \(C_{P}=\left(\frac{\partial Q}{\partial T} ight)_{P}\) (c)...
-
Boxes of Honey- Nut Oatmeal are produced to contain 14 ounces, with a standard deviation of .1 ounce. Set up the 3- sigma x- chart for a sample size of 36 boxes.
-
Brennan's Bakery purchases Celeste's Cookies. Celeste's Cookies has assets of $ 1 2 1 million and liabilities for $ 6 3 million. Brennan records Goodwill of $ 3 7 million related to the purchase. How...
-
Suppose that you hate typing and hate filing. a. Draw a graph with "hours of typing" on the horizontal axis and "hours of filing" on the vertical. Do your indifference curves slope upward or...
-
The relative atomic mass of the atom of an element is known as {fill_regular).
-
How does a bank determine the rate it will charge its customer for issuing a bankers acceptance?
-
a. What are the sources of revenue arising from mortgage origination? b. What are the risks associated with the mortgage origination process? c. What can mortgage originators do with a loan after...
-
What are the major advantages of electronic trading over traditional corporate bond trading in the over-the-counter maiket?
-
a. In selling a mortgage loan for future delivery, what is the advantage of obtaining an optional rather than mandatory delivery agreement? b. What is the disadvantage of optional delivery?
-
What are the four types of negotiable CDs?
-
Calculate the pH of the solution that results following addition of 29 mL of 1.0 M NaOH to 40 mL of 1.0 M NH4C1. Express your answer to two decimal places.
-
What is a lobbyist in US? How did this term emerge?
-
Comparisons between amino acid sequences can be used to understand which areas of a polypeptide are important for its function. A large family of proteins in bacteria includes a transcriptional...
-
The conversion of G6P to R5P via the reactions of glycolysis and the pentose phosphate pathway, without the production of NADPH, can be summarized as What reaction requires ATP? How do you account...
-
Proteins destined for membranes or secretion have a stretch of N-terminal hydrophobic amino acids called a signal sequence. What function does this sequence serve?
-
A heavy ring of mass moment of inertia \(1.0 \mathrm{~kg}-\mathrm{m}^{2}\) is attached at the end of a two-layered hollow shaft of length \(2 \mathrm{~m}\) (Fig. 2.100). If the two layers of the...
-
One of the blades of an electric fan is removed. The steel shaft \(A B\), on which the blades are mounted, is equivalent to a uniform shaft of diameter \(25 \mathrm{~mm}\) and length \(150...
-
Find the natural frequency of the pendulum shown in Fig. 2.101 when the mass of the connecting bar is not negligible compared to the mass of the pendulum bob. Connecting bar (mass m, length /)....
Study smarter with the SolutionInn App