DNA to Protein translator
- 10 Devlogs
- 11 Total hours
A Flask website that translates any DNA sequence to Protein, or any Protein chain into DNA.
A Flask website that translates any DNA sequence to Protein, or any Protein chain into DNA.
Feedback
Hey Rayan123-4,
my days of studying biology are (hopefully) behind me, but it's still pretty neat seeing projects like this. Thanks for shipping :)
Shipwright walkthrough
I fixed up some of the Python backend code that wasn’t working how I wanted it. I adding stuff to the CSS changing colors and animation. I also added a success animation for when you input is valid.
I am learning a lot more about how flask works and Python, and I think that this is very beneficial for me. I learnt more about how to handle errors and make good error messages.
I changed the CSS styling on the buttons and links. I made sure that the buttons stand out in the white background, by adding a light grey-ish color. I also edited some of the border coloring, sizings, and text shadows, making them pop. This helps me to learn more about CSS styling, and how to make a project really look good.
I added an error animation on the pages when you dont enter anything or you enter invalid input. I made it with Javascript adding the if statements and stuff, and connected it to my animations in CSS. I added a shake animation with some red text. I also had to re arrange some code for this to work. The final product looks very good and I am very happy with how it turned out.
Feedback
Hey there,
nice project, but it seems like your project uses an excessive amount of AI; therefore, I have to reject it. Please make your project a little more unique and remove or re-write the AI generated parts! Make it your own! That makes your project more personal and way cooler.
If you have any other questions, feel free to ask in #ask-the-shipwrights on Slack!
Shipwright walkthrough
I added the Javascript and HTML for the protein to DNA code, so that it could work on my flask website. The Javascript code was simple, because it was the same as the other one, just switching up the variable names around. I also had to do the HTML for the website and for the flask, which meant that I had to make another HTML file for the new feature. I made the it on another page so you can visit both of them from the website on a link.
I learnt more about how Javascript works in a flask website, and how HTML has to be coded slightly different in order for it to work on flask. This will help me for future projects, using flask and without it.
I just added a new feature where, you can translate a protein chain into a dna sequence. This is very similar to the other dna to protein translator, except its the other way around. It using mostly the same functions and stuff with slight differences. Right now I have only done the Python backend, and I will be doing the HTML, CSS, and Javascript, to make it work on the website later.
I learn how to make a protein to DNA translator in Python. I learn how to code the back end, to work with flask aswelll, to display it on the website. I also learn more about the fundamentals of Python and I think I am progressing very well.
Feedback
hi, cool project!!
unfortunately, we are unable to accept your project at this time because your project has the following issue(s):
- the project is comprised of over 30% ai code; this means you can either add more features yourself until your code makes up a majority or, rewrite existing ai code
Shipwright walkthrough
Feedback
Hi Rayan123-4! Your project is awesome but it looks like you used a lot of AI in it, could you rewrite it to make it look more human? Up to 30% is ok
If you have any questions, ask them in #ask-the-shipwrights
Shipwright walkthrough
Devlog 3:
I improved the design of my website using CSS. I added text shadows to the text to give it more depth, and I added things like smooth hover animations/effects with filters and scale increase. I also added buttons to the links and things, making them stand out more. I experimented with different colors and functions, and picked the one that fitted best.
I learnt more about different CSS properties such as text-shadow, box-shadow, box-sizing and many more. I also learnt how different animations and effects can have a big difference on the overall website. This was not extremely difficult, but it did take some experimenting for it too look good, and I had to try different properties and see what they do.
Feedback
Hey there,
we do not accept project demo URLs from Render. Please change your hosting provider. You can use #nest for free!
If you have any other questions, feel free to ask in #ask-the-shipwrights on Slack!
Shipwright walkthrough
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.