Commit 14fe8cab authored by peguerin's avatar peguerin
Browse files

check empty files

parent 91f9ab5c
......@@ -42,11 +42,7 @@ 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
rule rm_internal_samples:
......
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