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
927c5aa3
Commit
927c5aa3
authored
Nov 14, 2019
by
peguerin
Browse files
cat
parent
8ba20e15
Changes
1
Hide whitespace changes
Inline
Side-by-side
02-demultiplex/Snakefile
View file @
927c5aa3
...
...
@@ -3,6 +3,7 @@ __license__ = "MIT"
configfile: "../config.yaml"
RUNS, = glob_wildcards('raw/{run}_R1.fastq.gz')
SAMPLES, = glob_wildcards('01-raw/{sample}.fasta')
...
...
@@ -11,7 +12,8 @@ rule all:
expand('02-filtered/{sample}.uniq.fasta',sample=SAMPLES),
expand('02-filtered/{sample}.l.u.fasta',sample=SAMPLES),
expand('02-filtered/{sample}.r.l.u.fasta',sample=SAMPLES),
expand('03-cleaned/{sample}.c.r.l.u.fasta',sample=SAMPLES),
expand('03-cleaned/{sample}.c.r.l.u.fasta',sample=SAMPLES),
expand('03-cleaned/{run}_{sa}.c.r.l.u.fasta',run=RUNS),
expand('../99-log/05-dereplicate_samples/{sample}.log',sample=SAMPLES),
expand('../99-log/06-goodlength_samples/{sample}.log',sample=SAMPLES),
expand('../99-log/07-clean_pcrerr/{sample}.log',sample=SAMPLES),
...
...
@@ -19,3 +21,12 @@ rule all:
include: "../00-rules/filtered.smk"
### Concatenate sequences from each sample of the same run
rule cat_samples:
input:
'03-cleaned/{run}_{sa}.c.r.l.u.fasta'
output:
'03-filtered/{run}_run.fasta'
shell:
'''cat {input} > {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