Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ The final output from this pipeline includes Lima output files, demultiplexed BA

## Dependencies

This pipeline requires installation of [Nextflow](https://www.nextflow.io/docs/latest/install.html) and a containerization platform such as [Docker](https://docs.docker.com/engine/install/).
This pipeline requires installation of [Nextflow](https://www.nextflow.io/docs/latest/install.html).
It also requires installation of either a containerization platform such as [Docker](https://docs.docker.com/engine/install/) or a package manager such as [conda/mamba](https://mamba.readthedocs.io/en/latest/installation/mamba-installation.html).

## Docker Containers

Expand All @@ -35,6 +36,10 @@ All docker containers used in this pipeline are publicly available.
- *fastqc*: quay.io/biocontainers/fastqc:0.12.1--hdfd78af_0
- *multiqc*: quay.io/biocontainers/multiqc:1.21--pyhdfd78af_0

## Conda Environment

The conda environment is defined in `environment-pipeline.yml` and will be built automatically if the pipeline is run with `-profile conda`.

# How to run the pipeline:

## Required Parameters
Expand Down Expand Up @@ -69,6 +74,7 @@ Several profiles are available and can be selected with the `-profile` option at

- `apptainer`
- `aws`
- `conda`
- `docker`
- `singularity`

Expand All @@ -86,6 +92,8 @@ nextflow run \

# Running Test Data

## With Docker

The pipeline can be run using included test data with:

```bash
Expand All @@ -100,6 +108,20 @@ nextflow run \
-resume
```

## With Conda

```bash
nextflow run \
-profile conda \
main.nf \
-c nextflow.config \
--pool_sheet "${PWD}/tests/pool_sheet.csv" \
--output "${PWD}/test_output" \
-with-report \
-with-trace \
-resume
```

## Expected Outputs

```console
Expand Down
1 change: 0 additions & 1 deletion environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: longplex-nf-dev
channels:
- conda-forge
- bioconda
- defaults
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Good to drop defaults with the recent Anaconda debacle.

dependencies:
- bioconda::nextflow=23.10.1
- conda-forge::python=3.11.0
Expand Down
21 changes: 21 additions & 0 deletions environment-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: longplex-nf
channels:
- conda-forge
- bioconda
dependencies:
- bioconda::fastqc=0.12.1
- bioconda::lima=2.7.1
- bioconda::multiqc=1.21
- bioconda::picard=3.2.0
- bioconda::samtools=1.19.2
- conda-forge::python=3.11.0
- conda-forge::pip=22.3.1
- conda-forge::r-base=4.3.3
- conda-forge::r-dplyr=1.1.4
- conda-forge::r-purrr=1.0.2
- conda-forge::r-readr=2.1.5
- conda-forge::r-stringr=1.5.1
- conda-forge::r-tidyr=1.3.1

- pip:
- git+https://github.com/seqwell/longplexpy@0.1.0
5 changes: 5 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ profiles {
docker.enabled = true
}

conda {
conda.enabled = true
process.conda = 'environment-pipeline.yml'
}

Comment thread
znorgaard marked this conversation as resolved.
singularity {
singularity.enabled = true
}
Expand Down