Commit 0e9e6737 authored by peguerin's avatar peguerin
Browse files

check empty files

parent 6e6d4e10
......@@ -42,13 +42,9 @@ rule clean_pcrerr_samples:
params:
r=config["clean_pcrerr_samples"]["r"]
shell:
'''
if [[ -s {input} ]]
then
obiclean -r {params.r} {input} > {output} 2> {log}
else
touch {output} 2> {log}
fi
'''if [[ -s {input} ]] ;
then obiclean -r {params.r} {input} > {output} 2> {log} ;
else touch {output} 2> {log} ; fi
'''
### Remove sequence which are classified as 'internal' by obiclean
......
Markdown is supported
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