# HG changeset patch # User mheinzl # Date 1612429303 0 # Node ID e18c5293aac72401d1d62a0d7af58d9f73143d09 # Parent 5800e3acb06d3d15e38cb0b53b1acae44a0843ee planemo upload for repository https://github.com/Single-Molecule-Genetics/VariantAnalyzerGalaxy/tree/master/tools/variant_analyzer commit ee4a8e6cf290e6c8a4d55f9cd2839d60ab3b11c8 diff -r 5800e3acb06d -r e18c5293aac7 mut2read.py --- a/mut2read.py Thu Feb 04 08:57:57 2021 +0000 +++ b/mut2read.py Thu Feb 04 09:01:43 2021 +0000 @@ -74,10 +74,10 @@ stop_pos = variant.start #chrom_stop_pos = str(chrom) + "#" + str(stop_pos) ref = variant.REF - if len(variant.ALT) > 0: + if len(variant.ALT) == 0: + continue + else: alt = variant.ALT[0] - else: - alt = variant.ALT print(alt) chrom_stop_pos = str(chrom) + "#" + str(stop_pos) + "#" + ref + "#" + alt diff -r 5800e3acb06d -r e18c5293aac7 mut2sscs.py --- a/mut2sscs.py Thu Feb 04 08:57:57 2021 +0000 +++ b/mut2sscs.py Thu Feb 04 09:01:43 2021 +0000 @@ -68,10 +68,10 @@ stop_pos = variant.start #chrom_stop_pos = str(chrom) + "#" + str(stop_pos) ref = variant.REF - if len(variant.ALT) > 0: + if len(variant.ALT) == 0: + continue + else: alt = variant.ALT[0] - else: - alt = variant.ALT chrom_stop_pos = str(chrom) + "#" + str(stop_pos) + "#" + ref + "#" + alt if len(ref) == len(alt): diff -r 5800e3acb06d -r e18c5293aac7 read2mut.py --- a/read2mut.py Thu Feb 04 08:57:57 2021 +0000 +++ b/read2mut.py Thu Feb 04 09:01:43 2021 +0000 @@ -132,10 +132,10 @@ stop_pos = variant.start #chrom_stop_pos = str(chrom) + "#" + str(stop_pos) ref = variant.REF - if len(variant.ALT) > 0: + if len(variant.ALT) == 0: + continue + else: alt = variant.ALT[0] - else: - alt = variant.ALT chrom_stop_pos = str(chrom) + "#" + str(stop_pos) + "#" + ref + "#" + alt if len(ref) == len(alt):