Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
edna
snakemake_only_obitools
Commits
7c07fcb8
Commit
7c07fcb8
authored
Nov 27, 2019
by
peguerin
Browse files
debug empty file rule rm_internal_samples
parent
7123c88d
Changes
1
Hide whitespace changes
Inline
Side-by-side
00-rules/filter_samples.smk
View file @
7c07fcb8
...
@@ -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
'''
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment