Skip to content

Commit

Permalink
Merge pull request #4 from RoanKanninga/master
Browse files Browse the repository at this point in the history
update to NGS_DNA-3.2.6
  • Loading branch information
RoanKanninga authored Oct 24, 2016
2 parents a7b0721 + 56a25f4 commit 40dce3a
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.5"
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 40dce3a

Please sign in to comment.