This Amino Acids API is capable of the following:
- Transcribing DNA sequences
- Translating mRNA sequences
- Providing information on codons (abbreviations, full names etc.)
- Searching amino acid database by select criteria
- Adding food sources to amino acids
- Python
- Flask
- Docker
- AWS DynamoDB
- AWS Lightsail
The API can be accessed at: https://flask-service.qqoeeb8dkba36.ca-central-1.cs.amazonlightsail.com/
Transcribes DNA sequence to mRNA sequence.
GET /transcribe
curl https://flask-service.qqoeeb8dkba36.ca-central-1.cs.amazonlightsail.com/transcribe?dna=AGTCTAGC
StatusCode : 200
StatusDescription : OK
Content : "UCAGAUCG"
Searches mRNA sequence for start and stop codons, and translates codons into amino acids. Start and stop codons must be present in sequence.
GET /translate
curl https://flask-service.qqoeeb8dkba36.ca-central-1.cs.amazonlightsail.com/translate?mRNA=CCAAUGGUAACAUUUUGAACA
StatusCode : 200
StatusDescription : OK
Content : [
"MET",
"VAL",
"THR",
"PHE",
"Stop"
]
GET /codons
curl https://flask-service.qqoeeb8dkba36.ca-central-1.cs.amazonlightsail.com/codons
StatusCode : 200
StatusDescription : OK
Content : [
{
"AminoAcid": {
"S": "Proline"
},
"AminoAcidAbb": {
"S": "PRO"
},
"Codon": {
"S": "CCA"
},
"Essential": {
"S": "Conditionally Essential"
},
"FoodSource": {
"SS": [
"Asparagus"...
GET /codons
curl https://flask-service.qqoeeb8dkba36.ca-central-1.cs.amazonlightsail.com/codons?seq=AUGCCA
StatusCode : 200
StatusDescription : OK
Content : [
[
{
"AminoAcid": {
"S": "Methionine"
},
"AminoAcidAbb": {
"S": "MET"
},
"Codon": {
"S": "AUG"
},
"Essential": {
"S": "Essential"
},
"FoodSource": {
"SS": [
"Eggs"...
Searches amino acid database for all codons that meet search requirements (essentiality, available in specified food source, or both conditions)
Essentiality | Query Parameter |
---|---|
Essential | ?essential=essential |
Non-Essential | ?essential=nonessential |
Conditionally Essential | ?essential=condessential |
GET /search
curl https://flask-service.qqoeeb8dkba36.ca-central-1.cs.amazonlightsail.com/search?essential=essential"&"food=chicken
StatusCode : 200
StatusDescription : OK
Content : [
[
{
"AminoAcid": {
"S": "Threonine"
},
"AminoAcidAbb": {
"S": "THR"
},
"Codon": {
"S": "ACA"
},
"Essential": {
"S": "Essential"
},
"FoodSource": {
"SS": [
"Beef",
"Cheese",
"Chicken"...
Provide the amino acid abbreviation and food source to add food item to database.
POST \food
curl --location -request POST 'https://flask-service.qqoeeb8dkba36.ca-central-1.cs.amazonlightsail.com/food' --header 'Content-Type: application/json' --data-raw '{ "aminoAcid" : "LEU","food" : "Beef"}'
StatusCode : 200
StatusDescription : OK
Content : {
"message": "Food added successfully to database. Thank you for your contribution!",
"response": {
"CUA": [
"Beef",
"Cheese",
"Chicken",
"Fish",
"Nuts",
"Pork"
],
"CUC": [
"Beef",
"Cheese",
"Chicken"...