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

Add UMI tools #435

Merged
merged 17 commits into from
Jul 27, 2020
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
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
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,15 @@ jobs:
# Nextflow versions: check pipeline minimum and current latest
nxf_ver: ['19.10.0', '']
aligner: ["--aligner 'hisat2'", "--aligner 'star'", "--pseudo_aligner 'salmon'"]
options: ['--skipQC', '--remove_rRNA', '--saveUnaligned', '--skipTrimming', '--star_index false']
options:
- '--skipQC'
- '--remove_rRNA'
- '--saveUnaligned'
- '--skipTrimming'
- '--star_index false'
- '--skip_rsem'
- '--with_umi'
- '--with_umi --skipTrimming --save_umi_intermediates --skip_rsem'
steps:
- name: Check out pipeline code
uses: actions/checkout@v2
Expand Down
7 changes: 7 additions & 0 deletions assets/where_are_my_files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ Specify to save trimmed FastQ files to the results directory.
Save any downloaded or generated reference genome files to your results folder.
These can then be used for future pipeline runs, reducing processing times.

`--save_umi_intermediates`
UMI extraction and deduplication generates intermediate FastQ filese with the UMIs
removed from the read and added to the FastQ header, and deduplicated BAM files.
Enabling this option saves these files to the `umitools` folder in the
results directory.

-----------------------------------
Setting defaults in a config file
-----------------------------------
Expand All @@ -31,6 +37,7 @@ the command line, you can save the following to your personal configuration file
params.saveReference = true
params.saveTrimmed = true
params.saveAlignedIntermediates = true
params.save_umi_intermediates = true

For more help, see the following documentation:

Expand Down
1 change: 1 addition & 0 deletions bin/scrape_software_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
'dupRadar': ['v_dupRadar.txt', r"(\S+)"],
'edgeR': ['v_edgeR.txt', r"(\S+)"],
'MultiQC': ['v_multiqc.txt', r"multiqc, version (\S+)"],
'umi_tools': ['v_umi_tools.txt', r"UMI-tools version: (\S+)"]
}
results = OrderedDict()
results['nf-core/rnaseq'] = '<span style="color:#999999;">N/A</span>'
Expand Down
1 change: 1 addition & 0 deletions conf/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ params {
gff = 'https://github.com/nf-core/test-datasets/raw/rnaseq/reference/genes.gff'
transcript_fasta = 'https://github.com/nf-core/test-datasets/raw/rnaseq/reference/transcriptome.fasta'
additional_fasta = "https://github.com/nf-core/test-datasets/raw/rnaseq/reference/gfp.fa"
umitools_bc_pattern = "NNNN"
}
1 change: 1 addition & 0 deletions conf/test_gz.config
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ params {
star_index = 'https://github.com/czbiohub/test-datasets/raw/olgabot/subset-chrom-I-gzip/reference/star.tar.gz'
salmon_index = 'https://github.com/grst/test-datasets/raw/rnaseq/reference/salmon_index.tar.gz'
compressedReference = true
umitools_bc_pattern = "NNNN"
}
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ dependencies:
- trim-galore=0.6.4
- pigz=2.3.4
- rsem=1.3.3
- umi_tools=1.0.1
Loading