In this problem we are given a set of DNA strings and are asked to create a character table. My solution to the problem can be found here. I got a bit hung up on the problem to start with because in the description they give the following sample data and output:
Sample Dataset
ATGCTACC
CGTTTACC
ATTCGACC
AGTCTCCC
CGTCTATC
Sample Output
10110
10100
It took me a while to realise that the output is only partial, and what they are really after is:
10110
10100
10000
10111
11011
11101
Which is a character array for each non trivial position in the sequences. When I finally had this figured, the programming itself didn't take too long.
No comments:
Post a Comment