Find Jobs
Hire Freelancers

Python code

$10-30 USD

已完成
已发布超过 8 年前

$10-30 USD

货到付款
Problem set ( write a python code) 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 Species 2: 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. 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.
项目 ID: 8831160

关于此项目

1条提案
远程项目
活跃9 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hi i am a software engineer Python as expertise. I have been working on python for last 2 years. I have sound knowledge of python apis. I have worked with python scrapper and have good expertise of scrappy. I have also good understanding of sequence alignment and bioinformatic algorithms. I have good communication skills and problem solving strategies. If you give me an opportunity to do this job for you, you will find me with in time and budget. Looking forward for your response Thanks Best Regards
$25 USD 在0天之内
4.8 (4条评论)
2.5
2.5

关于客户

UNITED STATES的国旗
middleburg heights, United States
4.9
2
付款方式已验证
会员自11月 4, 2015起

客户认证

这个客户的其他工作

build a page
$10-30 USD
谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。