Skip to content
Snippets Groups Projects
Commit 98955ae9 authored by Valentina Galata's avatar Valentina Galata
Browse files

updated step analysis

parent a020fdeb
No related branches found
No related tags found
1 merge request!76Merge "cleanup" branch with "master" branch
...@@ -10,8 +10,8 @@ from tempfile import TemporaryDirectory ...@@ -10,8 +10,8 @@ from tempfile import TemporaryDirectory
# configfile:"config/CONFIG.yaml" # configfile:"config/CONFIG.yaml"
# Paths # Paths
SRC_DIR = srcdir("scripts") SRC_DIR = srcdir("workflow/scripts")
ENV_DIR = srcdir("envs") ENV_DIR = srcdir("workflow/envs")
DATA_DIR = config["data_dir"] DATA_DIR = config["data_dir"]
RESULTS_DIR = config["results_dir"] RESULTS_DIR = config["results_dir"]
DB_DIR = config["db_dir"] DB_DIR = config["db_dir"]
...@@ -104,24 +104,24 @@ if 'taxonomy' in STEPS: ...@@ -104,24 +104,24 @@ if 'taxonomy' in STEPS:
"workflow/steps/taxonomy.smk" "workflow/steps/taxonomy.smk"
TARGETS += ["taxonomy_for_ont.done"] TARGETS += ["taxonomy_for_ont.done"]
# if 'analysis' in STEPS: if 'analysis' in STEPS:
# include: include:
# "workflows/analysis.smk" "workflow/steps/analysis.smk"
# # CD-HIT # CD-HIT
# if "cdhit" in ANALYSIS_STEPS: if "cdhit" in ANALYSIS_STEPS:
# TARGETS.append("cdhit_analysis.done") TARGETS.append("cdhit_analysis.done")
# # Mappability # Mappability
# if "mappability" in ANALYSIS_STEPS: if "mappability" in ANALYSIS_STEPS:
# TARGETS.append("mappability_index.done") TARGETS.append("mappability_index.done")
# # CRISPR # CRISPR
# if "crispr" in ANALYSIS_STEPS: if "crispr" in ANALYSIS_STEPS:
# TARGETS.append("crispr_analysis.done") TARGETS.append("crispr_analysis.done")
# # Plasmid prediction # Plasmid prediction
# if "plasmids" in ANALYSIS_STEPS: if "plasmids" in ANALYSIS_STEPS:
# TARGETS.append("plasmids_analysis.done") TARGETS.append("plasmids_analysis.done")
# # AMR prediction # AMR prediction
# if "amr" in ANALYSIS_STEPS: if "amr" in ANALYSIS_STEPS:
# TARGETS.append("amr_analysis.done") TARGETS.append("amr_analysis.done")
#else: #else:
# raise Exception('You are not serious. No input data') # raise Exception('You are not serious. No input data')
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# specify which rules to run # specify which rules to run
include: include:
'../rules/ANALYSIS_RULES' '../rules/analysis.smk'
# Rule all for running the analysing partial gene counts in prodigal and unique gene counts with cd-hit on the proteins # Rule all for running the analysing partial gene counts in prodigal and unique gene counts with cd-hit on the proteins
rule CDHIT: rule CDHIT:
......
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