Skip to content

Commit

Permalink
Merge branch 'release/2.0.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
SolomonShorser-OICR committed May 12, 2016
2 parents 356c739 + a2e047b commit 8b996e3
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

## 2.0.5
- Fixed a bug that would have cause the workflow to crash in the case that there were SNVs extracted from an INDEL VCF.

## 2.0.4
- Fixes:
- In situations with multiple tumours, the merged VCFs did not contain data from all tumours, they were only the merge across pipelines of each tumour. This has been corrected: there will now be a single set of merged VCFs which are a merge-by-type across all pipelines across all tumours.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM pancancer/seqware_whitestar_pancancer:1.1.2-actual-java8
MAINTAINER Solomon Shorser <solomon.shorser@oicr.on.ca>

ENV OXOG_WRAPPER_IMAGE_VERSION 2.0.4
ENV OXOG_WRAPPER_IMAGE_VERSION 2.0.5
LABEL OXOG_WRAPPER_IMAGE_VERSION $OXOG_WRAPPER_IMAGE_VERSION
# For the storage client.
ENV STORAGE_PROFILE=collab
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ To produce a full SeqWare bundle:

```
docker run --rm -v /datastore/:/datastore/ \
-v /workflows/Workflow_Bundle_OxoGWrapper_2.0.4_SeqWare_1.1.2/:/workflow/ \
-v /workflows/Workflow_Bundle_OxoGWrapper_2.0.5_SeqWare_1.1.2/:/workflow/ \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /home/ubuntu/.gnos/:/home/ubuntu/.gnos/ \
-v /home/ubuntu/SomeIniFile.INI:/ini \
Expand Down Expand Up @@ -77,7 +77,7 @@ Populating such an INI file is a lot of work and since most of the necessary inf
you can use the INIGenerator to produce an INI for you. It works like this:

```
cd /workflows/Workflow_Bundle_OxoGWrapper_2.0.4_SeqWare_1.1.2/Workflow_Bundle_OxoGWrapper/2.0.4/
cd /workflows/Workflow_Bundle_OxoGWrapper_2.0.5_SeqWare_1.1.2/Workflow_Bundle_OxoGWrapper/2.0.5/
java -cp ./classes:./bin com.github.seqware.INIGenerator ~/BTCA-SG.BTCA_donor_A153.json
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<groupId>com.github.seqware</groupId>
<artifactId>OxoGWrapper</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
<packaging>jar</packaging>

<name>OxoGWrapper</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public Job doOxoG(AbstractWorkflowDataModel workflow, String pathToTumour, Consu
if (!this.allowMissingFiles || (this.allowMissingFiles && vcf!=null && vcf.trim().length()>0))
{
return TemplateUtils.getRenderedTemplate(Arrays.stream(new String[][]{
{ "extractedSNVVCF", vcf.replaceAll("/datastore/vcf/[^/]+/", "")}, { "worfklow", pipeline.toString() }, {"extractedSNVVCFPath",vcf }
{ "extractedSNVVCF", vcf.replaceAll("/datastore/vcf/[^/]+/", "")}, { "workflow", pipeline.toString() }, {"extractedSNVVCFPath",vcf }
}).collect(this.collectToMap),"checkForExtractedSNVs.template");
}
else
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/checkForExtractedSNVs.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if (( $(zcat {{ extractedSNVVCFPath }} | grep "^[^#]" | wc -l) > 0 )) ; then
echo "{{ extractedSNVVCFPath }} has SNVs."
EXTRACTED_SNV_MOUNT=" ${EXTRACTED_SNV_MOUNT} -v {{ extractedSNVVCFPath }}:/datafiles/VCF/{{ worfklow }}/{{ extractedSNVVCF }} "
EXTRACTED_SNV_MOUNT=" ${EXTRACTED_SNV_MOUNT} -v {{ extractedSNVVCFPath }}:/datafiles/VCF/{{ workflow }}/{{ extractedSNVVCF }} "
EXTRACTED_SNV_FILES=" ${EXTRACTED_SNV_FILES} /datafiles/VCF/{{ workflow }}/{{ extractedSNVVCF }} "
fi
2 changes: 1 addition & 1 deletion workflow.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
workflow-name=OxoGWrapper
workflow-version=2.0.4
workflow-version=2.0.5
workflow-description=This workflow performs filtering and annotation on VCFs, and will also produce mini-BAMs based on the original BAMs.
2 changes: 1 addition & 1 deletion workflow/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<bundle version="2.0.4">
<bundle version="2.0.5">
<workflow name="OxoGWrapper" version="${workflow-version}" seqware_version="${seqware-version}"
basedir="${workflow_bundle_dir}/Workflow_Bundle_OxoGWrapper/${workflow-version}">
<description>${workflow-description}</description>
Expand Down

0 comments on commit 8b996e3

Please sign in to comment.