Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start writing STAT solo #4

Open
wants to merge 83 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
2c7e255
Rename all nfcore/nf-core/kerimoff --> czbiohub
olgabot May 2, 2019
d4cbf10
base off of nfcore, author is Olga
olgabot May 2, 2019
0608307
Add makefile for docker building
olgabot May 2, 2019
58d1b68
accept PRs to master from anywhere! mwah hahahaha"
olgabot May 2, 2019
21c9e75
Update docker image names
olgabot May 2, 2019
98c6740
Merge pull request #1 from czbiohub/olgabot/rename-czbiohub
olgabot May 2, 2019
7eee68e
updating fastp
olgabot May 2, 2019
1dabc27
Update trimmer name, time and requirments
olgabot May 2, 2019
7ee32d2
Fix parameter name for params.clip_r{1,2} --> params.five_prime_clip_…
olgabot May 2, 2019
b4d3097
Fix parameter name for params.clip_r{1,2} --> params.five_prime_clip_…
olgabot May 2, 2019
4bbd28d
Separate fastqc on trimmed reads
olgabot May 2, 2019
ca5d350
Fix naming of output trimming reports
olgabot May 2, 2019
7e42784
fix test data'
olgabot May 3, 2019
044819b
Don't lint the pipeline for now
olgabot May 3, 2019
85474f8
Merge pull request #3 from czbiohub/olgabot/fastp
olgabot May 3, 2019
a8a45cf
Add notes about fastp and htseq
olgabot May 9, 2019
e2628de
Remove subread (featureCounts) from requirements
olgabot May 9, 2019
f96d082
Initial try of htseq-count
olgabot May 9, 2019
4553722
Add notes in changelog
olgabot May 9, 2019
24d7d15
update regex for htseq-count version
olgabot May 9, 2019
b3107a4
Add test example for makefile
olgabot May 9, 2019
2b0d50f
update biotypes header to htseq-count
olgabot May 9, 2019
c29fdde
Rename to merge_htseq-count.py
olgabot May 9, 2019
eab4f0a
specify memory for htseq-count
olgabot May 9, 2019
94665be
Use czbiohub/rnaseq container
olgabot May 9, 2019
1433132
Update merging of htseq-count gene-cell tables"
olgabot May 9, 2019
48d910c
Missing pipe characters
olgabot May 9, 2019
2ee34d9
Comment out sample correlation for now
olgabot May 9, 2019
1aca486
Try updating the edger similarity
olgabot May 9, 2019
c479b86
remove htseq-count merging python gscript
olgabot May 10, 2019
e2e8708
Remove sample correlation
olgabot May 10, 2019
11ddfed
Move merged htseqcounts into same folder
olgabot May 10, 2019
b463d3e
Change featurecounts-->htseq
olgabot May 21, 2019
a74496f
Put biotypes back
olgabot May 21, 2019
63f20ac
Don't lint pipeline code
olgabot May 21, 2019
21af923
fix parsing of htseq-count output
olgabot May 21, 2019
2ba26b5
remove copy-paste cruft
olgabot May 21, 2019
c534da6
Merge pull request #10 from czbiohub/olgabot/htseq
olgabot May 21, 2019
cc7c6bb
Add fastp version scraping
olgabot May 21, 2019
7367c57
Make local test be testing hisat
olgabot May 21, 2019
63e8b7e
Merge pull request #14 from czbiohub/olgabot/htseq
olgabot May 22, 2019
361606f
Use all test commands in Makefile
olgabot May 22, 2019
b68c1cb
Add biohub config and transgenes
olgabot May 22, 2019
17762ea
Add default work dir
olgabot May 22, 2019
b59ddbc
Update test_biohub to use -profile czbiohub_aws
olgabot May 22, 2019
8e0b910
Fix biohub and aws configuration
olgabot May 22, 2019
319a1a5
Add resume to test biohub'
olgabot May 22, 2019
50ccee0
Fix transgene and aws conf
olgabot May 22, 2019
a643409
Start making references composable
olgabot May 22, 2019
f3ce5db
Get multiple input genoes to work
olgabot May 22, 2019
8aca056
whitespace
olgabot May 22, 2019
752015a
Add transgenes to czbiohub config
olgabot May 22, 2019
edfad0b
Update name for ERCCs location
olgabot May 22, 2019
bb0e07d
use genome_names as variables
olgabot May 22, 2019
ecb939b
Change trimgalore --> fastp
olgabot May 22, 2019
a8271a5
Add ERCCs to test biohug
olgabot May 22, 2019
2816e71
Fix typo
olgabot May 22, 2019
4633a76
Show aws region and batch queue if aws specified
olgabot May 22, 2019
ae44946
increase padding for summary
olgabot May 22, 2019
8dbcd8a
remove gtf printing
olgabot May 22, 2019
22c27d7
protect output with quotes
olgabot May 22, 2019
ddb0337
Remove sample correlation
olgabot May 22, 2019
3abaea7
add czbiohub logo to pipeline
olgabot May 22, 2019
9e69752
Add aws batch info to summary
olgabot May 23, 2019
c3a75fb
Fix merge conflict
olgabot May 23, 2019
e7817e9
Fix work dir specification
olgabot May 22, 2019
d2103b8
Add outdir for makefile
olgabot May 22, 2019
4996594
Fix merge conflict
olgabot May 23, 2019
337c473
remove comments
olgabot May 23, 2019
5771a9c
Add splicing, exon quant to testing
olgabot May 23, 2019
8349201
Test all aspects of pipelien
olgabot May 23, 2019
73b4338
Also test hisat2 aligner
olgabot May 23, 2019
d37868e
remove git rebase cruft
olgabot May 23, 2019
ea6d19f
Don't test transcriptome for now
olgabot May 23, 2019
735373b
Add pigz to dockerfile
olgabot May 23, 2019
ab5b446
Sort genome names, change fastp name
olgabot May 23, 2019
51598cb
Use different base directory for dexseq prepare annotation
olgabot May 23, 2019
7e4712c
Use home instead of for scripts
olgabot May 23, 2019
fba9eba
fastp --> trim_with_fastp
olgabot May 23, 2019
57644c8
Move all utility scripts to be flat in bin/
olgabot May 23, 2019
2fd3bc6
use latest docker image
olgabot May 23, 2019
7c83074
start writing STARsolo
olgabot May 24, 2019
62575d1
Add storage options for star Genome generate container
olgabot May 28, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,17 @@ matrix:
fast_finish: true

before_install:
# 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/rnaseq:dev
- docker pull czbiohub/rnaseq
# Fake the tag locally so that the pipeline runs properly
- docker tag nfcore/rnaseq:dev nfcore/rnaseq:1.2
- docker tag czbiohub/rnaseq czbiohub/rnaseq:1.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
# Install czbiohub/tools
- pip install nf-core
# Reset
- mkdir ${TRAVIS_BUILD_DIR}/tests && cd ${TRAVIS_BUILD_DIR}/tests
Expand All @@ -30,8 +28,6 @@ env:
- NXF_VER='' # Plus: get the latest NF version and check that it works

script:
# Lint the pipeline code
- "nf-core lint ${TRAVIS_BUILD_DIR}"
# Run, build reference genome with STAR
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker
# Run, build reference genome with HISAT2
Expand Down
41 changes: 24 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,31 @@
# nf-core/rnaseq
# czbiohub/rnaseq

## [Version 1.2](https://github.com/nf-core/rnaseq/releases/tag/1.2) - 2018-12-12
## [Version 2.0](https://github.com/czbiohub/rnaseq/releases/tag/2.0) - TBA

#### Pipeline updates

- Replaced TrimGalore! with fastp
- Replaced featureCounts with htseq-count

## [Version 1.2](https://github.com/czbiohub/rnaseq/releases/tag/1.2) - 2018-12-12

#### Pipeline updates
* Removed some outdated documentation about non-existent features
* Config refactoring and code cleaning
* Added a `--fcExtraAttributes` option to specify more than ENSEMBL gene names in `featureCounts`
* Remove legacy rseqc `strandRule` config code. [#119](https://github.com/nf-core/rnaseq/issues/119)
* Added STRINGTIE ballgown output to results folder [#125](https://github.com/nf-core/rnaseq/issues/125)
* Remove legacy rseqc `strandRule` config code. [#119](https://github.com/czbiohub/rnaseq/issues/119)
* Added STRINGTIE ballgown output to results folder [#125](https://github.com/czbiohub/rnaseq/issues/125)
* HiSAT index build now requests `200GB` memory, enough to use the exons / splice junction option for building.
* Added documentation about the `--hisatBuildMemory` option.
* BAM indices are stored and re-used between processes [#71](https://github.com/nf-core/rnaseq/issues/71)
* BAM indices are stored and re-used between processes [#71](https://github.com/czbiohub/rnaseq/issues/71)

#### Bug Fixes
* Fixed conda bug which caused problems with environment resolution due to changes in bioconda [#113](https://github.com/nf-core/rnaseq/issues/113)
* Fixed wrong gffread command line [#117](https://github.com/nf-core/rnaseq/issues/117)
* Added `cpus = 1` to `workflow summary process` [#130](https://github.com/nf-core/rnaseq/issues/130)
* Fixed conda bug which caused problems with environment resolution due to changes in bioconda [#113](https://github.com/czbiohub/rnaseq/issues/113)
* Fixed wrong gffread command line [#117](https://github.com/czbiohub/rnaseq/issues/117)
* Added `cpus = 1` to `workflow summary process` [#130](https://github.com/czbiohub/rnaseq/issues/130)


## [Version 1.1](https://github.com/nf-core/rnaseq/releases/tag/1.1) - 2018-10-05
## [Version 1.1](https://github.com/czbiohub/rnaseq/releases/tag/1.1) - 2018-10-05

#### Pipeline updates
* Wrote docs and made minor tweaks to the `--skip_qc` and associated options
Expand All @@ -28,25 +35,25 @@
* Updated minimum nextflow version to `0.32.0`

#### Bug Fixes
* [#77](https://github.com/nf-core/rnaseq/issues/77): Added back `executor = 'local'` for the `workflow_summary_mqc`
* [#95](https://github.com/nf-core/rnaseq/issues/95): Check if task.memory is false instead of null
* [#97](https://github.com/nf-core/rnaseq/issues/97): Resolved edge-case where numeric sample IDs are parsed as numbers causing some samples to be incorrectly overwritten.
* [#77](https://github.com/czbiohub/rnaseq/issues/77): Added back `executor = 'local'` for the `workflow_summary_mqc`
* [#95](https://github.com/czbiohub/rnaseq/issues/95): Check if task.memory is false instead of null
* [#97](https://github.com/czbiohub/rnaseq/issues/97): Resolved edge-case where numeric sample IDs are parsed as numbers causing some samples to be incorrectly overwritten.


## [Version 1.0](https://github.com/nf-core/rnaseq/releases/tag/1.0) - 2018-08-20
## [Version 1.0](https://github.com/czbiohub/rnaseq/releases/tag/1.0) - 2018-08-20

This release marks the point where the pipeline was moved from [SciLifeLab/NGI-RNAseq](https://github.com/SciLifeLab/NGI-RNAseq)
over to the new [nf-core](http://nf-co.re/) community, at [nf-core/rnaseq](https://github.com/nf-core/rnaseq).
over to the new [czbiohub](http://nf-co.re/) community, at [czbiohub/rnaseq](https://github.com/czbiohub/rnaseq).

View the previous changelog at [SciLifeLab/NGI-RNAseq/CHANGELOG.md](https://github.com/SciLifeLab/NGI-RNAseq/blob/master/CHANGELOG.md)

In addition to porting to the new nf-core community, the pipeline has had a number of major changes in this version.
In addition to porting to the new czbiohub community, the pipeline has had a number of major changes in this version.
There have been 157 commits by 16 different contributors covering 70 different files in the pipeline: 7,357 additions and 8,236 deletions!

In summary, the main changes are:

* Rebranding and renaming throughout the pipeline to nf-core
* Updating many parts of the pipeline config and style to meet nf-core standards
* Rebranding and renaming throughout the pipeline to czbiohub
* Updating many parts of the pipeline config and style to meet czbiohub standards
* Support for GFF files in addition to GTF files
* Just use `--gff` instead of `--gtf` when specifying a file path
* New command line options to skip various quality control steps
Expand Down
13 changes: 9 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
FROM nfcore/base
MAINTAINER Phil Ewels <[email protected]>
LABEL authors="[email protected]" \
description="Docker image containing all requirements for the nfcore/rnaseq pipeline"
MAINTAINER Olga Botvinnik <[email protected]>
LABEL authors="[email protected]" \
description="Docker image containing all requirements for the czbiohub/rnaseq pipeline"

COPY environment.yml /
RUN conda env create -f /environment.yml && conda clean -a
ENV PATH /opt/conda/envs/nf-core-rnaseq-1.2/bin:$PATH
ENV PATH /opt/conda/envs/czbiohub-rnaseq-1.2/bin:$PATH

ENV PACKAGES pigz
RUN apt-get update && \
apt-get install -y --no-install-recommends ${PACKAGES} && \
apt-get clean
49 changes: 49 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@

test: test_hisat

test_hisat:
nextflow run -profile test,docker main.nf -ansi-log false -resume --aligner hisat2

test_biohub:
nextflow run main.nf \
-latest \
--reads "s3://olgabot-maca/mini-maca/*{R1,R2}*.fastq.gz" \
--genome GRCm38,ERCC \
-profile czbiohub_aws \
--saveReference \
--saveTrimmed \
--saveAlignedIntermediates \
--run_splicing_exp_quant \
--run_exon_quant \
-dump-channels \
--outdir "s3://olgabot-maca/mini-maca/results" \
-resume

test_biohub_hisat:
nextflow run main.nf \
-latest \
--reads "s3://olgabot-maca/mini-maca/*{R1,R2}*.fastq.gz" \
--genome GRCm38,ERCC \
-profile czbiohub_aws \
--saveReference \
--saveTrimmed \
--saveAlignedIntermediates \
--run_splicing_exp_quant \
--run_exon_quant \
-dump-channels \
--outdir "s3://olgabot-maca/mini-maca/results" \
-resume --aligner hisat2


docker: docker_build docker_push

docker_build:
@docker build \
--build-arg VCS_REF=`git rev-parse --short HEAD` \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
-t czbiohub/rnaseq .

docker_push:
sudo docker login
sudo docker push czbiohub/rnaseq
docker images
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# ![nfcore/rnaseq](docs/images/nfcore-rnaseq_logo.png)
# ![czbiohub/rnaseq](docs/images/czbiohub-rnaseq_logo.png)

[![Build Status](https://travis-ci.org/nf-core/rnaseq.svg?branch=master)](https://travis-ci.org/nf-core/rnaseq)
[![Build Status](https://travis-ci.org/czbiohub/rnaseq.svg?branch=master)](https://travis-ci.org/czbiohub/rnaseq)
[![Nextflow](https://img.shields.io/badge/nextflow-%E2%89%A50.32.0-brightgreen.svg)](https://www.nextflow.io/)
[![DOI](https://zenodo.org/badge/127293091.svg)](https://zenodo.org/badge/latestdoi/127293091)
[![Gitter](https://img.shields.io/badge/gitter-%20join%20chat%20%E2%86%92-4fb99a.svg)](https://gitter.im/nf-core/Lobby)
[![Gitter](https://img.shields.io/badge/gitter-%20join%20chat%20%E2%86%92-4fb99a.svg)](https://gitter.im/czbiohub/Lobby)

[![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg)](http://bioconda.github.io/)
[![Docker Container available](https://img.shields.io/docker/automated/nfcore/rnaseq.svg)](https://hub.docker.com/r/nfcore/rnaseq/)
[![Docker Container available](https://img.shields.io/docker/automated/czbiohub/rnaseq.svg)](https://hub.docker.com/r/czbiohub/rnaseq/)
![Singularity Container available](
https://img.shields.io/badge/singularity-available-7E4C74.svg)


### Introduction

**nfcore/rnaseq** is a bioinformatics analysis pipeline used for RNA sequencing data.
**czbiohub/rnaseq** is a bioinformatics analysis pipeline used for RNA sequencing data.

The workflow processes raw data from FastQ inputs ([FastQC](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/), [Trim Galore!](https://www.bioinformatics.babraham.ac.uk/projects/trim_galore/)), aligns the reads ([STAR](https://github.com/alexdobin/STAR) or [HiSAT2](https://ccb.jhu.edu/software/hisat2/index.shtml)), generates gene counts ([featureCounts](http://bioinf.wehi.edu.au/featureCounts/), [StringTie](https://ccb.jhu.edu/software/stringtie/)) and performs extensive quality-control on the results ([RSeQC](http://rseqc.sourceforge.net/), [dupRadar](https://bioconductor.org/packages/release/bioc/html/dupRadar.html), [Preseq](http://smithlabresearch.org/software/preseq/), [edgeR](https://bioconductor.org/packages/release/bioc/html/edgeR.html), [MultiQC](http://multiqc.info/)). See the [output documentation](docs/output.md) for more details of the results.
The workflow processes raw data from FastQ inputs ([FastQC](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/), [fastp](https://github.com/OpenGene/fastp)), aligns the reads ([STAR](https://github.com/alexdobin/STAR) or [HiSAT2](https://ccb.jhu.edu/software/hisat2/index.shtml)), generates gene counts ([htseq-count](https://htseq.readthedocs.io/en/release_0.11.1/count.html), [StringTie](https://ccb.jhu.edu/software/stringtie/)) and performs extensive quality-control on the results ([RSeQC](http://rseqc.sourceforge.net/), [dupRadar](https://bioconductor.org/packages/release/bioc/html/dupRadar.html), [Preseq](http://smithlabresearch.org/software/preseq/), [edgeR](https://bioconductor.org/packages/release/bioc/html/edgeR.html), [MultiQC](http://multiqc.info/)). See the [output documentation](docs/output.md) for more details of the results.

Additionally, the pipeline is expanded to be able to quantify transcript, exon, alternative splicing and TxRevise expressions. See [optional quantification methods](docs/extra_phenotype_quantification.md) for details.

The pipeline is built using [Nextflow](https://www.nextflow.io), a bioinformatics workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It comes with docker / singularity containers making installation trivial and results highly reproducible.

### Documentation
The nfcore/rnaseq pipeline comes with documentation about the pipeline, found in the `docs/` directory:
The czbiohub/rnaseq pipeline comes with documentation about the pipeline, found in the `docs/` directory:

1. [Installation](docs/installation.md)
2. Pipeline configuration
Expand All @@ -38,12 +38,12 @@ The nfcore/rnaseq pipeline comes with documentation about the pipeline, found in
5. [Output and how to interpret the results](docs/output.md)
6. [Troubleshooting](docs/troubleshooting.md)

### General overview
### General overview
The schema shown below represents the high level structure of the pipeline.
# ![nfcore/rnaseq](docs/images/pipeline_high_level_schema.svg)
# ![czbiohub/rnaseq](docs/images/pipeline_high_level_schema.svg)

### Credits
These scripts were originally written for use at the [National Genomics Infrastructure](https://portal.scilifelab.se/genomics/), part of [SciLifeLab](http://www.scilifelab.se/) in Stockholm, Sweden, by Phil Ewels ([@ewels](https://github.com/ewels)) and Rickard Hammarén ([@Hammarn](https://github.com/Hammarn)).
These scripts were originally written for use at the [National Genomics Infrastructure](https://portal.scilifelab.se/genomics/), part of [SciLifeLab](http://www.scilifelab.se/) in Stockholm, Sweden, by Phil Ewels ([@ewels](https://github.com/ewels)) and Rickard Hammarén ([@Hammarn](https://github.com/Hammarn)). They have since taken on a life of their own at Chan Zuckerberg Biohub where they are maintained by Olga Botvinnik.

Many thanks to other who have helped out along the way too, including (but not limited to):
[@Galithil](https://github.com/Galithil),
Expand Down
6 changes: 3 additions & 3 deletions Singularity
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
From:nfcore/base
From:czbiohub/base
Bootstrap:docker

%labels
MAINTAINER Phil Ewels <[email protected]>
DESCRIPTION Singularity image containing all requirements for the nf-core/rnaseq pipeline
DESCRIPTION Singularity image containing all requirements for the czbiohub/rnaseq pipeline
VERSION 1.2

%environment
PATH=/opt/conda/envs/nf-core-rnaseq-1.2/bin:$PATH
PATH=/opt/conda/envs/czbiohub-rnaseq-1.2/bin:$PATH
export PATH

%files
Expand Down
8 changes: 4 additions & 4 deletions assets/biotypes_header.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# id: 'biotype-counts'
# section_name: 'Biotype Counts'
# description: "shows reads overlapping genomic features of different biotypes,
# counted by <a href='http://bioinf.wehi.edu.au/featureCounts'>featureCounts</a>."
# counted by <a href='https://htseq.readthedocs.io/en/release_0.11.1/count.html'>htseq-count</a>."
# plot_type: 'bargraph'
# anchor: 'featurecounts_biotype'
# anchor: 'htseqcount_biotype'
# pconfig:
# id: "featureCounts_biotype_plot"
# title: "featureCounts: Biotypes"
# id: "htseqcount_biotype_plot"
# title: "htseqcount: Biotypes"
# xlab: "# Reads"
# cpswitch_counts_label: "Number of Reads"
18 changes: 9 additions & 9 deletions assets/email_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<meta name="description" content="nfcore/rnaseq: a bioinformatics best-practice analysis pipeline used for RNA sequencing data at the National Genomics Infrastructure at SciLifeLab Stockholm, Sweden.">
<title>nfcore/rnaseq Pipeline Report</title>
<meta name="description" content="czbiohub/rnaseq: a bioinformatics best-practice analysis pipeline used for RNA sequencing data at the National Genomics Infrastructure at SciLifeLab Stockholm, Sweden.">
<title>czbiohub/rnaseq Pipeline Report</title>
</head>
<body>
<div style="font-family: Helvetica, Arial, sans-serif; padding: 30px; max-width: 800px; margin: 0 auto;">

<img src="cid:nfcorernaseqlogo">
<img src="cid:czbiohubrnaseqlogo">

<h1>nfcore/rnaseq: version ${version}</h1>
<h1>czbiohub/rnaseq: version ${version}</h1>
<h2>Run Name: $runName</h2>

<% if (!success){
out << """
<div style="color: #a94442; background-color: #f2dede; border-color: #ebccd1; padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px;">
<h4 style="margin-top:0; color: inherit;">nfcore/rnaseq execution completed unsuccessfully!</h4>
<h4 style="margin-top:0; color: inherit;">czbiohub/rnaseq execution completed unsuccessfully!</h4>
<p>The exit status of the task that caused the workflow execution to fail was: <code>$exitStatus</code>.</p>
<p>The full error message was:</p>
<pre style="white-space: pre-wrap; overflow: visible; margin-bottom: 0;">${errorReport}</pre>
Expand All @@ -28,7 +28,7 @@ <h4 style="margin-top:0; color: inherit;">nfcore/rnaseq execution completed unsu
} else if(skipped_poor_alignment.size() > 0) {
out << """
<div style="color: #856404; background-color: #fff3cd; border-color: #ffeeba; padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px;">
<h4 style="margin-top:0; color: inherit;">nfcore/rnaseq execution completed with warnings!</h4>
<h4 style="margin-top:0; color: inherit;">czbiohub/rnaseq execution completed with warnings!</h4>
<p>The pipeline finished successfully, but the following samples were skipped due to very low alignment (&lt; 5%):</p>
<ul>
<li><code>${skipped_poor_alignment.join('</code></li><li><code>')}</code></li>
Expand All @@ -39,7 +39,7 @@ <h4 style="margin-top:0; color: inherit;">nfcore/rnaseq execution completed with
} else {
out << """
<div style="color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px;">
nfcore/rnaseq execution completed successfully!
czbiohub/rnaseq execution completed successfully!
</div>
"""
}
Expand All @@ -56,9 +56,9 @@ <h3>Pipeline Configuration:</h3>
</tbody>
</table>

<p>nfcore/rnaseq is a bioinformatics best-practice analysis pipeline used for RNA sequencing data at the National Genomics Infrastructure at SciLifeLab Stockholm, Sweden.</p>
<p>czbiohub/rnaseq is a bioinformatics best-practice analysis pipeline used for RNA sequencing data at the National Genomics Infrastructure at SciLifeLab Stockholm, Sweden.</p>
<p>The pipeline uses Nextflow, a bioinformatics workflow tool. It pre-processes raw data from FastQ inputs, aligns the reads and performs extensive quality-control on the results.</p>
<p>For more information, please see the pipeline homepage: <a href="https://github.com/nf-core/rnaseq">https://github.com/nf-core/rnaseq</a></p>
<p>For more information, please see the pipeline homepage: <a href="https://github.com/czbiohub/rnaseq">https://github.com/czbiohub/rnaseq</a></p>

<hr style="height: 3px; padding: 0; margin: 24px 0; background-color: #e1e4e8; border: 0;">

Expand Down
Loading