-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnextflow.sh
32 lines (28 loc) · 1.56 KB
/
nextflow.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
#!/bin/bash
#
#SBATCH --time=100:00:00
#SBATCH --job-name=MET_pipeline
#SBATCH --output=./s%j_job.pipeline_group2.out
#SBATCH --error=./s%j_job.pipeline_group2.error
#SBATCH --account=a_gih
#SBATCH --partition=general
#SBATCH --nodes=1
#SBATCH --tasks-per-node=1
#SBATCH --cpus-per-task=1
module load nextflow/22.10.1
#directory containing the nextflow.config file and the main.nf script
dir=/scratch/project/gihcomp/MET/pipeline
cd ${dir}
datadir=${dir}/data
samplesheet=${dir}/samplesheet/MET_human_samples.group2.csv
#samplesheet=${dir}/samplesheet/sample1.csv
#samplesheet=${dir}/samplesheet/test1.csv
out_dir=${dir}/results_group2
#out_dir=${dir}/results_test1
fqdir=${dir}/fastq
#cp /QRISdata/Q4860/MinION_Full-Scale/Raw-Data/Mock_community/20230118_comm_1Pro_BB/20230118_1539_MN33062_FAS65356_85211c55/other_reports/adaptive_sampling_FAS65356_85211c55_7bbc80e1.csv ${dir}/fastq
#cp /QRISdata/Q4860/MinION_Full-Scale/Raw-Data/Mock_community/20230120_comm_2Un_BB/20230120_1227_MN41645_FAS67931_f441b463/other_reports/adaptive_sampling_FAS67931_f441b463_c4415279.csv ${dir}/fastq
#nextflow main.nf --outdir ${out_dir} --fastqdir ${fqdir} --samplesheet ${samplesheet}
#nextflow main.nf --outdir ${out_dir} --fastqdir ${fqdir} --samplesheet ${samplesheet} --skip_porechop --skip_centrifuge
#nextflow main.nf --outdir ${out_dir} --fastqdir ${fqdir} --samplesheet ${samplesheet} --skip_download_centrifuge_db -resume
nextflow main.nf --outdir ${out_dir} --fastqdir ${fqdir} --samplesheet ${samplesheet} --skip_download_centrifuge_db --skip_porechop --skip_assembly --skip_polishing -resume