Skip to content

Commit d68ee90

Browse files
authored
Merge pull request #2017 from Clinical-Genomics/release/11.1.2
release 11.1.2
2 parents 59c30c5 + 9503e6c commit d68ee90

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
This project adheres to [Semantic Versioning](http://semver.org/).
55

6+
## [11.1.2]
7+
8+
- Fixed a bug in the mitochondrial deletion recipe affecting samples with 0 intermediate discordant MT reads.
9+
610
## [11.1.1]
711

812
- Updates chromgraph to version 1.3.1

lib/MIP/Constants.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Readonly our %ANALYSIS => (
8282
);
8383

8484
## Set MIP version
85-
Readonly our $MIP_VERSION => q{11.1.1};
85+
Readonly our $MIP_VERSION => q{11.1.2};
8686

8787
## Cli
8888
Readonly our $MOOSEX_APP_SCEEN_WIDTH => 160;

lib/MIP/Recipes/Analysis/Mitodel.pm

+6-3
Original file line numberDiff line numberDiff line change
@@ -230,14 +230,17 @@ sub analysis_mitodel {
230230

231231
my $awk_statement =
232232

233+
# Set start value for intermediate discordant
234+
q?BEGIN {sum=0} ?
235+
233236
# identification of read pairs that are separated by >1.2 kb but <15 kb
234-
q?($2>=1200 && $2<=15000) {sum=sum+$3}?
237+
. q?($2>=1200 && $2<=15000) {sum=sum+$3} ?
235238

236239
# identification of normal read pairs which are <1.2 kb but >15 kb
237-
. q?($2<1200 || $2>15000) {sum_norm=sum_norm+$3}?
240+
. q?($2<1200 || $2>15000) {sum_norm=sum_norm+$3} ?
238241

239242
# Add end rule
240-
. q?END?
243+
. q?END ?
241244

242245
# ratio of discordant to normal read pairs
243246
. q?{print "intermediate discordant ", sum, "normal ", sum_norm, "ratio ppk", sum*1000/(sum_norm+sum)}?;

templates/mip_install_config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ container:
125125
mip:
126126
executable:
127127
mip:
128-
uri: docker.io/clinicalgenomics/mip:v11.1.1
128+
uri: docker.io/clinicalgenomics/mip:v11.1.2
129129
multiqc:
130130
executable:
131131
multiqc:

0 commit comments

Comments
 (0)