Skip to content

Commit 4f727fd

Browse files
authored
Merge pull request #8 from CDCgov/hseabolt-readme-patch
Update README.md to only reflect caution message and disclaimer.
2 parents 5a485b3 + 354f387 commit 4f727fd

File tree

1 file changed

+2
-144
lines changed

1 file changed

+2
-144
lines changed

README.md

+2-144
Original file line numberDiff line numberDiff line change
@@ -1,153 +1,11 @@
11
# ![nf-core/aquascope](docs/images/nf-core-aquascope_logo.png)
22

3-
[![GitHub Actions CI Status](https://github.com/nf-core/aquascope/workflows/nf-core%20CI/badge.svg)](https://github.com/nf-core/aquascope/actions?query=workflow%3A%22nf-core+CI%22)
4-
[![GitHub Actions Linting Status](https://github.com/nf-core/aquascope/workflows/nf-core%20linting/badge.svg)](https://github.com/nf-core/aquascope/actions?query=workflow%3A%22nf-core+linting%22)
5-
[![AWS CI](https://img.shields.io/badge/CI%20tests-full%20size-FF9900?labelColor=000000&logo=Amazon%20AWS)](https://nf-co.re/aquascope/results)
6-
[![Cite with Zenodo](http://img.shields.io/badge/DOI-10.5281/zenodo.XXXXXXX-1073c8?labelColor=000000)](https://doi.org/10.5281/zenodo.XXXXXXX)
7-
83
[![Nextflow](https://img.shields.io/badge/nextflow%20DSL2-%E2%89%A521.04.0-23aa62.svg?labelColor=000000)](https://www.nextflow.io/)
94
[![run with conda](http://img.shields.io/badge/run%20with-conda-3EB049?labelColor=000000&logo=anaconda)](https://docs.conda.io/en/latest/)
105
[![run with docker](https://img.shields.io/badge/run%20with-docker-0db7ed?labelColor=000000&logo=docker)](https://www.docker.com/)
116
[![run with singularity](https://img.shields.io/badge/run%20with-singularity-1d355c.svg?labelColor=000000)](https://sylabs.io/docs/)
127

13-
[![Get help on Slack](http://img.shields.io/badge/slack-nf--core%20%23aquascope-4A154B?labelColor=000000&logo=slack)](https://nfcore.slack.com/channels/aquascope)
14-
[![Follow on Twitter](http://img.shields.io/badge/twitter-%40nf__core-1DA1F2?labelColor=000000&logo=twitter)](https://twitter.com/nf_core)
15-
[![Watch on YouTube](http://img.shields.io/badge/youtube-nf--core-FF0000?labelColor=000000&logo=youtube)](https://www.youtube.com/c/nf-core)
16-
17-
## NOTE
18-
19-
This project is a successor to the [C-WAP pipeline](https://github.com/CFSAN-Biostatistics/C-WAP).
20-
21-
22-
## Introduction
23-
24-
<!-- TODO nf-core: Write a 1-2 sentence summary of what data the pipeline is for and what it does -->
25-
**nf-core/aquascope** is a bioinformatics best-practice analysis pipeline for early detection of SC2 variants of concern via shotgun metagenomic sequencing of wastewater.
26-
27-
The pipeline is built using [Nextflow](https://www.nextflow.io), a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It uses Docker/Singularity containers making installation trivial and results highly reproducible. The [Nextflow DSL2](https://www.nextflow.io/docs/latest/dsl2.html) implementation of this pipeline uses one container per process which makes it much easier to maintain and update software dependencies. Where possible, these processes have been submitted to and installed from [nf-core/modules](https://github.com/nf-core/modules) in order to make them available to all nf-core pipelines, and to everyone within the Nextflow community!
28-
29-
<!-- TODO nf-core: Add full-sized test dataset and amend the paragraph below if applicable -->
30-
On release, automated continuous integration tests run the pipeline on a full-sized dataset on the AWS cloud infrastructure. This ensures that the pipeline runs on AWS, has sensible resource allocation defaults set to run on real-world datasets, and permits the persistent storage of results to benchmark between pipeline releases and other analysis sources. The results obtained from the full-sized test can be viewed on the [nf-core website](https://nf-co.re/aquascope/results).
31-
32-
## Pipeline summary
33-
34-
<!-- TODO nf-core: Fill in short bullet-pointed list of the default steps in the pipeline -->
35-
36-
1. Read QC ([`FastQC`](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/))
37-
2. Trimming reads (['Fastp'] (https://github.com/OpenGene/fastp) )
38-
3. Aligning short reads (['Minimap2] (https://github.com/lh3/minimap2))
39-
4. Ivar trim aligned reads (['IVAR Trim'] (https://andersen-lab.github.io/ivar/html/manualpage.html))
40-
6. Freyja Variant classification (['Freyja'] (https://github.com/andersen-lab/Freyja))
41-
7. Present QC for raw reads ([`MultiQC`](http://multiqc.info/))
42-
43-
## Quick Start
44-
45-
1. Install [`Nextflow`](https://www.nextflow.io/docs/latest/getstarted.html#installation) (`>=22.10.0`)
46-
47-
2. Install any of [`Docker`](https://docs.docker.com/engine/installation/), [`Singularity`](https://www.sylabs.io/guides/3.0/user-guide/), [`Podman`](https://podman.io/), [`Shifter`](https://nersc.gitlab.io/development/shifter/how-to-use/) or [`Charliecloud`](https://hpc.github.io/charliecloud/) for full pipeline reproducibility _(please only use [`Conda`](https://conda.io/miniconda.html) as a last resort; see [docs](https://nf-co.re/usage/configuration#basic-configuration-profiles))_
48-
49-
3. Install a conda environment within your local workspace.
50-
> * For SciComp users, please use module load miniconda3 and create a nextflow environment within your HOME Directory
51-
> * For all other users, please install a local conda from either Anaconda bash script or Miniconda bash script found here:
52-
https://conda.io/projects/conda/en/latest/user-guide/install/linux.html
53-
> * Once installation is complete, conda activate <newlycreatedenvironment> && install nextflow('>=22.10.0')
54-
55-
4. The samplesheet.csv is in assets folder, that contains path to samples reflecting various input types (there are 2 E.coli samples from nanopore that error out on Freyja demix and bootstrap for obvious reasons)
56-
57-
5. To create additional sample sheets, please follow the format in the samplesheet.csv from assets folder, header has changed from the previous file.
58-
59-
```console
60-
sample,platform,fastq_1,fastq_2,lr,bam_file
61-
mock1,illumina,mock_R1.fastq.gz,mock_R2.fastq.gz,,
62-
mock2,illumina,mock_R1.fastq.gz,,,
63-
mock3,nanopore,,,mock3_longread.fastq.gz,
64-
mock4,pacbio,,,mock4_longread.fastq.gz,
65-
mock5,iontorrent,,,,mock5.bam
66-
```
67-
> * The above format accounts for single- & paired-end data from Illumina, long-reads from nanopore/pacbio and bam_file from iontorrent.
68-
69-
> * However, iontorrent input isn't processed through this pipeline, a subworkflow is in active development.
70-
71-
6. test.config file already contains path to input, genome fasta, fai, primer (ARCTIC V4_1 & ARCTIC_V3 primers are used currently).
72-
73-
7. Download the pipeline and test it on a minimal dataset with a single command:
74-
75-
```console
76-
nextflow run main.nf -profile test,singularity,sge -bg
77-
```
78-
79-
> * Please check [nf-core/configs](https://github.com/nf-core/configs#documentation) to see if a custom config file to run nf-core pipelines already exists for your Institute. If so, you can simply use `-profile <institute>` in your command. This will enable either `docker` or `singularity` and set the appropriate execution settings for your local compute environment.
80-
> * If you are using `singularity` then the pipeline will auto-detect this and attempt to download the Singularity images directly as opposed to performing a conversion from Docker images. If you are persistently observing issues downloading Singularity images directly due to timeout or network issues then please use the `--singularity_pull_docker_container` parameter to pull and convert the Docker image instead. Alternatively, it is highly recommended to use the [`nf-core download`](https://nf-co.re/tools/#downloading-pipelines-for-offline-use) command to pre-download all of the required containers before running the pipeline and to set the [`NXF_SINGULARITY_CACHEDIR` or `singularity.cacheDir`](https://www.nextflow.io/docs/latest/singularity.html?#singularity-docker-hub) Nextflow options to be able to store and re-use the images from a central location for future pipeline runs.
81-
> * If you are using `conda`, it is highly recommended to use the [`NXF_CONDA_CACHEDIR` or `conda.cacheDir`](https://www.nextflow.io/docs/latest/conda.html) settings to store the environments in a central location for future pipeline runs.
82-
> * Special Note: For SciComp users, Please always use "Singularity" for your runs, as docker isn't supported due to firewall/security issues
83-
84-
8. Start running your own analysis!
85-
86-
```console
87-
nextflow run main.nf -profile <docker/singularity/conda/institute> --input samplesheet.csv --fasta assets/references/wuhan.fa --fai assets/references/wuhan.fai --gff assets/references/wuhan.GFF3 --bedfile assets/ARTICv4_1.bed --outdir results
88-
```
89-
9. For Custom Reference files and Inputs, please use the following command:
90-
91-
```console
92-
nextflow run main.nf -profile <docker/singularity/conda/institute> --input <custom-samplesheet.csv> --outdir <custom-output directory>
93-
--fasta <custom_reference> --fai <custom fasta index> --gff <custom annotation file> --bedfile <custom primers> --workdir <always redirect it to scratch space> -bg
94-
```
95-
## Troubleshooting
96-
97-
1. For `conda` problems, please check the version of nextflow that is in your local conda environment, it must be '>=22.10.0'
98-
99-
2. For `Singularity` issues, please check if you have set the environment variables, if you haven't please do the following:
100-
```console
101-
102-
export SINGULARITY_CACHE=$HOME/singularity_img
103-
export TMPDIR=$HOME/tmpdir
104-
export NF_SINGULARITY_CACHE=$HOME/nf_singularity_img
105-
export SINGULARITY_TMPDIR=$HOME/singularity_tmpdir
106-
107-
```
108-
3. For `Docker` issues, for non-Scicomp users, please check with your sys admin to chart out a course to run this pipeline on your systems
109-
110-
4. For `security certificate` issues, reach out to your sys admin to set the ca-certificates (only needed if you didn't already set it up)
111-
112-
```console
113-
export REQUESTS_CA_BUNDLE=<path to .pem> specific to cdc users!
114-
115-
```
116-
5. For `java` issues, please use the nextflow recommended version and set the environment variable for TMPDIR (refer to 2)
117-
118-
6. For `nextflow` issues, check the samplesheet, nextflow version, singularity export commands (refer to 2), java jdk version, command line parameters
119-
120-
## Documentation
121-
122-
The nf-core/aquascope pipeline comes with documentation about the pipeline [usage](https://nf-co.re/aquascope/usage), [parameters](https://nf-co.re/aquascope/parameters) and [output](https://nf-co.re/aquascope/output).
123-
124-
## Credits
125-
126-
nf-core/aquascope was originally written by Arun Boddapati, Hunter Seabolt, SciComp.
127-
128-
We thank the following people for their extensive assistance in the development of this pipeline:
129-
130-
<!-- TODO nf-core: If applicable, make list of people who have also contributed -->
131-
132-
## Contributions and Support
133-
134-
If you would like to contribute to this pipeline, please see the [contributing guidelines](.github/CONTRIBUTING.md).
135-
136-
For further information or help, don't hesitate to get in touch on the [Slack `#aquascope` channel](https://nfcore.slack.com/channels/aquascope) (you can join with [this invite](https://nf-co.re/join/slack)).
137-
138-
## Citations
139-
140-
<!-- TODO nf-core: Add citation for pipeline after first release. Uncomment lines below and update Zenodo doi and badge at the top of this file. -->
141-
<!-- If you use nf-core/aquascope for your analysis, please cite it using the following doi: [10.5281/zenodo.XXXXXX](https://doi.org/10.5281/zenodo.XXXXXX) -->
142-
143-
<!-- TODO nf-core: Add bibliography of tools and data used in your pipeline -->
144-
An extensive list of references for the tools used by the pipeline can be found in the [`CITATIONS.md`](CITATIONS.md) file.
145-
146-
You can cite the `nf-core` publication as follows:
8+
## This project is a successor to the [C-WAP pipeline](https://github.com/CFSAN-Biostatistics/C-WAP) and is under development as we prepare for a vs 1.0 release which will be available shortly.
1479

148-
> **The nf-core framework for community-curated bioinformatics pipelines.**
149-
>
150-
> Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso & Sven Nahnsen.
151-
>
152-
> _Nat Biotechnol._ 2020 Feb 13. doi: [10.1038/s41587-020-0439-x](https://dx.doi.org/10.1038/s41587-020-0439-x).
10+
## Please exercise caution when using code shared on this repo until the version 1.0 release. The results generated by this pipeline are not CLIA certified and should not be considered diagnostic.
15311

0 commit comments

Comments
 (0)