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
0ae38108
Commit
0ae38108
authored
Nov 18, 2019
by
peguerin
Browse files
nested
parent
6da2d8bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
02-demultiplex/Snakefile
View file @
0ae38108
...
...
@@ -3,7 +3,9 @@ __license__ = "MIT"
configfile: "../config.yaml"
SAMPLES, = glob_wildcards('01-raw/{sample}.fasta')
SAMPLES, = glob_wildcards('01-raw/{run}/{sample}.fasta')
print(SAMPLES)
rule all:
input:
...
...
@@ -19,14 +21,3 @@ rule all:
include: "../00-rules/filtered.smk"
### Concatenate sequences from each sample of the same run
rule cat_samples:
input:
glob_wildcards('03-cleaned/{run}*.c.r.l.u.fasta'
params:
'03-cleaned/{run}*.c.r.l.u.fasta'
output:
'../03-filtered/{run}.fasta'
shell:
'''cat {params} > {output}'''
\ No newline at end of file
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