stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

DNA to Protein translator

  • 2 Devlogs
  • 4 Total hours

A Flask website that translates any DNA sequence to protein.

Ship #1 Pending review

What did I make

I made a DNA to Protein Translator using Python and Flask. Users can enter a DNA sequence and the website checks the sequence, reads the DNA in codons, and translates it into a protein. I also made a frontend using HTML and CSS and connected it to my Python backend. JavaScript was also used in this project for sending information between the website from the Python code.

What was challenging

The most challenging part was learning Flask for the first time and understanding how the frontend communicates with Python backend. It was also challenging to get the Python, Flask and Javascript to communicate and make this website work.

What am I most proud of

I am most proud of making a project with Flask for the first time. I learnt more things about coding with Python, Javascript, and even learnt more about Biology.

What people should know about my project

It runs from render so it might take a few seconds to load. Also the translator looks for the START codon (ATG) so if the sequence doesn’t contain that it won’t work. Also sequences need to be only using A, C, G, and T letters. It also gives an error message if sequence is invalid.

** Please leave thoughtful reviews and give me feedback for what I could do better in the future**

  • 2 devlogs
  • 4h
Try project → See source code →
Open comments for this post

34m 48s logged

Devlog 2:

Added Javascript and render pages

I added the Javascript to the testing.html page, so it can send the DNA sequence code from my Python file to my Flash backend.

What I learnt

  • I learn that Javascript can communicate with Python and the Flask backend to send information back and forth to make the website work.
  • I learn more about how to use Javascript with Python and how to make a website with a Python backend.
0
0
21
Open comments for this post

3h 45m 19s logged

Devlog 1:

Making a flask website for the first time. Its a simple dna to protein translator. I used python to code the back end that translates the dna/rna sequence to protein. It used html and css aswell, and im just starting to do the javascript.

0
0
15

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…