Skip to content

Commit

Permalink
Update scripts_ngs.md
Browse files Browse the repository at this point in the history
Ajout des paths des fichiers faste dans les scripts et correction des commandes pour le lancement
  • Loading branch information
hchiapello authored Mar 13, 2020
1 parent fa25e6e commit 54e6907
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions seance4/tutorial/scripts_ngs.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $ ls /shared/projects/dubii2020/data/study_cases/Escherichia_coli/bacterial-reg
> > output_dir="fastqc-results-v1"
> > mkdir -p ${output_dir}
> >
> > data=(*.fastq)
> > data=(/shared/projects/dubii2020/data/study_cases/Escherichia_coli/bacterial-regulons_myers_2013/RNA-seq/fastq/*.fastq)
> > for fastqc_file in ${data[@]}
> > do
> > srun fastqc --quiet ${fastqc_file} -o ${output_dir}
Expand All @@ -68,7 +68,7 @@ $ ls /shared/projects/dubii2020/data/study_cases/Escherichia_coli/bacterial-reg
> > output_dir="fastqc-results-v2"
> > mkdir -p ${output_dir}
> >
> > data=(*.fastq)
> > data=(/shared/projects/dubii2020/data/study_cases/Escherichia_coli/bacterial-regulons_myers_2013/RNA-seq/fastq/*.fastq)
> > srun fastqc -t 6 --quiet ${data[@]} -o ${output_dir} &
> > wait
> >
Expand All @@ -87,16 +87,16 @@ $ ls /shared/projects/dubii2020/data/study_cases/Escherichia_coli/bacterial-reg
> > output_dir="fastqc-results-v3"
> > mkdir -p ${output_dir}
> >
> > FASTQ_FILES=(*.fastq)
> > FASTQ_FILES=(/shared/projects/dubii2020/data/study_cases/Escherichia_coli/bacterial-regulons_myers_2013/RNA-seq/fastq/*.fastq)
> > srun fastqc --quiet ${FASTQ_FILES[$SLURM_ARRAY_TASK_ID]} -o ${output_dir}
> >```
{:.answer}
> > Pour lancer ces scripts on utilise la commande suivante :
> > ```bash
> > $ sbatch ./fastqc_v1.sh /shared/projects/dubii2020/data/study_cases/Escherichia_coli/bacterial-regulons_myers_2013/RNA-seq/fastq/
> > $ sbatch ./fastqc_v2.sh /shared/projects/dubii2020/data/study_cases/Escherichia_coli/bacterial-regulons_myers_2013/RNA-seq/fastq/
> > $ sbatch ./fastqc_v3.sh /shared/projects/dubii2020/data/study_cases/Escherichia_coli/bacterial-regulons_myers_2013/RNA-seq/fastq/
> > $ sbatch ./fastqc_v1.sh
> > $ sbatch ./fastqc_v2.sh
> > $ sbatch ./fastqc_v3.sh
> >
> > ```
{:.answer}
Expand Down

0 comments on commit 54e6907

Please sign in to comment.