Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
extractor
Commits
008ba894
Commit
008ba894
authored
Sep 14, 2016
by
jkvis
Browse files
Fixed integer positions
parent
3929f40f
Changes
1
Hide whitespace changes
Inline
Side-by-side
extractor/describe.py
View file @
008ba894
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment