Commit 008ba894 authored by jkvis's avatar jkvis

Fixed integer positions

parent 3929f40f
......@@ -477,10 +477,10 @@ def describe_repeats(reference, sample, units):
cm = Crossmap([reference_start + 1, reference_end], [], 1)
for variant in description:
for inserted in variant.inserted:
inserted.start = cm.tuple2string(cm.g2x(inserted.start))
inserted.end = cm.tuple2string(cm.g2x(inserted.end))
variant.start = cm.tuple2string(cm.g2x(variant.start))
variant.end = cm.tuple2string(cm.g2x(variant.end))
inserted.start = cm.tuple2string(cm.g2x(int(inserted.start)))
inserted.end = cm.tuple2string(cm.g2x(int(inserted.end)))
variant.start = cm.tuple2string(cm.g2x(int(variant.start)))
variant.end = cm.tuple2string(cm.g2x(int(variant.end)))
return description, reference_start, reference_end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment