Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In C++: Completing the shotgun DNA sequencing program. Write a program that operates over an array of strings, where each string represents a chunk of

In C++: Completing the shotgun DNA sequencing program. Write a program that operates over an array of strings, where each string represents a chunk of DNA. Building on the pseudocode we wrote in class to match two strings with overlap of at least 10, write a program that will merge as many strings in the array as possible, and that prints out the merged string(s). You can use this file as a starting array.

string dnas[] = {AAAATCGATAGGAGATGGGATCCCATAGCCTACTAGCTACGATGCTACGTAGCTGCTAGCTATACTACTACGG CACGATCTAC, ATTAGCACCAGTACACGGTATGTGCATGATCTGACTAGTGTCT, GACTAATTTCTATTTCGACAAAATCGACGCTATATCCGATATTAGCGACCCATCTACGGATATCGCATATCGA, CGATCTATCTAGCATTCTCTTTCATCTAGCGACTA, ACACGGTATGTGCATGATCTGACTAGTGTCTGGGATTAGCCTCGATCGTGCCTGGGATCGATCGAGTAGC, ACGGCACGATCTACTACGAGCTGACTAGCTACGCCGCGGGCGCGCGCATCGTACATATATATCGCGATCTATCT AGCATTC, AGCGACCCATCTACGGATATCGCATATCGAGCGCGCATCTAGCTACGTAGTGATCGCTGA, CATCTAGCGACTAATTTCTATTTCGACAAAATCGACGCTATATCCGATATT, TGGGATCGATCGAGTAGCTTGCATCGATCGATTAG, TTAGCTAGATCGATACTGCCTAAGAGATCCTAGCTTTAGCTAGAGATCCCTGAATCGATTAGGGTTAGCTAAAT AGTTCGATATTAGGCTAT, CTACGTAGTGATCGCTGACTAGCTAGGCTACGTCGATGCTAGCTTTATACGAGCTATATATCGATCGATGTATA AA, GATATTAGGCTATTAGAAAATCGATATAAAATCGATAGGAG, ATCGATCGATTAGCTAGATCGATACTGCCTAAGAGATCCTAGCTTTAGC};

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

App Inventor

Authors: David Wolber, Hal Abelson

1st Edition

1449397484, 9781449397487

More Books

Students also viewed these Programming questions

Question

Discuss the primary sources of nonverbal communication.

Answered: 1 week ago

Question

Students graphed their completion of homework on a class report.

Answered: 1 week ago

Question

Define the term utility software and give two examples.

Answered: 1 week ago