Skip to content

Commit 8db811b

Browse files
committed
Add workflow rule graph
1 parent ab87f37 commit 8db811b

4 files changed

Lines changed: 52 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
A Snakemake pipeline to find SARS-CoV-2 clusters in a reference phylogeny.
88

9+
![Simplified workflow rules](/docs/rules-simple.png)
10+
911
It requires an input directory (`INPUT_DIR` parameter, default: `input/`) containing at least
1012
one `.txt` file with a list of sample IDs (one per line). Each ID list is evaluated
1113
separately, possibly in parallel.

docs/rules-simple.png

30.6 KB
Loading

docs/rules.dot

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
digraph snakemake_dag {
2+
graph[bgcolor=white, margin=0];
3+
node[shape=box, style=rounded, fontname=sans, fontsize=10, penwidth=2];
4+
edge[penwidth=2, color=grey];
5+
0[label = "all", color = "0.47 0.6 0.85", style="rounded"];
6+
1[label = "calculate_clusters", color = "0.35 0.6 0.85", style="rounded"];
7+
2[label = "build_phylo4", color = "0.00 0.6 0.85", style="rounded"];
8+
3[label = "phylogenetic_placement", color = "0.51 0.6 0.85", style="rounded"];
9+
4[label = "extract_records", color = "0.43 0.6 0.85", style="rounded"];
10+
5[label = "get_problematic_vcf", color = "0.39 0.6 0.85", style="rounded"];
11+
6[label = "get_reference_tree", color = "0.59 0.6 0.85", style="rounded"];
12+
7[label = "summarize_results", color = "0.27 0.6 0.85", style="rounded"];
13+
8[label = "estimate_fitness", color = "0.04 0.6 0.85", style="rounded"];
14+
9[label = "build_haplotype_metadata", color = "0.31 0.6 0.85", style="rounded"];
15+
10[label = "report_estimated_fitness", color = "0.08 0.6 0.85", style="rounded"];
16+
11[label = "report_haplotype_timeline", color = "0.12 0.6 0.85", style="rounded"];
17+
12[label = "report_summarized_timeline", color = "0.24 0.6 0.85", style="rounded"];
18+
13[label = "report_age_differences", color = "0.63 0.6 0.85", style="rounded"];
19+
14[label = "build_age_corrected_haplotype_metadata", color = "0.55 0.6 0.85", style="rounded"];
20+
15[label = "report_age_vs_background", color = "0.20 0.6 0.85", style="rounded"];
21+
16[label = "report_missing_data", color = "0.16 0.6 0.85", style="rounded"];
22+
11 -> 0
23+
8 -> 0
24+
10 -> 0
25+
16 -> 0
26+
15 -> 0
27+
12 -> 0
28+
7 -> 0
29+
1 -> 0
30+
13 -> 0
31+
2 -> 1
32+
4 -> 1
33+
4 -> 2
34+
3 -> 2
35+
6 -> 3
36+
5 -> 3
37+
4 -> 3
38+
1 -> 7
39+
4 -> 7
40+
9 -> 8
41+
1 -> 9
42+
4 -> 9
43+
8 -> 10
44+
9 -> 11
45+
9 -> 12
46+
14 -> 13
47+
9 -> 14
48+
14 -> 15
49+
14 -> 16
50+
}

docs/rules.png

99 KB
Loading

0 commit comments

Comments
 (0)