Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!