This repository has been archived by the owner on May 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from apeltzer/travis
Travis Tests for ExoSeq
- Loading branch information
Showing
9 changed files
with
155 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
sudo: required | ||
language: java | ||
jdk: openjdk8 | ||
services: | ||
- docker | ||
python: | ||
- "2.7" | ||
|
||
cache: pip | ||
|
||
matrix: | ||
fast_finish: true | ||
|
||
install: | ||
- "./scripts/install.sh --tool $TOOL_INSTALL" | ||
# Install nf-core/tools | ||
- git clone https://github.com/nf-core/tools.git /tmp/nf-core-tools | ||
- cd /tmp/nf-core-tools | ||
- pip install --user -e . | ||
# Get Kit Files | ||
- wget -O kits.tar.bz2 https://qbic-intranet.am10.uni-tuebingen.de/owncloud/index.php/s/Qvku3etEqb3PW58/download | ||
# Get tiny Reference Files | ||
# Reset | ||
- cd ${TRAVIS_BUILD_DIR}/tests | ||
|
||
env: | ||
global: | ||
- NXF_VER=0.27.6 SGT_VER=2.4.2 | ||
matrix: | ||
- PROFILE=docker TEST=TOOLS TOOL_INSTALL=ALL | ||
- PROFILE=singularity TEST=TOOLS TOOL_INSTALL=ALL | ||
|
||
script: | ||
- "nf-core lint ${TRAVIS_BUILD_DIR}" | ||
- "./scripts/test.sh --profile $PROFILE --test $TEST" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
## [nf-core/ExoSeq v0.9dev] | ||
## [nf-core/ExoSeq v1.0dev] | ||
The release marks the point where the pipeline was moved from SciLifeLab/NGI-ExoSeq over to the new nf-core community, at nf-core/ExoSeq. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
genomes { | ||
'GRCh37' { | ||
gfasta = '${params.metafiles}/b37/human_g1k_v37.fasta' | ||
bwa_index = '${params.metafiles}/b37/human_g1k_v37.fasta.bwt' | ||
dbsnp = '${params.metafiles}/b37/dbsnp_138.b37.vcf' | ||
mills = '${params.metafiles}/b37/Mills_and_1000G_gold_standard.indels.b37.vcf' | ||
omni = '${params.metafiles}/b37/1000G_omni2.5.b37.vcf' | ||
thousandg = '${params.metafiles}/b37/1000G_phase1.snps.high_confidence.b37.vcf' | ||
kits { | ||
'agilent_v5' { | ||
bait = '${params.kitfiles}/agilent_v5/S04380110_Regions.interval_list' | ||
target = '${params.kitfiles}/agilent_v5/S04380110_Covered.interval_list' | ||
target_bed = '${params.kitfiles}/agilent_v5/S04380110_Covered.bed' | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* ------------------------------------------------- | ||
* Nextflow config file for running tests | ||
* ------------------------------------------------- | ||
* Defines bundled input files and everything required | ||
* to run a fast and simple test. Use as follows: | ||
* nextflow run nf-core/rnaseq -profile test | ||
*/ | ||
|
||
params { | ||
max_cpus = 2 | ||
max_memory = 6.GB | ||
max_time = 48.h | ||
// Input data | ||
singleEnd = false | ||
kitfiles = './kits' | ||
readPaths = [ | ||
['Testdata_R1', ['https://github.com/nf-core/test-datasets/raw/exoseq/testdata/Testdata_R1.tiny.fastq.gz']], | ||
['Testdata_R2', ['https://github.com/nf-core/test-datasets/raw/exoseq/testdata/Testdata_R2.tiny.fastq.gz']], | ||
] | ||
// Genome references | ||
fasta = 'https://github.com/nf-core/test-datasets/raw/exoseq/reference/human_g1k_v37_decoy.small.fasta' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/bin/bash | ||
#Credit to the Sarek devs at https://github.com/SciLifeLab/Sarek | ||
TOOL="all" | ||
|
||
while [[ $# -gt 0 ]] | ||
do | ||
key="$1" | ||
case $key in | ||
-t|--tool) | ||
TOOL="$2" | ||
shift # past argument | ||
shift # past value | ||
;; | ||
*) # unknown option | ||
shift # past argument | ||
;; | ||
esac | ||
done | ||
|
||
# Install Nextflow | ||
if [[ "$TOOL" = nextflow ]] || [[ "$TOOL" = all ]] | ||
then | ||
cd $HOME | ||
curl -fsSL get.nextflow.io | bash | ||
chmod +x nextflow | ||
sudo mv nextflow /usr/local/bin/ | ||
fi | ||
|
||
# Install Singularity | ||
if [[ "$TOOL" = singularity ]] || [[ "$TOOL" = all ]] | ||
then | ||
sudo apt-get install squashfs-tools | ||
cd $HOME | ||
wget https://github.com/singularityware/singularity/releases/download/$SGT_VER/singularity-$SGT_VER.tar.gz | ||
tar xvf singularity-$SGT_VER.tar.gz | ||
cd singularity-$SGT_VER | ||
./configure --prefix=/usr/local | ||
make | ||
sudo make install | ||
cd .. | ||
rm -rf singularity-$SGT_VER* | ||
fi |