Skip to content
Snippets Groups Projects
Commit 15a986b6 authored by Susheel Busi's avatar Susheel Busi
Browse files

snakefile with the checkpoint workflows

parent a016d9eb
No related branches found
No related tags found
1 merge request!67WIP: Checkpoint snakefile
# File for running ONT analyses
# default configuration file
configfile:"config/CONFIG.yaml"
# default executable for snakmake
shell.executable("bash")
# input settings
RUNS=config['runs']['first']
STEPS=config['steps']
# include rules for the workflows based on "steps" in the CONFIG.yaml file
# ONT analyses workflow
TARGETS = []
if 'assembly_annotation' in STEPS:
include: "workflows/checkpoint_assembly_annotation.smk"
TARGETS += ["assemble_and_coverage.done",
"annotate.done",
"basecall_merge_qc.done",
"coverage_of_references.done",
"prodigal_gene_call.done",
"diamond_proteins.done"]
if 'mmseq' in STEPS:
include: "workflows/mmseq.smk"
TARGETS += ["mmseq_comparison_for_ont.done"]
if 'metaT' in STEPS:
include: "workflows/metat.smk"
TARGETS += ["metaT_mapping_for_ONT.done"]
if 'mapping' in STEPS:
include: "workflows/mapping.smk"
TARGETS += ["mapping_for_binning.done"]
if 'binning' in STEPS:
include: "workflows/binning.smk"
TARGETS += ["binning_for_ont.done"]
if 'taxonomy' in STEPS:
include: "workflows/taxonomy.smk"
TARGETS += ["taxonomy_for_ont.done"]
#else:
# raise Exception('You are not serious. No input data')
# print("No input data provided")
rule all:
input:
TARGETS
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment