edgeR_heatmap_MDS.r script."
6 | # plot_type: 'scatter'
7 | # anchor: 'ngi_rnaseq-mds_plot'
8 | # pconfig:
9 | # xlab: 'Leading'
10 | # title: 'MDS Plot'
11 | # ylab: 'logFC'
12 |
--------------------------------------------------------------------------------
/docs/README.md:
--------------------------------------------------------------------------------
1 | # nf-core/rnaseq: Documentation
2 |
3 | The nf-core/rnaseq documentation is split into the following files:
4 |
5 | 1. [Installation](https://nf-co.re/usage/installation)
6 | 2. Pipeline configuration
7 | * [Local installation](https://nf-co.re/usage/local_installation)
8 | * [Adding your own system config](https://nf-co.re/usage/adding_own_config)
9 | * [Reference genomes](https://nf-co.re/usage/reference_genomes)
10 | 3. [Running the pipeline](usage.md)
11 | 4. [Output and how to interpret the results](output.md)
12 | 5. [Troubleshooting](https://nf-co.re/usage/troubleshooting)
13 |
--------------------------------------------------------------------------------
/.github/workflows/branch.yml:
--------------------------------------------------------------------------------
1 | name: nf-core/rnaseq branch protection
2 | # This workflow is triggered on PRs to master branch on the repository
3 | on:
4 | pull_request:
5 | branches:
6 | - master
7 |
8 | jobs:
9 | test:
10 | runs-on: ubuntu-latest
11 | steps:
12 | # PRs are only ok if coming from an nf-core dev branch
13 | - uses: actions/checkout@v1
14 | - name: Check PRs
15 | run: |
16 | [[ $(git remote get-url origin) == *nf-core/rnaseq ]] && [[ ${GITHUB_BASE_REF} = "master" ]] && { [[ ${GITHUB_HEAD_REF} = "dev" ]] || [[ ${GITHUB_BASE_REF} = "patch" ]]; }
17 |
--------------------------------------------------------------------------------
/conf/awsbatch.config:
--------------------------------------------------------------------------------
1 | /*
2 | * -------------------------------------------------
3 | * Nextflow config file for running on AWS batch
4 | * -------------------------------------------------
5 | * Base config needed for running with -profile awsbatch
6 | */
7 | params {
8 | config_profile_name = 'AWSBATCH'
9 | config_profile_description = 'AWSBATCH Cloud Profile'
10 | config_profile_contact = 'Alexander Peltzer (@apeltzer)'
11 | config_profile_url = 'https://aws.amazon.com/de/batch/'
12 | }
13 |
14 | aws.region = params.awsregion
15 | process.executor = 'awsbatch'
16 | process.queue = params.awsqueue
17 | executor.awscli = '/home/ec2-user/miniconda/bin/aws'
18 | params.tracedir = './'
19 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature_request.md:
--------------------------------------------------------------------------------
1 | Hi there!
2 |
3 | Thanks for suggesting a new feature for the pipeline! Please delete this text and anything that's not relevant from the template below:
4 |
5 | #### Is your feature request related to a problem? Please describe.
6 | A clear and concise description of what the problem is.
7 | Ex. I'm always frustrated when [...]
8 |
9 | #### Describe the solution you'd like
10 | A clear and concise description of what you want to happen.
11 |
12 | #### Describe alternatives you've considered
13 | A clear and concise description of any alternative solutions or features you've considered.
14 |
15 | #### Additional context
16 | Add any other context about the feature request here.
17 |
--------------------------------------------------------------------------------
/assets/rrna-db-defaults.txt:
--------------------------------------------------------------------------------
1 | https://raw.githubusercontent.com/biocore/sortmerna/master/rRNA_databases/rfam-5.8s-database-id98.fasta
2 | https://raw.githubusercontent.com/biocore/sortmerna/master/rRNA_databases/rfam-5s-database-id98.fasta
3 | https://raw.githubusercontent.com/biocore/sortmerna/master/rRNA_databases/silva-arc-16s-id95.fasta
4 | https://raw.githubusercontent.com/biocore/sortmerna/master/rRNA_databases/silva-arc-23s-id98.fasta
5 | https://raw.githubusercontent.com/biocore/sortmerna/master/rRNA_databases/silva-bac-16s-id90.fasta
6 | https://raw.githubusercontent.com/biocore/sortmerna/master/rRNA_databases/silva-bac-23s-id98.fasta
7 | https://raw.githubusercontent.com/biocore/sortmerna/master/rRNA_databases/silva-euk-18s-id95.fasta
8 | https://raw.githubusercontent.com/biocore/sortmerna/master/rRNA_databases/silva-euk-28s-id98.fasta
--------------------------------------------------------------------------------
/assets/multiqc_config.yaml:
--------------------------------------------------------------------------------
1 | extra_fn_clean_exts:
2 | - '_R1'
3 | - '_R2'
4 | - '.hisat'
5 | - '_subsamp'
6 | - '.sorted'
7 |
8 | report_comment: >
9 | This report has been generated by the nf-core/rnaseq
10 | analysis pipeline. For information about how to interpret these results, please see the
11 | documentation.
12 |
13 | top_modules:
14 | - 'edgeR-sample-distances'
15 | - 'sample-similarity'
16 | - 'DupRadar'
17 | - 'biotype-counts'
18 |
19 | report_section_order:
20 | software_versions:
21 | order: -1000
22 | nf-core-rnaseq-summary:
23 | order: -1100
24 |
25 | table_columns_visible:
26 | FastQC:
27 | percent_duplicates: False
28 |
29 | export_plots: true
30 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | Hi there!
2 |
3 | Thanks for telling us about a problem with the pipeline. Please delete this text and anything that's not relevant from the template below:
4 |
5 | #### Describe the bug
6 | A clear and concise description of what the bug is.
7 |
8 | #### Steps to reproduce
9 | Steps to reproduce the behaviour:
10 | 1. Command line: `nextflow run ...`
11 | 2. See error: _Please provide your error message_
12 |
13 | #### Expected behaviour
14 | A clear and concise description of what you expected to happen.
15 |
16 | #### System:
17 | - Hardware: [e.g. HPC, Desktop, Cloud...]
18 | - Executor: [e.g. slurm, local, awsbatch...]
19 | - OS: [e.g. CentOS Linux, macOS, Linux Mint...]
20 | - Version [e.g. 7, 10.13.6, 18.3...]
21 |
22 | #### Nextflow Installation:
23 | - Version: [e.g. 0.31.0]
24 |
25 | #### Container engine:
26 | - Engine: [e.g. Conda, Docker or Singularity]
27 | - version: [e.g. 1.0.0]
28 | - Image tag: [e.g. nfcore/rnaseq:1.0.0]
29 |
30 | #### Additional context
31 | Add any other context about the problem here.
32 |
--------------------------------------------------------------------------------
/.github/PULL_REQUEST_TEMPLATE.md:
--------------------------------------------------------------------------------
1 | Many thanks to contributing to nf-core/rnaseq!
2 |
3 | To ensure that your build passes, please make sure your pull request is to the `dev` branch rather than to `master`. Thank you!
4 |
5 | Please fill in the appropriate checklist below (delete whatever is not relevant). These are the most common things requested on pull requests (PRs).
6 |
7 | ## PR checklist
8 | - [ ] PR is to `dev` rather than `master`
9 | - [ ] This comment contains a description of changes (with reason)
10 | - [ ] If you've fixed a bug or added code that should be tested, add tests!
11 | - [ ] If necessary, also make a PR on the [nf-core/rnaseq branch on the nf-core/test-datasets repo]( https://github.com/nf-core/test-datasets/pull/new/nf-core/rnaseq)
12 | - [ ] Ensure the test suite passes (`nextflow run . -profile test,docker`).
13 | - [ ] Make sure your code lints (`nf-core lint .`).
14 | - [ ] Documentation in `docs` is updated
15 | - [ ] `CHANGELOG.md` is updated
16 | - [ ] `README.md` is updated
17 |
18 | **Learn more about contributing:** https://github.com/nf-core/rnaseq/tree/master/.github/CONTRIBUTING.md
19 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) Phil Ewels, Rickard Hammarén
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/environment.yml:
--------------------------------------------------------------------------------
1 | # You can use this file to create a conda environment for this pipeline:
2 | # conda env create -f environment.yml
3 | name: nf-core-rnaseq-1.4.2
4 | channels:
5 | - conda-forge
6 | - bioconda
7 | - defaults
8 | dependencies:
9 | ## conda-forge packages, sorting now alphabetically, without the channel prefix!
10 | - matplotlib=3.0.3 # Current 3.1.0 build incompatible with multiqc=1.7
11 | - r-base=3.6.1
12 | - conda-forge::r-data.table=1.12.4
13 | - conda-forge::r-gplots=3.0.1.1
14 | - conda-forge::r-markdown=1.1
15 |
16 | ## bioconda packages, see above
17 | - bioconductor-dupradar=1.14.0
18 | - bioconductor-edger=3.26.5
19 | - bioconductor-tximeta=1.2.2
20 | - bioconductor-summarizedexperiment=1.14.0
21 | - deeptools=3.3.1
22 | - fastqc=0.11.8
23 | - gffread=0.11.4
24 | - hisat2=2.1.0
25 | - multiqc=1.7
26 | - picard=2.21.1
27 | - preseq=2.0.3
28 | - qualimap=2.2.2c
29 | - rseqc=3.0.1
30 | - salmon=0.14.2
31 | - samtools=1.9
32 | - sortmerna=2.1b # for metatranscriptomics
33 | - star=2.6.1d # Don't upgrade me - 2.7X indices incompatible with iGenomes.
34 | - stringtie=2.0
35 | - subread=1.6.4
36 | - trim-galore=0.6.4
37 |
--------------------------------------------------------------------------------
/.github/workflows/ci.yml:
--------------------------------------------------------------------------------
1 | name: nf-core/rnaseq CI
2 | # This workflow is triggered on pushes and PRs to the repository.
3 | on: [push, pull_request]
4 |
5 | jobs:
6 | test:
7 | runs-on: ubuntu-latest
8 | strategy:
9 | matrix:
10 | nxf_ver: ['19.04.0', '']
11 | aligner: ["--aligner 'hisat2'", "--aligner 'star'", "--pseudo_aligner 'salmon'"]
12 | options: ['--skipQC', '--remove_rRNA', '--saveUnaligned', '--skipTrimming', '--star_index false']
13 | steps:
14 | - uses: actions/checkout@v1
15 | - name: Install Nextflow
16 | run: |
17 | export NXF_VER=${{ matrix.nxf_ver }}
18 | wget -qO- get.nextflow.io | bash
19 | sudo mv nextflow /usr/local/bin/
20 | - name: Download image
21 | run: |
22 | docker pull nfcore/rnaseq:dev && docker tag nfcore/rnaseq:dev nfcore/rnaseq:1.4.2
23 | - name: Basic workflow tests
24 | run: |
25 | nextflow run ${GITHUB_WORKSPACE} -profile test,docker ${{ matrix.aligner }} ${{ matrix.options }}
26 | - name: Basic workflow, gzipped input
27 | run: |
28 | nextflow run ${GITHUB_WORKSPACE} -profile test_gz,docker ${{ matrix.aligner }} ${{ matrix.options }}
29 |
--------------------------------------------------------------------------------
/assets/sendmail_template.txt:
--------------------------------------------------------------------------------
1 | To: $email
2 | Subject: $subject
3 | Mime-Version: 1.0
4 | Content-Type: multipart/related;boundary="nfcoremimeboundary"
5 |
6 | --nfcoremimeboundary
7 | Content-Type: text/html; charset=utf-8
8 |
9 | $email_html
10 |
11 | --nfcoremimeboundary
12 | Content-Type: image/png;name="nf-core-rnaseq_logo.png"
13 | Content-Transfer-Encoding: base64
14 | Content-ID: The exit status of the task that caused the workflow execution to fail was: $exitStatus.
The full error message was:
25 |${errorReport}
26 | The pipeline finished successfully, but the following samples were skipped due to very low alignment (< 5%):
33 |${skipped_poor_alignment.join('')}37 |
The workflow was completed at $dateComplete (duration: $duration)
49 |The command used to launch the workflow was as follows:
50 |$commandLine51 | 52 |
| $k | $v |
|---|
nf-core/rnaseq
60 | 61 | 62 |