-
Notifications
You must be signed in to change notification settings - Fork 4
/
run_pipeline_local.sh
executable file
·29 lines (24 loc) · 1.09 KB
/
run_pipeline_local.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
#!/bin/bash
# Script to run pipeline using local hardware resources
# After running 'install_software.sh', this should point to the directory
# where SPEAQeasy was installed, and not say "$PWD"
ORIG_DIR=$PWD
export _JAVA_OPTIONS="-Xms5g -Xmx7g"
$ORIG_DIR/Software/nextflow -Dnxf.pool.type=sync run $ORIG_DIR/main.nf \
--small_test \
--sample "single" \
--reference "hg38" \
--strand "unstranded" \
--annotation "$ORIG_DIR/Annotation" \
-with-report execution_reports/pipeline_report.html \
-profile local \
2>&1 | tee -a SPEAQeasy_output.log
# Produces a report for each sample tracing the pipeline steps
# performed (can be helpful for debugging). Experimental, and may not work on
# all Linux distributions. Other operating systems are currently not supported.
#
# Note that the reports are generated from the output log produced in the above
# section, and so if you rename the log, you must also pass replace the filename
# in the bash call below.
echo "Generating per-sample logs for debugging..."
bash $ORIG_DIR/scripts/generate_logs.sh $PWD/SPEAQeasy_output.log