comparison FlapjackProject.py @ 82:348ad93dab47 draft default tip

Uploaded
author cropgeeks
date Wed, 07 Mar 2018 08:04:25 -0500
parents 819fdece454a
children
comparison
equal deleted inserted replaced
81:819fdece454a 82:348ad93dab47
46 temp_parents = parents 46 temp_parents = parents
47 header = '' 47 header = ''
48 fj_header = '' 48 fj_header = ''
49 with open(my_file) as infile: 49 with open(my_file) as infile:
50 for line in infile: 50 for line in infile:
51 if line.startswith("# fjFav"): 51 if line.startswith("# fjFav") or line.startswith("# fjUnfav") or line.startswith("# fjAlt"):
52 favAlleleHeaders.append(line) 52 favAlleleHeaders.append(line)
53 continue 53 continue
54 elif line[:2] == '# ': 54 elif line[:2] == '# ':
55 fj_header += line 55 fj_header += line
56 elif header == '': 56 elif header == '':