Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/1.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranmraine committed Mar 25, 2017
2 parents f295524 + e2a4500 commit 3ad6bfa
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 1.0.3
* Export the `PCAP_THREADED_*` variables
* Fixed #8, #9, #10
* Updated base image to pull in fix required for `PCAP_THREADED_LOADBACKOFF`

### 1.0.2
* Update BRASS to handle data that is _very_ quiet
* Fix up the wrapper timings file so it is captured properly
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM quay.io/wtsicgp/dockstore-cgpwxs:2.0.4
FROM quay.io/wtsicgp/dockstore-cgpwxs:2.0.5

MAINTAINER keiranmraine@gmail.com

LABEL uk.ac.sanger.cgp="Cancer Genome Project, Wellcome Trust Sanger Institute" \
version="1.0.2" \
version="1.0.3" \
description="The CGP WGS pipeline for dockstore.org"

USER root
Expand Down
2 changes: 1 addition & 1 deletion Dockstore.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dct:creator:

requirements:
- class: DockerRequirement
dockerPull: "quay.io/wtsicgp/dockstore-cgpwgs:1.0.2"
dockerPull: "quay.io/wtsicgp/dockstore-cgpwgs:1.0.3"

hints:
- class: ResourceRequirement
Expand Down
3 changes: 2 additions & 1 deletion scripts/analysisWGS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ run_parallel () {

if [ $BAD_JOBS -ne 0 ]; then
DISPLAY_BAD=`grep -LF 'WRAPPER_EXIT: 0' $OUTPUT_DIR/*.wrapper.log`
>&2 echo -e "ERRORS OCCURED:\n$DISPLAY_BAD"
>&2 echo -e "ERRORS OCCURRED:\n$DISPLAY_BAD"
exit 1
fi

Expand Down Expand Up @@ -61,6 +61,7 @@ if [ ! -f $PARAM_FILE ]; then
exit 1
fi
source $PARAM_FILE
env

TMP=$OUTPUT_DIR/tmp
mkdir -p $TMP
Expand Down
8 changes: 4 additions & 4 deletions scripts/ds-wrapper.pl
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
ref_unpack($ref_area, $opts{'a'});
ref_unpack($ref_area, $opts{'si'});
ref_unpack($ref_area, $opts{'cs'});
ref_unpack($ref_area, $opts{'sc'});
ref_unpack($ref_area, $opts{'sc'}) if(exists $opts{'sb'});

## now complete the caveman flaging file correctly
my $ini = add_species_flag_ini($opts{'sp'}, "$ref_area/caveman/flag.vcf.config.WGS.ini");
Expand All @@ -90,9 +90,9 @@
my $run_file = $ENV{HOME}.'/run.params';
open my $FH,'>',$run_file or die "Failed to write to $run_file: $!";
# Force explicit checking of file flush
print $FH "PCAP_THREADED_NO_SCRIPT=1\n";
print $FH "PCAP_THREADED_FORCE_SYNC=1\n";
#print $FH "PCAP_THREADED_LOADBACKOFF=1\n";
print $FH "export PCAP_THREADED_NO_SCRIPT=1\n";
print $FH "export PCAP_THREADED_FORCE_SYNC=1\n";
print $FH "export PCAP_THREADED_LOADBACKOFF=1\n";
# hard-coded
printf $FH "PROTOCOL=WGS\n";
# required options
Expand Down

0 comments on commit 3ad6bfa

Please sign in to comment.