Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import pandas as pd
|
| 3 |
import xlsxwriter
|
| 4 |
from io import BytesIO
|
| 5 |
from collections import defaultdict
|
| 6 |
|
|
|
|
|
|
|
| 7 |
# Function to find repeated amino acids in the protein sequence
|
| 8 |
def find_homorepeats(protein):
|
| 9 |
n = len(protein)
|
|
|
|
| 1 |
+
# Install required dependencies if not present
|
| 2 |
+
os.system("pip install streamlit pandas xlsxwriter")
|
| 3 |
+
|
| 4 |
import streamlit as st
|
| 5 |
import pandas as pd
|
| 6 |
import xlsxwriter
|
| 7 |
from io import BytesIO
|
| 8 |
from collections import defaultdict
|
| 9 |
|
| 10 |
+
|
| 11 |
+
|
| 12 |
# Function to find repeated amino acids in the protein sequence
|
| 13 |
def find_homorepeats(protein):
|
| 14 |
n = len(protein)
|