Mercurial > repos > gpovysil > range2tag
comparison range2tag.py @ 4:e2ccee720583 draft
planemo upload for repository https://github.com/gpovysil/galaxy/tools/range2tag commit a7152b199688c32e1668c1b080efa7b7003b9fb3
author | gpovysil |
---|---|
date | Wed, 16 May 2018 09:43:08 -0400 |
parents | e66e151e07ab |
children |
comparison
equal
deleted
inserted
replaced
3:e66e151e07ab | 4:e2ccee720583 |
---|---|
81 stop_pos = stop_pos + 3 | 81 stop_pos = stop_pos + 3 |
82 mut_tags = None | 82 mut_tags = None |
83 for t in range(0, len(tags)): | 83 for t in range(0, len(tags)): |
84 if cigar[t] != "*": | 84 if cigar[t] != "*": |
85 c_split = re.split('([A-Z])', cigar[t]) | 85 c_split = re.split('([A-Z])', cigar[t]) |
86 print(c_split) | |
87 cigar_long = None | 86 cigar_long = None |
88 | 87 |
89 for i in range(1, len(c_split), 2): | 88 for i in range(1, len(c_split), 2): |
90 if cigar_long is None: | 89 if cigar_long is None: |
91 cigar_long = np.repeat(c_split[i], c_split[i - 1]) | 90 cigar_long = np.repeat(c_split[i], c_split[i - 1]) |