Skip to content
Snippets Groups Projects
Commit 64fbf74d authored by Schneider Leo's avatar Schneider Leo
Browse files

requirements.txt

parent a67b9c76
No related merge requests found
...@@ -10,9 +10,9 @@ seaborn~=0.13.0 ...@@ -10,9 +10,9 @@ seaborn~=0.13.0
pyopenms~=3.1.0 pyopenms~=3.1.0
dlomix~=0.0.6 dlomix~=0.0.6
scikit-learn~=1.4.1.post1 scikit-learn~=1.4.1.post1
Levenshtein~=0.25.0 Levenshtein~=0.25.0
keras~=2.15.0 keras~=2.15.0
tensorflow~=2.15.0.post1
pillow~=10.2.0
nibabel~=5.2.1 nibabel~=5.2.1
nilearn~=0.10.4 nilearn~=0.10.4
Pillow~=10.1.0 \ No newline at end of file
\ No newline at end of file
...@@ -22,7 +22,7 @@ ALPHABET_UNMOD = { ...@@ -22,7 +22,7 @@ ALPHABET_UNMOD = {
} }
# trypsin cut after A or L (if not followed by P) # trypsin cut after K or R (if not followed by P)
def cut(seq, format): def cut(seq, format):
cuts = [] cuts = []
...@@ -52,3 +52,7 @@ def cut_with_ind(seq, ind_list): ...@@ -52,3 +52,7 @@ def cut_with_ind(seq, ind_list):
l.append(seq[ind_list[i]:ind_list[i + 1]]) l.append(seq[ind_list[i]:ind_list[i + 1]])
return l return l
def digest(seq, format):
ind = cut(seq, format)
return cut_with_ind(seq, ind)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment