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

Milestone 2.0.0 #39

Merged
merged 26 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
5df2dfe
Merge pull request #16 from nf-core/dev
charles-plessy Oct 9, 2024
0c1a6b9
Merge pull request #26 from nf-core/dev
charles-plessy Dec 18, 2024
448340d
Do not output the LAST database files, closes #36.
charles-plessy Jan 16, 2025
4b9f8b8
Do not output the _many-to-one_ alignment except in `--m2m` mode.
charles-plessy Jan 16, 2025
10c2d2a
Enforce strictness in seqtk cutn, fixes #18
charles-plessy Jan 16, 2025
5d09fc1
Allow all seeds, closes #34
charles-plessy Jan 16, 2025
cff62c5
Ignore errors probably caused by no alignments found
charles-plessy Jan 23, 2025
d0377b3
Update all modules.
charles-plessy Jan 23, 2025
6cd6052
Fix subworkflows to accept a fixed parameter file. Closes #22
charles-plessy Jan 23, 2025
997effa
New option `export_aln_to` for people who need different formats than…
charles-plessy Jan 23, 2025
7f4b00c
Merge branch 'dev' into milestone_2.0.0
charles-plessy Jan 24, 2025
f32de98
Factorise dotplot options and group dotplot config sections
charles-plessy Jan 24, 2025
b969767
pre-commit run --all-files
charles-plessy Jan 24, 2025
97103fd
Current changelog
charles-plessy Jan 24, 2025
3abb4df
Update tubemap to version 2.0
charles-plessy Jan 27, 2025
776a06f
Documentation updates
charles-plessy Jan 27, 2025
eba8c2f
Merge branch 'milestone_2.0.0' of github.com:nf-core/pairgenomealign …
charles-plessy Jan 27, 2025
cd91bad
Prepare release 2.0.0
charles-plessy Jan 27, 2025
976b137
Merge branch 'dev' into milestone_2.0.0
charles-plessy Jan 28, 2025
700586d
Brush up changelog.
charles-plessy Jan 30, 2025
90b6b43
Update nextflow_schema.json
charles-plessy Jan 30, 2025
5e22a3a
Update nextflow_schema.json
charles-plessy Jan 30, 2025
d71189e
Merge branch 'milestone_2.0.0' of github.com:nf-core/pairgenomealign …
charles-plessy Jan 30, 2025
5ecdcbd
Mention compression algorithm.
charles-plessy Jan 30, 2025
8cfa80b
Restore unicode quotes.
charles-plessy Jan 30, 2025
894e584
Collect all last/ submodules versions.
charles-plessy Jan 30, 2025
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
52 changes: 50 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,47 @@
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).

## v2.0.0dev - [unreleased]
## [v2.0.0](https://github.com/nf-core/pairgenomealign/releases/tag/2.0.0) "Naga imo" - [January 27th, 2025]
charles-plessy marked this conversation as resolved.
Show resolved Hide resolved

### Backwards-incompatible changes
charles-plessy marked this conversation as resolved.
Show resolved Hide resolved

- The LAST software was updated and it has new defaults for some of its
parameters. The alignments ran with this pipeline will not be identical to
the ones from older versions.

### New features

- The `alignment/lastdb` directory is not output anymore. It consumed space,
is not usually needed for downstream analysis, and can be re-computed
identically if needed.
- The _many-to-one_ alignment file is not output anymore by default, to save
space. To keep this file, you can run the pipeline in `many-to-many` mode
with the `--m2m` parameter.
- The `--seed` parameter allows for all the existing values in the `lastdb`
program.
- Errors caused by absence of alignments at training or plotting steps
are now ignored.
- New parameter `--export_aln_to` that creates additional files containing
the alignments in a different format such as Axt, Chain, GFF or SAM.

charles-plessy marked this conversation as resolved.
Show resolved Hide resolved
### Bug fixes

- Incorrect detection of regions with 10 or more `N`s was corrected ([#18](https://github.com/nf-core/pairgenomealign/issues/18)).
- The `--lastal_params` now works as intended instead of being ignored ([#22](https://github.com/nf-core/pairgenomealign/issues/22)).
- The _workflow summary_ is now properly sorted at the end of the MultiQC report ([#32](https://github.com/nf-core/pairgenomealign/issues/32)).

### Parameters

| Old parameter | New parameter |
| ------------- | ----------------- |
| | `--export_aln_to` |

### Software dependencies

| Dependency | Old version | New version |
| ---------- | ----------- | ----------- |
| `LAST` | 1542 | 1608 |
| `MultiQC` | 1.25.1 | 1.27 |

## [v1.1.1](https://github.com/nf-core/pairgenomealign/releases/tag/1.1.1) "Kani nabe" - [December 17th, 2024]

Expand All @@ -12,7 +52,15 @@ nf-core 3.1.0. No changes were made to the alignment process.

## [v1.1.0](https://github.com/nf-core/pairgenomealign/releases/tag/1.1.0) "Nattou maki" - [September 27th, 2024]

Added a new `softmask` parameter, to optionally keep original softmasking.
### New features

- Added a new `softmask` parameter, to optionally keep original softmasking.

### Parameters

| Old parameter | New parameter |
| ------------- | ------------- |
| | `--softmask` |

## [v1.0.0](https://github.com/nf-core/pairgenomealign/releases/tag/1.0.0) "Sweet potato" - [August 27th, 2024]

Expand Down
7 changes: 4 additions & 3 deletions 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/pairgenomealign/tree/dev" target="_blank">nf-core/pairgenomealign</a>
analysis pipeline. For information about how to interpret these results, please see the
<a href="https://nf-co.re/pairgenomealign/dev/docs/output" target="_blank">documentation</a>.
This report has been generated by the <a href="https://github.com/nf-core/pairgenomealign/releases/tag/2.0.0"
target="_blank">nf-core/pairgenomealign</a> analysis pipeline. For information about
how to interpret these results, please see the <a href="https://nf-co.re/pairgenomealign/2.0.0/docs/output"
target="_blank">documentation</a>.
report_section_order:
"nf-core-pairgenomealign-methods-description":
order: -1000
Expand Down
32 changes: 22 additions & 10 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ process {
]

withName: CUTN_TARGET {
ext.args = { "-n 10" }
ext.args = { "-n 10 -p 100000" }
charles-plessy marked this conversation as resolved.
Show resolved Hide resolved
}

withName: CUTN_QUERY {
ext.args = { "-n 10" }
ext.args = { "-n 10 -p 100000" }
}

withName: 'ALIGNMENT_LASTDB' {
Expand All @@ -33,18 +33,16 @@ process {
// -c: soft-mask lowercase letters
// -S2: index both strands
ext.args = { "${params.softmask=="tantan" ? '-R01' : '-R11'} -c -u${params.seed} -S2" }
publishDir = [
enabled: false
]
}

withName: 'ALIGNMENT_SPLIT_O2M' {
ext.prefix = { "${meta.id}.o2m_aln" }
ext.args = { "--reverse -m${params.last_split_mismap}" }
}

withName: 'ALIGNMENT_DOTPLOT_O2M' {
ext.prefix = { "${meta.id}.o2m_plt" }
ext.args = { "--rot2=h --sort2=3 --strands2=1 ${params.dotplot_options}" }
}

withName: 'ALIGNMENT_SPLIT_M2O' {
ext.prefix = { "${meta.id}.m2o_aln" }
ext.args = { "-m${params.last_split_mismap}" }
Expand All @@ -56,32 +54,46 @@ process {
}

withName: 'ALIGNMENT_TRAIN' {
// If the training step fails, it is likely that there are no
// alignments to be found with the selected seed. Ignore and therefore
// skip alignments instead of crashing the pipeline.
errorStrategy = { task.exitStatus in (130..145) ? 'retry' : task.exitStatus == 1 ? 'ignore' : 'finish' }
ext.args = { "--revsym ${params.lastal_args}" }
}

withName: 'ALIGNMENT_LASTAL_M2O' {
ext.prefix = { "${meta.id}.m2o_aln" }
ext.args = { "--split-f=MAF+ ${params.lastal_args} ${params.lastal_extr_args}" }
publishDir = [
enabled: false
]
}

withName: 'ALIGNMENT_LASTAL_M2M' {
ext.prefix = { "${meta.id}.m2m_aln" }
ext.args = { "${params.lastal_args} ${params.lastal_extr_args}" }
}

withName: 'LAST_DOTPLOT' {
// The number one cause of failure is absence of alignments.
errorStrategy = { task.exitStatus in (130..145) ? 'retry' : task.exitStatus == 1 ? 'ignore' : 'finish' }
ext.args = { "--rot2=h --sort2=3 --strands2=1 ${params.dotplot_options}" }
}

withName: 'ALIGNMENT_DOTPLOT_O2O' {
ext.prefix = { "${meta.id}.o2o_plt" }
ext.args = { "--rot2=h --sort2=3 --strands2=1 ${params.dotplot_options}" }
}

withName: 'ALIGNMENT_DOTPLOT_M2O' {
ext.prefix = { "${meta.id}.m2o_plt" }
ext.args = { "--rot2=h --sort2=3 --strands2=1 ${params.dotplot_options}" }
}

withName: 'ALIGNMENT_DOTPLOT_O2M' {
ext.prefix = { "${meta.id}.o2m_plt" }
}

withName: 'ALIGNMENT_DOTPLOT_M2M' {
ext.prefix = { "${meta.id}.m2m_plt" }
ext.args = { "--rot2=h --sort2=3 --strands2=1 ${params.dotplot_options}" }
}

withName: 'MULTIQC' {
Expand Down
Binary file modified docs/images/pairgenomealign-tubemap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading