Skip to content
Open
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
cf77290
nf-core module update
muffato Mar 23, 2026
b3503ff
Use the new sanger-tol module for that
muffato Mar 23, 2026
0bab621
No need to lint sanger-tol modules and sub-workflows
muffato Mar 23, 2026
41170e8
We require a recent plugin to download assets
muffato Mar 23, 2026
ec41c32
Snapshot update
muffato Mar 23, 2026
f00478b
Updated all remaining nf-core modules
muffato Mar 23, 2026
86cc6e6
Snapshot update
muffato Mar 23, 2026
538721a
Use the new repeat-masking subworkflow
muffato Mar 23, 2026
37e29ff
Clarification
muffato Mar 24, 2026
30b1ef1
Combined the sub-workflows in a way that makes more sense
muffato Mar 24, 2026
87ff33e
This file now differs from the template
muffato Mar 25, 2026
46cb0cd
Move to the upstream blobtk/depth
muffato Mar 26, 2026
10177fe
With no versions.yml emitted, we can simplify the publish rules
muffato Mar 26, 2026
1b404ee
Only publish the HTML file
muffato Mar 26, 2026
a396983
tag can be set dynamically from the config file
muffato Mar 26, 2026
9dbd2d2
Name the BUSCO outputs with the accession number and lineage name
muffato Mar 26, 2026
2c2640a
Update for btk plots
DLBPointon Mar 30, 2026
fa81cff
Add plots
DLBPointon Mar 30, 2026
4499c11
Delete old module
DLBPointon Mar 30, 2026
d6e25d5
Update for blobtk_plots
DLBPointon Mar 30, 2026
f78cdeb
Forgot to update a var name
DLBPointon Mar 30, 2026
ccd162e
Update module
DLBPointon Apr 1, 2026
bb35101
Update blobtk
DLBPointon Apr 29, 2026
fc088aa
Merge branch 'main' into plots
DLBPointon Apr 29, 2026
306989e
Update notes
DLBPointon Apr 29, 2026
17bba0f
update
DLBPointon Apr 29, 2026
a525e23
Merge branch 'dev' into plots
DLBPointon Apr 29, 2026
bcef894
update linting
DLBPointon Apr 29, 2026
8f79ade
Merge conflict
DLBPointon Apr 29, 2026
9b6ab23
Update
DLBPointon Apr 29, 2026
c25f101
Update more merge conflicts
DLBPointon Apr 29, 2026
d2e78af
Update workflows/blobtoolkit.nf
DLBPointon Apr 29, 2026
69d1524
Linting
DLBPointon Apr 29, 2026
f525ae4
update snapshot
DLBPointon Apr 29, 2026
9af5cfb
typo
muffato Apr 30, 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: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
*.nf.test linguist-language=nextflow
modules/nf-core/** linguist-generated
subworkflows/nf-core/** linguist-generated
modules/sanger-tol/** linguist-generated
subworkflows/sanger-tol/** linguist-generated
1 change: 1 addition & 0 deletions .nf-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ lint:
- .github/workflows/branch.yml
- .github/CONTRIBUTING.md
- .github/workflows/linting_comment.yml
- .gitattributes
merge_markers: false
multiqc_config:
- report_comment
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ repos:
exclude: |
(?x)^(
.*ro-crate-metadata.json$|
modules/nf-core/.*|
subworkflows/nf-core/.*|
modules/(?!local/).*|
subworkflows/(?!local/).*|
.*\.snap$
)$
- id: end-of-file-fixer
exclude: |
(?x)^(
.*ro-crate-metadata.json$|
modules/nf-core/.*|
subworkflows/nf-core/.*|
modules/(?!local/).*|
subworkflows/(?!local/).*|
.*\.snap$
)$
1 change: 1 addition & 0 deletions conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ process {
memory = { 1.GB * Math.pow(4, task.attempt) }
time = { 1.h * Math.pow(8, task.attempt) }
}

withLabel: process_gpu {
ext.use_gpu = { workflow.profile.contains('gpu') }
accelerator = { workflow.profile.contains('gpu') ? 1 : null }
Expand Down
17 changes: 9 additions & 8 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ process {
publishDir = [
path: { "${params.outdir}/repeats/windowmasker" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals("versions.yml") ? null : filename.substring(0, filename.length() - 3) + "obinary" }
saveAs: { filename -> filename.substring(0, filename.length() - 3) + "obinary" }
]
}

Expand All @@ -26,7 +26,6 @@ process {
publishDir = [
path: { "${params.outdir}/repeats/windowmasker" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals("versions.yml") ? null : filename }
]
}

Expand Down Expand Up @@ -54,7 +53,6 @@ process {
publishDir = [
path: { "${params.outdir}/read_mapping/${meta.datatype}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals("versions.yml") ? null : filename }
]
}

Expand All @@ -78,11 +76,12 @@ process {
publishDir = [
path: { "${params.outdir}/read_mapping/${meta.datatype}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals("versions.yml") ? null : "${meta.id}.coverage.1k.bed.gz" }
saveAs: { filename -> "${meta.id}.coverage.1k.bed.gz" }
]
}

withName: "BUSCO_BUSCO" {
tag = { "${meta.id}_${lineage}" }
// Obey "use_work_dir_as_temp", except for large genomes
scratch = { !params.use_work_dir_as_temp || (meta.genome_size < 2000000000) }
ext.args = {
Expand All @@ -97,10 +96,10 @@ process {
}

withName: "RESTRUCTUREBUSCODIR" {
ext.prefix = { "${meta.id}_${lineage}" }
publishDir = [
path: { "${params.outdir}/busco" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals("versions.yml") ? null : filename }
]
}

Expand Down Expand Up @@ -152,12 +151,14 @@ process {
]
}

withName: "BLOBTK_IMAGES" {
withName: "BLOBTK_PLOT" {
publishDir = [
path: { "${params.outdir}/blobtoolkit/plots" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals("versions.yml") ? null : filename }
]
ext.args = { "--scale-factor 0.6 ${extra_args.args}" }
Comment thread
muffato marked this conversation as resolved.
ext.prefix = { "${meta.id}_${extra_args.name}" }
}

withName: "JSONIFY_TAXDUMP" {
Expand All @@ -171,9 +172,9 @@ process {
withName: 'MULTIQC' {
ext.args = { params.multiqc_title ? "--title \"$params.multiqc_title\"" : '' }
publishDir = [
path: { "${params.outdir}/multiqc" },
path: { "${params.outdir}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
saveAs: { filename -> filename.endsWith(".html") ? filename : null }
]
}

Expand Down
13 changes: 3 additions & 10 deletions docs/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The pipeline is built using [Nextflow](https://www.nextflow.io/) and processes d
- [Read alignments](#read-alignments) - Aligned reads (optional)
- [Read coverage](#read-coverage) - Read coverage tracks
- [Base content](#base-content) - _k_-mer statistics (for k &le; 4)
- [MultiQC](#multiqc) - Aggregate report describing results and QC from the whole pipeline
- [MultiQC report](#multiqc-report) – Aggregate report describing results and QC from the whole pipeline
- [Pipeline information](#pipeline-information) - Report metrics generated during the workflow execution

### BlobDir
Expand Down Expand Up @@ -123,22 +123,15 @@ Those files are the raw data used to build the BlobDir.

</details>

### MultiQC
### MultiQC report

<details markdown="1">
<summary>Output files</summary>

- `multiqc/`
- `multiqc_report.html`: a standalone HTML file that can be viewed in your web browser.
- `multiqc_data/`: directory containing parsed statistics from the different tools used in the pipeline.
- `multiqc_plots/`: directory containing static images from the report in various formats.
- `multiqc_report.html`: Interactive HTML report summarizing quality metrics from BUSCO.

</details>

[MultiQC](http://multiqc.info) is a visualization tool that generates a single HTML report summarising all samples in your project. Some of the pipeline QC results are visualised in the report and further statistics are available in the report data directory.

Results generated by MultiQC collate pipeline QC from supported tools e.g. FastQC. The pipeline has special steps which also allow the software versions to be reported in the MultiQC output for future traceability. For more information about how to use MultiQC reports, see <http://multiqc.info>.

### Resources / databases

<details markdown="1">
Expand Down
66 changes: 48 additions & 18 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,47 +7,57 @@
"nf-core": {
"blast/blastn": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"git_sha": "3a9acfe9865ac6f63bc48667657bfb8293613f56",
"installed_by": ["modules"],
"patch": "modules/nf-core/blast/blastn/blast-blastn.diff"
},
"blobtk/depth": {
"branch": "master",
"git_sha": "f0ee15907fcece823c1cd5129902405d36108191",
"installed_by": ["modules"]
},
"blobtk/plot": {
"branch": "master",
"git_sha": "02616d1725cc2f97670e25d14d7d1c29d412dffc",
"installed_by": ["modules"]
},
"busco/busco": {
"branch": "master",
"git_sha": "36c6c8445284e021d95ce30cdf743baef66b21aa",
"git_sha": "25e280b4e6cac8cf6af580e9823264f5bc83cefa",
"installed_by": ["modules"],
"patch": "modules/nf-core/busco/busco/busco-busco.diff"
},
"cat/cat": {
"branch": "master",
"git_sha": "69614d4579a6bd9b8a2ecffb35959809d9c36559",
"git_sha": "7ed72ef972290b93d0bdd7c60ff00a693250f77a",
"installed_by": ["modules"]
},
"diamond/blastp": {
"branch": "master",
"git_sha": "4012b87ef8f242b7aa1eb17e165aa003b86b49c0",
"git_sha": "422966026b45f2852cbe1a919dadc52082bf62f1",
"installed_by": ["modules"],
"patch": "modules/nf-core/diamond/blastp/diamond-blastp.diff"
},
"diamond/blastx": {
"branch": "master",
"git_sha": "4012b87ef8f242b7aa1eb17e165aa003b86b49c0",
"git_sha": "8d52ac1b6f035f46c005a27b3510873c2a67ea41",
"installed_by": ["modules"],
"patch": "modules/nf-core/diamond/blastx/diamond-blastx.diff"
},
"fastawindows": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"git_sha": "a3a12a5bf8fb088f5bc68bbb053811b51762abea",
"installed_by": ["modules"],
"patch": "modules/nf-core/fastawindows/fastawindows.diff"
},
"gunzip": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"git_sha": "96c57dfd98a0641886a67bd449fe33ee2ec0e374",
"installed_by": ["modules"]
},
"minimap2/align": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"git_sha": "5c9f8d5b7671237c906abadc9ff732b301ca15ca",
"installed_by": ["modules"],
"patch": "modules/nf-core/minimap2/align/minimap2-align.diff"
},
Expand All @@ -58,45 +68,45 @@
},
"pigz/compress": {
"branch": "master",
"git_sha": "447f7bc0fa41dfc2400c8cad4c0291880dc060cf",
"git_sha": "c908ccaf0a5c802b6f8e814d8c5cf85da2364222",
"installed_by": ["modules"]
},
"samtools/flagstat": {
"branch": "master",
"git_sha": "2d20463181b1c38981a02e90d3084b5f9fa8d540",
"git_sha": "156feda0cb6589cd29c04902004fa3b53bc00205",
"installed_by": ["modules"]
},
"samtools/index": {
"branch": "master",
"git_sha": "b13f07be4c508d6ff6312d354d09f2493243e208",
"git_sha": "156feda0cb6589cd29c04902004fa3b53bc00205",
"installed_by": ["modules"]
},
"samtools/view": {
"branch": "master",
"git_sha": "2d20463181b1c38981a02e90d3084b5f9fa8d540",
"git_sha": "156feda0cb6589cd29c04902004fa3b53bc00205",
"installed_by": ["modules"],
"patch": "modules/nf-core/samtools/view/samtools-view.diff"
},
"seqtk/subseq": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"git_sha": "a46713779030a5f508117080cbf4b693dd4c6e33",
"installed_by": ["modules"],
"patch": "modules/nf-core/seqtk/subseq/seqtk-subseq.diff"
},
"untar": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"git_sha": "447f7bc0fa41dfc2400c8cad4c0291880dc060cf",
"installed_by": ["modules"]
},
"windowmasker/mkcounts": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"installed_by": ["modules"]
"git_sha": "ed6f7d2e090911f69f0f3af563f5af9ba1fc1fa0",
"installed_by": ["repeat_masking"]
},
"windowmasker/ustat": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"installed_by": ["modules"]
"git_sha": "ed6f7d2e090911f69f0f3af563f5af9ba1fc1fa0",
"installed_by": ["repeat_masking"]
}
}
},
Expand All @@ -119,6 +129,26 @@
}
}
}
},
"https://github.com/sanger-tol/nf-core-modules.git": {
"modules": {
"sanger-tol": {
"restructurebuscodir": {
"branch": "main",
"git_sha": "8dac7d789fb5ec033c38e69c2553e71cae0dd4c3",
"installed_by": ["modules"]
}
}
},
"subworkflows": {
"sanger-tol": {
"repeat_masking": {
"branch": "main",
"git_sha": "45230473d69437a6048b5436d74ce464a5cc8d27",
"installed_by": ["subworkflows"]
}
}
}
}
}
}
35 changes: 0 additions & 35 deletions modules/local/blobtk/depth.nf

This file was deleted.

41 changes: 0 additions & 41 deletions modules/local/blobtk/images.nf

This file was deleted.

2 changes: 1 addition & 1 deletion modules/local/generate_config.nf
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ process GENERATE_CONFIG {
container "docker.io/genomehubs/blobtoolkit:4.4.6"

input:
// Some data files are passed as "val" because we need to know the original paths. Staging would prevent that
tuple val(meta), val(fasta)
val taxon_query
val busco_lin
tuple val(metabn), path(blastn)
path lineage_tax_ids
// The following are passed as "val" because we need to know the original paths. Staging would prevent that
val reads
val db_paths

Expand Down
Loading
Loading