A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

anonymous

  • 5 years ago

Problem Set 3 testing - target strings and keys

  • This Question is Closed
  1. anonymous
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I'll post some test strings for the function in Problem Set 3 (ps3d) # should match one sub strings and exclude exact matches # Test 0 : test for exact match # Test 1 : test for one sub and more than one sub # for ex. for 'atg', it should match 'xtg', 'axg' and 'atx' # and not 'atg', 'axtg', 'atxg' etc # Test 2 : test for two and more subs # Test 3 : test for overlap # for ex for 'atta' it should match 'xttaxta' => (0, 3) # Test 4 : test if string exist at all # Test 5 : test for repeat # target0 = 'atgaatgcatggatgtaaatgcag' # exact match for atg (0, 5, 9, 13, 19) # 012345678901234567890123 target1 = 'atgaxtgcaxggatxtaaatgcag' # key1 'atg' (4, 8, 12) # 012345678901234567890123 # next string features overlap target2 = 'attagxttataxtatxattxgcag' # key2 'atta' (5, 10, 13, 16) # 012345678901234567890123 target3 = 'gcgcgcgcgcgcgcgcgcgcgcgc' # key3 'atgc' () # 012345678901234567890123 target4 = 'axaaaaaaaaaaaaaaaaaaaaaa' # key41 'aaaa' (0, 1) and key42 'tttt' () # 012345678901234567890123 # key strings key0 = 'atg' key1 = 'atg' key2 = 'atta' key3 = 'atgc' key41 = 'aaaa' key42 = 'tttt' HAPPY TESTING

  2. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.