Skip to content

Commit

Permalink
Merge pull request #9 from cancerit/dev
Browse files Browse the repository at this point in the history
changes all previously tested on seqware
  • Loading branch information
keiranmraine committed Oct 28, 2014
2 parents afc6180 + e1e4a74 commit 25d9534
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/caveman.pl
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ sub setup {
if(exists($opts{'normcn'}) && defined($opts{'normcn'})){
PCAP::Cli::file_for_reading('norm-cn-file',$opts{'normcn'});
}
PCAP::Cli::file_for_reading('germline-indel-bed',$opts{'germindel'}) if(exists $opts{'process'} && $opts{'process'} eq 'flag');
PCAP::Cli::file_for_reading('germline-indel-bed',$opts{'germindel'}) if(!exists $opts{'process'} || (exists $opts{'process'} && $opts{'process'} eq 'flag'));
PCAP::Cli::out_dir_check('outdir', $opts{'outdir'});

PCAP::Cli::file_for_reading('flagConfig',$opts{'flagConfig'}) if(defined $opts{'flagConfig'});
Expand Down
3 changes: 2 additions & 1 deletion lib/Sanger/CGP/Caveman/Implement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@ sub concat {
my $target = $options->{'target_files'};
return 1 if PCAP::Threaded::success_exists(File::Spec->catdir($tmp, 'progress'), 0);
my $command = sprintf('cat %s > %s',$target,$out);
PCAP::Threaded::external_process_handler(File::Spec->catdir($tmp, 'logs'), $command, 0);
my $count = "wc -l $out";
PCAP::Threaded::external_process_handler(File::Spec->catdir($tmp, 'logs'), [$command, $count], 0);

return PCAP::Threaded::touch_success(File::Spec->catdir($tmp, 'progress'), 0);

Expand Down
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
##########LICENCE##########

CAVEMAN_CORE="https://github.com/cancerit/CaVEMan/archive/v1.4.2.tar.gz"
CAVEMAN_CORE="https://github.com/cancerit/CaVEMan/archive/1.4.3.tar.gz"
SOURCE_SAMTOOLS="https://github.com/samtools/samtools/archive/0.1.20.tar.gz"


Expand Down

0 comments on commit 25d9534

Please sign in to comment.