Commit 7c07fcb8 authored by peguerin's avatar peguerin
Browse files

debug empty file rule rm_internal_samples

parent 7123c88d
...@@ -57,5 +57,5 @@ rule rm_internal_samples: ...@@ -57,5 +57,5 @@ rule rm_internal_samples:
log: log:
'../99-log/08-rm_internal_samples/{run}/{sample}.log' '../99-log/08-rm_internal_samples/{run}/{sample}.log'
shell: shell:
''''mkdir -p {params.dir}; obigrep -p 'obiclean_internalcount == 0' {input} > {output} 2> {log}''' ''''mkdir -p {params.dir}; if [[ -s {input} ]]; then obigrep -p "obiclean_internalcount == 0" {input} > {output} 2> {log}; fi'''
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