Add proprocess_transcript file

This commit is contained in:
babysor00 2021-09-02 09:40:12 +08:00
parent bd0e47e76b
commit 53fe291d3c

View File

@ -0,0 +1,10 @@
def preprocess_transcript_bznsyp(dict_info, dict_transcript):
transList = []
for t in dict_transcript:
transList.append(t)
for i in range(0, len(transList), 2):
if not transList[i]:
continue
key = transList[i].split("\t")[0]
transcript = transList[i+1].strip().replace("\n","").replace("\t"," ")
dict_info[key] = transcript