Skip to content

Commit

Permalink
Added report option to run_track
Browse files Browse the repository at this point in the history
  • Loading branch information
karinlag committed Aug 17, 2022
1 parent ce8c918 commit b3b656c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion run_track.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ profile=$3
out_directory=$4
workdir=${5:-$USERWORK/bifrost_work}

#to add to report name
now=$(date +"%Y%m%d_%H%M")

mkdir -p ${out_directory}/config_files
git --git-dir ${script_directory}/.git branch -v |grep "\*" | awk '{print $2, $3}' > ${out_directory}/config_files/pipeline_version.log
bash ${script_directory}/bin/printversions.sh ${profile} ${out_directory}/config_files/software_versions.txt
Expand All @@ -22,4 +25,5 @@ cp ${template} ${out_directory}/config_files


echo "TEMPORARY WORKING DIRECTORY IS ${workdir}"
nextflow -c ${template} run -resume ${script_directory}/${track_script} -profile ${profile} --out_dir=${out_directory} -work-dir ${workdir}
nextflow -c ${template} run -resume ${script_directory}/${track_script} \
-profile ${profile} --out_dir=${out_directory} -work-dir ${workdir} -with-report ${now}_run_report.html

0 comments on commit b3b656c

Please sign in to comment.