Skip to content

Commit

Permalink
Merge branch 'hotfix/v1.11.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranmraine committed Jan 29, 2016
2 parents 8fa4aa0 + 53a3270 commit 536af6c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ WriteMakefile(
'Sub::Exporter::Progressive' => 0.001011,
'XML::Simple' => 2.20,
'version' => 0.9912,
'JSON' => 2.90,
'JSON::XS' => 3.01,
}
);

Expand Down
7 changes: 6 additions & 1 deletion bin/gnos_pull.pl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
use PCAP::Cli;

const my @ANALYSIS_TYPES => (qw(ALIGNMENTS CALLS));
const my @AVAILABLE_COMPOSITE_FILTERS => (qw(caller max_dataset_GB multi_tumour sanger_version broad_version dkfz_embl_version jamboree_approved manual_donor_blacklist));
const my @AVAILABLE_COMPOSITE_FILTERS => (qw(not_sanger_workflow caller max_dataset_GB multi_tumour sanger_version broad_version dkfz_embl_version jamboree_approved manual_donor_blacklist));
const my $DEFAULT_URL => 'http://pancancer.info/gnos_metadata/latest';
const my $GTDL_COMMAND => '%s%s --max-children 3 --rate-limit 200 -vv -c %s -d %scghub/data/analysis/download/%s -p %s';

Expand Down Expand Up @@ -382,6 +382,11 @@ sub pull_calls {

next if(exists $options->{'COMPOSITE_FILTERS'}->{$caller.'_version'} && $options->{'COMPOSITE_FILTERS'}->{$caller.'_version'} ne $donor->{'variant_calling_results'}->{$caller.'_variant_calling'}->{'workflow_details'}->{'variant_workflow_version'});

if(exists $options->{'COMPOSITE_FILTERS'}->{not_sanger_workflow} && $options->{'COMPOSITE_FILTERS'}->{not_sanger_workflow} eq $donor->{'variant_calling_results'}->{'sanger_variant_calling'}->{'workflow_details'}->{'variant_workflow_name'}) {
warn "Skipping version $donor->{donor_unique_id} as version == $options->{COMPOSITE_FILTERS}->{not_sanger_workflow}\n" if($options->{debug});
next;
}

# if we can get access to transfer metrics we want to select the fastest, or use list in config file
my $repo = select_repo($options, $donor->{'variant_calling_results'}->{$caller.'_variant_calling'}->{'gnos_repo'});
unless(exists $options->{'keys'}->{$repo}) {
Expand Down
Binary file modified docs.tar.gz
Binary file not shown.
3 changes: 2 additions & 1 deletion lib/PCAP.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use strict;
use Const::Fast qw(const);
use base 'Exporter';

our $VERSION = '1.11.0';
our $VERSION = '1.11.1';
our @EXPORT = qw($VERSION);

const my $LICENSE =>
Expand Down Expand Up @@ -73,6 +73,7 @@ const my %UPGRADE_PATH => ( '0.1.0' => 'biobambam,bwa,samtools',
'1.9.4' => 'biobambam',
'1.10.0' => 'biobambam',
'1.11.0' => 'biobambam',
'1.11.1' => 'biobambam',
);

sub license {
Expand Down
4 changes: 1 addition & 3 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ cd $INIT_DIR
unset PERL5LIB
ARCHNAME=`perl -e 'use Config; print $Config{archname};'`
PERLROOT=$INST_PATH/lib/perl5
PERLARCH=$PERLROOT/$ARCHNAME
export PERL5LIB="$PERLROOT:$PERLARCH"
export PERL5LIB="$PERLROOT"

#create a location to build dependencies
SETUP_DIR=$INIT_DIR/install_tmp
Expand Down Expand Up @@ -287,7 +286,6 @@ echo "Please add the following to beginning of path:"
echo " $INST_PATH/bin"
echo "Please add the following to beginning of PERL5LIB:"
echo " $PERLROOT"
echo " $PERLARCH"
echo

exit 0

0 comments on commit 536af6c

Please sign in to comment.