@@ -140,43 +140,3 @@ rule CorcesATAC_reconstruct_lineage:
140140 os .path .join ("logs" ,"rules" ,"CorcesATAC_reconstruct_lineage.log" ),
141141 script :
142142 "../scripts/crossprediction.py"
143-
144- #### CorcesATAC - Copy selected plots for documentation and visualization in wiki (custom rule) ####
145- # Define the mapping of input to output files
146- CorcesATAC_plots_map = {
147- "sample_annotation.png" : "results/CorcesATAC/atacseq_pipeline/report/sample_annotation.png" ,
148- "CD34.svg" : "results/CorcesATAC/genome_tracks/tracks/CD34.svg" ,
149- "MS4A1.svg" : "results/CorcesATAC/genome_tracks/tracks/MS4A1.svg" ,
150- "filtered.png" : "results/CorcesATAC/spilterlize_integrate/all/plots/filtered.png" ,
151- "normCQN_integrated.png" : "results/CorcesATAC/spilterlize_integrate/all/plots/normCQN_integrated.png" ,
152- "filtered_CFA.png" : "results/CorcesATAC/spilterlize_integrate/all/plots/filtered_CFA.png" ,
153- "normCQN_integrated_CFA.png" : "results/CorcesATAC/spilterlize_integrate/all/plots/normCQN_integrated_CFA.png" ,
154- "normCQN_integrated_PCA.png" : "results/CorcesATAC/unsupervised_analysis/normCQN_integrated/PCA/plots/PCA_auto_0.9_2/metadata/cell_type.png" ,
155- "normCQN_integrated_HVF_PCA.png" : "results/CorcesATAC/unsupervised_analysis/normCQN_integrated_HVF/PCA/plots/PCA_auto_0.9_2/metadata/cell_type.png" ,
156- "normCQN_integrated_UMAP.png" : "results/CorcesATAC/unsupervised_analysis/normCQN_integrated/UMAP/plots/UMAP_correlation_15_0.1_2/metadata/cell_type.png" ,
157- "normCQN_integrated_HVF_UMAP.png" : "results/CorcesATAC/unsupervised_analysis/normCQN_integrated_HVF/UMAP/plots/UMAP_correlation_15_0.1_2/metadata/cell_type.png" ,
158- "dea_stats.png" : "results/CorcesATAC/dea_limma/normCQN_OvA_cell_type/plots/stats.png" ,
159- "markerGenes.png" : "results/CorcesATAC/dea_limma/normCQN_OvA_cell_type/plots/heatmap/markerGenes.png" ,
160- "Bcell_up_ReactomePathways.png" : "results/CorcesATAC/enrichment_analysis/Bcell_up/GREAT/ReactomePathways/Bcell_up_ReactomePathways.png" ,
161- "Bcell_up_Azimuth_2023.png" : "results/CorcesATAC/enrichment_analysis/Bcell_up/GREAT/Azimuth_2023/Bcell_up_Azimuth_2023.png" ,
162- "cell_types_Azimuth_2023_summary.png" : "results/CorcesATAC/enrichment_analysis/cell_types_up/GREAT/Azimuth_2023/cell_types_up_Azimuth_2023_summary.png" ,
163- "cell_types_ReactomePathways_summary.png" : "results/CorcesATAC/enrichment_analysis/cell_types_up/GREAT/ReactomePathways/cell_types_up_ReactomePathways_summary.png" ,
164- "crossprediction_graph.png" : "results/CorcesATAC/special_analyses/crossprediction/graph.png" ,
165- }
166-
167- # Copy input to outputs to include the plots in the repo and wiki
168- # This rule can only be used for docs after all results (including untracked ones: volcano and unsupervised analysis plots)
169- # have been generated (i.e. leave commented in the Snakefile's target rule until the end/last iteration)
170- rule CorcesATAC_plots :
171- input :
172- [CorcesATAC_plots_map [plot ] for plot in CorcesATAC_plots_map ]
173- output :
174- [f"docs/CorcesATAC/{ plot } " for plot in CorcesATAC_plots_map ]
175- resources :
176- mem_mb = "1000" ,
177- threads : config .get ("threads" , 1 )
178- log :
179- "logs/rules/CorcesATAC_plots.log" ,
180- run :
181- for i , o in zip (input , output ):
182- shell (f"cp { i } { o } " )
0 commit comments