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_rapidrun_obitools
Commits
1c36c1dd
Commit
1c36c1dd
authored
Jun 16, 2020
by
peguerin
Browse files
fix path
parent
c22cea93
Changes
2
Hide whitespace changes
Inline
Side-by-side
04_filter_samples/rules/dereplicate_samples.smk
View file @
1c36c1dd
...
...
@@ -11,4 +11,4 @@ rule dereplicate_samples:
params:
dmulti= lambda wildcards: dfMultiChecked[dfMultiChecked.demultiplex == wildcards.demultiplexs].to_dict('records')[0],
shell:
'''mkdir -p 01_dereplicated/{params.dmulti[projmarkrun]}; obiuniq -m sample {input} > {output} 2> {log}'''
\ No newline at end of file
'''mkdir -p ../results/04_filter_samples/01_dereplicated/{params.dmulti[projmarkrun]}; obiuniq -m sample {input} > {output} 2> {log}'''
\ No newline at end of file
04_filter_samples/rules/rm_internal_samples.smk
View file @
1c36c1dd
...
...
@@ -11,4 +11,4 @@ rule rm_internal_samples:
log:
'../logs/04_filter_samples/04_filtered/{demultiplexs}.log'
shell:
'''if [[ -s {input} ]]; then mkdir -p 04_filtered/{params.dmulti[projmarkrun]}; obigrep -p "obiclean_internalcount == 0" {input} > {output} 2> {log} ; else touch {output} 2> {log} ; fi'''
'''if [[ -s {input} ]]; then mkdir -p
../results/04_filter_samples/
04_filtered/{params.dmulti[projmarkrun]}; obigrep -p "obiclean_internalcount == 0" {input} > {output} 2> {log} ; else touch {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