-
Notifications
You must be signed in to change notification settings - Fork 1
/
iCLIP_v3.1.0.FRCE.sh
63 lines (52 loc) · 1.46 KB
/
iCLIP_v3.1.0.FRCE.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/bash
#SBATCH --job-name iCLIPv3.1.0
#SBATCH --ntasks=8
#SBATCH --cpus-per-task=8
#SBATCH --partition=norm
#SBATCH --time=18:00:00
#SBATCH --mem=350g
module load nextflow
module load singularity
#module load R
#module load bedtools
#module load STAR
#module load samtools
#module load umitools
#module load manorm
#module load ultraplex
#module load multiqc
#module load fastqc
#module load fastq_screen
#module load bowtie
mkdir -p 00_QC/01_Barcodes/
mkdir -p 00_QC/02_SamStats/
mkdir -p 00_QC/03_MultiQC
mkdir -p 00_QC/04_QC_ScreenSpecies
mkdir -p 00_QC/05_QC_ScreenRRNA
mkdir -p temp
mkdir -p 01_preprocess/01_fastq/
mkdir -p 01_preprocess/02_alignment/01_unmapped/
mkdir -p 01_preprocess/07_rscripts/same
mkdir -p 01_preprocess/07_rscripts/oppo
mkdir -p 01_preprocess/07_rscripts/_STARtmp/
mkdir -p 02_bam/01_merged/
mkdir -p 02_bam/02_dedup
mkdir -p 03_peaks/01_bed/
mkdir -p 03_peaks/02_SAF/
mkdir -p 03_peaks/03_counts/
mkdir -p 04_annotation/01_project
mkdir -p 04_annotation/02_peaks/
mkdir -p 05_demethod/02_analysis
mkdir -p log/STAR
export NXF_SINGULARITY_CACHEDIR=$PWD/.singularity
export SINGULARITY_CACHEDIR=$PWD/.singularity
timestamp=$(date +%Y%m%d_%H%M)
project="iCLIP_run_"$timestamp
Arguments=$1
nextflow run iCLIP_v3.1.0.nf -c nextflow.FRCE.config \
--workdir $PWD \
-params-file nextflow.parameters.FRCE.yaml \
-with-report ${project}/Report.html \
-with-dag ${project}/Flowchart.html \
-with-timeline ${project}/Timeline.html \
${Arguments}