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