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
mmassaviol
WAWmassaviol
Commits
4c50a0ce
Commit
4c50a0ce
authored
Dec 08, 2021
by
khalid
Browse files
test if igv prefs file exists
parent
0be9b229
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/igv_visualize/igv_visualize.rule.snakefile
View file @
4c50a0ce
...
...
@@ -11,7 +11,7 @@ rule <step_name>__igv_visualize:
shell:
#plot IGV mapping res
"cd {params.output_dir}; "
"sed -i 's|DEFAULT_GENOME_KEY=.*|DEFAULT_GENOME_KEY={input.genome}|' /root/igv/prefs.properties; "
"
if [ -f /root/igv/prefs.properties ]; then
sed -i 's|DEFAULT_GENOME_KEY=.*|DEFAULT_GENOME_KEY={input.genome}|' /root/igv/prefs.properties
fi
; "
"cat <<-EOF > igv.batch\n"
"new\n"
"genome {input.genome}\n"
...
...
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