Skip to content

Commit

Permalink
Merge pull request #2017 from Clinical-Genomics/release/11.1.2
Browse files Browse the repository at this point in the history
release 11.1.2
  • Loading branch information
jemten authored Feb 21, 2023
2 parents 59c30c5 + 9503e6c commit d68ee90
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [11.1.2]

- Fixed a bug in the mitochondrial deletion recipe affecting samples with 0 intermediate discordant MT reads.

## [11.1.1]

- Updates chromgraph to version 1.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/MIP/Constants.pm
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Readonly our %ANALYSIS => (
);

## Set MIP version
Readonly our $MIP_VERSION => q{11.1.1};
Readonly our $MIP_VERSION => q{11.1.2};

## Cli
Readonly our $MOOSEX_APP_SCEEN_WIDTH => 160;
Expand Down
9 changes: 6 additions & 3 deletions lib/MIP/Recipes/Analysis/Mitodel.pm
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,17 @@ sub analysis_mitodel {

my $awk_statement =

# Set start value for intermediate discordant
q?BEGIN {sum=0} ?

# identification of read pairs that are separated by >1.2 kb but <15 kb
q?($2>=1200 && $2<=15000) {sum=sum+$3}?
. q?($2>=1200 && $2<=15000) {sum=sum+$3} ?

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

# Add end rule
. q?END?
. q?END ?

# ratio of discordant to normal read pairs
. q?{print "intermediate discordant ", sum, "normal ", sum_norm, "ratio ppk", sum*1000/(sum_norm+sum)}?;
Expand Down
2 changes: 1 addition & 1 deletion templates/mip_install_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ container:
mip:
executable:
mip:
uri: docker.io/clinicalgenomics/mip:v11.1.1
uri: docker.io/clinicalgenomics/mip:v11.1.2
multiqc:
executable:
multiqc:
Expand Down

0 comments on commit d68ee90

Please sign in to comment.