File tree Expand file tree Collapse file tree 3 files changed +26
-3
lines changed
Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -81,3 +81,22 @@ rule threshold:
8181 expand ("thresholded/{threshold}/{{pathway}}/gold_standard_edges.txt" , threshold = thresholds )
8282 shell :
8383 "uv run scripts/sampling.py {wildcards.pathway}"
84+
85+ rule make_pathway_map :
86+ input :
87+ "raw/pathways.txt"
88+ output :
89+ "processed/pathway_id_mapping.tsv"
90+ shell :
91+ "uv run scripts/list_curated_pathways.py"
92+
93+ for pathway in pathways :
94+ rule :
95+ input :
96+ "processed/pathway_id_mapping.tsv" ,
97+ "raw/pc-panther-biopax.owl"
98+ output :
99+ "intermediate/pathway-data/{pathway}.owl" ,
100+ "intermediate/pathway-data/{pathway}.sif"
101+ shell :
102+ f"uv run scripts/fetch_pathway.py { pathway } "
Original file line number Diff line number Diff line change 11[
2- // "CCKR signaling map", TODO: not a valid pathway name?
2+ // Commonly known as the "CCKR signaling map", PathwayCommons also does not map this one correctly:
3+ // TODO: report to PathwayCommons: see https://apps.pathwaycommons.org/pathways?uri=https%3A%2F%2Fidentifiers.org%2Fpanther.pathway%3AP06959
4+ " Gastrin_CCK2R_240212" ,
35 " Wnt signaling pathway" ,
46 " VEGF signaling pathway" ,
57 " Toll receptor signaling pathway" ,
1517 " Hedgehog signaling pathway" ,
1618 " FGF signaling pathway" ,
1719 " FAS signaling pathway" ,
18- // "Endothelin signaling pathway", TODO: not a valid pathway name?
20+ // This is actually the Endothelin signaling pathway.
21+ // TODO: report to PathwayCommons: see https://apps.pathwaycommons.org/pathways?uri=https%3A%2F%2Fidentifiers.org%2Fpanther.pathway%3AP00019.
22+ " untitled" ,
1923 " EGF receptor signaling pathway" ,
2024 " Cadherin signaling pathway" ,
2125 " Apoptosis signaling pathway" ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ line-length = 150
2828exclude = [" spras" ]
2929
3030[tool .ruff .lint ]
31- unfixable = [" E712" ]
31+ extend-ignore = [" E712" ]
3232
3333[tool .uv ]
3434package = true
You can’t perform that action at this time.
0 commit comments