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

Commit c4b9707

Browse files
committed
Merge branch 'hotfix/1.0.6'
2 parents 32a59f4 + f54e5c5 commit c4b9707

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### 1.0.6
2+
* Fixes #13 - Parsing of sample name from BAM headers fails is sample at end of line
3+
* Update dockstore-cgpwxs to [2.0.7](https://github.com/cancerit/dockstore-cgpwxs/releases/tag/2.0.7) - Fixes bug in pindel core.
4+
15
### 1.0.5
26
* Improved handling of CPU oversubscription via PCAP-core update in base image
37
* Update cgpCaVEManWrapper to expose extra options (specifically split size)

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM quay.io/wtsicgp/dockstore-cgpwxs:2.0.6
1+
FROM quay.io/wtsicgp/dockstore-cgpwxs:2.0.7
22

33
MAINTAINER keiranmraine@gmail.com
44

55
LABEL uk.ac.sanger.cgp="Cancer Genome Project, Wellcome Trust Sanger Institute" \
6-
version="1.0.5" \
6+
version="1.0.6" \
77
description="The CGP WGS pipeline for dockstore.org"
88

99
USER root

Dockstore.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dct:creator:
1919

2020
requirements:
2121
- class: DockerRequirement
22-
dockerPull: "quay.io/wtsicgp/dockstore-cgpwgs:1.0.5"
22+
dockerPull: "quay.io/wtsicgp/dockstore-cgpwgs:1.0.6"
2323

2424
hints:
2525
- class: ResourceRequirement

scripts/analysisWGS.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ if [ ! -f $OUTPUT_DIR/pre-exec.done ]; then
102102
fi
103103

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

108108
echo -e "\tNAME_MT : $NAME_MT"
109109
echo -e "\tNAME_WT : $NAME_WT"

0 commit comments

Comments
 (0)