Skip to content

Commit

Permalink
Merge branch 'release/v3.2.0'
Browse files Browse the repository at this point in the history
* Install Battenberg R code from GitHub
  • Loading branch information
kathryn-beal committed Oct 17, 2017
2 parents 0eae290 + 4526ce8 commit 7918450
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 3.2.0
* Install Battenberg R code from GitHub

### 3.1.0
* Use newer alleleCount that includes faster 'dense snps' option
* Minor modification to README.md layout
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ An installation helper, perl wrapper and the R program Battenberg which detects

## Installation

The battenberg R files are not included in this repository. The perl wrapper supports battenberg v2.2.5 and this will be made publically available by the authors shortly. The last version of this repository to include the battenberg R files is 1.5.3
The battenberg R files are installed automatically from the Battenberg GitHub repository found [here](https://github.com/Wedge-Oxford/battenberg). The linked version is currently [`v2.2.5`](https://github.com/Wedge-Oxford/battenberg/releases/tag/v2.2.5).

Please install the following before attempting to run ``setup.sh <install_to_folder> [X/lib/perl:Y/lib/perl]``

1. [PCAP-core v2.1.3+](https://github.com/ICGC-TCGA-PanCancer/PCAP-core/releases)
1. [PCAP-core v2.1.3+](https://github.com/cancerit/PCAP-core/releases)
2. [alleleCount v3.0.1+](https://github.com/cancerit/alleleCount/releases)
3. [cgpVcf v2.0.1+](https://github.com/cancerit/cgpVcf/releases)

Expand Down
3 changes: 2 additions & 1 deletion Rsupport/setupR.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ if [ "x$BUILD_R" != "x" ]; then
fi

wget https://github.com/Crick-CancerGenomics/ascat/releases/download/v2.4.3/ASCAT_2.4.3.tar.gz
wget https://github.com/Wedge-Oxford/battenberg/archive/v2.2.5.tar.gz

Rscript $INIT_DIR/libInstall.R $R_LIBS_USER $TMP_DIR/ASCAT_2.4.3.tar.gz $BATTENBERG_PACKAGE
Rscript $INIT_DIR/libInstall.R $R_LIBS_USER $TMP_DIR/ASCAT_2.4.3.tar.gz $TMP_DIR/v2.2.5.tar.gz

cd $INIT_DIR
rm -rf $TMP_DIR
2 changes: 1 addition & 1 deletion perl/lib/Sanger/CGP/Battenberg.pm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use strict;

use Const::Fast qw(const);
use base 'Exporter';
our $VERSION = '3.1.0';
our $VERSION = '3.2.0';
our @EXPORT = qw($VERSION);

1;
Expand Down
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
EXP_ACV="3.3.0"

version_gt () {
test $(printf '%s\n' $@ | sort -V | head -n 1) == "$1";
test $(printf '%s\n' $@ | sort -V | head -n 1) == "$EXP_ACV";
}

if [[ ($# -ne 1 && $# -ne 2) ]] ; then
Expand Down

0 comments on commit 7918450

Please sign in to comment.