Skip to content

Commit b827ac5

Browse files
authored
Merge pull request #15 from srividya22/master
added external dependency scripts for KBaseRNASeq service
2 parents 609be17 + a928210 commit b827ac5

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

kb_cufflinks/install-cufflinks.sh

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
3+
dest=${TARGET-/kb/runtime}
4+
echo "using $dest as installation directory";
5+
mkdir -p $dest
6+
7+
# downlownload version
8+
VERSION='2.2.1'
9+
rm -rf cufflinks-${VERSION}*
10+
wget "http://cole-trapnell-lab.github.io/cufflinks/assets/downloads/cufflinks-${VERSION}.Linux_x86_64.tar.gz"
11+
tar -xzvf cufflinks-${VERSION}.Linux_x86_64.tar.gz
12+
rm cufflinks-${VERSION}.Linux_x86_64.tar.gz
13+
# compile and copy binaries
14+
pushd cufflinks-${VERSION}.Linux_x86_64
15+
#make
16+
cp `find . -maxdepth 1 -perm -111 -type f` ${dest}/bin
17+
popd
18+
rm -rf cufflinks-${VERSION}.Linux_x86_64

kb_tophat/install-tophat.sh

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
3+
dest=${TARGET-/kb/runtime}
4+
echo "using $dest as installation directory";
5+
mkdir -p $dest
6+
7+
# downlownload version
8+
VERSION='2.1.0'
9+
rm -rf tophat-${VERSION}*
10+
wget "https://ccb.jhu.edu/software/tophat/downloads/tophat-${VERSION}.Linux_x86_64.tar.gz"
11+
tar -xzvf tophat-${VERSION}.Linux_x86_64.tar.gz
12+
rm tophat-${VERSION}.Linux_x86_64.tar.gz
13+
# compile and copy binaries
14+
pushd tophat-${VERSION}.Linux_x86_64
15+
#make
16+
cp bam2fastx bam_merge bed_to_juncs contig_to_chr_coords fix_map_ordering gtf_juncs gtf_to_fasta juncs_db long_spanning_reads map2gtf prep_reads sam_juncs samtools_0.1.18 segment_juncs sra_to_solid tophat tophat2 tophat-fusion-post tophat_reports $dest/bin
17+
popd
18+
rm -rf tophat-${VERSION}.Linux_x86_64

0 commit comments

Comments
 (0)