forked from diljotgrewal/nanoseq
-
Notifications
You must be signed in to change notification settings - Fork 1
/
launch_pipeline.sh
43 lines (35 loc) · 1.3 KB
/
launch_pipeline.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
#!/bin/bash
#SBATCH --partition=componc_cpu,componc_gpu
#SBATCH --nodes=1
#SBATCH --cpus-per-task=1
#SBATCH --time=48:00:00
#SBATCH --mem=8GB
#SBATCH --job-name=nanoseqtest
#SBATCH --mail-type=END,FAIL
#SBATCH --mail-user=preskaa@mskcc.org
#SBATCH --output=slurm%j_snkmk.out
## activate nf-core conda environment
source /home/preskaa/miniconda3/bin/activate nf-core
## load modules
module load singularity/3.7.1
module load java/20.0.1
## example samplesheet
## technical replicates get merged ...
samplesheet=${HOME}/nanoseq/resources/test_samplesheet.csv
## specify path to out directory
outdir=/data1/shahs3/users/preskaa/APS022_Archive/240516_nanoseq_test
## reference genome for chopper (if sample is PDX)
mouse_refgenome=/data1/shahs3/isabl_data_lake/assemblies/WGS-MM10/mouse/mm10_build38_mouse.fasta
## last two flags trigger chopper to differentiate mouse from human reads for PDX samples
## these flags should not be used for human samples
nextflow run apsteinberg/nanoseq \
-c ${PWD}/conf/iris.config \
-profile singularity,slurm \
--input ${samplesheet} \
--outdir ${outdir} \
-work-dir ${outdir}/work \
-params-file nf-params.json \
--skip_fusion_analysis \
--run_chopper \
--chopper_fasta=${mouse_refgenome} \
#nextflow run apsteinberg/nanoseq -resume 6c03bf60-99ea-41cd-a949-c30986899f14