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
Sam Nooij
Jovian screener
Commits
6bbd1b9a
Commit
6bbd1b9a
authored
Aug 07, 2020
by
Sam Nooij
Browse files
Add support for deduplicated files
parent
9b0a5341
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/concatenate_depth_tables.py
View file @
6bbd1b9a
...
...
@@ -71,7 +71,15 @@ everything from "_to_" until the end.
else
:
without_path
=
filename
without_prefix
=
without_path
.
replace
(
"Depth_of_coverage-"
,
""
)
if
"Depth_of_coverage"
in
without_path
:
without_prefix
=
without_path
.
replace
(
"Depth_of_coverage-"
,
""
)
elif
"Deduplicated_depth_of_coverge"
in
without_path
:
without_prefix
=
without_path
.
replace
(
"Deduplicated_depth_of_coverage-"
,
""
)
else
:
# This should never happen, but the result will show in the sample names
# of the output files
pass
sample
=
without_prefix
[:
without_prefix
.
index
(
"_to_"
)]
return
sample
...
...
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