smrnaseq

A small-RNA sequencing analysis pipeline

https://github.com/nf-core/smrnaseq

Science Score: 77.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 8 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    2 of 48 committers (4.2%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.6%) to scientific vocabulary

Keywords

nextflow nf-core pipeline small-rna smrna-seq workflow

Keywords from Contributors

metagenomics pipelines bioinformatics workflows dsl2 nf-test star-solo single-cell illumina rna-seq
Last synced: 6 months ago · JSON representation ·

Repository

A small-RNA sequencing analysis pipeline

Basic Info
  • Host: GitHub
  • Owner: nf-core
  • License: mit
  • Language: Nextflow
  • Default Branch: master
  • Homepage: https://nf-co.re/smrnaseq
  • Size: 8.48 MB
Statistics
  • Stars: 85
  • Watchers: 165
  • Forks: 126
  • Open Issues: 15
  • Releases: 12
Topics
nextflow nf-core pipeline small-rna smrna-seq workflow
Created over 7 years ago · Last pushed 9 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation

README.md

nf-core/smrnaseq

GitHub Actions CI Status GitHub Actions Linting StatusAWS CICite with Zenodo nf-test

Nextflow run with conda run with docker run with singularity Launch on Seqera Platform

Get help on SlackFollow on TwitterFollow on MastodonWatch on YouTube

Introduction

nf-core/smrnaseq is a bioinformatics best-practice analysis pipeline for Small RNA-Seq.

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.

Online videos

A short talk about the history, current status and functionality on offer in this pipeline was given by Lorena Pantano (@lpantano) on 9th November 2021 as part of the nf-core/bytesize series.

You can find numerous talks on the nf-core events page from various topics including writing pipelines/modules in Nextflow DSL2, using nf-core tooling, running nf-core pipelines as well as more generic content like contributing to Github. Please check them out!

Pipeline summary

  1. Quality check and triming
    1. Raw read QC (FastQC)
    2. UMI extraction and miRNA adapter trimming (UMI-tools) (Optional)
    3. 3' adapter trimming (fastp)
    4. Read quality and length filter (fastp)
    5. Trim read QC (FastQC)
  2. UMI deduplication (Optional)
    1. Deduplication on fastq-level (UMICollapse)
    2. Barcode and miRNA adapter extraction (UMI-tools)
    3. Read length filter (fastp)
  3. miRNA QC (miRTrace)
  4. Contamination filtering (Bowtie2) (Optional)
    1. rRNA filtration
    2. tRNA filtration
    3. cDNA filtration
    4. ncRNA filtration
    5. piRNA filtration
    6. Others filtration
  5. UMI barcode deduplication (UMI-tools)
  6. miRNA quantification
    • EdgeR
      1. Reads alignment against miRBase mature miRNA (Bowtie1)
      2. Post-alignment processing of alignment against Mature miRNA (SAMtools)
      3. Unmapped reads (from reads vs mature miRNA) alignment against miRBase hairpin
      4. Post-alignment processing of alignment against Hairpin (SAMtools)
      5. Analysis on miRBase, or MirGeneDB hairpin counts (edgeR)
      6. TMM normalization and a table of top expression hairpin
      7. MDS plot clustering samples
      8. Heatmap of sample similarities
    • Mirtop quantification
      1. Read collapsing (seqcluster)
      2. miRNA and isomiR annotation (mirtop)
  7. Genome Quantification (Optional)
    1. Reads alignment against host reference genome (Bowtie1)
    2. Post-alignment processing of alignment against host reference genome (SAMtools)
  8. Novel miRNAs and known miRNAs discovery (MiRDeep2) (Optional)
    1. Mapping against reference genome with the mapper module
    2. Known and novel miRNA discovery with the mirdeep2 module
  9. Present QC for raw read, alignment, and expression results (MultiQC)

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 test before running the workflow on actual data.

You can test the pipeline as follows:

bash nextflow run nf-core/smrnaseq \ -profile test,docker \ --outdir <OUTDIR>

In order to use the pipeline with your own data, first prepare a samplesheet with your input data that looks as follows:

samplesheet.csv:

csv sample,fastq_1 Clone1_N1,s3://ngi-igenomes/test-data/smrnaseq/C1-N1-R1_S4_L001_R1_001.fastq.gz Clone1_N3,s3://ngi-igenomes/test-data/smrnaseq/C1-N3-R1_S6_L001_R1_001.fastq.gz Clone9_N1,s3://ngi-igenomes/test-data/smrnaseq/C9-N1-R1_S7_L001_R1_001.fastq.gz Clone9_N2,s3://ngi-igenomes/test-data/smrnaseq/C9-N2-R1_S8_L001_R1_001.fastq.gz Clone9_N3,s3://ngi-igenomes/test-data/smrnaseq/C9-N3-R1_S9_L001_R1_001.fastq.gz Control_N1,s3://ngi-igenomes/test-data/smrnaseq/Ctl-N1-R1_S1_L001_R1_001.fastq.gz Control_N2,s3://ngi-igenomes/test-data/smrnaseq/Ctl-N2-R1_S2_L001_R1_001.fastq.gz Control_N3,s3://ngi-igenomes/test-data/smrnaseq/Ctl-N3-R1_S3_L001_R1_001.fastq.gz

Each row represents a fastq file (single-end).

Now, you can run the pipeline using:

bash nextflow run nf-core/smrnaseq \ -profile <docker/singularity/.../institute>,<protocol> \ --input samplesheet.csv \ --genome 'GRCh37' \ --mirtrace_species 'hsa' \ --outdir <OUTDIR>

[!IMPORTANT] Remember to add a protocol as an additional profile (such as illumina, nexttflex, qiaseq or cats) when running with your own data. If no protocol is indicated via -profile, the pipeline will likely fail. Alternatively, if needed to run a custom protocol, parameters must be set manually, and auto-detect feature is available. See usage documentation for more details about these profiles.

[!WARNING] Please provide pipeline parameters via the CLI or Nextflow -params-file option. Custom config files including those provided by the -c Nextflow 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.

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/smrnaseq was originally written by P. Ewels, C. Wang, R. Hammarén, L. Pantano, A. Peltzer.

Lorena Pantano (@lpantano) from MIT updated the pipeline to Nextflow DSL2.

We thank the following people for their extensive assistance in the development of this pipeline:

  • [@atrigila] Anabella Trigila
  • [@nschcolnicov] Nicolás Alejandro Schcolnicov
  • [@christopher-mohr] Christopher Mohr
  • [@grst] Gregor Sturm

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 #smrnaseq channel (you can join with this invite).

Citations

If you use nf-core/smrnaseq for your analysis, please cite it using the following doi: 10.5281/zenodo.3456879

An extensive list of references for the tools used by the pipeline can be found in the CITATIONS.md file.

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

A community effort to collect a curated set of analysis pipelines built using Nextflow.

Citation (CITATIONS.md)

# nf-core/smrnaseq: 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

- [FastQC](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/)

  > Andrews, S. (2010). FastQC: A Quality Control Tool for High Throughput Sequence Data [Online]. Available online https://www.bioinformatics.babraham.ac.uk/projects/fastqc/.

- [trimgalore](https://www.bioinformatics.babraham.ac.uk/projects/trim_galore/)

- [samtools](https://pubmed.ncbi.nlm.nih.gov/19505943/)

  > Li H, Handsaker B, Wysoker A, Fennell T, Ruan J, Homer N, Marth G, Abecasis G, Durbin R; 1000 Genome Project Data Processing Subgroup. The Sequence Alignment/Map format and SAMtools. Bioinformatics. 2009 Aug 15;25(16):2078-9. doi: 10.1093/bioinformatics/btp352. Epub 2009 Jun 8. PMID: 19505943; PMCID: PMC2723002.

- [mirtop](https://pubmed.ncbi.nlm.nih.gov/31504201/)

  > Desvignes T, Loher P, Eilbeck K, Ma J, Urgese G, Fromm B, Sydes J, Aparicio-Puerta E, Barrera V, Espín R, Thibord F, Bofill-De Ros X, Londin E, Telonis AG, Ficarra E, Friedländer MR, Postlethwait JH, Rigoutsos I, Hackenberg M, Vlachos IS, Halushka MK, Pantano L. Unification of miRNA and isomiR research: the mirGFF3 format and the mirtop API. Bioinformatics. 2020 Feb 1;36(3):698-703. doi: 10.1093/bioinformatics/btz675. PMID: 31504201; PMCID: PMC7566869.

- [seqcluster](https://pubmed.ncbi.nlm.nih.gov/21976421/)

  > Pantano L, Estivill X, Martí E. A non-biased framework for the annotation and classification of the non-miRNA small RNA transcriptome. Bioinformatics. 2011 Nov 15;27(22):3202-3. doi: 10.1093/bioinformatics/btr527. Epub 2011 Oct 5. PMID: 21976421.

- [mirdeep2](https://pubmed.ncbi.nlm.nih.gov/21911355/)

  > Friedländer MR, Mackowiak SD, Li N, Chen W, Rajewsky N. miRDeep2 accurately identifies known and hundreds of novel microRNA genes in seven animal clades. Nucleic Acids Res. 2012 Jan;40(1):37-52. doi: 10.1093/nar/gkr688. Epub 2011 Sep 12. PMID: 21911355; PMCID: PMC3245920.

- [mirtrace](https://pubmed.ncbi.nlm.nih.gov/30514392/)

  > Kang W, Eldfjell Y, Fromm B, Estivill X, Biryukova I, Friedländer MR. miRTrace reveals the organismal origins of microRNA sequencing data. Genome Biol. 2018 Dec 4;19(1):213. doi: 10.1186/s13059-018-1588-9. PMID: 30514392; PMCID: PMC6280396.

- [MultiQC](https://pubmed.ncbi.nlm.nih.gov/27312411/)

  > Ewels P, Magnusson M, Lundin S, Käller M. MultiQC: summarize analysis results for multiple tools and samples in a single report. Bioinformatics. 2016 Oct 1;32(19):3047-8. doi: 10.1093/bioinformatics/btw354. Epub 2016 Jun 16. PubMed PMID: 27312411; PubMed Central PMCID: PMC5039924.

- [Bioconductor](https://www.bioconductor.org/) and [R](https://cran.r-project.org/)

## 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
  • Issues event: 23
  • Watch event: 13
  • Delete event: 6
  • Issue comment event: 90
  • Push event: 25
  • Pull request review comment event: 4
  • Pull request review event: 18
  • Pull request event: 34
  • Fork event: 6
  • Create event: 15
Last Year
  • Issues event: 23
  • Watch event: 13
  • Delete event: 6
  • Issue comment event: 90
  • Push event: 25
  • Pull request review comment event: 4
  • Pull request review event: 18
  • Pull request event: 34
  • Fork event: 6
  • Create event: 15

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 745
  • Total Committers: 48
  • Avg Commits per committer: 15.521
  • Development Distribution Score (DDS): 0.858
Past Year
  • Commits: 116
  • Committers: 14
  • Avg Commits per committer: 8.286
  • Development Distribution Score (DDS): 0.534
Top Committers
Name Email Commits
Alexander Peltzer a****r@g****m 106
Lorena Pantano l****o@g****m 106
Chuan Wang c****g@s****e 96
JoseEspinosa k****u@g****m 69
Phil Ewels p****s@s****e 43
Alexander Peltzer a****r 42
Christian Kubica c****b@C****l 37
nf-core-bot c****e@n****e 33
kevinmenden k****n@t****e 31
Kevin L. Keys k****s@a****m 22
lcabus-flomics 6****s 21
Maxime U Garcia m****a@g****m 17
Rob Syme r****e@g****m 14
Harshil Patel d****h@g****m 9
Alexander Peltzer a****r@b****m 9
Adam Talbot a****t@s****o 9
Konrad Stawiski k****d@k****l 7
Alexander Peltzer a****r@u****e 7
Erik Danielsson d****0@g****m 7
Sarah Djebali Quelen s****d@g****m 6
Lorena Pantano l****o@n****m 5
Rickard Hammarén r****n@s****e 4
lluc cabús l****s@p****n 4
Harshil Patel d****h 3
drpatelh d****l@g****m 3
lcabus-flomics l****s@f****m 3
pericsson 3****n 3
Pernilla Ericsson p****n@s****e 3
Miles m****4@g****m 2
Lorena Pantano l****o@a****m 2
and 18 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 90
  • Total pull requests: 106
  • Average time to close issues: 5 months
  • Average time to close pull requests: 20 days
  • Total issue authors: 62
  • Total pull request authors: 20
  • Average comments per issue: 3.33
  • Average comments per pull request: 2.47
  • Merged pull requests: 83
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 6
  • Pull requests: 9
  • Average time to close issues: 3 days
  • Average time to close pull requests: 24 days
  • Issue authors: 6
  • Pull request authors: 4
  • Average comments per issue: 1.83
  • Average comments per pull request: 1.22
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • apeltzer (27)
  • atrigila (17)
  • nschcolnicov (10)
  • bounlu (6)
  • Glfrey (4)
  • lpantano (3)
  • mdozmorov (3)
  • lcabus-flomics (3)
  • alexmascension (3)
  • Cristinex (2)
  • yangfeizZZ (2)
  • kopichris (2)
  • vishal7245 (2)
  • gpalidwor (2)
  • drejom (2)
Pull Request Authors
  • apeltzer (64)
  • nf-core-bot (27)
  • atrigila (25)
  • nschcolnicov (23)
  • christopher-mohr (14)
  • robsyme (7)
  • adamrtalbot (6)
  • drpatelh (5)
  • lpantano (5)
  • grst (4)
  • CKComputomics (4)
  • kopichris (3)
  • sajjadasaf (2)
  • bounlu (2)
  • maxulysse (2)
Top Labels
Issue Labels
bug (81) enhancement (28) question (9) help wanted (2) duplicate (2) upstream (2) wontfix (2) data required (1) PR Open (1) documentation (1)
Pull Request Labels
ready for review (9) WIP (2) bug (2) help wanted (1) question (1) PR Open (1) enhancement (1) documentation (1) wontfix (1)