comparison mut2read.py @ 9:5800e3acb06d draft

planemo upload for repository https://github.com/Single-Molecule-Genetics/VariantAnalyzerGalaxy/tree/master/tools/variant_analyzer commit ee4a8e6cf290e6c8a4d55f9cd2839d60ab3b11c8
author mheinzl
date Thu, 04 Feb 2021 08:57:57 +0000
parents ced1a529e7cd
children e18c5293aac7
comparison
equal deleted inserted replaced
8:ced1a529e7cd 9:5800e3acb06d
76 ref = variant.REF 76 ref = variant.REF
77 if len(variant.ALT) > 0: 77 if len(variant.ALT) > 0:
78 alt = variant.ALT[0] 78 alt = variant.ALT[0]
79 else: 79 else:
80 alt = variant.ALT 80 alt = variant.ALT
81 print(alt)
81 chrom_stop_pos = str(chrom) + "#" + str(stop_pos) + "#" + ref + "#" + alt 82 chrom_stop_pos = str(chrom) + "#" + str(stop_pos) + "#" + ref + "#" + alt
82 83
83 84
84 dcs_len = [] 85 dcs_len = []
85 if len(ref) == len(alt): 86 if len(ref) == len(alt):