Skip to content
Snippets Groups Projects
Commit 30a35b48 authored by Yohan Jarosz's avatar Yohan Jarosz
Browse files

add if statement for vizbin

parent 8cb747e0
No related branches found
No related tags found
No related merge requests found
......@@ -465,10 +465,12 @@ rule ANALYSIS_VIZBIN:
-o $TMP_VIZBIN/data.points \
-k {config[vizbin][kmer]} \
-p {config[vizbin][perp]} >> {log}
echo rv: $?
paste <(grep "^>" {output[0]} | sed -e 's/>//') \
<(cat $TMP_VIZBIN/data.points | sed -e 's/,/\t/') > {output[1]}
if [ -f $TMP_VIZBIN/data.points ]
then
paste <(grep "^>" {output[0]} | sed -e 's/>//') \
<(cat $TMP_VIZBIN/data.points | sed -e 's/,/\t/') > {output[1]}
fi
rm -rf $TMP_VIZBIN
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment