Skip to content
Snippets Groups Projects
Commit 727c9676 authored by Jingfei Hou's avatar Jingfei Hou
Browse files

Update seq.py

parent 69ddbac9
No related branches found
No related tags found
No related merge requests found
......@@ -95,11 +95,10 @@ def seq_fre_get(input_seq, data_path):
for i in range(len(seq_list)):
seq_list[i] = list(set(seq_list[i]))
ans_num = 1
print('每一位点可能氨基酸:')
print('Every bit of possible amino acids:')
for i in range(len(seq_list)):
print(seq_list[i])
ans_num = ans_num * len(seq_list[i])
print('可生成条数:', ans_num)
return seq_list
def read_input(specie_path, input_path):
......@@ -112,4 +111,4 @@ def read_input(specie_path, input_path):
ans.append(line)
input_seq_fr = ans[0]
input_cdr = ans[1:]
return tar_specie, input_seq_fr, input_cdr
\ No newline at end of file
return tar_specie, input_seq_fr, input_cdr
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