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.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranmraine committed May 26, 2017
2 parents 32a59f4 + f54e5c5 commit c4b9707
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 1.0.6
* Fixes #13 - Parsing of sample name from BAM headers fails is sample at end of line
* Update dockstore-cgpwxs to [2.0.7](https://github.com/cancerit/dockstore-cgpwxs/releases/tag/2.0.7) - Fixes bug in pindel core.

### 1.0.5
* Improved handling of CPU oversubscription via PCAP-core update in base image
* Update cgpCaVEManWrapper to expose extra options (specifically split size)
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.6
FROM quay.io/wtsicgp/dockstore-cgpwxs:2.0.7

MAINTAINER keiranmraine@gmail.com

LABEL uk.ac.sanger.cgp="Cancer Genome Project, Wellcome Trust Sanger Institute" \
version="1.0.5" \
version="1.0.6" \
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.5"
dockerPull: "quay.io/wtsicgp/dockstore-cgpwgs:1.0.6"

hints:
- class: ResourceRequirement
Expand Down
4 changes: 2 additions & 2 deletions scripts/analysisWGS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ if [ ! -f $OUTPUT_DIR/pre-exec.done ]; then
fi

## get sample names from BAM headers
NAME_MT=`samtools view -H $BAM_MT | perl -ne 'if($_ =~ m/^\@RG/) {($sm) = $_ =~m/\tSM:([^\t]+)/; print "$sm\n";}' | uniq`
NAME_WT=`samtools view -H $BAM_WT | perl -ne 'if($_ =~ m/^\@RG/) {($sm) = $_ =~m/\tSM:([^\t]+)/; print "$sm\n";}' | uniq`
NAME_MT=`samtools view -H $BAM_MT | perl -ne 'chomp; if($_ =~ m/^\@RG/) {($sm) = $_ =~m/\tSM:([^\t]+)/; print "$sm\n";}' | uniq`
NAME_WT=`samtools view -H $BAM_WT | perl -ne 'chomp; if($_ =~ m/^\@RG/) {($sm) = $_ =~m/\tSM:([^\t]+)/; print "$sm\n";}' | uniq`

echo -e "\tNAME_MT : $NAME_MT"
echo -e "\tNAME_WT : $NAME_WT"
Expand Down

0 comments on commit c4b9707

Please sign in to comment.