Skip to content

Commit

Permalink
Merge e1b66da into d12e13a
Browse files Browse the repository at this point in the history
  • Loading branch information
jemten committed Oct 9, 2023
2 parents d12e13a + e1b66da commit 4ae790b
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -3,7 +3,7 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## Develop
## [12.0.1]

- Adds loqudb and gnomad frequencies to vcf2cytosure filtering
- Store PCT_PF_READS_IMPROPER_PAIRS in qc file
Expand Down
2 changes: 1 addition & 1 deletion definitions/rd_dna_panel_parameters.yaml
Expand Up @@ -1183,7 +1183,7 @@ qccollect_eval_metric_file:
associated_recipe:
- qccollect_ar
data_type: SCALAR
default: qc_eval_metric_-v1.3-.yaml
default: qc_eval_metric_-v1.4-.yaml
exists_check: file
is_reference: 1
reference: reference_dir
Expand Down
2 changes: 1 addition & 1 deletion definitions/rd_dna_parameters.yaml
Expand Up @@ -2309,7 +2309,7 @@ qccollect_eval_metric_file:
associated_recipe:
- qccollect_ar
data_type: SCALAR
default: qc_eval_metric_-v1.3-.yaml
default: qc_eval_metric_-v1.4-.yaml
exists_check: file
is_reference: 1
reference: reference_dir
Expand Down
2 changes: 1 addition & 1 deletion definitions/rd_rna_parameters.yaml
Expand Up @@ -1095,7 +1095,7 @@ qccollect_eval_metric_file:
associated_recipe:
- qccollect_ar
data_type: SCALAR
default: qc_eval_metric_-v1.3-.yaml
default: qc_eval_metric_-v1.4-.yaml
exists_check: file
is_reference: 1
reference: reference_dir
Expand Down
2 changes: 1 addition & 1 deletion lib/MIP/Constants.pm
Expand Up @@ -82,7 +82,7 @@ Readonly our %ANALYSIS => (
);

## Set MIP version
Readonly our $MIP_VERSION => q{12.0.0};
Readonly our $MIP_VERSION => q{12.0.1};

## Cli
Readonly our $MOOSEX_APP_SCEEN_WIDTH => 160;
Expand Down
2 changes: 1 addition & 1 deletion lib/MIP/Recipes/Install/Mip_scripts.pm
Expand Up @@ -88,7 +88,7 @@ sub install_mip_scripts {
mip_rd_dna_vcf_rerun_config.yaml
mip_rd_rna_config.yaml
program_test_cmds.yaml
qc_eval_metric_-v1.3-.yaml
qc_eval_metric_-v1.4-.yaml
qc_regexp_-v1.26-.yaml
rank_model_-v1.34-.ini
svrank_model_-v1.9-.ini
Expand Down
Expand Up @@ -28,6 +28,8 @@ wgs:
collectmultiplemetrics:
PCT_PF_READS_ALIGNED:
lt: 0.95
PCT_PF_READS_IMPROPER_PAIRS:
gt: 0.05
PCT_ADAPTER:
gt: 0.0005
markduplicates:
Expand Down
13 changes: 10 additions & 3 deletions t/define_evaluate_metric.t
Expand Up @@ -47,8 +47,9 @@ diag( q{Test define_evaluate_metric from Qccollect.pm}
. $SPACE
. $EXECUTABLE_NAME );

Readonly my $PCT_ADAPTER => 0.0005;
Readonly my $PCT_PF_READS_ALIGNED => 0.95;
Readonly my $PCT_ADAPTER => 0.0005;
Readonly my $PCT_PF_READS_ALIGNED => 0.95;
Readonly my $PCT_PF_READS_IMPROPER_PAIRS => 0.05;

my $log = test_log( { no_screen => 1, } );

Expand All @@ -59,7 +60,7 @@ my %sample_info = test_mip_hashes(
);

## Given a file with evaluation metrics
my $eval_metric_file = catfile( dirname($Bin), qw{ t data references qc_eval_metric_-v1.3-.yaml} );
my $eval_metric_file = catfile( dirname($Bin), qw{ t data references qc_eval_metric_-v1.4-.yaml} );

## When defining the evaluation metrics based on the analysis
my %evaluate_metric = define_evaluate_metric(
Expand All @@ -83,6 +84,9 @@ my %expected = (
PCT_PF_READS_ALIGNED => {
lt => $PCT_PF_READS_ALIGNED,
},
PCT_PF_READS_IMPROPER_PAIRS => {
gt => $PCT_PF_READS_IMPROPER_PAIRS,
},
},
},
ADM1059A2 => {
Expand All @@ -98,6 +102,9 @@ my %expected = (
PCT_PF_READS_ALIGNED => {
lt => $PCT_PF_READS_ALIGNED,
},
PCT_PF_READS_IMPROPER_PAIRS => {
gt => $PCT_PF_READS_IMPROPER_PAIRS,
},
},
},
ADM1059A3 => {
Expand Down
2 changes: 1 addition & 1 deletion t/evaluate_analysis.t
Expand Up @@ -69,7 +69,7 @@ my %sample_info = test_mip_hashes(
}
);

my $eval_metric_file = catfile( dirname($Bin), qw{ t data references qc_eval_metric_-v1.3-.yaml} );
my $eval_metric_file = catfile( dirname($Bin), qw{ t data references qc_eval_metric_-v1.4-.yaml} );

## Then set the relevant evaluation metrics for the analysis
my $is_ok = evaluate_analysis(
Expand Down
2 changes: 1 addition & 1 deletion t/mip_qccollect.test
Expand Up @@ -32,7 +32,7 @@ our $USAGE = build_usage( {} );
my $VERBOSE = 1;
## Set paths
my $cluster_constant_path = catdir( dirname($Bin), qw{ t data} );
my $eval_metric_file = catfile( dirname($Bin), qw{ templates qc_eval_metric_-v1.3-.yaml } );
my $eval_metric_file = catfile( dirname($Bin), qw{ templates qc_eval_metric_-v1.4-.yaml } );
my $mip_path = catfile( dirname($Bin), q{mip} );
my $log_file_path = catfile( cwd(), q{qc_metrics_qccollect.log} );
my $test_reference_path = catdir( $cluster_constant_path, q{references} );
Expand Down
2 changes: 1 addition & 1 deletion templates/mip_install_config.yaml
Expand Up @@ -125,7 +125,7 @@ container:
mip:
executable:
mip:
uri: docker.io/clinicalgenomics/mip:v12.0.0
uri: docker.io/clinicalgenomics/mip:v12.0.1
multiqc:
executable:
multiqc:
Expand Down
File renamed without changes.

0 comments on commit 4ae790b

Please sign in to comment.