forked from globalmicrobialidentifier-WG3/datasets
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
57 lines (52 loc) · 2.01 KB
/
.travis.yml
File metadata and controls
57 lines (52 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
language: bash
# Assume we are on Ubuntu Precise, https://docs.travis-ci.com/user/reference/overview/
matrix:
include:
- os: linux
dist: trusty
before_install:
# SRA toolkit
- wget https://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/current/sratoolkit.current-ubuntu64.tar.gz
- tar zxvf sratoolkit.current-ubuntu64.tar.gz
- SRABINDIR=$(ls -d $(pwd)/sratoolkit*/bin);
- export PATH=$PATH:$SRABINDIR
- which fastq-dump
# edirect
- perl -MNet::FTP -e '$ftp = new Net::FTP("ftp.ncbi.nlm.nih.gov", Passive => 1); $ftp->login; $ftp->binary; $ftp->get("/entrez/entrezdirect/edirect.tar.gz");'
- gunzip -c edirect.tar.gz | tar xf -
- export PATH=$PATH:$(pwd)/edirect
- ./edirect/setup.sh
- which efetch
# CFSAN SNP pipeline
#- pip install snp-pipeline --user
#- export PATH=$PATH:$HOME/.local/bin
#- which run_snp_pipeline.sh
## bowtie
#- sudo apt-get install bowtie2
#- which bowtie2
## samtools/bcftools/tabix/bgzip
#- wget 'https://github.com/samtools/samtools/releases/download/1.3.1/samtools-1.3.1.tar.bz2' 'https://github.com/samtools/htslib/releases/download/1.3.2/htslib-1.3.2.tar.bz2' 'https://github.com/samtools/bcftools/releases/download/1.3.1/bcftools-1.3.1.tar.bz2'
#- tar jxvf htslib-1.3.2.tar.bz2
#- tar jxvf samtools-1.3.1.tar.bz2
#- tar jxvf bcftools-1.3.1.tar.bz2
#- make -C samtools-1.3.1 && make -C htslib-1.3.2 && make -C bcftools-1.3.1
#- export PATH=$PATH:samtools-1.3.1:htslib-1.3.2:bcftools-1.3.1
#- which samtools
#- which bcftools
#- which bgzip
#- which tabix
## VarScan
#- wget --max-redirect 50 'http://downloads.sourceforge.net/project/varscan/VarScan.v2.3.7.jar'
#- export CLASSPATH=$CLASSPATH:$(pwd)/VarScan.v2.3.7.jar
## Picard
#- wget https://github.com/broadinstitute/picard/releases/download/2.17.10/picard.jar
#- export CLASSPATH=$CLASSPATH:$(pwd)/picard.jar
# Check out the environment
- echo $PATH
- ls -d *
# perl
- which cpanm
- which perl
#- (set -e; for i in Encode::Locale HTML::Parser HTTP::Date Net::HTTP; do cpanm -l . $i; done;)
- export PERL5LIB=$PERL5LIB:$(pwd)/lib/perl5
install: bash EXAMPLES/testLambda.sh