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
4a309952
Commit
4a309952
authored
Nov 17, 2020
by
Sam Nooij
Browse files
Also import profile read counts and percentages
parent
377838d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/import_jovian_output.py
View file @
4a309952
...
...
@@ -3,6 +3,8 @@
# Import the output of Jovian, that is needed to screen for
# species and sequences, into another directory. This includes
# trimmed reads, filtered scaffolds and classification tables.
# It also import other useful output files, such as sample composition
# graphs, Krona charts, and tables of taxonomic abundances.
#
# Example use:
# $ python3 import_jovian_output.py -i ../Jovian/ -o ./ -m move
...
...
@@ -529,7 +531,8 @@ def main():
print
(
"Trying to copy extra files:"
)
print
(
"pipeline_parameters.yaml, multiqc.html,"
)
print
(
"Sample_composition_graph.html, Krona.html and heatmaps."
)
print
(
"Sample_composition_graph.html, Krona.html, heatmaps,"
)
print
(
"and profile_read_counts.csv and profile_percentages.csv."
)
try
:
shutil
.
copy2
(
...
...
@@ -550,6 +553,14 @@ def main():
)
for
heatmap
in
list
(
Path
(
main_input
/
"results"
/
"heatmaps"
).
glob
(
"*.html"
)):
shutil
.
copy2
(
heatmap
,
Path
(
main_output
/
"data"
/
"raw"
/
"Jovian_report"
))
shutil
.
copy2
(
Path
(
main_input
/
"results"
/
"profile_read_counts.csv"
),
Path
(
main_output
/
"data"
/
"raw"
/
"Jovian_report"
),
)
shutil
.
copy2
(
Path
(
main_input
/
"results"
/
"profile_percentages.csv"
),
Path
(
main_output
/
"data"
/
"raw"
/
"Jovian_report"
)
)
except
:
print
(
"Could not copy all Jovian results files."
)
...
...
Sam Nooij
@snooij
mentioned in issue
#4
·
Nov 17, 2020
mentioned in issue
#4
mentioned in issue #4
Toggle commit list
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