Update cluster home authored by Mayer Alice's avatar Mayer Alice
......@@ -157,7 +157,7 @@ add a #SBATCH --array option to the headers of the script.
Here is an example of the use of arrays:
```
#SBATCH --array 1-16% 4 # In this example, we want to launch 16 jobs in total, with only 4 running in parallel.
#SBATCH --array 1-16%4 # In this example, we want to launch 16 jobs in total, with only 4 running in parallel.
i=$((SLURM_ARRAY_TASK_ID -1)) # allows to retrieve the array identifier (in this case, a number ranging from 1 to 16)
cd ${Directory_with_fastq_files}
......
......