Skip to content

Commit

Permalink
parse_tree and clock_model work for test
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmeaton committed Mar 4, 2021
1 parent ffcdab9 commit 3650614
Show file tree
Hide file tree
Showing 6 changed files with 1,896 additions and 141 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ results/report/*
results/snippy_multi/*
results/snippy_pairwise/*
results/qualimap/*
results/parse_tree/*
results/clock/*

# Project
project/*/iqtree/*/*ckp.gz
Expand Down
92 changes: 0 additions & 92 deletions config/snakemake.yaml

This file was deleted.

4 changes: 3 additions & 1 deletion workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,10 @@ rule all:
metadata_all_input,
# Multiqc
multiqc_all_input,
# IQTREE
# Phylo
iqtree_scf_all_input,
# Post-Phylo
clock_model_all_input,
# Plot
plot_missing_data_all_input,
# Stats
Expand Down
8 changes: 3 additions & 5 deletions workflow/notebooks/clock_model.py.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@
"SCRIPT_NAME = \"clock\"\n",
"PREV_SCRIPT_NAME = \"parse_tree\"\n",
"\n",
"#WILDCARDS = snakemake.wildcards\n",
"# TESTING\n",
"WILDCARDS = [\"all\", \"chromosome\", \"5\"]\n",
"WILDCARDS = snakemake.wildcards\n",
"# TESTING WILDCARDS = [\"all\", \"chromosome\", \"5\"]\n",
"READS_ORIGIN = WILDCARDS[0]\n",
"LOCUS_NAME = WILDCARDS[1]\n",
"MISSING_DATA = WILDCARDS[2]\n",
Expand All @@ -108,8 +107,7 @@
"outputs": [],
"source": [
"project_dir = os.getcwd()\n",
"# TESTING\n",
"project_dir = os.path.dirname(os.path.dirname(project_dir))\n",
"# TESTING project_dir = os.path.dirname(os.path.dirname(project_dir))\n",
"config_dir = os.path.join(project_dir, \"config\")\n",
"results_dir = os.path.join(project_dir, \"results\")\n",
"\n",
Expand Down
Loading

0 comments on commit 3650614

Please sign in to comment.