Skip to content

Commit c360d1f

Browse files
authored
📝 warn that conda support is removed (#1)
* 🔖 bump release to 1.4.0 * 📝 warn that conda support is removed -🎨 reduce line length a bit - still hints to nf-co.re * :format:🐛 format and update links to documentation or scripts * 🐛 fix indentation of listing * 🎨 links and parameter highlight typo * 🎨 parameter highlighting * 🎨 remove warning on title underscoring * 🐛 add absolute quantification to toctree * :big: add ms2rescore to toctree * 🐛 update links to openms docs * 🎨 updating link - no release links, but nightly - new dataframe overview * 🎨 fix some warnings - headlines and indentation related * 🔥 remove README from pipeline * 📝 update or remove hints to conda packages * 🎨 add ai suggestions on formatting and phrasing * 📝 add documentation for build process * 🎨 AI language and formatting suggestions * 🎨 Capitalize
1 parent 29d0480 commit c360d1f

14 files changed

+146
-204
lines changed

README.md

Lines changed: 21 additions & 138 deletions
Original file line numberDiff line numberDiff line change
@@ -1,149 +1,32 @@
11
# ![nf-core/quantms](docs/images/nf-core-quantms_logo_light.png#gh-light-mode-only) ![nf-core/quantms](docs/images/nf-core-quantms_logo_dark.png#gh-dark-mode-only)
22

3-
[![GitHub Actions CI Status](https://github.com/nf-core/quantms/workflows/nf-core%20CI/badge.svg)](https://github.com/nf-core/quantms/actions?query=workflow%3A%22nf-core+CI%22)
4-
[![GitHub Actions Linting Status](https://github.com/nf-core/quantms/workflows/nf-core%20linting/badge.svg)](https://github.com/nf-core/quantms/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/quantms/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)
3+
Source repository for the Sphinx documentation of the `bigbio/quantms` Nextflow pipeline.
74

8-
[![Nextflow](https://img.shields.io/badge/nextflow%20DSL2-%E2%89%A521.10.3-23aa62.svg?labelColor=000000)](https://www.nextflow.io/)
9-
[![run with conda](http://img.shields.io/badge/run%20with-conda-3EB049?labelColor=000000&logo=anaconda)](https://docs.conda.io/en/latest/)
10-
[![run with docker](https://img.shields.io/badge/run%20with-docker-0db7ed?labelColor=000000&logo=docker)](https://www.docker.com/)
11-
[![run with singularity](https://img.shields.io/badge/run%20with-singularity-1d355c.svg?labelColor=000000)](https://sylabs.io/docs/)
5+
## Docs Creation
126

13-
[![Get help on Slack](http://img.shields.io/badge/slack-nf--core%20%23quantms-4A154B?labelColor=000000&logo=slack)](https://nfcore.slack.com/channels/quantms)
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)
7+
The documentation is built by ReadTheDocs. You can see previews of your changes for
8+
a PR-specific build on
9+
[ReadTheDocs project builds](https://readthedocs.org/projects/quantms-readthedocs/builds/),
10+
and under the Actions tab of this PR.
1611

17-
## Introduction
12+
### Local Build
1813

19-
<!-- TODO nf-core: Write a 1-2 sentence summary of what data the pipeline is for and what it does -->
14+
In order to build the docs, you need to
2015

21-
**nf-core/quantms** is a bioinformatics best-practice analysis pipeline for Quantitative Mass Spectrometry (MS). Currently, the workflow supports three major MS-based analytical methods: (i) Data dependant acquisition (DDA) label-free and Isobaric quantitation (e.g. TMT, iTRAQ); (ii) Data independent acquisition (DIA) label-free quantification (for details see our in-depth documentation on [quantms](https://quantms.readthedocs.io/en/latest/)).
16+
1. Install sphinx and additional support packages
17+
2. Build the package reference files
18+
3. Run sphinx to create a local html version
2219

23-
<p align="center">
24-
<img src="docs/images/quantms.png" alt="nf-core/quantms workflow overview" width="60%">
25-
</p>
20+
Install the docs dependencies of the package (as specified in `requirements.txt`):
2621

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!
22+
```bash
23+
# in main folder
24+
pip install -r requirements.txt
25+
```
2826

29-
<!-- TODO nf-core: Add full-sized test dataset and amend the paragraph below if applicable -->
27+
Run the following command inside the `docs` folder to build the HTML:
3028

31-
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/quantms/results). This gives you a hint on which reports and file types are produced by the pipeline in a standard run. The automatic continuous integration tests evaluate different workflows, including the peptide identification, quantification for LFQ, LFQ-DIA, and TMT test datasets.
32-
33-
## Pipeline summary
34-
35-
<!-- TODO nf-core: Fill in short bullet-pointed list of the default steps in the pipeline -->
36-
37-
The quantms allows uses to perform analysis in three main type of analytical MS-based quantitative methods: DDA-LFQ, DDA-ISO, DIA-LFQ. Each of these workflows share some processes but also includes their own steps. In summary:
38-
39-
DDA-LFQ:
40-
41-
1. RAW file conversion to mzML ([`thermorawfileparser`](https://github.com/compomics/ThermoRawFileParser))
42-
2. Peptide identification using [`comet`](https://uwpr.github.io/Comet/) and/or [`msgf+`](https://github.com/MSGFPlus/msgfplus)
43-
3. (Optional) Add extra PSM features using [`ms2rescore`](https://github.com/compomics/ms2rescore)
44-
4. Re-scoring peptide identifications [`percolator`](https://github.com/percolator/percolator)
45-
5. Peptide identification FDR [`openms fdr tool`](https://github.com/ypriverol/quantms/blob/dev/modules/local/openms/falsediscoveryrate/main.nf)
46-
6. Modification localization [`luciphor`](https://github.com/dfermin/lucXor)
47-
7. Quantification: Feature detection [`proteomicsLFQ`](https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Documentation/nightly/html/UTILS_ProteomicsLFQ.html)
48-
8. Protein inference and quantification [`proteomicsLFQ`](https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Documentation/nightly/html/UTILS_ProteomicsLFQ.html)
49-
9. QC report generation [`pmultiqc`](https://github.com/bigbio/pmultiqc)
50-
10. Normalization, imputation, significance testing with [`MSstats`](https://github.com/VitekLab/MSstats)
51-
52-
DDA-ISO:
53-
54-
1. RAW file conversion to mzML ([`thermorawfileparser`](https://github.com/compomics/ThermoRawFileParser))
55-
2. Peptide identification using [`comet`](https://uwpr.github.io/Comet/) and/or [`msgf+`](https://github.com/MSGFPlus/msgfplus)
56-
3. (Optional) Add extra PSM features using [`ms2rescore`](https://github.com/compomics/ms2rescore)
57-
4. Re-scoring peptide identifications [`percolator`](https://github.com/percolator/percolator)
58-
5. Peptide identification FDR [`openms fdr tool`](https://github.com/ypriverol/quantms/blob/dev/modules/local/openms/falsediscoveryrate/main.nf)
59-
6. Modification localization [`luciphor`](https://github.com/dfermin/lucXor)
60-
7. Extracts and normalizes isobaric labeling [`IsobaricAnalyzer`](https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Documentation/nightly/html/TOPP_IsobaricAnalyzer.html)
61-
8. Protein inference [`ProteinInference`](https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Documentation/nightly/html/TOPP_ProteinInference.html) or [`Epifany`](https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Documentation/nightly/html/UTILS_Epifany.html) for bayesian inference.
62-
9. Protein Quantification [`ProteinQuantifier`](https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Documentation/nightly/html/TOPP_ProteinQuantifier.html)
63-
10. QC report generation [`pmultiqc`](https://github.com/bigbio/pmultiqc)
64-
11. Normalization, imputation, significance testing with [`MSstats`](https://github.com/VitekLab/MSstats)
65-
66-
DIA-LFQ:
67-
68-
1. RAW file conversion to mzML ([`thermorawfileparser`](https://github.com/compomics/ThermoRawFileParser))
69-
2. DIA-NN analysis [`dia-nn`](https://github.com/vdemichev/DiaNN/)
70-
3. Generation of output files (msstats)
71-
4. QC reports generation [`pmultiqc`](https://github.com/bigbio/pmultiqc)
72-
73-
## Functionality overview
74-
75-
A graphical overview of suggested routes through the pipeline depending on context can be seen below.
76-
77-
<p align="center">
78-
<img src="docs/images/quantms_metro.png" alt="nf-core/quantms metro map" width="70%">
79-
</p>
80-
81-
## Quick Start
82-
83-
1. Install [`Nextflow`](https://www.nextflow.io/docs/latest/getstarted.html#installation) (`>=21.10.3`)
84-
85-
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))_
86-
87-
3. Download the pipeline and test it on a minimal dataset with a single command:
88-
89-
```console
90-
nextflow run nf-core/quantms -profile test,YOURPROFILE --input project.sdrf.tsv --database protein.fasta --outdir <OUTDIR>
91-
```
92-
93-
Note that some form of configuration will be needed so that Nextflow knows how to fetch the required software. This is usually done in the form of a config profile (`YOURPROFILE` in the example command above). You can chain multiple config profiles in a comma-separated string.
94-
95-
> - The pipeline comes with config profiles called `docker`, `singularity`, `podman`, `shifter`, `charliecloud` and `conda` which instruct the pipeline to use the named tool for software management. For example, `-profile test,docker`.
96-
> - 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.
97-
> - If you are using `singularity` and are persistently observing issues downloading Singularity images directly due to timeout or network issues, then you can use the `--singularity_pull_docker_container` parameter to pull and convert the Docker image instead. Alternatively, you can use the [`nf-core download`](https://nf-co.re/tools/#downloading-pipelines-for-offline-use) command to download images first, before running the pipeline. Setting the [`NXF_SINGULARITY_CACHEDIR` or `singularity.cacheDir`](https://www.nextflow.io/docs/latest/singularity.html?#singularity-docker-hub) Nextflow options enables you to store and re-use the images from a central location for future pipeline runs.
98-
> - 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.
99-
>
100-
> * The pipeline comes with config profiles called `docker`, `singularity`, `podman`, `shifter`, `charliecloud` and `conda` which instruct the pipeline to use the named tool for software management. For example, `-profile test,docker`.
101-
> * 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.
102-
> * If you are using `singularity`, please use the [`nf-core download`](https://nf-co.re/tools/#downloading-pipelines-for-offline-use) command to download images first, before running the pipeline. Setting the [`NXF_SINGULARITY_CACHEDIR` or `singularity.cacheDir`](https://www.nextflow.io/docs/latest/singularity.html?#singularity-docker-hub) Nextflow options enables you to store and re-use the images from a central location for future pipeline runs.
103-
> * 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.
104-
105-
4. Start running your own analysis!
106-
107-
<!-- TODO nf-core: Update the example "typical command" below used to run the pipeline -->
108-
109-
```console
110-
nextflow run nf-core/quantms -profile <docker/singularity/podman/shifter/charliecloud/conda/institute> --input project.sdrf.tsv --database database.fasta --outdir <OUTDIR>
111-
```
112-
113-
## Documentation
114-
115-
The nf-core/quantms pipeline comes with a stand-alone [full documentation](https://quantms.readthedocs.io/en/latest/) including examples, benchmarks, and detailed explanation about the data analysis of proteomics data using quantms. In addition, quickstart documentation of the pipeline can be found in: [usage](https://nf-co.re/quantms/usage), [parameters](https://nf-co.re/quantms/parameters) and [output](https://nf-co.re/quantms/output).
116-
117-
## Credits
118-
119-
nf-core/quantms was originally written by: Chengxin Dai ([@daichengxin](https://github.com/daichengxin)), Julianus Pfeuffer ([@jpfeuffer](https://github.com/jpfeuffer)) and Yasset Perez-Riverol ([@ypriverol](https://github.com/ypriverol)).
120-
121-
We thank the following people for their extensive assistance in the development of this pipeline:
122-
123-
- Timo Sachsenberg ([@timosachsenberg](https://github.com/timosachsenberg))
124-
- Wang Hong ([@WangHong007](https://github.com/WangHong007))
125-
126-
<!-- TODO nf-core: If applicable, make list of people who have also contributed -->
127-
128-
## Contributions and Support
129-
130-
If you would like to contribute to this pipeline, please see the [contributing guidelines](.github/CONTRIBUTING.md).
131-
132-
For further information or help, don't hesitate to get in touch on the [Slack `#quantms` channel](https://nfcore.slack.com/channels/quantms) (you can join with [this invite](https://nf-co.re/join/slack)). In addition, users can get in touch using our [discussion forum](https://github.com/bigbio/quantms/discussions)
133-
134-
## Citations
135-
136-
<!-- 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. -->
137-
<!-- If you use nf-core/quantms for your analysis, please cite it using the following doi: [10.5281/zenodo.XXXXXX](https://doi.org/10.5281/zenodo.XXXXXX) -->
138-
139-
<!-- TODO nf-core: Add bibliography of tools and data used in your pipeline -->
140-
141-
An extensive list of references for the tools used by the pipeline can be found in the [`CITATIONS.md`](CITATIONS.md) file.
142-
143-
You can cite the `nf-core` publication as follows:
144-
145-
> **The nf-core framework for community-curated bioinformatics pipelines.**
146-
>
147-
> Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso & Sven Nahnsen.
148-
>
149-
> _Nat Biotechnol._ 2020 Feb 13. doi: [10.1038/s41587-020-0439-x](https://dx.doi.org/10.1038/s41587-020-0439-x).
29+
```bash
30+
# build page in docs folder
31+
sphinx-build -n -W --keep-going -b html ./ ./_build/
32+
```

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'daichengxin, jpfeuffer, timosachenberg, ypriverol'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '1.3.0'
25+
release = '1.4.0'
2626

2727

2828
# -- General configuration ---------------------------------------------------

docs/dda.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ but absolute expression is also possible to perform (read more :doc:`absolute`)
2828

2929
.. toctree::
3030
:maxdepth: 2
31+
:hidden:
3132

3233
lfq
3334
iso
35+
absolute
3436
inference
37+

0 commit comments

Comments
 (0)