Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Holly Ruess
celseq2
Commits
99f47ba8
Commit
99f47ba8
authored
Mar 19, 2018
by
yy1533
Browse files
💪
parent
f7227fe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
celseq2/parse_log.py
View file @
99f47ba8
...
...
@@ -121,12 +121,12 @@ def merge_reports(reports, report_names=None,
report_names
=
[
str
(
i
+
1
)
for
i
in
range
(
n
)]
assert
len
(
reports
)
==
len
(
report_names
)
if
(
not
aligner_name
)
or
(
aligner_name
not
in
(
'bowtie2'
,
'star'
)):
if
(
not
aligner_name
)
or
(
str
(
aligner_name
)
not
in
(
'bowtie2'
,
'star'
)):
aligner_name
=
'X'
features
=
list
(
reports
[
0
].
keys
())
with
open
(
savetocsv
,
'w'
)
as
fout
:
fout
.
write
(
'{}
\n
'
.
format
(
','
.
join
([
aligner_name
]
+
features
)))
fout
.
write
(
'{}
\n
'
.
format
(
','
.
join
([
str
(
aligner_name
)
]
+
features
)))
for
i
in
range
(
n
):
i_name
=
report_names
[
i
]
i_values
=
list
(
reports
[
i
].
values
())
...
...
Write
Preview
Markdown
is supported
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