Skip to content

Commit

Permalink
Merge tag '1.7.1' into dev
Browse files Browse the repository at this point in the history
Args had changed for mergeCavemanResults
  • Loading branch information
keiranmraine committed Aug 5, 2015
2 parents 5eeacdc + d3044f4 commit b3c8704
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion MYMETA.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@
}
},
"release_status" : "stable",
"version" : "v1.7.0"
"version" : "v1.7.1"
}
2 changes: 1 addition & 1 deletion MYMETA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ requires:
Pod::Coverage: '0.23'
Test::Fatal: '0.013'
Try::Tiny: '0.19'
version: v1.7.0
version: v1.7.1
Binary file modified docs.tar.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions lib/Sanger/CGP/Caveman.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Sanger::CGP::Caveman;

##########LICENCE##########
# Copyright (c) 2014 Genome Research Ltd.
# Copyright (c) 2014-2015 Genome Research Ltd.
#
# Author: David Jones <[email protected]>
#
Expand All @@ -26,6 +26,6 @@ package Sanger::CGP::Caveman;
use strict;
use Const::Fast qw(const);

our $VERSION = '1.7.0';
our $VERSION = '1.7.1';

1;
9 changes: 5 additions & 4 deletions lib/Sanger/CGP/Caveman/Implement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const my $CAVEMAN_MSTEP => q{ mstep -i %d -f %s};
const my $CAVEMAN_MERGE => q{ merge -c %s -p %s -f %s};
const my $CAVEMAN_ESTEP => q{ estep -i %d -k %f -g %s -o %s -v %s -w %s -f %s -l %s -r %s};
const my $CAVEMAN_FLAG => q{ -i %s -o %s -s %s -m %s -n %s -b %s -g %s -umv %s -ref %s -t %s};
const my $MERGE_CAVEMAN_RESULTS => q{ mergeCavemanResults -o %s %s};
const my $MERGE_CAVEMAN_RESULTS => q{ mergeCavemanResults -s %s -o %s %s};
const my $CAVEMAN_VCF_IDS => q{ -i %s -o %s};

const my $FLAG_SCRIPT => q{cgpFlagCaVEMan.pl};
Expand Down Expand Up @@ -216,18 +216,19 @@ sub caveman_merge_results {
my $options = shift;
my $tmp = $options->{'tmp'};
my $out = $options->{'out_file'};
my $splitList = File::Spec->catfile($tmp, 'splitList');
my $target = $options->{'subvcf'};
my $command = sprintf($MERGE_CAVEMAN_RESULTS,$out.".muts.vcf",$target);
my $command = sprintf($MERGE_CAVEMAN_RESULTS,$splitList,$out.".muts.vcf",$target);
PCAP::Threaded::external_process_handler(File::Spec->catdir($tmp, 'logs'), $command, 0)
unless (PCAP::Threaded::success_exists(File::Spec->catdir($tmp, 'progress'), 'merge_muts', 0));
PCAP::Threaded::touch_success(File::Spec->catdir($tmp, 'progress'), 'merge_muts', 0);
$target = $options->{'snpvcf'};
$command = sprintf($MERGE_CAVEMAN_RESULTS,$out.".snps.vcf",$target);
$command = sprintf($MERGE_CAVEMAN_RESULTS,$splitList,$out.".snps.vcf",$target);
PCAP::Threaded::external_process_handler(File::Spec->catdir($tmp, 'logs'), $command, 0)
unless (PCAP::Threaded::success_exists(File::Spec->catdir($tmp, 'progress'), 'merge_snps', 0));
PCAP::Threaded::touch_success(File::Spec->catdir($tmp, 'progress'), 'merge_snps', 0);
$target = $options->{'noanalysisbed'};
$command = sprintf($MERGE_CAVEMAN_RESULTS,$out.".no_analysis.bed",$target);
$command = sprintf($MERGE_CAVEMAN_RESULTS,$splitList,$out.".no_analysis.bed",$target);
PCAP::Threaded::external_process_handler(File::Spec->catdir($tmp, 'logs'), $command, 0)
unless (PCAP::Threaded::success_exists(File::Spec->catdir($tmp, 'progress'), 'merge_no_analysis', 0));
PCAP::Threaded::touch_success(File::Spec->catdir($tmp, 'progress'), 'merge_no_analysis', 0);
Expand Down

0 comments on commit b3c8704

Please sign in to comment.