Commit 4c50a0ce authored by khalid's avatar khalid
Browse files

test if igv prefs file exists

parent 0be9b229
......@@ -11,7 +11,7 @@ rule <step_name>__igv_visualize:
#plot IGV mapping res
"cd {params.output_dir}; "
"sed -i 's|DEFAULT_GENOME_KEY=.*|DEFAULT_GENOME_KEY={input.genome}|' /root/igv/; "
"if [ -f /root/igv/ ]; then sed -i 's|DEFAULT_GENOME_KEY=.*|DEFAULT_GENOME_KEY={input.genome}|' /root/igv/ fi; "
"cat <<-EOF > igv.batch\n"
"genome {input.genome}\n"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment