Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Beatrice Tan
CNAprioritization
Commits
8a70edc2
Commit
8a70edc2
authored
Feb 01, 2018
by
Beatrice Tan
Browse files
Changed path into parameter.
parent
e1120ae8
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/Circos.py
View file @
8a70edc2
...
...
@@ -11,7 +11,7 @@ class InputCircos:
def
make_seg_file
(
self
,
seg
,
cir_seg
):
""""Make input segmentation file."""
with
open
(
cir_seg
,
'w'
)
as
out
:
with
open
(
"/home/beatrice/CNA_analysis/Input/Segments_tumor.txt"
,
'r'
)
as
segments
:
with
open
(
cir
,
'r'
)
as
segments
:
segments
.
readline
()
for
line
in
segments
:
sample
,
chrom
,
start
,
end
,
nr_probes
,
seg_mean
=
line
.
strip
().
split
(
"
\t
"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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