Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
edna
snakemake_only_obitools
Commits
6e6d4e10
Commit
6e6d4e10
authored
Nov 18, 2019
by
peguerin
Browse files
check empty files
parent
fcd91de3
Changes
1
Hide whitespace changes
Inline
Side-by-side
00-rules/filter_samples.smk
View file @
6e6d4e10
...
...
@@ -42,12 +42,14 @@ 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:
...
...
Write
Preview
Markdown
is supported
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