comparison mutation_column_checker.py @ 83:729738462297 draft

"planemo upload commit c0ffc68aec5836d5b20b543106493056a87edf57"
author rhpvorderman
date Wed, 15 Sep 2021 12:24:06 +0000
parents b6f9a640e098
children
comparison
equal deleted inserted replaced
82:a103134ee6e0 83:729738462297
18 fr3_data = line_split[fr3_index] 18 fr3_data = line_split[fr3_index]
19 if len(fr3_data) > 5: 19 if len(fr3_data) > 5:
20 try: 20 try:
21 test = [mutationMatcher.match(x).groups() for x in fr3_data.split("|") if x] 21 test = [mutationMatcher.match(x).groups() for x in fr3_data.split("|") if x]
22 except: 22 except:
23 print(line_split[1]) 23 print((line_split[1]))
24 print("Something went wrong at line {line} with:".format(line=line_split[0])) 24 print(("Something went wrong at line {line} with:".format(line=line_split[0])))
25 #print([x for x in fr3_data.split("|") if not mutationMatcher.match(x)]) 25 #print([x for x in fr3_data.split("|") if not mutationMatcher.match(x)])
26 if i % 100000 == 0: 26 if i % 100000 == 0:
27 print(i) 27 print(i)