From f3e3c3321ab0adb64416ac83a2f9524f512f1d5a Mon Sep 17 00:00:00 2001
From: "julie.orjuela_ird.fr" <julie.orjuela@ird.fr>
Date: Tue, 26 Mar 2024 08:48:02 +0000
Subject: [PATCH] Update README.md

---
 README.md | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/README.md b/README.md
index 0b755b5..5b4c485 100644
--- a/README.md
+++ b/README.md
@@ -81,6 +81,50 @@ RNAja does a copy of `cluster_config.yaml` file into your home `"/home/$USER/.co
    RNAja edit_cluster_config
 ```
 
+Feel free to modify resources (RAM, CPU number and partition) using the rules names found above. 
+
+```
+rule hisat2_index
+rule hisat2_map
+rule star_index
+rule star_map_count
+rule star_to_diffex
+rule samtools_stats
+rule multiqc
+rule stringtie_discovery
+rule stringtie_gtf_list_discovery
+rule merge_stringtie_gtf_discovery
+rule stringtie
+rule stringtie_gtf_list
+rule merge_stringtie_gtf
+rule list_for_prepDE
+rule prepDE_stringtie_table
+rule htseq_count
+rule htseq_to_diffex
+rule diff_exp_analysis
+```
+
+In the `cluster_config.yaml` file adapt ressources as in this example adapted:
+
+```
+_default__:
+    cpus-per-task: 4
+    mem-per-cpu: 3G
+    partition : normal
+    output: '{log.output}_cluster'
+    error: '{log.error}_cluster'
+    job-name: '{rule}.{wildcards}'
+
+
+rule stringtie_discovery
+    nodelist: node4 
+    cpus-per-task: 8
+    mem-per-cpu: 6G
+    partition: highmem
+
+```
+
+
 If singularity was selected in installation of RNAja, it could be needed to give argument `--singularity-args \"--bind $HOME\"` to Snakemake, by using :
 
 ```bash
-- 
GitLab