differentialabundance
Differential abundance analysis for feature/ observation matrices from platforms such as RNA-seq
Science Score: 57.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 10 DOI reference(s) in README -
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.3%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Differential abundance analysis for feature/ observation matrices from platforms such as RNA-seq
Basic Info
- Host: GitHub
- Owner: nf-core
- License: mit
- Language: Nextflow
- Default Branch: master
- Homepage: https://nf-co.re/differentialabundance
- Size: 9.88 MB
Statistics
- Stars: 81
- Watchers: 164
- Forks: 52
- Open Issues: 83
- Releases: 9
Topics
Metadata Files
README.md
Introduction
nf-core/differentialabundance is a bioinformatics pipeline that can be used to analyse data represented as matrices, comparing groups of observations to generate differential statistics and downstream analyses. The pipeline supports RNA-seq data such as that generated by the nf-core rnaseq workflow, and Affymetrix arrays via .CEL files. Other types of matrix may also work with appropriate changes to parameters, and PRs to support additional specific modalities are welcomed.
The pipeline is built using Nextflow, 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 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 in order to make them available to all nf-core pipelines, and to everyone within the Nextflow community!
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.
Pipeline summary

- Optionally generate a list of genomic feature annotations using the input GTF file (if a table is not explicitly supplied).
- Cross-check matrices, sample annotations, feature set and contrasts to ensure consistency.
- Run differential analysis over all contrasts specified.
- Optionally run a differential gene set analysis.
- Generate exploratory and differential analysis plots for interpretation.
- Optionally build and (if specified) deploy a Shiny app for fully interactive mining of results.
- Build an HTML report based on R markdown, with interactive plots (where possible) and tables.
Usage
[!NOTE] If you are new to Nextflow and nf-core, please refer to this page on how to set-up Nextflow. Make sure to test your setup with
-profile testbefore running the workflow on actual data.
RNA-seq:
bash
nextflow run nf-core/differentialabundance \
--input samplesheet.csv \
--contrasts contrasts.csv \
--matrix assay_matrix.tsv \
--gtf mouse.gtf \
--outdir <OUTDIR> \
-profile rnaseq,<docker/singularity/podman/shifter/charliecloud/conda/institute>
:::note If you are using the outputs of the nf-core rnaseq workflow as input here either:
- supply the raw count matrices (file names like gene_counts.tsv) alongide the transcript length matrix via
--transcript_length_matrix(rnaseq versions >=3.12.0, preferred) - or supply the genecountslength_scaled.tsv or genecountsscaled.tsv matrices.
See the usage documentation for more information. :::
Affymetrix microarray:
bash
nextflow run nf-core/differentialabundance \
--input samplesheet.csv \
--contrasts contrasts.csv \
--affy_cel_files_archive cel_files.tar \
--outdir <OUTDIR> \
-profile affy,<docker/singularity/podman/shifter/charliecloud/conda/institute>
[!WARNING] Please provide pipeline parameters via the CLI or Nextflow
-params-fileoption. Custom config files including those provided by the-cNextflow option can be used to provide any configuration except for parameters; see docs.
For more details and further functionality, please refer to the usage documentation and the parameter documentation.
Reporting
The pipeline reports its outcomes in two forms.
R markdown and HTML
The primary workflow output is an HTML-format report produced from an R markdown template (you can also supply your own). This leverages helper functions from shinyngs to produce rich plots and tables, but does not provide significant interactivity.

Additionally, a zip file is produced by the pipeline, containing an R markdown file and all necessary file inputs for reporting. The markdown file is the same as the input template, but with the parameters set appropriately, so that you can run the reporting yourself in RStudio, and add any customisations you need.
Shiny-based data mining app
A second optional output is produced by leveraging shinyngs to build an interactive Shiny application. This allows more interaction with the data, setting of thresholds etc.


By default the application is provided as an R script and associated serialised data structure, which you can use to quickly start the application locally. With proper configuration the app can also be deployed to shinyapps.io - though this requires you to have an account on that service (free tier available).
Pipeline output
To see the results of an example test run with a full size dataset refer to the results tab on the nf-core website pipeline page. For more details about the output files and reports, please refer to the output documentation.
Credits
nf-core/differentialabundance was originally written by Jonathan Manning (@pinin4fjords) and Oskar Wacker (@WackerO). Jonathan Manning (now at Seqera) initially worked on this workflow as an employee of Healx, an AI-powered, patient-inspired tech company, accelerating the discovery and development of treatments for rare diseases. Oskar Wacker works for QBiC at Tübingen University. We are grateful for the support of open science in this project.
We thank the many members of the nf-core community who assisted with this pipeline, often by reviewing module pull requests including but not limited to:
Contributions and Support
If you would like to contribute to this pipeline, please see the contributing guidelines.
For further information or help, don't hesitate to get in touch on the Slack #differentialabundance channel (you can join with this invite).
Citations
If you use nf-core/differentialabundance for your analysis, please cite it using the following doi: 10.5281/zenodo.7568000.
An extensive list of references for the tools used by the pipeline can be found in the CITATIONS.md file.
This pipeline uses code and infrastructure developed and maintained by the nf-core community, reused here under the MIT license.
You can cite the nf-core publication as follows:
The nf-core framework for community-curated bioinformatics pipelines.
Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso & Sven Nahnsen.
Nat Biotechnol. 2020 Feb 13. doi: 10.1038/s41587-020-0439-x.
Owner
- Name: nf-core
- Login: nf-core
- Kind: organization
- Email: core@nf-co.re
- Website: http://nf-co.re
- Twitter: nf_core
- Repositories: 84
- Profile: https://github.com/nf-core
A community effort to collect a curated set of analysis pipelines built using Nextflow.
Citation (CITATIONS.md)
# nf-core/differentialabundance: Citations ## [nf-core](https://pubmed.ncbi.nlm.nih.gov/32055031/) > Ewels PA, Peltzer A, Fillinger S, Patel H, Alneberg J, Wilm A, Garcia MU, Di Tommaso P, Nahnsen S. The nf-core framework for community-curated bioinformatics pipelines. Nat Biotechnol. 2020 Mar;38(3):276-278. doi: 10.1038/s41587-020-0439-x. PubMed PMID: 32055031. ## [Nextflow](https://pubmed.ncbi.nlm.nih.gov/28398311/) > Di Tommaso P, Chatzou M, Floden EW, Barja PP, Palumbo E, Notredame C. Nextflow enables reproducible computational workflows. Nat Biotechnol. 2017 Apr 11;35(4):316-319. doi: 10.1038/nbt.3820. PubMed PMID: 28398311. ## Pipeline tools - [GSEA](https://www.gsea-msigdb.org/gsea/index.jsp) > Subramanian A, Tamayo P, Mootha VK, et al. Gene set enrichment analysis: a knowledge-based approach for interpreting genome-wide expression profiles. Proc Natl Acad Sci U S A. 2005;102(43):15545-15550. ## R packages - [affy](https://pubmed.ncbi.nlm.nih.gov/14960456/) > Gautier L, Cope L, Bolstad BM, Irizarry RA. Affy--analysis of affymetrix genechip data at the probe level. Bioinformatics. 2004;20(3):307-315. - [DESeq2](https://pubmed.ncbi.nlm.nih.gov/25516281/) > Love MI, Huber W, Anders S (2014). Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biol. 15(12):550. PubMed PMID: 25516281; PubMed Central PMCID: PMC4302049. - [GEOQuery](https://pubmed.ncbi.nlm.nih.gov/17496320/) > Davis S, Meltzer PS. Geoquery: a bridge between the gene expression omnibus (Geo) and bioconductor. Bioinformatics. 2007;23(14):1846-1847. - [ggplot2](https://cran.r-project.org/web/packages/ggplot2/index.html) > H. Wickham (2016). ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York. - [gprofiler2](https://cran.r-project.org/web/packages/gprofiler2/index.html) > Kolberg L, Raudvere U, Kuzmin I, Vilo J, Peterson H (2020). “gprofiler2– an R package for gene list functional enrichment analysis and namespace conversion toolset g:Profiler.” F1000Research, 9 (ELIXIR)(709). R package version 0.2.2. - [Limma](https://pubmed.ncbi.nlm.nih.gov/25605792/) > Ritchie ME, Phipson B, Wu D, et al. Limma powers differential expression analyses for rna-sequencing and microarray studies. Nucleic Acids Res. 2015;43(7):e47. - [optparse](https://CRAN.R-project.org/package=optparse) > Trevor L Davis (2018). optparse: Command Line Option Parser. - [plotly](https://plotly.com/r/) > C. Sievert (2020). Interactive Web-Based Data Visualization with R, plotly, and shiny. Chapman and Hall/CRC Florida. - [Proteus](https://doi.org/10.1101/416511) > Gierlinski M, Gastaldello F, Cole C, Barton GJ. Proteus : An r Package for Downstream Analysis of Maxquant Output. Bioinformatics; 2018. - [R](https://www.R-project.org/) > R Core Team (2017). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. - [RColorBrewer](https://CRAN.R-project.org/package=RColorBrewer) > Erich Neuwirth (2014). RColorBrewer: ColorBrewer Palettes. - [RMarkdown](https://rmarkdown.rstudio.com) > JJ Allaire and Yihui Xie and Jonathan McPherson and Javier Luraschi and Kevin Ushey and Aron Atkins and Hadley Wickham and Joe Cheng and Winston Chang and Richard Iannone (2022). rmarkdown: Dynamic Documents for R. - [shinyngs](https://github.com/pinin4fjords/shinyngs) > Jonathan R Manning (2022). Shiny apps for NGS etc based on reusable components created using Shiny modules. Computer software. Vers. 1.5.3. Jonathan Manning, Dec. 2022. Web. - [SummarizedExperiment](https://bioconductor.org/packages/release/bioc/html/SummarizedExperiment.html) > Morgan M, Obenchain V, Hester J and Pagès H (2020). SummarizedExperiment: SummarizedExperiment container. ## Software packaging/containerisation tools - [Anaconda](https://anaconda.com) > Anaconda Software Distribution. Computer software. Vers. 2-2.4.0. Anaconda, Nov. 2016. Web. - [Bioconda](https://pubmed.ncbi.nlm.nih.gov/29967506/) > Grüning B, Dale R, Sjödin A, Chapman BA, Rowe J, Tomkins-Tinch CH, Valieris R, Köster J; Bioconda Team. Bioconda: sustainable and comprehensive software distribution for the life sciences. Nat Methods. 2018 Jul;15(7):475-476. doi: 10.1038/s41592-018-0046-7. PubMed PMID: 29967506. - [BioContainers](https://pubmed.ncbi.nlm.nih.gov/28379341/) > da Veiga Leprevost F, Grüning B, Aflitos SA, Röst HL, Uszkoreit J, Barsnes H, Vaudel M, Moreno P, Gatto L, Weber J, Bai M, Jimenez RC, Sachsenberg T, Pfeuffer J, Alvarez RV, Griss J, Nesvizhskii AI, Perez-Riverol Y. BioContainers: an open-source and community-driven framework for software standardization. Bioinformatics. 2017 Aug 15;33(16):2580-2582. doi: 10.1093/bioinformatics/btx192. PubMed PMID: 28379341; PubMed Central PMCID: PMC5870671. - [Docker](https://dl.acm.org/doi/10.5555/2600239.2600241) > Merkel, D. (2014). Docker: lightweight linux containers for consistent development and deployment. Linux Journal, 2014(239), 2. doi: 10.5555/2600239.2600241. - [Singularity](https://pubmed.ncbi.nlm.nih.gov/28494014/) > Kurtzer GM, Sochat V, Bauer MW. Singularity: Scientific containers for mobility of compute. PLoS One. 2017 May 11;12(5):e0177459. doi: 10.1371/journal.pone.0177459. eCollection 2017. PubMed PMID: 28494014; PubMed Central PMCID: PMC5426675.
GitHub Events
Total
- Create event: 34
- Commit comment event: 1
- Issues event: 156
- Watch event: 20
- Delete event: 7
- Issue comment event: 484
- Push event: 292
- Pull request review comment event: 342
- Pull request event: 130
- Pull request review event: 361
- Fork event: 18
Last Year
- Create event: 34
- Commit comment event: 1
- Issues event: 156
- Watch event: 20
- Delete event: 7
- Issue comment event: 484
- Push event: 292
- Pull request review comment event: 342
- Pull request event: 130
- Pull request review event: 361
- Fork event: 18
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Jonathan Manning | j****g@h****o | 385 |
| WackerO | o****r@w****e | 76 |
| Jonathan Manning | j****g@s****o | 52 |
| Azedine Zoufir | a****r@h****o | 52 |
| Jonathan Manning | p****s@g****m | 34 |
| WackerO | 4****O | 18 |
| nf-core-bot | c****e@n****e | 11 |
| Azedine Zoufir | 4****z | 5 |
| ctuni | c****z@g****m | 4 |
| Steffen Möller | m****r@d****g | 3 |
| Alexander Peltzer | a****r@g****m | 3 |
| Azedine Zoufir | 4****x | 2 |
| Jonathan Manning | j****g@d****o | 2 |
| Alexander Peltzer | a****r | 1 |
| James A. Fellows Yates | j****3@g****m | 1 |
| Marcel Ribeiro Dantas | m****s@s****o | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 166
- Total pull requests: 221
- Average time to close issues: 3 months
- Average time to close pull requests: 12 days
- Total issue authors: 55
- Total pull request authors: 27
- Average comments per issue: 0.96
- Average comments per pull request: 1.89
- Merged pull requests: 138
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 88
- Pull requests: 91
- Average time to close issues: about 1 month
- Average time to close pull requests: 8 days
- Issue authors: 23
- Pull request authors: 19
- Average comments per issue: 0.73
- Average comments per pull request: 1.68
- Merged pull requests: 37
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- grst (26)
- pinin4fjords (24)
- suzannejin (21)
- nschcolnicov (18)
- WackerO (7)
- atrigila (6)
- aghr (4)
- nick-youngblut (3)
- slbai01 (2)
- vmkalbskopf (2)
- apeltzer (2)
- clstacy (2)
- colindaven (2)
- bjlang (2)
- jiehuichen (2)
Pull Request Authors
- pinin4fjords (77)
- WackerO (35)
- suzannejin (24)
- nf-core-bot (18)
- nschcolnicov (17)
- atrigila (11)
- bjlang (9)
- alanmmobbs93 (4)
- SusiJo (3)
- KamilMaliszArdigen (2)
- roskamsh (2)
- antoniasaracco (2)
- vmkalbskopf (2)
- thomas-tams (2)
- azedinez (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/upload-artifact v3 composite
- nf-core/tower-action v3 composite
- actions/upload-artifact v3 composite
- nf-core/tower-action v3 composite
- mshick/add-pr-comment v1 composite
- actions/checkout v3 composite
- nf-core/setup-nextflow v1 composite
- actions/checkout v3 composite
- actions/setup-node v3 composite
- actions/checkout v3 composite
- actions/setup-node v3 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- mshick/add-pr-comment v1 composite
- nf-core/setup-nextflow v1 composite
- psf/black stable composite
- dawidd6/action-download-artifact v2 composite
- marocchino/sticky-pull-request-comment v2 composite