Determine how many times a occurs in the dna string

Assignment Help Computer Engineering
Reference no: EM132142040

Question :

Suppose we are interested in studying a DNA sequence which consists of four bases: A, C, G, and T.

Write a program that does the following: Create a random DNA string of length 50.

Determine how many times A occurs in the DNA string. Create a dot string which blanks out everything but all the A characters.

Create a rep string where everything is blanked out except where A repeats 1 or more times. Prints the results as follows:

DNA: TGAAAACTACCACATCATGCAGTTTTCAAAGAAGAAAGCCTCACCACAAA

dotStr:.. AAAA. .A..A.A. .A...A...... AAA.AA.AAA.....A..A.AAA

repStr:. AAAA.....................AAA.AA.AAA.........AAA

#A: 22

Reference no: EM132142040

Questions Cloud

What endowment must the donor make now : The scholarship is to provide $10,000 per year. On the assumption that the scholarship will start at the end of the first year and continue forever.
Find the maximum possible number of tuples in the relation : Suppose that P(A, B, C), Q(A, C), R(B) are relations such that P contains 6 tuples, Q contains 2 tuples and R contains 3 tuples.
What is the the real economic growth rate : Assume that wages and prices are sticky and that we start at a long-run equilibrium. Assume that at this initial point, the growth rate of the money supply.
Plot the yield curve and describe the general shape of curve : 25721 Investment Management Assignment, UTS Business School, Australia. plot the yield curve and describe the general shape of curve
Determine how many times a occurs in the dna string : Determine how many times A occurs in the DNA string. Create a dot string which blanks out everything but all the A characters.
Draw a graph of the us automobile market : Draw a graph of the U.S automobile market in which the domestic equilibrium price without trade is Pd and the and the equilibrium quantity is Qd.
Explain the difference between the two diagrams : Draw the supply and demand diagram for reserves with the curves intersecting on the downward sloping part of the demand curve - diagram A.
How many database requests can you identify : Suppose you are a manufacturer of product ABC, which is composed of components A, B, and C. Component A is further composed of parts X and Y.
Differences of blue ocean and red ocean strategies : Explain the characteristics and fundamental differences of ‘Blue Ocean and Red Ocean’ strategies (Kim & Mauborgne, 2005).

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd