One of the important tasks in computational biology is to find short repeating patterns from DNA...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
One of the important tasks in computational biology is to find short repeating patterns from DNA sequences. These patterns help the biologists to analyze the functionality of different parts in a living being. As a computer science student, you are asked to write a program that will find all the patterns of a given length from a DNA sequence and their number of presence in that sequence. This information will help to find the dominant pattern of a given length in the sequence. You will also find the dominant pattern. Dominant pattern is the sequence which has maximum occurrence. If there are multiple dominant pattern the program will print "No Dominant Pattern found." Sample Input: ATTCGATCG 3 Sample Output: ATT 1 TTC 1 TCG 2 CGA 1 GAT 1 ATC 1 Dominant Pattern: TCG One of the important tasks in computational biology is to find short repeating patterns from DNA sequences. These patterns help the biologists to analyze the functionality of different parts in a living being. As a computer science student, you are asked to write a program that will find all the patterns of a given length from a DNA sequence and their number of presence in that sequence. This information will help to find the dominant pattern of a given length in the sequence. You will also find the dominant pattern. Dominant pattern is the sequence which has maximum occurrence. If there are multiple dominant pattern the program will print "No Dominant Pattern found." Sample Input: ATTCGATCG 3 Sample Output: ATT 1 TTC 1 TCG 2 CGA 1 GAT 1 ATC 1 Dominant Pattern: TCG
Expert Answer:
Answer rating: 100% (QA)
Python def findpatternsdnasequence patternlength patterns for i in rangelendn... View the full answer
Related Book For
Smith and Roberson Business Law
ISBN: 978-0538473637
15th Edition
Authors: Richard A. Mann, Barry S. Roberts
Posted Date:
Students also viewed these programming questions
-
Discuss the trend of globalization? What are different modes of economic interrelationships used today in health care? Explain Briefly and Provide a reference
-
Case Study: Quick Fix Dental Practice Technology requirements Application must be built using Visual Studio 2019 or Visual Studio 2017, professional or enterprise. The community edition is not...
-
Write a literature review for your study. See below for an example of a literature review. Your literature review should provide both analysis and synthesis of previous studies as related to the...
-
Julie Hernandez is single and has no dependents. She operates a dairy farm and her Social Security number is 000-00-1111. She lives at 1325 Vermont Street in Costa, Florida. Consider the following...
-
Consider the following tax rate structure. Is it horizontally equitable? Why or why not? Is it vertically equitable? Why or why not? Taxpayer _________Salary _________Total Tax Marilyn...
-
Describe the shifts in UK share ownership over the past 60 years. Suggest some reasons for the changes.
-
Busch Gallery purchases the copyright on an oil painting for $236,700 on January 1, 2005. The copy right legally protects its owner for 19 more years. However, the company plans to market and sell...
-
Engles Oil Company is considering investing in a new oil well. It is expected that the oil well will increase annual revenues by $130,000 and will increase annual expenses by $80,000 including...
-
2. Given A = -1 0 0 2 1 2 a. Find the determinate of ATA
-
A direct extrusion operation produces the cross section shown in Figure P19.32(c) from an aluminum billet whose diameter = 150 mm and length = 500 mm. The flow curve parameters for the aluminum are K...
-
Dennis has made a purchase of $50,000 using trade credit with terms of 2/15, net 45. How many days does he have in which to pay to receive the discount?
-
Two vectors, , and , are drawn on an coordinate system, as shown. Vector has a magnitude of 9.00 units, and vector has a magnitude of 5.00 units. Find the and of vectors and in the system. Compute...
-
_ _ _ is the collective action of a company's individuals and groups. Organizational behavior Taylorism Scientific management Company objective
-
Determine the effective annual yield for $1 invested for 1 year at 5.2% compounded semiannually. %. The effective annual yield is (Round to the nearest hundredth.)
-
Jensen Fences uses job order costing. Manufacturing overhead is charged to individual jobs through the use of a predetermined overhead rate based on direct labor costs. The following information...
-
We need something advanced. You know something that will help us solve a truly tough problem requiring "advanced decision-making." Do you remember studying the Amazon case where they faced a monster...
-
period Regular Time overtime subcontract demand forecast 1 30 15 5 50 2 35 10 5 50 3 30 10 5 40
-
Economic feasibility is an important guideline in designing cost accounting systems. Do you agree? Explain.
-
Discuss the potential civil liabilities under the 1934 Act.
-
Olympic National Agencies was organized with an authorized capitalization of preferred stock and common stock. The articles of incorporation provided for a 7 percent annual dividend for the preferred...
-
Petitioner, Leegin Creative Leather Products, Inc. (Leegin), designs, manufactures, and distributes leather goods and accessories. In 1991, Leegin began to sell belts under the brand name Brighton....
-
A recent directive from Eugenia Yu, CEO of Comtel, had instructed each department to cut its cost by 10 percent. The traditional budget for the warehousing department was as follows: Salaries, 4...
-
Study the appendix beginning on page 551. The CD-ROM division (CDRD) of Micro Storage, Inc. produces CD-ROM drives for personal computers. The drives are assembled from purchased components. The...
-
Since Mitch Banks had become president of Alberta Mining, Ltd., budgets had become a major focus for managers. In fact, making budget was such an important goal that the two managers who had missed...
Study smarter with the SolutionInn App