-
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.
Merge branch 'master' into workflow-output-dsl
Signed-off-by: Ben Sherman <[email protected]>
- Loading branch information
Showing
16 changed files
with
47,257 additions
and
476 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
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,8 @@ | ||
name: rnaseq-nf | ||
channels: | ||
- seqera | ||
- bioconda | ||
- conda-forge | ||
- defaults | ||
- conda-forge | ||
- bioconda | ||
dependencies: | ||
- salmon=1.10.2 | ||
- fastqc=0.12.1 | ||
- multiqc=1.15 | ||
- bioconda::fastqc=0.12.1 | ||
- bioconda::multiqc=1.25 | ||
- bioconda::salmon=1.10.3 |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
FROM mambaorg/micromamba | ||
# | ||
# don't waste your time with this | ||
# use seqera containers https://seqera.io/containers/ | ||
# | ||
FROM mambaorg/micromamba:1.5.10-noble | ||
MAINTAINER Paolo Di Tommaso <[email protected]> | ||
|
||
RUN \ | ||
micromamba install -y -n base -c defaults -c bioconda -c conda-forge \ | ||
salmon=1.10.2 \ | ||
fastqc=0.12.1 \ | ||
multiqc=1.17 \ | ||
python=3.11 \ | ||
typing_extensions \ | ||
importlib_metadata \ | ||
procps-ng \ | ||
&& micromamba clean -a -y | ||
COPY --chown=$MAMBA_USER:$MAMBA_USER conda.yml /tmp/conda.yml | ||
RUN micromamba install -y -n base -f /tmp/conda.yml \ | ||
&& micromamba install -y -n base conda-forge::procps-ng \ | ||
&& micromamba clean -a -y | ||
|
||
ENV PATH="$MAMBA_ROOT_PREFIX/bin:$PATH" | ||
USER root |
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,10 @@ | ||
version ?= v1.2.1 | ||
version ?= v1.3.0 | ||
|
||
all: build push | ||
|
||
build: | ||
cp ../conda.yml . | ||
docker build --output=type=docker --progress=plain --tag quay.io/nextflow/rnaseq-nf:${version} . | ||
docker build --output=type=docker --progress=plain --tag docker.io/nextflow/rnaseq-nf:${version} . | ||
|
||
push: | ||
docker push quay.io/nextflow/rnaseq-nf:${version} | ||
docker push docker.io/nextflow/rnaseq-nf:${version} |
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,29 +1,9 @@ | ||
#!/usr/bin/env nextflow | ||
|
||
/* | ||
* Copyright (c) 2013-2023, Seqera Labs. | ||
* | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
* | ||
* This Source Code Form is "Incompatible With Secondary Licenses", as | ||
* defined by the Mozilla Public License, v. 2.0. | ||
*/ | ||
|
||
/* | ||
* Proof of concept of a RNAseq pipeline implemented with Nextflow | ||
* | ||
* Authors: | ||
* - Paolo Di Tommaso <[email protected]> | ||
* - Emilio Palumbo <[email protected]> | ||
* - Evan Floden <[email protected]> | ||
*/ | ||
|
||
/* | ||
* enables modules | ||
*/ | ||
nextflow.enable.dsl = 2 | ||
|
||
nextflow.preview.output = true | ||
|
||
|
@@ -37,13 +17,6 @@ params.transcriptome = "$baseDir/data/ggal/ggal_1_48850000_49020000.Ggal71.500bp | |
params.outdir = "results" | ||
params.multiqc = "$baseDir/multiqc" | ||
|
||
log.info """\ | ||
R N A S E Q - N F P I P E L I N E | ||
=================================== | ||
transcriptome: ${params.transcriptome} | ||
reads : ${params.reads} | ||
outdir : ${params.outdir} | ||
""" | ||
|
||
// import modules | ||
include { RNASEQ } from './modules/rnaseq' | ||
|
@@ -53,6 +26,15 @@ include { MULTIQC } from './modules/multiqc' | |
* main script flow | ||
*/ | ||
workflow { | ||
|
||
log.info """\ | ||
R N A S E Q - N F P I P E L I N E | ||
=================================== | ||
transcriptome: ${params.transcriptome} | ||
reads : ${params.reads} | ||
outdir : ${params.outdir} | ||
""" | ||
|
||
read_pairs_ch = channel.fromFilePairs( params.reads, checkIfExists: true ) | ||
RNASEQ( params.transcriptome, read_pairs_ch ) | ||
MULTIQC( RNASEQ.out, params.multiqc ) | ||
|
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
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,7 +1,7 @@ | ||
|
||
process QUANT { | ||
tag "$pair_id" | ||
conda 'salmon=1.10.2' | ||
conda 'bioconda::salmon=1.10.3' | ||
|
||
input: | ||
path index | ||
|
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