Skip to content

Commit

Permalink
update to NGS_DNA-3.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
RoanKanninga committed Oct 24, 2016
1 parent bbef6a0 commit 56a25f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion automated_generate_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -u

### NEEDS 2 arguments! PROJECT AND BATCH

module load NGS_DNA/3.2.5
module load NGS_DNA/VERSIONFROMSTARTPIPELINESCRIPT
module list
HOST=$(hostname)
THISDIR=$(pwd)
Expand Down
6 changes: 4 additions & 2 deletions startPipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ myhost=$(hostname)

pipeline="dna"

NGS_DNA="NGS_DNA/3.2.6"
NGS_DNA="3.2.6"

if [ "${pipeline}" == "dna" ]
then
module load ${NGS_DNA}
module load NGS_DNA/${NGS_DNA}
fi

count=0
Expand Down Expand Up @@ -129,6 +129,8 @@ do
echo "copying $EBROOTNGS_AUTOMATED/automated_generate_template.sh to ${GENERATEDSCRIPTS}/${run}_${sequencer}/generate.sh" >> $LOGGER
cp ${EBROOTNGS_AUTOMATED}/automated_generate_template.sh ${GENERATEDSCRIPTS}/${run}_${sequencer}/generate.sh

perl -pi -e "s|VERSIONFROMSTARTPIPELINESCRIPT|${NGS_DNA}|" ${GENERATEDSCRIPTS}/${run}_${sequencer}/generate.sh

if [ -f ${GENERATEDSCRIPTS}/${run}_${sequencer}/${run}_${sequencer}.csv ]
then
echo "${GENERATEDSCRIPTS}/${run}_${sequencer}/${run}_${sequencer}.csv already existed, will now be removed and will be replaced by a fresh copy" >> $LOGGER
Expand Down

0 comments on commit 56a25f4

Please sign in to comment.