Skip to content
GitLab
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_swarm
Commits
e777961d
Commit
e777961d
authored
Oct 05, 2022
by
mbruno
Browse files
add rule mv_otu_table
parent
00c18bcd
Changes
2
Hide whitespace changes
Inline
Side-by-side
rules/common.smk
View file @
e777961d
...
...
@@ -83,6 +83,9 @@ def get_targets():
rpm = f'results/{pipeline}/{projet}/{marker}/'
if projet not in config['blacklist']['projet'] and run not in config['blacklist']['run']:
tsv = f'{rpm}otu_genbank_ecotag.tsv'
table = f'{rpm}table_motu.tsv'
if table not in files:
files.append(table)
if tsv not in files:
files.append(tsv)
if config['custom_baseref'] and marker in config['custom_ref']:
...
...
rules/table_assigned_sequences.smk
View file @
e777961d
...
...
@@ -17,3 +17,17 @@ rule table_assigned_sequences:
'''
obitab -o {input} > {output} 2> {log}
'''
rule mv_otu_table:
input:
table = rules.otu_table.output,
fasta = rules.otu_fasta.output
output:
Path('results', config['subfolders']['table_assignment'], '{projmark}/table_motu.tsv')
log:
Path('logs', config['subfolders']['table_assignment'], '{projmark}/table_motu.log')
shell:
'''
mv {input.table} {output}
echo 'move {input.table} --> {output}'
'''
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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