diff mut2read.py @ 7:ded0dc6a20d3 draft

planemo upload for repository https://github.com/Single-Molecule-Genetics/VariantAnalyzerGalaxy/tree/master/tools/variant_analyzer commit ee4a8e6cf290e6c8a4d55f9cd2839d60ab3b11c8
author mheinzl
date Mon, 25 Jan 2021 13:21:55 +0000
parents 11a2a34f8a2b
children ced1a529e7cd
line wrap: on
line diff
--- a/mut2read.py	Mon Jan 18 09:49:15 2021 +0000
+++ b/mut2read.py	Mon Jan 25 13:21:55 2021 +0000
@@ -72,11 +72,11 @@
     for variant in VCF(file1):
         chrom = variant.CHROM
         stop_pos = variant.start
-        chrom_stop_pos = str(chrom) + "#" + str(stop_pos)
+        #chrom_stop_pos = str(chrom) + "#" + str(stop_pos)
         ref = variant.REF
         alt = variant.ALT[0]
-#        nc = variant.format('NC')
-        ad = variant.format('AD')
+        chrom_stop_pos = str(chrom) + "#" + str(stop_pos) + "#" + ref + "#" + alt
+
 
         dcs_len = []
         if len(ref) == len(alt):