Skip to content

Commit

Permalink
Merge branch 'hotfix/2.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
sb43 committed Aug 11, 2016
2 parents f234ab1 + d65cefd commit 9f92622
Show file tree
Hide file tree
Showing 16 changed files with 27 additions and 7 deletions.
Empty file modified .gitignore
100644 → 100755
Empty file.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
### 2.1.0
* Added HTseq installer for read counting
Empty file modified LICENSE
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ N.B. the path_to_install_to should be the same as the install location used for
* [faToTwoBit](http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/) deFuse dependency
* [bedtools](https://github.com/arq5x/bedtools2/) Unless already in the install location bin directory
* [blastn](http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&PAGE_TYPE=BlastDocs&DOC_TYPE=Download) Used by tophat-fusion post

* [HTSeq](https://pypi.python.org/packages/3c/6e/f8dc3500933e036993645c3f854c4351c9028b180c6dcececde944022992/HTSeq-0.6.1p1.tar.gz) used for read counting
N.B. samtools is also a dependency but this is installed by PCAP-Core which should have already been installed (see above).

If you are planning to use the fusion pipeline, specifically defuse_fusion.pl, the deFuse config.txt file will need to be updated with the installed locations of a number of tools.
Expand Down
Empty file modified perl/MANIFEST
100644 → 100755
Empty file.
Empty file modified perl/Makefile.PL
100644 → 100755
Empty file.
Empty file modified perl/bin/compare_CN_and_fusion.pl
100644 → 100755
Empty file.
Empty file modified perl/bin/process_qcstats.pl
100644 → 100755
Empty file.
Empty file modified perl/docs.tar.gz
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion perl/lib/Sanger/CGP/CgpRna.pm
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ use strict;
use Const::Fast qw(const);
use base 'Exporter';

our $VERSION = '2.0.18';
our $VERSION = '2.1.0';
our @EXPORT = qw($VERSION);

1;
Empty file modified perl/lib/Sanger/CGP/CompareFusions/FusionAnnotation.pm
100644 → 100755
Empty file.
Empty file modified perl/lib/Sanger/CGP/CompareFusions/Implement.pm
100644 → 100755
Empty file.
Empty file modified perl/lib/Sanger/CGP/RnaQC/Implement.pm
100644 → 100755
Empty file.
Empty file modified perl/t/1_pm_compile.t
100644 → 100755
Empty file.
Empty file modified perl/t/2_pl_compile.t
100644 → 100755
Empty file.
28 changes: 23 additions & 5 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ SOURCE_GMAP="http://research-pub.gene.com/gmap/src/gmap-gsnap-2015-09-10.tar.gz"
SOURCE_BLAT="http://users.soe.ucsc.edu/~kent/src/blatSrc35.zip"
SOURCE_FATOTWOBIT="http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/faToTwoBit"
SOURCE_BEDTOOLS="https://github.com/arq5x/bedtools2/releases/download/v2.21.0/bedtools-2.21.0.tar.gz"

SOURCE_HTSEQ="https://pypi.python.org/packages/3c/6e/f8dc3500933e036993645c3f854c4351c9028b180c6dcececde944022992/HTSeq-0.6.1p1.tar.gz"
VERSION_HTSEQ="0.6.0"

done_message () {
if [ $? -eq 0 ]; then
Expand Down Expand Up @@ -154,14 +155,14 @@ fi

CHK2=`perl -le 'eval "require $ARGV[0]" and print $ARGV[0]->VERSION' Sanger::CGP::Vagrent`
if [[ "x$CHK2" == "x" ]] ; then
echo "PREREQUISITE: Please install VAGrENT before proceeding: https://github.com/cancerit/VAGrENT/releases"
exit 1;
echo "PREREQUISITE: Please install VAGrENT before proceeding: https://github.com/cancerit/VAGrENT/releases"
exit 1;
fi

CHK3=`perl -le 'eval "require $ARGV[0]" and print $ARGV[0]->VERSION' Sanger::CGP::Grass`
if [[ "x$CHK3" == "x" ]] ; then
echo "PREREQUISITE: Please install Grass before proceeding: https://github.com/cancerit/grass/releases"
exit 1;
echo "PREREQUISITE: Please install Grass before proceeding: https://github.com/cancerit/grass/releases"
exit 1;
fi

#create a location to build dependencies
Expand Down Expand Up @@ -424,6 +425,23 @@ else
fi
done_message "" "Failed to build RSeQC."

# install HTSeq
echo -n "Installing HTSeq ..."
if [ -e $SETUP_DIR/htseq.success ]; then
echo -n " previously installed ...";
else
(
cd $SETUP_DIR
get_distro "rseqc" $SOURCE_HTSEQ
mkdir -p htseq
tar --strip-components 1 -C htseq -zxf HTSeq-0.6.1p1.tar.gz
cd $SETUP_DIR/htseq &&
python ./setup.py install --prefix=$INST_PATH
touch $SETUP_DIR/htseq.success
)>>$INIT_DIR/setup.log 2>&1
fi
done_message "" "Failed to build HTSeq."


#add bin path for install tests
export PATH="$INST_PATH/bin:$PATH"
Expand Down

0 comments on commit 9f92622

Please sign in to comment.