Skip to content

Commit 0e38b6e

Browse files
authored
Merge pull request #4 from nf-core/dev
Release v1.0.0 -> v1.1.0
2 parents af7d504 + bc17cb9 commit 0e38b6e

File tree

24 files changed

+1605
-1636
lines changed

24 files changed

+1605
-1636
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,30 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6+
## v1.1.0 - Black Crow [XX/07/2022]
7+
8+
Improves computation time.
9+
Split `uLTRA pipeline` into two processes, `uLTRA index` and `uLTRA align`. `GTF` index is computed once and not `chunk` times.
10+
`uLTRA align` sort and convert `sam` output into `bam` files. Aligned reads are already sorted by `minimap2` module. Therefore, `samtools sort` module is not needed anymore and has been removed.
11+
The `bioperl` module objective was to deal with [spurious alignments produced by uLTRA if a malformed GTF is used](https://github.com/ksahlin/ultra/issues/11). Removing it will stop the pipeline in case of malformed `GTF`.
12+
Module resource requirements have been revised for four modules (`gstama/merge`, `isoseq3/refine`, `lima`, `ultra/align`) to reduce requested resources.
13+
AWS runs with shows better run time and CPU/RAM usage ([Results](docs/images/Isoseq_pipeline_v1.0.0_v1.1.0.png)).
14+
15+
### `Added`
16+
17+
- Add `uLTRA index` and `uLTRA align` to replace `uLTRA pipeline` [PR 1830](https://github.com/nf-core/modules/pull/1830)
18+
- Module resources adjustments: `gstama/merge`, `isoseq3/refine`, `lima`, `ultra/align` [PR1858](https://github.com/nf-core/modules/pull/1858), `gunzip`, `MultiQC`
19+
20+
### `Fixed`
21+
22+
### `Dependencies`
23+
24+
### `Deprecated`
25+
26+
- Remove `uLTRA pipeline`
27+
- Remove `samtools sort` module
28+
- Remove `bioperl` module
29+
630
## v1.0.0 - Silver Swan [28/06/2022]
731

832
Initial release of nf-core/isoseq, created with the [nf-core](https://nf-co.re/) template.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,10 @@ On release, automated continuous integration tests run the pipeline on a full-si
4141
4. Convert bam file into fasta file ([`BAMTOOLS CONVERT`](https://github.com/pezmaster31/bamtools))
4242
5. Select reads with a polyA tail and trim it ([`GSTAMA_POLYACLEANUP`](https://github.com/GenomeRIK/tama))
4343
6. uLTRA path: decompress FLNCs ([`GUNZIP`](https://www.gnu.org/software/gzip/))
44-
7. Map consensuses on the reference genome ([`MINIMAP2`](https://github.com/lh3/minimap2) or [`uLTRA`](https://github.com/ksahlin/ultra))
45-
8. uLTRA path remove spurious alignments ([`BIOPERL`](https://bioperl.org/))
46-
9. Sort sam file and convert bam ([`SAMTOOLS SORT`](http://www.htslib.org/doc/samtools-sort.html))
47-
10. Clean gene models ([`TAMA collapse`](https://github.com/GenomeRIK/tama))
48-
11. Merge annotations by sample ([`TAMA merge`](https://github.com/GenomeRIK/tama))
44+
7. uLTRA path: index `GTF` file for mapping ([`uLTRA`](https://github.com/ksahlin/ultra))
45+
8. Map consensuses on the reference genome ([`MINIMAP2`](https://github.com/lh3/minimap2) or [`uLTRA`](https://github.com/ksahlin/ultra))
46+
9. Clean gene models ([`TAMA collapse`](https://github.com/GenomeRIK/tama))
47+
10. Merge annotations by sample ([`TAMA merge`](https://github.com/GenomeRIK/tama))
4948

5049
## Quick Start
5150

@@ -83,6 +82,7 @@ nf-core/isoseq was originally written by Sébastien Guizard.
8382
We thank the following people for their extensive assistance in the development of this pipeline:
8483

8584
- Thanks to [Jose Espinosa-Carrasco](https://github.com/JoseEspinosa), [Daniel Schreyer](https://github.com/DSchreyer) and [Gisela Gabernet](https://github.com/ggabernet) for their reviews and contributions
85+
- [Kristoffer Sahlin](https://github.com/ksahlin) for `uLTRA` and the help he provided
8686
- [Richard Kuo](https://github.com/GenomeRIK) ([Wobble Genomics](https://www.wobblegenomics.com/)) for his valuable advices on isoseq analysis
8787
- The Workpackage 2 of [GENE-SWitCH Project](https://www.gene-switch.eu/) for their fruitful discussions and remarks
8888
- [Mick Watson](https://twitter.com/BioMickWatson) group for their support

conf/modules.config

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -81,38 +81,27 @@ process {
8181
ext.prefix = { "${meta.id}_tama" }
8282
}
8383

84-
withName: ULTRA_PIPELINE {
84+
withName: ULTRA_INDEX {
8585
publishDir = [
86-
path: { "${params.outdir}/06.2_ULTRA" },
87-
mode: params.publish_dir_mode,
88-
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
89-
]
90-
ext.args = "--isoseq --disable_infer"
91-
}
92-
93-
withName: PERL_BIOPERL {
94-
publishDir = [
95-
path: { "${params.outdir}/06.3_PERL_BIOPERL" },
86+
path: { "${params.outdir}/ULTRA_INDEX" },
9687
mode: params.publish_dir_mode,
9788
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
9889
]
99-
ext.args = '-F\'\\t\' -nae \'print if ($F[5] !~ /N$/)\''
100-
ext.prefix = { "${meta.id}_filtered.sam" }
10190
}
10291

103-
withName: SAMTOOLS_SORT {
92+
withName: ULTRA_ALIGN {
10493
publishDir = [
105-
path: { "${params.outdir}/07_SAMTOOLS_SORT" },
94+
path: { "${params.outdir}/06.2_ULTRA" },
10695
mode: params.publish_dir_mode,
10796
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
10897
]
109-
ext.prefix = { "${meta.id}_sorted" }
98+
ext.args = "--isoseq"
11099
}
111100

112101
if (params.capped == true) {
113102
withName: GSTAMA_COLLAPSE {
114103
publishDir = [
115-
path: { "${params.outdir}/08_GSTAMA_COLLAPSE" },
104+
path: { "${params.outdir}/07_GSTAMA_COLLAPSE" },
116105
mode: params.publish_dir_mode,
117106
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
118107
]
@@ -121,7 +110,7 @@ process {
121110
} else {
122111
withName: GSTAMA_COLLAPSE {
123112
publishDir = [
124-
path: { "${params.outdir}/08_GSTAMA_COLLAPSE" },
113+
path: { "${params.outdir}/07_GSTAMA_COLLAPSE" },
125114
mode: params.publish_dir_mode,
126115
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
127116
]
@@ -131,15 +120,15 @@ process {
131120

132121
withName: GSTAMA_FILELIST {
133122
publishDir = [
134-
path: { "${params.outdir}/09_GSTAMA_FILELIST" },
123+
path: { "${params.outdir}/08_GSTAMA_FILELIST" },
135124
mode: params.publish_dir_mode,
136125
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
137126
]
138127
}
139128

140129
withName: GSTAMA_MERGE {
141130
publishDir = [
142-
path: { "${params.outdir}/10_GSTAMA_MERGE" },
131+
path: { "${params.outdir}/09_GSTAMA_MERGE" },
143132
mode: params.publish_dir_mode,
144133
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
145134
]
-18.5 KB
Loading

0 commit comments

Comments
 (0)