Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
3f23bf3
Prepare dev branch for new developments
charles-plessy May 25, 2026
329a1e2
Allow single strand indexing.
charles-plessy May 25, 2026
60ad72d
Optional alignment thumbnails in the MultiQC report.
charles-plessy May 25, 2026
f765267
Use `base64` in a portable way.
charles-plessy May 26, 2026
5749ecb
Add a changelog entry.
charles-plessy May 26, 2026
715fd61
Merge pull request #111 from nf-core/multiqc-thumbs-issue-93
charles-plessy May 26, 2026
99683a5
Merge branch 'dev' into single-strand-indexing-issue-97
charles-plessy May 26, 2026
a533634
Add a changelog entry.
charles-plessy May 26, 2026
afd978c
Merge pull request #110 from nf-core/single-strand-indexing-issue-97
charles-plessy May 26, 2026
caf2432
Add a `--query` option for when there is only one query
charles-plessy May 27, 2026
db8002b
Import samtools/merge module
charles-plessy May 27, 2026
5a2ffb7
Error with clear message when both --input and --query are given.
charles-plessy May 28, 2026
0ab27ac
Add a multi_cram option.
charles-plessy May 28, 2026
8a99fc1
Merge the fasta_bgzip_index_dict_samtools outputs in a single channel.
charles-plessy May 28, 2026
63e7b75
Merge pull request #113 from nf-core/single-query-option-issue-112
charles-plessy May 28, 2026
48fcd5a
Also output the dictionary file.
charles-plessy May 29, 2026
f37dcf9
Patch samtools/merge to preserve local paths to the reference.
charles-plessy May 29, 2026
dcfa35f
Correct default value of params.multi_cram, for use in if statements.
charles-plessy May 29, 2026
e20e2ca
Properly handle the case when maf-convert does not need a genome sequ…
charles-plessy May 29, 2026
8f2fa02
Produce a merged CRAM file with all the target-query alignments.
charles-plessy May 29, 2026
4a19cd1
Document the changes.
charles-plessy May 29, 2026
0fcb2dc
Also update the subworkflow's snapshot.
charles-plessy May 29, 2026
c93da93
Merge branch 'dev' into multi-cram-issue-60
charles-plessy May 29, 2026
c870d97
Fix changelog borken by merge
charles-plessy May 29, 2026
c6cbffe
prek run --show-diff-on-failure --color=always --all-files
charles-plessy May 29, 2026
9f136d4
Use CRAM 3.0 to be consistent with maf-convert.
charles-plessy May 30, 2026
cc1fd26
Generate 4 channels at once.
charles-plessy Jun 2, 2026
220e3c2
Use the 4 channels generated with multiMap.
charles-plessy Jun 2, 2026
fbec929
Use the 4 channels generated with multiMap.
charles-plessy Jun 2, 2026
2bfdc19
Use the same bgzipped genome channel everywhere
charles-plessy Jun 2, 2026
1ad1902
prek run --show-diff-on-failure --color=always --all-files
charles-plessy Jun 2, 2026
0e58188
Simplify one if/else statement in just one if.
charles-plessy Jun 2, 2026
15df6b6
Use nf-core's version of FASTA_BGZIP_INDEX_DICT_SAMTOOLS…
charles-plessy Jun 2, 2026
8fac8f7
Merge pull request #114 from nf-core/multi-cram-issue-60
charles-plessy Jun 2, 2026
5e80dd3
Tubemap for version 2.3.0
charles-plessy Jun 3, 2026
354a1c6
Export target genome sequence lenghts as `##sequence-region` fields i…
charles-plessy Jun 3, 2026
7ddf1d1
Fix 2.2.2 changelog.
charles-plessy Jun 3, 2026
b0104dc
Check for file existence in more inputs.
charles-plessy Jun 3, 2026
59bcec2
Fix changelog and prepare for 2.3.0 release
charles-plessy Jun 3, 2026
e37b1e4
Fix typo.
charles-plessy Jun 3, 2026
b66bfb4
Merge pull request #116 from nf-core/prepare-2.3.0
charles-plessy Jun 3, 2026
7b43756
Release v2.3.0
charles-plessy Jun 3, 2026
c0db0fb
Fix `--multi_cram` description in the schema.
charles-plessy Jun 10, 2026
dca4d5a
Explain why errorStrategy is there.
charles-plessy Jun 10, 2026
2c76c1a
Move handling of the `--query` parameter to the initiation subworkflow.
charles-plessy Jun 10, 2026
33ef9d7
Bump changelog date
charles-plessy Jun 10, 2026
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
2 changes: 1 addition & 1 deletion .nf-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ template:
name: pairgenomealign
org: nf-core
outdir: .
version: 2.2.3
version: 2.3.0
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,41 @@
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.3.0](https://github.com/nf-core/pairgenomealign/releases/tag/2.3.0) "Umi budou" - [June 10th 2026]

### `Added`

- New `--multi_cram` option to produce a multi-query CRAM file combining all the alignments ([#60](https://github.com/nf-core/pairgenomealign/issues/60)).
- New `--multiqc_thumbs` option to produce alignment thumbnails in the MultiQC report ([#93](https://github.com/nf-core/pairgenomealign/issues/93)).
- New `--strand` option to index only one strand of the genome, which reduces memory usage at the expense of speed, and suppresses `-/+` alignments ([#97](https://github.com/nf-core/pairgenomealign/issues/97)).
- New `--query` and `--queryName` convenience options to skip samplesheet creation when there is only one _query_ genome to align ([#112](https://github.com/nf-core/pairgenomealign/issues/112)).
- In the GFF export format, the _target_ genome sequence lengths are now exported in `##sequence-region` fields ([#70](https://github.com/nf-core/pairgenomealign/issues/70)).

### `Fixed`

- Using the nf-core version of the `FASTA_BGZIP_INDEX_DICT_SAMTOOLS` subworkflow that we just contributed.
- Check for input file existence in the parameter schema [#73](https://github.com/nf-core/pairgenomealign/issues/73)).

### `Parameters`

| Old parameter | New parameter |
| ------------- | ------------------ |
| | `--multi_cram` |
| | `--multiqc_thumbs` |
| | `--query` |
| | `--queryName` |
| | `--strand` |

### `Dependencies`

| Dependency | Old version | New version |
| ------------------- | ----------- | ----------- |
| `SAMTOOLS_BGZIP` | 1.21 | |
| `SAMTOOLS_DICT` | 1.21 | 1.23.1 |
| `SAMTOOLS_FAIDX` | 1.21 | 1.23.1 |
| `SAMTOOLS_MERGE` | | 1.23.1 |
| `HTSLIB_BGZIPTABIX` | | 1.23.1 |

## [v2.2.3](https://github.com/nf-core/pairgenomealign/releases/tag/2.2.3) "Reitou mikan" - [May 20th 2026]

### `Fixed`
Expand All @@ -28,6 +63,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Merged output channels in `last/dotplot` ([#100](https://github.com/nf-core/pairgenomealign/issues/100))
- Created missing `meta.yml` for subworkflows ([#101](https://github.com/nf-core/pairgenomealign/issues/101)).
- Exclude PNG files from pipeline test, because not reproducible in conda.
- Display the _target_ genome length in the MultiQC report ([#77](https://github.com/nf-core/pairgenomealign/issues/77)).

### `Dependencies`

Expand Down
2 changes: 1 addition & 1 deletion assets/multiqc_config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
report_comment: >
This report has been generated by the <a href="https://github.com/nf-core/pairgenomealign/releases/tag/2.2.3" 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.2.3/docs/output" target="_blank">documentation</a>.
This report has been generated by the <a href="https://github.com/nf-core/pairgenomealign/releases/tag/2.3.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.3.0/docs/output" target="_blank">documentation</a>.
report_section_order:
"nf-core-pairgenomealign-methods-description":
order: -1000
Expand Down
35 changes: 31 additions & 4 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ process {
// -R01: uppercase all sequences and then lowercase simple repeats with tantan
// -R10: keep original lowercase masking
// -c: soft-mask lowercase letters
// -S2: index both strands
ext.args = { "${params.softmask=="tantan" ? '-R01' : '-R11'} -c -u${params.seed} -S2" }
// -S2: index both strands, -S1: index the forward strand only.
ext.args = { "${params.softmask=="tantan" ? '-R01' : '-R11'} -c -u${params.seed} ${params.strand=="both" ? '-S2' : '-S1'}" }
publishDir = [
enabled: false
]
Expand Down Expand Up @@ -111,6 +111,16 @@ process {
ext.prefix = { "${meta.id}.m2m_plt_filtered" }
}

withName: ALIGNMENT_CRAM {
publishDir = [
enabled: false
]
}

withName: ALIGNMENT_MERGE {
ext.args = { "-O cram,version=3.0 --write-index" }
}

withName: 'MULTIQC' {
ext.args = { params.multiqc_title ? "--title \"$params.multiqc_title\"" : '' }
publishDir = [
Expand All @@ -126,7 +136,23 @@ process {
]
}

withName: 'SAMTOOLS_BGZIP' {
withName: 'MULTIQC_THUMBS' {
errorStrategy = { task.exitStatus in ((130..145) + 104 + (175..177)) ? 'retry' : 'finish' } // override LAST_DOTPLOT to return to default.
ext.prefix = { "${meta.id}.o2o_thumb" }
ext.args = { "--sort2=3 --strands2=1 --width=${params.multiqc_thumbs} --height=${params.multiqc_thumbs} --fontsize=1 --border-pixel=0" }
publishDir = [ enabled: false ]
}

withName: 'MULTIQC_THUMBS_HTML' {
publishDir = [
path: { "${params.outdir}/multiqc/alignment_thumbs" },
mode: params.publish_dir_mode,
]
}

// FASTA_BGZIP_INDEX_DICT_SAMTOOLS subworkflow:

withName: 'HTSLIB_BGZIPTABIX' {
publishDir = [
path: { "${params.outdir}/alignment" },
mode: params.publish_dir_mode,
Expand All @@ -144,7 +170,8 @@ process {
withName: 'SAMTOOLS_DICT' {
ext.args = { "-u ./${fasta} -a ${meta.id}" }
publishDir = [
enabled: false
path: { "${params.outdir}/alignment" },
mode: params.publish_dir_mode,
]
}

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