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...
-
Good fellow Company had the following results of operations for the past year: Sales (8,000 units at $6.80)............................................... $54,400 Materials and direct...
-
The monthly demand function for x units of a product sold by a monopoly is p=8000-x dollars, and its average cost is C=4000+5x dollars. (a) Determine the quantity that will maximize profit. (b)...
-
Accounts Receivable Turnover Calculate the company's accounts receivable turnover for 2019 and compare the result to the industry average. Use the following financial data for Brenner Instruments...
-
It was shown earlier in this chapter that Northland Industries was suffering from balance sheet insolvency. Two scenarios are possible for Northland in Year 3. In scenario 1, Year 3 for Northland is...
-
One of the more closely watched ratios by investors is the price-earnings (P/E) ratio. By dividing price per share by earnings per share. analysts get insight into the value the market attaches to a...
-
Chumpy Lighting Limited manufactures a wide variety of light bulbs which it sells to lighting shops and builders merchants through wholesale distributors. It also sells direct to the big UK...
-
Faro owns and operates seven (7) residences located throughout Canada. The square footage and insurance premium rates are provided as follows: Residence Square Footage Insurance Premium Rate Alida...
-
Short selling occurs when a seller borrows shares from a brokerage house and then sells those shares. At a later date, the seller buys the shares and delivers them to the brokerage house. If the...
-
Allegations of serious impropriety and perhaps illegality surrounding Goldman Sachss contribution to the 2008 financial crisis have been well publicized. Allegations included trading for their own...
-
American International Group, Inc. (AIG) was the worlds largest insurance company with major offices in New York, London, Paris, and Hong Kong. From 2005 to 2008, the company had a series of...
-
Although the Canadian banks did not suffer as much as other financial institutions around the world, they were not immune from the economic consequences of the subprime mortgage meltdown. In Canada,...
-
During the depths of the subprime lending crisis in 2008, a major U.S. investment banking firm, Goldman Sachs, required a \($10\) billion bailout from the U.S. governments Troubled Asset Relief...
-
Assume that Marker's can write off the new equipment's depreciation to zero over its useful life if the tax authorities agree to allow it. Should Marker choose this course of action if it intends to...
-
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....
-
You are the chief information security officer for a small company. You are asked to design appropriate controls for the payroll and inventory management sys tems. Following is a list of users and...
-
Visit the Web sites listed here and write a report describing the information provided on each site about information security that would be most useful to an auditor: The SANS Institute...
-
Install and run the Microsoft Security Baseline Analyzer on your home computer or laptop. Write a report explaining any weaknesses identified and how to best correct them. Attach a copy of the tools...
Study smarter with the SolutionInn App