From 2bf3bc67d8ce1ee1ba9da565ce2e8c5bf83fe952 Mon Sep 17 00:00:00 2001 From: Marina Gourtovaia Date: Tue, 19 Jun 2018 21:36:44 +0100 Subject: [PATCH] use default bcftools executable --- lib/npg_qc/autoqc/checks/genotype.pm | 2 +- lib/npg_qc/utils/bam_genotype.pm | 2 +- t/60-autoqc-checks-genotype.t | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/npg_qc/autoqc/checks/genotype.pm b/lib/npg_qc/autoqc/checks/genotype.pm index 6b13f4b24..e5575b486 100644 --- a/lib/npg_qc/autoqc/checks/genotype.pm +++ b/lib/npg_qc/autoqc/checks/genotype.pm @@ -29,7 +29,7 @@ Readonly::Scalar my $SAMTOOLS_NAME => q[samtools]; Readonly::Scalar my $SAMTOOLS_EXTRACT_REGIONS_NAME => q[samtools]; Readonly::Scalar my $SAMTOOLS_MERGE_NAME => q[samtools]; Readonly::Scalar my $SAMTOOLS_MPILEUP_NAME => q[samtools]; -Readonly::Scalar my $BCFTOOLS_NAME => q[bcftools1]; +Readonly::Scalar my $BCFTOOLS_NAME => q[bcftools]; Readonly::Scalar our $EXT => q[bam]; Readonly::Scalar my $SEQUENOM_QC_PLEX => q[W30467]; Readonly::Scalar my $DEFAULT_QC_PLEX => q[sequenom_fluidigm_combo]; diff --git a/lib/npg_qc/utils/bam_genotype.pm b/lib/npg_qc/utils/bam_genotype.pm index 14a9d2925..32c25189d 100755 --- a/lib/npg_qc/utils/bam_genotype.pm +++ b/lib/npg_qc/utils/bam_genotype.pm @@ -23,7 +23,7 @@ our $VERSION = '0'; ##no critic Readonly::Scalar my $SAMTOOLS_NAME => 'samtools'; -Readonly::Scalar my $BCFTOOLS_NAME => 'bcftools1'; +Readonly::Scalar my $BCFTOOLS_NAME => 'bcftools'; subtype '_bamgt_ReadableFile' => as Str diff --git a/t/60-autoqc-checks-genotype.t b/t/60-autoqc-checks-genotype.t index 6d790c41f..61b53001d 100644 --- a/t/60-autoqc-checks-genotype.t +++ b/t/60-autoqc-checks-genotype.t @@ -15,7 +15,7 @@ my $dir = tempdir(CLEANUP => 1); my $st = join q[/], $dir, q[samtools]; `touch $st`; `chmod +x $st`; -my $bt = join q[/], $dir, q[bcftools1]; +my $bt = join q[/], $dir, q[bcftools]; `touch $bt`; `chmod +x $bt`; local $ENV{PATH} = join q[:], $dir, $ENV{PATH};