Find Jobs
Hire Freelancers

DNA matching pytho coding -- 2

$10-30 USD

Closed
Posted over 8 years ago

$10-30 USD

Paid on delivery
Matching DNA Project Description :This project will give you more experience with while loops and if statements, and give you an opportunity to work with strings. The Problem: Scientists measure how closely related a species is by looking at the DNA sequences for key proteins and seeing how similar/dissimilar they are. If the two sequences of DNA are essentially the same, the two species are considered to be evolutionarily closer since there is a relationship between changes and time. This process is called sequence alignment. Consider the two strings of DNA below: Species 1: AATAACGAAA Species2: AAAACGAAAA A scientist can change the alignment by assuming that an insertion or deletion, of one of the bases has occurred. They could make such a change, called an indel for short, to see if it improves the alignment: Species 1: AATAACGAAA- Species 2: AA-AACGAAAA Assuming two indels, marked as two dashes(-), the alignment is greatly improved. The scientist would assume that two changes happened, one change in each species. While complex algorithms exist to do sequence alignment, it is also useful to support a researcher and allow them to do an alignment by hand. Project Specification 1. You will prompt for two strings. The strings can have any characters you like, but to be "biological" it should consist of: "A", "T", "C", "G". The strings do not have to be of the same length . 2. You will then prompt for one of 3 commands: a. "a" for add. Add an indel b. "d" for delete. Delete an indel c. "s" for score. Score the present alignment d. "q" for quit. Stop the process. 3. Adding an Indel. When you add an indel, you must prompt for two pieces of information: a. which string to change b. at what index (starting at 0) do you wish to place the indel (placement is before the given index, Error if the index is out of range). The string should then be modified and a dash(-) added. 4. Delete an Indel: If you can add an indel, you should be able to delete it if it doesn't do what you want. Again, you must prompt for two pieces of information a. which string to change b. the index (starting at 0) to delete the indel. It is an Error to delete a character that is not an indel. 5. Scoring. You will report the number of matches and the number of mismatches. a. Any indel is automatically a mismatch. b. If one string is shorter than the other, the shorter string is filled out with indels. c. After you score, you print both strings. i. Matching characters are printed in lower case. If the user entered upper case letters, you convert them to lower case on a match. ii. All mismatches are printed in upper case. iii. Indels are printed as dashes.
Project ID: 8831011

About the project

5 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $16 USD for this job
User Avatar
A proposal has not yet been provided
$11 USD in 1 day
4.9 (162 reviews)
5.9
5.9
User Avatar
hi.I would like to work on this task.
$25 USD in 2 days
4.9 (4 reviews)
2.7
2.7
User Avatar
Helo! I 'll make this project for one day with rich comments for each module of my code (for each loop, for each changing of string). It will be helpful for your understanding logic of program.
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
4 years of experience in python. Having worked on Genommics project before, this looks like a good project to brush up on my skills.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
0.0
0
Member since Nov 4, 2015

Client Verification

Other jobs from this client

DNA matching pytho coding
$250-750 USD
Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.