From 95dc1780816ff588fc5c4de024c330d6bb8a7a5c Mon Sep 17 00:00:00 2001 From: KHAM Chaimae <k24022051@V-PP-47-L-145.salsa.univ-amu.fr> Date: Fri, 8 Nov 2024 16:04:33 +0100 Subject: [PATCH] Ajout d'un README expliquant le makefile. --- workflow/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 workflow/README.md diff --git a/workflow/README.md b/workflow/README.md new file mode 100644 index 0000000..77ea7df --- /dev/null +++ b/workflow/README.md @@ -0,0 +1,16 @@ +This Makefile orchestrates a sequence of R scripts to process data and generate output files. It ensures that each step is executed in the correct order by specifying dependencies between the files. + +#File Dependencies: + +Each target file is dependent on one or more source files. For example, results/tp4/TP4_asbvg.RData depends on results/tp3/TP3_asbvg.RData. + +#R Script Execution: + +For each target file, an associated R script is run using Rscript. The scripts are executed in sequence, ensuring that the necessary input files are generated before the next step. + +#Data Download: + +The first step downloads the necessary data files (penncath.bed, penncath.bim, penncath.fam) using the src/download_data.R script. + +#Data Processing: +After the data is downloaded, subsequent R scripts (src/tp1.R, src/tp2.R, src/tp3.R, and src/tp4.R) process the data and produce intermediate and final results (stored in .RData files). -- GitLab