-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update nf-core pipeline template. * docs: updated usage.md (#70) * test: updated Travis CI testing * fix: fixed download path for STAR-Fusion (#71) * fix: wrapped COSMIC parameters into quotes (#75) * fix: implemented optional output for fusion tools (#72) * docs: markdownlint requires a new line at the end of file * chore: preparation for 1.0.2 release * chore: CHANGELOG 1.0.2 * test: updated Jenkinsfile * test: updated Jenkinsfile * test: added more Jenkins testing * fix: specified conda channel for fastqc and multiqc
- Loading branch information
Showing
35 changed files
with
615 additions
and
375 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
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,31 @@ | ||
Hi there! | ||
|
||
Thanks for telling us about a problem with the pipeline. Please delete this text and anything that's not relevant from the template below: | ||
|
||
#### Describe the bug | ||
A clear and concise description of what the bug is. | ||
|
||
#### Steps to reproduce | ||
Steps to reproduce the behaviour: | ||
1. Command line: `nextflow run ...` | ||
2. See error: _Please provide your error message_ | ||
|
||
#### Expected behaviour | ||
A clear and concise description of what you expected to happen. | ||
|
||
#### System: | ||
- Hardware: [e.g. HPC, Desktop, Cloud...] | ||
- Executor: [e.g. slurm, local, awsbatch...] | ||
- OS: [e.g. CentOS Linux, macOS, Linux Mint...] | ||
- Version [e.g. 7, 10.13.6, 18.3...] | ||
|
||
#### Nextflow Installation: | ||
- Version: [e.g. 0.31.0] | ||
|
||
#### Container engine: | ||
- Engine: [e.g. Conda, Docker or Singularity] | ||
- version: [e.g. 1.0.0] | ||
- Image tag: [e.g. nfcore/rnafusion:1.0.0] | ||
|
||
#### Additional context | ||
Add any other context about the problem here. |
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,16 @@ | ||
Hi there! | ||
|
||
Thanks for suggesting a new feature for the pipeline! Please delete this text and anything that's not relevant from the template below: | ||
|
||
#### Is your feature request related to a problem? Please describe. | ||
A clear and concise description of what the problem is. | ||
Ex. I'm always frustrated when [...] | ||
|
||
#### Describe the solution you'd like | ||
A clear and concise description of what you want to happen. | ||
|
||
#### Describe alternatives you've considered | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
#### Additional context | ||
Add any other context about the feature request here. |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
.nextflow* | ||
work/ | ||
results/ | ||
tests/ | ||
.DS_Store | ||
tests/test_data | ||
*.pyc | ||
.vscode/ |
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,43 +1,46 @@ | ||
sudo: required | ||
language: python | ||
jdk: openjdk8 | ||
services: docker | ||
python: '3.6' | ||
cache: pip | ||
matrix: | ||
fast_finish: true | ||
|
||
before_install: | ||
# PRs made to 'master' branch should always orginate from another repo or the 'dev' branch | ||
# PRs to master are only ok if coming from dev branch | ||
- '[ $TRAVIS_PULL_REQUEST = "false" ] || [ $TRAVIS_BRANCH != "master" ] || ([ $TRAVIS_PULL_REQUEST_SLUG = $TRAVIS_REPO_SLUG ] && [ $TRAVIS_PULL_REQUEST_BRANCH = "dev" ])' | ||
# Pull the docker image first so the test doesn't wait for this | ||
- docker pull nfcore/rnafusion:dev | ||
- docker tag nfcore/rnafusion:dev nfcore/rnafusion:1.0.1 | ||
|
||
env: | ||
- NXF_VER='0.32.0' # Specify a minimum NF version that should be tested and work | ||
- NXF_VER='' # Plus: get the latest NF version and check, that it works | ||
# Fake the tag locally so that the pipeline runs properly | ||
# Looks weird when this is :dev to :dev, but makes sense when testing code for a release (:dev to :1.0.1) | ||
- docker tag nfcore/rnafusion:dev nfcore/rnafusion:1.0.2 | ||
|
||
install: | ||
# Install Nextflow | ||
- mkdir /tmp/nextflow && cd /tmp/nextflow | ||
- wget -qO- get.nextflow.io | bash | ||
- sudo ln -s /tmp/nextflow/nextflow /usr/local/bin/nextflow | ||
# Install nf-core/tools | ||
- pip install --upgrade pip | ||
- pip install nf-core | ||
# Install markdownlint-cli | ||
- sudo apt-get install npm && npm install -g markdownlint-cli | ||
# Reset | ||
- mkdir ${TRAVIS_BUILD_DIR}/tests && cd ${TRAVIS_BUILD_DIR} | ||
# Reset | ||
- mkdir ${TRAVIS_BUILD_DIR}/tests && cd ${TRAVIS_BUILD_DIR}/tests | ||
|
||
env: | ||
- NXF_VER='0.32.0' # Specify a minimum NF version that should be tested and work | ||
- NXF_VER='' # Plus: get the latest NF version and check that it works | ||
|
||
script: | ||
# Create and download test data | ||
- | | ||
touch tests/genome.fa tests/genes.gtf | ||
mkdir tests/star_index tests/databases | ||
wget http://github.com/nf-core/test-datasets/raw/rnafusion/testdata/human/reads_1.fq.gz -O tests/reads_1.fq.gz | ||
wget http://github.com/nf-core/test-datasets/raw/rnafusion/testdata/human/reads_2.fq.gz -O tests/reads_2.fq.gz | ||
# Lint the pipeline code | ||
- nf-core lint ${TRAVIS_BUILD_DIR} | ||
# Lint markdown | ||
# Lint the documentation | ||
- markdownlint ${TRAVIS_BUILD_DIR} -c ${TRAVIS_BUILD_DIR}/.github/markdownlint.yml | ||
# Running the pipeline | ||
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker | ||
# Test pipeline help page | ||
- nextflow run ${TRAVIS_BUILD_DIR} --help | ||
# Test downloading references help page | ||
- nextflow run ${TRAVIS_BUILD_DIR}/download-references.nf --help | ||
# Test downloading singularity images help page | ||
- nextflow run ${TRAVIS_BUILD_DIR}/download-singularity-img.nf --help |
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 |
---|---|---|
@@ -1,10 +1,7 @@ | ||
FROM nfcore/base | ||
|
||
LABEL authors="[email protected], [email protected], [email protected]" \ | ||
description="Docker image containing all requirements for nfcore/rnafusion pipeline" | ||
LABEL authors="Martin Proks <[email protected]>" \ | ||
description="Docker image containing all requirements for nf-core/rnafusion pipeline" | ||
|
||
COPY environment.yml / | ||
RUN conda env create -f /environment.yml && conda clean -a | ||
ENV PATH /opt/conda/envs/nf-core-rnafusion-1.0.1/bin:$PATH | ||
|
||
WORKDIR / | ||
ENV PATH /opt/conda/envs/nf-core-rnafusion-1.0.2/bin:$PATH |
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
Oops, something went wrong.