Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.3 Updates: Fixes for contamination, UMI Handling, Template 2.11.1 #303

Merged
merged 126 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
d783ef9
REVERT CHANGES
May 10, 2022
1043932
INCLUDE UMITOOLS WORKFLOW
May 10, 2022
27fd482
ADD DOCUMENTATION
May 13, 2022
ee673b0
ADD SAMTOOLS BAM2FQ MODULE
Jun 13, 2022
0bc65e4
ADD UMITOOLS EXTRACT ARGS
Jun 14, 2022
8d14f90
UPDATE MODULES.CONFIG
Jun 15, 2022
23f96d8
INCLUDE UMITOOLS DEDUP WORKFLOW
Jun 15, 2022
944d277
INCLUDE UMITOOLS DEDUP
Jun 15, 2022
ddb3dba
ADD SAMTOOLS SORT CONFIG
CKComputomics Jun 15, 2022
b2ef66a
FIX TYPO
CKComputomics Jun 15, 2022
29ec7da
ADD DEDUP DOCUMENTATION
CKComputomics Jun 15, 2022
afa1ad7
ADD DEDUP STEP
CKComputomics Jun 15, 2022
c72ac5b
ADD UMITOOLS VERSION
CKComputomics Jun 15, 2022
f442289
MERGE DEDUPLICATED AND UNMAPPED READS AFTER DEDUPLICATION
CKComputomics Jun 20, 2022
f9ca542
ADD MISSING OPTION
CKComputomics Jun 20, 2022
b974717
ADD NEWLINE
CKComputomics Jun 20, 2022
4610be1
CLEAN CODE
CKComputomics Jun 21, 2022
67b2cac
ADD DOCUMENTATION
CKComputomics Jun 21, 2022
23fc985
ADD UMI_MERGE_UNMAPPED COMMAND
CKComputomics Jun 21, 2022
be241ea
FINALIZE DOCUMENTATION
CKComputomics Jun 21, 2022
8b433f1
UPDATE MAIL TEMPLATE
CKComputomics Jun 21, 2022
0e732ed
CHANGE DAG OUTPUT TO HTML
CKComputomics Jun 21, 2022
8f426b5
PLEASE PRETTIER
CKComputomics Jun 21, 2022
8e132fb
Merge branch 'dev' into umitools
CKComputomics Jun 21, 2022
039843f
FIX MERGE ERROR
CKComputomics Jun 21, 2022
53c097c
MAKE PRETTIER HAPPY
CKComputomics Jun 21, 2022
608c414
ADD NF-CORE CAT
CKComputomics Jun 22, 2022
6d305c2
REPLACE CUSTOM CAT WITH NF-CORE CAT
CKComputomics Jun 22, 2022
57a8dba
REMOVE UNUSED MODULE
CKComputomics Jun 22, 2022
04b852c
Re-organized code mirna_quant to make it simpler to read
sguizard Oct 12, 2023
f285867
Switched to HTML less hairpin.fa and mature.fa
sguizard Oct 12, 2023
6948bad
detect bowtie2 idx instead of bowtie1 idx
sguizard Oct 16, 2023
16bb675
print mirQuant inputs
sguizard Oct 16, 2023
90527a2
debug mirdeeprun
sguizard Oct 16, 2023
39f0597
remove previous debug print
sguizard Oct 16, 2023
c198eda
add more debug messages
sguizard Oct 16, 2023
85cadb0
remove prints
sguizard Oct 16, 2023
7c703c9
remove metq from mature and hairpin
sguizard Oct 16, 2023
e8d04d2
connect clean hairpin / mature to mirdeep2
sguizard Oct 16, 2023
9285dfb
remove meta from fasta in mirdeep2_run
sguizard Oct 16, 2023
3a3f11b
Clean debug prints
sguizard Oct 16, 2023
357ca53
Merge branch 'debug' into fix-contamination_filter
sguizard Oct 16, 2023
c6efa86
update bowtie map contaminant with right options
sguizard Oct 17, 2023
0be5a17
define args variable
sguizard Oct 17, 2023
13fc7a4
FIx? - include fastqc trim to multiQC
sguizard Oct 17, 2023
71590db
Refresh pipeline summary
sguizard Oct 17, 2023
892ab89
Fix version: missing quotes and misaligned END_VER
sguizard Oct 17, 2023
05ae65a
Update doc with HTML less fa
sguizard Oct 17, 2023
e6a0b75
update mirtrace ouput directory
sguizard Oct 18, 2023
dd97948
update fastqc config
sguizard Oct 18, 2023
b59a73f
Update mirdeep2 publish_dir path
sguizard Oct 18, 2023
c835f59
Fix stats not executed from genome
fhausmann Nov 28, 2023
7278013
Template update for nf-core/tools version 2.11
nf-core-bot Dec 19, 2023
ec3d446
Template update for nf-core/tools version 2.11.1
nf-core-bot Dec 20, 2023
fcc3ef0
Merge branch 'umi-handling' into umitools
apeltzer Jan 11, 2024
069beb1
Merge pull request #164 from CKComputomics/umitools
apeltzer Jan 11, 2024
ce28d5a
First batch of updates to 2024
apeltzer Jan 11, 2024
fed23d1
Add missing modules / subworkflows
apeltzer Jan 11, 2024
be15900
Add issue to changelog
fhausmann Jan 11, 2024
1d4fd07
Bringing this to 2024
apeltzer Jan 11, 2024
ba4479c
Merge branch 'umi-handling' into nf-core-template-merge-2.11.1
apeltzer Jan 11, 2024
285cfd0
Fixing linting errors
apeltzer Jan 11, 2024
cd69374
Merge pull request #302 from nf-core/nf-core-template-merge-2.11.1
apeltzer Jan 11, 2024
e1b232f
Follow the lead, Timmy
apeltzer Jan 11, 2024
2828bd2
Improvements to channel handling
apeltzer Jan 11, 2024
1be106c
Merge branch 'umi-handling' into fix_samtools_stats_genome
apeltzer Jan 11, 2024
b59bb7a
Merge pull request #300 from fhausmann/fix_samtools_stats_genome
apeltzer Jan 11, 2024
ff703f1
Update to latest subworkflow version
apeltzer Jan 12, 2024
313e7d3
Cleaning up
apeltzer Jan 12, 2024
5e3f082
Some more fixes / cleanup
apeltzer Jan 12, 2024
6240ec0
Clean
apeltzer Jan 12, 2024
bfcf486
Improved error handling
apeltzer Jan 12, 2024
d5d1bfc
Update nextflow_schema.json
apeltzer Jan 12, 2024
e331ac3
Merge remote-tracking branch 'upstream/fix-mirdeep2_and_contamination…
apeltzer Jan 12, 2024
22f07de
Fix for UMI fasta
apeltzer Jan 12, 2024
8fb0ae0
Fix params.fasta
apeltzer Jan 12, 2024
227af28
Minor updates
apeltzer Jan 12, 2024
eed0895
Fixing some lint warnings
apeltzer Jan 12, 2024
2cc2a0d
Adding in versions for filter stats
apeltzer Jan 12, 2024
bf6e8bd
Fixing more conda imports
apeltzer Jan 12, 2024
454504d
More updates of modules
apeltzer Jan 12, 2024
7eefcca
Fix
apeltzer Jan 12, 2024
f118456
Fix
apeltzer Jan 12, 2024
cbbc6d8
Another fix
apeltzer Jan 12, 2024
ea6d05e
Yeah fasta
apeltzer Jan 12, 2024
6df081f
Another one in the umi workflow
apeltzer Jan 12, 2024
43d3aba
Update edger_qc
apeltzer Jan 12, 2024
2059ed4
Shorten test.config
apeltzer Jan 17, 2024
945c318
Adding in UMI tests
apeltzer Jan 17, 2024
e43e4cf
Addressing some reviews
apeltzer Jan 17, 2024
3b21fe1
Add UMI regex
apeltzer Jan 17, 2024
8e21df8
Some more adjustments to make nf-core modules work
apeltzer Jan 17, 2024
fc01195
Fix meta2
apeltzer Jan 17, 2024
1410923
Passing on meta2
apeltzer Jan 17, 2024
12be186
use the channels, luke
apeltzer Jan 17, 2024
96adf13
Add better changelog with deps
apeltzer Jan 17, 2024
5c7227a
Add updated modules
apeltzer Jan 17, 2024
8d19dbf
Add updated modules.json
apeltzer Jan 17, 2024
84da917
Fixing the error :)
apeltzer Jan 17, 2024
e95f075
[automated] Fix linting with Prettier
nf-core-bot Jan 18, 2024
c51f54d
This should fix umitools extract
apeltzer Jan 18, 2024
3776e18
Improve more modules
apeltzer Jan 18, 2024
a5daf6b
Less lines
apeltzer Jan 18, 2024
4baf752
Apply suggestions from code review
apeltzer Jan 18, 2024
533a0f3
Fix input cardinality
grst Jan 18, 2024
60052b6
Compute index only once
grst Jan 18, 2024
f04ef2e
Check that fasta is provided when UMIs are used
grst Jan 18, 2024
41bd0d0
Acually use deduplicated reads
grst Jan 18, 2024
6213f5f
Use contaminant-filtered reads downstream
grst Jan 18, 2024
ed8ad08
Ensure fasta is optional
grst Jan 18, 2024
ed99b7e
Attempt to disable umi_stats on CI
grst Jan 18, 2024
1c278fe
increase limits for umitools dedup
grst Jan 19, 2024
91e67f2
Adding in possibiltiy to use different method for UMI grouping
apeltzer Jan 22, 2024
cfac917
Install umicollapse instead of umitools dedup
grst Jan 22, 2024
b9208ea
Switch to umicollapse
grst Jan 22, 2024
65f7f0e
Switch to umicollapse
grst Jan 22, 2024
8243651
[automated] Fix linting with Prettier
nf-core-bot Jan 22, 2024
ea68c8e
Don't merge deduplicated fastqs with unmapped fastqs
grst Jan 22, 2024
d493ff7
Try to set heap size
grst Jan 22, 2024
6fe6629
cast heap size to int
grst Jan 22, 2024
58c5b1a
Increase java stack size
grst Jan 23, 2024
53c6ffa
Set jvm options via JAVA_TOOL_OPTIONS
grst Jan 23, 2024
d5192d4
Full manual mode
grst Jan 23, 2024
3d8219e
Use two-pass mode for umicollapse
grst Jan 23, 2024
4fb2523
Increase stack size even further
grst Jan 23, 2024
2dd1e24
Updated umicollapse to modules provided version :)
apeltzer Jan 24, 2024
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
8 changes: 4 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"python.linting.flake8Path": "/opt/conda/bin/flake8",
"python.linting.pycodestylePath": "/opt/conda/bin/pycodestyle",
"python.linting.pydocstylePath": "/opt/conda/bin/pydocstyle",
"python.linting.pylintPath": "/opt/conda/bin/pylint"
"python.linting.pylintPath": "/opt/conda/bin/pylint",
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": ["ms-python.python", "ms-python.vscode-pylance", "nf-core.nf-core-extensionpack"]
}
}
"extensions": ["ms-python.python", "ms-python.vscode-pylance", "nf-core.nf-core-extensionpack"],
},
},
}
3 changes: 3 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ If you're not used to this workflow with git, you can start with some [docs from

## Tests

You can optionally test your changes by running the pipeline locally. Then it is recommended to use the `debug` profile to
receive warnings about process selectors and other debug info. Example: `nextflow run . -profile debug,test,docker --outdir <OUTDIR>`.

When you create a pull request with changes, [GitHub Actions](https://github.com/features/actions) will run automatic tests.
Typically, pull-requests are only fully reviewed when these tests are passing, though of course we can help out before then.

Expand Down
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/smrn
- [ ] If necessary, also make a PR on the nf-core/smrnaseq _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] Make sure your code lints (`nf-core lint`).
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
- [ ] Check for unexpected warnings in debug mode (`nextflow run . -profile debug,test,docker --outdir <OUTDIR>`).
- [ ] Usage Documentation in `docs/usage.md` is updated.
- [ ] Output Documentation in `docs/output.md` is updated.
- [ ] `CHANGELOG.md` is updated.
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ jobs:
profile:
- "test"
- "test_no_genome"
- "test_umi"
steps:
- name: Check out pipeline code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fix-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Use the @nf-core-bot token to check out so we can push later
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.nf_core_bot_auth_token }}

Expand All @@ -24,7 +24,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.nf_core_bot_auth_token }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4

- name: Install Prettier
run: npm install -g prettier @prettier/plugin-php
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
EditorConfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4

- name: Install editorconfig-checker
run: npm install -g editorconfig-checker
Expand All @@ -27,9 +27,9 @@ jobs:
Prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4

- name: Install Prettier
run: npm install -g prettier
Expand All @@ -40,7 +40,7 @@ jobs:
PythonBlack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check code lints with Black
uses: psf/black@stable
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out pipeline code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
Expand Down
4 changes: 3 additions & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ tasks:
command: |
pre-commit install --install-hooks
nextflow self-update
- name: unset JAVA_TOOL_OPTIONS
command: |
unset JAVA_TOOL_OPTIONS
vscode:
extensions: # based on nf-core.nf-core-extensionpack
- codezombiech.gitignore # Language support for .gitignore files
Expand Down
63 changes: 32 additions & 31 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,38 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [dev](https://github.com/nf-core/smrnaseq/branch/dev)
## v2.3dev - [date]

- _nothing yet done_
- [[#299]](https://github.com/nf-core/smrnaseq/issues/299) - Bugfix for missing inputs in BAM stats (`genome_quant.r`)
- [[#164]](https://github.com/nf-core/smrnaseq/pull/164) - UMI Handling Feature implemented in the pipeline
- [[#302]](https://github.com/nf-core/smrnaseq/pull/302) - Merged in nf-core template v2.11.1
- [[#294]](https://github.com/nf-core/smrnaseq/pull/294) - Fixed contamination screening issues

### Parameters

| Old parameter | New parameter |
| ------------- | --------------------------- |
| | `--with_umi` |
| | `--umitools_extract_method` |
| | `--umitools_method` |
| | `--skip_umi_extract` |
| | `--umitools_bc_pattern` |
| | `--umi_discard_read` |
| | `--save_umi_intermeds` |

### Software dependencies

| Dependency | Old version | New version |
| ------------ | ----------- | ----------- |
| `multiqc` | 1.15 | 1.19 |
| `edgeR` | 3.36.0 | 4.0.2 |
| `limma` | 3.50.0 | 3.58.1 |
| `bioconvert` | 0.4.3 | 1.1.1 |
| `mirdeep` | 2.0.1 | 2.0.1.3 |
| `seqkit` | 2.3.1 | 2.6.1 |
| `fastqc` | 0.11.4 | 0.12.1 |
| `samtools` | 1.17 | 1.18 |
| `umitools` | <none> | 1.1.4 |

## [v2.2.4](https://github.com/nf-core/smrnaseq/releases/tag/2.2.4) - 2023-11-03

Expand Down Expand Up @@ -64,23 +93,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [[#188](https://github.com/nf-core/smrnaseq/pull/188)] - Dropped TrimGalore in favor of fastp QC and adapter trimming, improved handling of adapters and trimming parameters
- [[#194](https://github.com/nf-core/smrnaseq/issues/194)] - Added default adapters file for FastP improved miRNA adapter trimming

### Parameters

| Old parameter | New parameter |
| ------------- | ------------------------ |
| | `--mirgenedb` |
| | `--mirgenedb_species` |
| | `--mirgenedb_gff` |
| | `--mirgenedb_mature` |
| | `--mirgenedb_hairpin` |
| | `--contamination_filter` |
| | `--rrna` |
| | `--trna` |
| | `--cdna` |
| | `--ncrna` |
| | `--pirna` |
| | `--other_contamination` |

apeltzer marked this conversation as resolved.
Show resolved Hide resolved
## [v2.0.0](https://github.com/nf-core/smrnaseq/releases/tag/2.0.0) - 2022-05-31 Aqua Zinc Chihuahua

### Major enhancements
Expand All @@ -98,20 +110,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Other enhancements & fixes

- [#134](https://github.com/nf-core/smrnaseq/issues/134) - Fixed colSum of zero issues for edgeR_miRBase.R script
- [#49](https://github.com/nf-core/smrnaseq/issues/49) - Integrated the existing umitools modules into the pipeline and extend the deduplication step.
- [#55](https://github.com/lpantano/seqcluster/pull/55) - update seqcluster to fix UMI-detecting bug

### Parameters

| Old parameter | New parameter |
| -------------------- | ---------------- |
| `--conda` | `--enable_conda` |
| `--clusterOptions` | |
| `--publish_dir_mode` | |

> **NB:** Parameter has been **updated** if both old and new parameter information is present.
> **NB:** Parameter has been **added** if just the new parameter information is present.
> **NB:** Parameter has been **removed** if parameter information isn't present.
apeltzer marked this conversation as resolved.
Show resolved Hide resolved
### Software dependencies

Note, since the pipeline is now using Nextflow DSL2, each process will be run with its own [Biocontainer](https://biocontainers.pro/#/registry). This means that on occasion it is entirely possible for the pipeline to be using different versions of the same tool. However, the overall software dependency changes compared to the last release have been listed below for reference.
Expand Down
68 changes: 37 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,37 +27,45 @@ You can find numerous talks on the nf-core events page from various topics inclu

## Pipeline summary

1. Raw read QC ([`FastQC`](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/))
2. Adapter trimming ([`Trim Galore!`](https://www.bioinformatics.babraham.ac.uk/projects/trim_galore/))
1. Insert Size calculation
2. Collapse reads ([`seqcluster`](https://seqcluster.readthedocs.io/mirna_annotation.html#processing-of-reads))
3. Contamination filtering ([`Bowtie2`](http://bowtie-bio.sourceforge.net/bowtie2/index.shtml))
4. Alignment against miRBase mature miRNA ([`Bowtie1`](http://bowtie-bio.sourceforge.net/index.shtml))
5. Alignment against miRBase hairpin
1. Unaligned reads from step 3 ([`Bowtie1`](http://bowtie-bio.sourceforge.net/index.shtml))
2. Collapsed reads from step 2.2 ([`Bowtie1`](http://bowtie-bio.sourceforge.net/index.shtml))
6. Post-alignment processing of miRBase hairpin
1. Basic statistics from step 3 and step 4.1 ([`SAMtools`](https://sourceforge.net/projects/samtools/files/samtools/))
2. Analysis on miRBase, or MirGeneDB hairpin counts ([`edgeR`](https://bioconductor.org/packages/release/bioc/html/edgeR.html))
- TMM normalization and a table of top expression hairpin
- MDS plot clustering samples
- Heatmap of sample similarities
3. miRNA and isomiR annotation from step 4.1 ([`mirtop`](https://github.com/miRTop/mirtop))
7. Alignment against host reference genome ([`Bowtie1`](http://bowtie-bio.sourceforge.net/index.shtml))
1. Post-alignment processing of alignment against host reference genome ([`SAMtools`](https://sourceforge.net/projects/samtools/files/samtools/))
8. Novel miRNAs and known miRNAs discovery ([`MiRDeep2`](https://www.mdc-berlin.de/content/mirdeep2-documentation))
1. Quality check and triming
1. Raw read QC ([`FastQC`](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/))
2. Adapter trimming ([`fastp`](https://github.com/OpenGene/fastp))
3. UMI barcode extraction ([`UMI-tools`](https://github.com/CGATOxford/UMI-tools))
4. Trim read QC ([`FastQC`](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/))
2. miRNA QC ([`miRTrace`](https://github.com/friedlanderlab/mirtrace))
3. Contamination filtering ([`Bowtie2`](http://bowtie-bio.sourceforge.net/bowtie2/index.shtml)) (Optional)
1. rRNA filtration
2. tRNA filtration
3. cDNA filtration
4. ncRNA filtration
5. piRNA filtration
6. Others filtration
4. UMI barcode deduplication ([`UMI-tools`](https://github.com/CGATOxford/UMI-tools))
5. miRNA quantification
- EdgeR
1. Reads alignment against miRBase mature miRNA ([`Bowtie1`](http://bowtie-bio.sourceforge.net/index.shtml))
2. Post-alignment processing of alignment against Mature miRNA ([`SAMtools`](https://sourceforge.net/projects/samtools/files/samtools/))
3. Unmapped reads (from reads vs mature miRNA) alignment against miRBase hairpin
4. Post-alignment processing of alignment against Hairpin ([`SAMtools`](https://sourceforge.net/projects/samtools/files/samtools/))
5. Analysis on miRBase, or MirGeneDB hairpin counts ([`edgeR`](https://bioconductor.org/packages/release/bioc/html/edgeR.html))
- TMM normalization and a table of top expression hairpin
- MDS plot clustering samples
- Heatmap of sample similarities
- Mirtop quantification
1. Read collapsing ([`seqcluster`](https://github.com/lpantano/seqcluster))
2. miRNA and isomiR annotation ([`mirtop`](https://github.com/miRTop/mirtop))
6. Genome Quantification (Optional)
1. Reads alignment against host reference genome ([`Bowtie1`](http://bowtie-bio.sourceforge.net/index.shtml))
2. Post-alignment processing of alignment against host reference genome ([`SAMtools`](https://sourceforge.net/projects/samtools/files/samtools/))
7. Novel miRNAs and known miRNAs discovery ([`MiRDeep2`](https://www.mdc-berlin.de/content/mirdeep2-documentation)) (Optional)
1. Mapping against reference genome with the mapper module
2. Known and novel miRNA discovery with the mirdeep2 module
9. miRNA quality control ([`mirtrace`](https://github.com/friedlanderlab/mirtrace))
10. Present QC for raw read, alignment, and expression results ([`MultiQC`](http://multiqc.info/))
8. Present QC for raw read, alignment, and expression results ([`MultiQC`](http://multiqc.info/))

## Usage

:::note
If you are new to Nextflow and nf-core, please refer to [this page](https://nf-co.re/docs/usage/installation) on how
to set-up Nextflow. Make sure to [test your setup](https://nf-co.re/docs/usage/introduction#how-to-run-a-pipeline)
with `-profile test` before running the workflow on actual data.
:::
> [!NOTE]
> If you are new to Nextflow and nf-core, please refer to [this page](https://nf-co.re/docs/usage/installation) on how to set-up Nextflow. Make sure to [test your setup](https://nf-co.re/docs/usage/introduction#how-to-run-a-pipeline) with `-profile test` before running the workflow on actual data.
First, prepare a samplesheet with your input data that looks as follows:

Expand Down Expand Up @@ -89,11 +97,9 @@ nextflow run nf-core/smrnaseq \
--outdir <OUTDIR>
```

:::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](https://nf-co.re/usage/configuration#custom-configuration-files).
:::
> [!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](https://nf-co.re/usage/configuration#custom-configuration-files).
For more details and further functionality, please refer to the [usage documentation](https://nf-co.re/smrnaseq/usage) and the [parameter documentation](https://nf-co.re/smrnaseq/parameters).

Expand Down
3 changes: 2 additions & 1 deletion assets/multiqc_config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
report_comment: >
This report has been generated by the <a href="https://github.com/nf-core/smrnaseq/releases/tag/dev" target="_blank">nf-core/smrnaseq</a>
This report has been generated by the <a href="https://github.com/nf-core/smrnaseq/tree/dev" target="_blank">nf-core/smrnaseq</a>
analysis pipeline. For information about how to interpret these results, please see the
<a href="https://nf-co.re/smrnaseq/dev/docs/output" target="_blank">documentation</a>.
report_section_order:
"nf-core-smrnaseq-methods-description":
order: -1000
Expand Down
2 changes: 1 addition & 1 deletion assets/slackreport.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"fallback": "Plain-text summary of the attachment.",
"color": "<% if (success) { %>good<% } else { %>danger<%} %>",
"author_name": "nf-core/smrnaseq v${version} - ${runName}",
"author_name": "nf-core/smrnaseq ${version} - ${runName}",
"author_icon": "https://www.nextflow.io/docs/latest/_static/favicon.ico",
"text": "<% if (success) { %>Pipeline completed successfully!<% } else { %>Pipeline completed with errors<% } %>",
"fields": [
Expand Down
Loading