Skip to content

Commit

Permalink
fix test (part 6)
Browse files Browse the repository at this point in the history
  • Loading branch information
RoanKanninga committed Jul 20, 2017
1 parent 257e36f commit 8930d66
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/test_pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ cp generate_template.sh ${workfolder}/generatedscripts/PlatinumSubset/generate_t
## Grep used version of molgenis compute out of the parameters file
fgrep "computeVersion," parameters.csv > ${workfolder}/generatedscripts/PlatinumSubset/mcVersion.txt

perl -pi -e 's|module load NGS_DNA/3.4.1|EBROOTNGS_DNA=/groups/umcg-gaf/tmp04/tmp/NGS_DNA/|' ${workfolder}/generatedscripts/PlatinumSubset/generate_template.sh
NGS_DNA_VERSION=NGS_DNA/3.4.1
module load $NGS_DNA_VERSION
perl -pi -e "s|module load $NGS_DNA_VERSION|EBROOTNGS_DNA=/groups/umcg-gaf/tmp04/tmp/NGS_DNA/|" ${workfolder}/generatedscripts/PlatinumSubset/generate_template.sh
perl -pi -e 's|PROJECT=projectXX|PROJECT=PlatinumSubset|' ${workfolder}/generatedscripts/PlatinumSubset/generate_template.sh
perl -pi -e 's|RUNID=runXX|RUNID=run01|' ${workfolder}/generatedscripts/PlatinumSubset/generate_template.sh
perl -pi -e 's|ngsversion=.*|ngsversion="test";\\|' ${workfolder}/generatedscripts/PlatinumSubset/generate_template.sh
Expand All @@ -71,7 +73,7 @@ cd ${workfolder}/generatedscripts/PlatinumSubset/
sh generate_template.sh

cd scripts
perl -pi -e 's|module load \$ngsversion|EBROOTNGS_DNA=/groups/umcg-gaf/tmp04/tmp/NGS_DNA/\n#string computeVersion\nmodule load Molgenis-Compute/\${computeVersion}|' *.sh
perl -pi -e 's|module load \$ngsversion|EBROOTNGS_DNA=/groups/umcg-gaf/tmp04/tmp/NGS_DNA/\n|' *.sh
sh submit.sh

cd ${workfolder}/projects/PlatinumSubset/run01/jobs/
Expand Down

0 comments on commit 8930d66

Please sign in to comment.