A simple python script (preferably bioinformatics)

Job Description:

I need a Python script to compare two input files that will look like the [login to view URL] and [login to view URL] to produce an [login to view URL] file.

Step 1:

- First, delete each odd line in an input file, creating a stack of lines, where each line contains only these letters: A, G, C, T and -:

For example, if an input file contains four lines:





Then the output will look like:



- Second, go letter by letter and calculate the content for column

In our example, the stack of lines:



Will be transformed into this table:

Position, A(%), T(%), G(%), C(%), -(%)

1, 50, 50, 0, 0, 0

2, 0, 100, 0, 0, 0

3, 0, 100, 0, 0, 0

4, 50, 0, 0, 0, 50

5, 0, 50, 0, 0, 50

Step 2:

When both input files are converted into their corresponding “content tables”, the script should subtract one of these tables from another to create a “difference content table”.

For example, if the first content table looks like this:

Position, A(%), T(%), G(%), C(%), -(%)

1, 50, 50, 0, 0, 0

2, 0, 100, 0, 0, 0

And the second one looks like this,

Position, A(%), T(%), G(%), C(%), -(%)

1, 50, 50, 0, 0, 0

2, 0, 50, 0, 50, 0

Then, the resulting table will look like this:

Position, A(%), T(%), G(%), C(%), -(%)

1, 0, 0, 0, 0, 0

2, 0, 50, 0, -50, 0

This resulting table should be saved as a [login to view URL] file.

Hope this is clear

Færdigheder: Python, Data Visualization

Om klienten:
( 64 bedømmelser ) New Haven, United States

Projekt ID: #35359469

Tildelt til:


This seems like a simple data processing + file reading/writing task. I’ve worked on similar projects before but not on bioinformatics. I have experience in Python and Matlab, you can check my github below: https://gi Flere

$18 USD in 7 dage
(0 bedømmelser)

Hi there, I'm a Pharmacist and a Python programmer. I understand you need a python script that would: Input: Two files TO-DO: Calculate Consensus sequence which is the percentage of each nucleotide for each position fo Flere

$10 USD in 3 dage
(0 bedømmelser)

11 freelancere byder i gennemsnit $33 timen for dette job


Hello, I hope this finds you well. I have just seen your project requiring; Python Data Visualization I believe that my 10-year experience in this field is what you need right away. Avoid the headache of looking furth Flere

$120 USD in 3 dage
(16 bedømmelser)

✅✅✅ Full Experiences in Python and Visualization ✅✅✅ Hi, Dear! I read your requirement carefully. I can do your work perfectly. I can start Your work right now... Hope to discuss with you soon. Thanks & Best regards! h Flere

$20 USD på 1 dag
(14 bedømmelser)

Expert HERE!!! Thanks for you job post! I just done a project such as yours so I can satisfy you perfectly with my skills and experiences. If you hire me, then you will never regret and I will do my best. I hope see yo Flere

$20 USD in 7 dage
(15 bedømmelser)

Hi I have read your description carefully. ⭐ I have rich experiences in Python, Machine learning, AI, Deep learning, Image processing. ⭐ I worked on many similar projects. I can guarantee the quality of the job. Please Flere

$20 USD på 1 dag
(6 bedømmelser)

Greetings! Thanks for your job posting. I read your project details and i understood all. I can help you with your project at a high level! I have rich experience in Python developing. My skills and experience is a g Flere

$50 USD in 3 dage
(2 bedømmelser)

Hello, I have read and understood the basics and prompts of this task. Given a chance, I will deliver a masterpiece. My experience in this field and completed orders allow me to work on this assignment efficiently. Kin Flere

$30 USD in 2 dage
(0 bedømmelser)