Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import streamlit as st
|
|
2 |
import numpy as np
|
3 |
from Bio import SeqIO
|
4 |
from Bio.Seq import Seq
|
|
|
5 |
from hmmlearn import hmm
|
6 |
|
7 |
# Function to encode DNA sequence
|
@@ -22,7 +23,7 @@ def analyze_dark_matter(sequence):
|
|
22 |
|
23 |
# Basic statistics
|
24 |
length = len(seq)
|
25 |
-
gc_content =
|
26 |
|
27 |
# Look for common regulatory motifs
|
28 |
tata_box = seq.count("TATAAA")
|
|
|
2 |
import numpy as np
|
3 |
from Bio import SeqIO
|
4 |
from Bio.Seq import Seq
|
5 |
+
from Bio.SeqUtils import GC
|
6 |
from hmmlearn import hmm
|
7 |
|
8 |
# Function to encode DNA sequence
|
|
|
23 |
|
24 |
# Basic statistics
|
25 |
length = len(seq)
|
26 |
+
gc_content = GC(seq)
|
27 |
|
28 |
# Look for common regulatory motifs
|
29 |
tata_box = seq.count("TATAAA")
|