Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
55b6cc4
Template update for nf-core/tools version 3.5.2
sanger-tolsoft Feb 2, 2026
ed91f7c
Initial fixes
weaglesBio Feb 10, 2026
d4d425c
Strict syntax update
weaglesBio Feb 12, 2026
d82ecda
Start modules update
weaglesBio Feb 12, 2026
88f1aa6
Update modules
weaglesBio Feb 13, 2026
ab3a906
Fix module params
weaglesBio Feb 16, 2026
2de30c3
Remove unused module
weaglesBio Feb 16, 2026
10181a8
Replace juicer module
weaglesBio Feb 16, 2026
012fa0c
Update minimap2/align
weaglesBio Feb 16, 2026
d327b1c
Remove versions reference
weaglesBio Feb 17, 2026
a1edb8b
Lint fix
weaglesBio Feb 17, 2026
ccb689d
Remove log
weaglesBio Feb 17, 2026
a837e6a
Fix issue with renameTo -> moveTo
DLBPointon Feb 18, 2026
1a6dd10
Input tuple fix
DLBPointon Feb 18, 2026
e445d99
Change ifEmpty(channel) to ifEmpty([])
DLBPointon Feb 18, 2026
0564a04
Fix Versions channel, also a ch_versions override which we didn't notice
DLBPointon Feb 18, 2026
513feb1
Remove version channels where no longer needed
DLBPointon Feb 18, 2026
b621718
Fix versions out
DLBPointon Feb 18, 2026
93d2e1c
Minor changes
DLBPointon Feb 18, 2026
064f838
Testing fixes
weaglesBio Feb 19, 2026
38cdde5
Remove renaming
DLBPointon Feb 20, 2026
357cfee
Update test
weaglesBio Feb 20, 2026
a587906
Update generate genome and version information
DLBPointon Feb 20, 2026
38b6f4a
update some versions and remove ch_versions
DLBPointon Feb 20, 2026
f40e687
Left over ch_versions channel
DLBPointon Feb 20, 2026
3751dd5
Merge pull request #455 from sanger-tol/strict_syntax
DLBPointon Feb 20, 2026
5ef2ebe
Fix snapshot, change meta.id style
DLBPointon Feb 20, 2026
b93f7d9
Update version stuff
DLBPointon Feb 20, 2026
5b9fd0e
Update version stuff
DLBPointon Feb 20, 2026
18476da
version stuff
DLBPointon Feb 20, 2026
6b1d453
version stuff
DLBPointon Feb 20, 2026
a5fe0d8
Update modules/local/find/half_coverage/main.nf
DLBPointon Feb 21, 2026
faabeb7
Merge pull request #459 from sanger-tol/generate_genome_update
weaglesBio Feb 23, 2026
73ae00f
Fix version string
DLBPointon Feb 26, 2026
5f7f90c
Fix version string for fa2cmapmlticolor
DLBPointon Feb 26, 2026
7b40ee7
Merge pull request #460 from sanger-tol/strict_syntax
weaglesBio Feb 26, 2026
78b4ae7
Template update for nf-core/tools version 3.5.2
sanger-tolsoft Feb 2, 2026
e3f4396
Rebase
weaglesBio Apr 2, 2026
a32543d
Remove merge marker
weaglesBio Apr 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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 @@ -37,7 +37,7 @@ lint:
- validation.help.afterText
- validation.summary.beforeText
- validation.summary.afterText
nf_core_version: 3.5.1
nf_core_version: 3.5.2
repository_type: pipeline
template:
author: Damon-Lee Pointon (@DLBPointon), Yumi Sims (@yumisims) and William Eagles
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![nf-test](https://img.shields.io/badge/unit_tests-nf--test-337ab7.svg)](https://www.nf-test.com)

[![Nextflow](https://img.shields.io/badge/version-%E2%89%A525.04.0-green?style=flat&logo=nextflow&logoColor=white&color=%230DC09D&link=https%3A%2F%2Fnextflow.io)](https://www.nextflow.io/)
[![nf-core template version](https://img.shields.io/badge/nf--core_template-3.5.1-green?style=flat&logo=nfcore&logoColor=white&color=%2324B064&link=https%3A%2F%2Fnf-co.re)](https://github.com/nf-core/tools/releases/tag/3.5.1)
[![nf-core template version](https://img.shields.io/badge/nf--core_template-3.5.2-green?style=flat&logo=nfcore&logoColor=white&color=%2324B064&link=https%3A%2F%2Fnf-co.re)](https://github.com/nf-core/tools/releases/tag/3.5.2)
[![run with conda](http://img.shields.io/badge/run%20with-conda-3EB049?labelColor=000000&logo=anaconda)](https://docs.conda.io/en/latest/)
[![run with docker](https://img.shields.io/badge/run%20with-docker-0db7ed?labelColor=000000&logo=docker)](https://www.docker.com/)
[![run with singularity](https://img.shields.io/badge/run%20with-singularity-1d355c.svg?labelColor=000000)](https://sylabs.io/docs/)
Expand Down
27 changes: 23 additions & 4 deletions assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@
"errorMessage": "Assembly level must be provided"
},
"assem_version": {
"anyOf": [{ "type": "string" }, { "type": "integer" }],
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"errorMessage": "Assembly version must be provided"
},
"sample_id": {
Expand Down Expand Up @@ -41,15 +48,24 @@
},
"map_order": {
"type": "string",
"errorMessage": "Map order"
"errorMessage": "Map order",
"enum": [
"length",
"unsorted"
]
},
"assem_reads": {
"type": "object",
"properties": {
"read_type": {
"type": "string",
"errorMessage": "Long read data type",
"enum": ["hifi", "clr", "ont", "illumina"]
"enum": [
"hifi",
"clr",
"ont",
"illumina"
]
},
"read_data": {
"type": "array",
Expand Down Expand Up @@ -77,7 +93,10 @@
"hic_aligner": {
"type": "string",
"errorMessage": "HiC Aligner - minimap2 (default), bwamem2",
"enum": ["minimap2", "bwamem2"]
"enum": [
"minimap2",
"bwamem2"
]
}
}
},
Expand Down
Binary file removed bin/juicer_tools.1.8.9_jcuda.0.8.jar
Binary file not shown.
6 changes: 1 addition & 5 deletions conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ process {
time = { 4.h * task.attempt }
}

withName:CUSTOM_DUMPSOFTWAREVERSIONS {
cache = false
}

// IN CASES WHERE THERE IS ONE HIC FILE THIS WILL NEED ALMOST NOTHING
withName:SAMTOOLS_MERGE {
cpus = { 16 * 1 }
Expand Down Expand Up @@ -226,7 +222,7 @@ process {
memory = { 128.MB * Math.ceil( task.attempt * 1.5 ) }
}

withName: JUICER_TOOLS_PRE {
withName: JUICERTOOLS_PRE {
cpus = { 20 * task.attempt }
memory = { 100.GB * task.attempt }
}
Expand Down
48 changes: 13 additions & 35 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,10 @@
*/

process {
withName: CUSTOM_DUMPSOFTWAREVERSIONS {
publishDir = [
path: { "${params.outdir}/${task.process.tokenize(":")[-1].tokenize("_")[0].toLowerCase()}" },
mode: params.publish_dir_mode,
pattern: "*_versions.yml"
]
}

// Files to be uploaded to the TreeVal JBrowse2 instance
// .genome, .gz.{tbi|csi}, .bigBed, .bigWig, .paf
withName: "GENERATE_GENOME|TABIX_BGZIPTABIX|UCSC_BEDTOBIGBED|UCSC_BEDGRAPHTOBIGWIG|BED2BW_NORMAL|.*:SYNTENY:MINIMAP2_ALIGN|.*:.*:GENERATE_SORTED_GENOME:GNU_SORT|CUSTOM_GETCHROMSIZES" {
withName: "GENERATE_GENOME|TABIX_BGZIPTABIX|UCSC_BEDTOBIGBED|UCSC_BEDGRAPHTOBIGWIG|BED2BW_NORMAL|.*:SYNTENY:MINIMAP2_ALIGN" {
publishDir = [
path: { "${params.outdir}/treeval_upload" },
mode: params.publish_dir_mode,
Expand Down Expand Up @@ -94,12 +87,6 @@ process {
ext.suffix = 'fasta'
}

withName: 'GAWK_CLEAN_TELOMERE' {
ext.args2 = { "'/^>/'" } // Keep lines starting with '>'
ext.prefix = { "${meta.id}_CLEANED" }
ext.suffix = 'telomere' // Must end with telomere otherwise FIND_TELOMERE_WINDOWS will crash
}

withName: 'GAWK_MAP_TELO' {
ext.args2 = { "-v OFS=\"\t\" 'BEGIN { sub(/^>/, \"\"); print \$1, \$4, \$5, \$6 }'" }
ext.prefix = { "${meta.id}_map_telo" }
Expand Down Expand Up @@ -201,7 +188,7 @@ process {

withName: GNU_SORT_B {
ext.args = { "-k1,1 -k2,2n -S${task.memory.mega - 100}M -T ." }
ext.suffix = { "sorted.genome" }
ext.suffix = { "sorted" }
}

withName: GNU_SORT_C {
Expand Down Expand Up @@ -257,7 +244,7 @@ process {

withName: ".*:.*:(GEN_ALIGNMENTS|RNA_ALIGNMENTS|CDS_ALIGNMENTS):MINIMAP2_ALIGN" {
ext.args = {"-x splice ${meta.intron_size ? "-G ${meta.intron_size}" : "" } ${reference.size() > 2.5e9 ? (" -I " + Math.ceil(reference.size()/1e9)+"G") : ""} "}
ext.args2 = { "-T ${meta.id}_tmp" }
// ext.args2 = { "-T ${meta.id}_tmp" }
ext.prefix = { "${meta.id}_alignment_${reference.getName().tokenize(".")[0]}" }
}

Expand Down Expand Up @@ -309,7 +296,7 @@ process {
//
withName: ".*:SYNTENY:MINIMAP2_ALIGN" {
ext.args = "-t 8 -x asm10"
ext.args2 = { "-T ${meta.id}_tmp" }
// ext.args2 = { "-T ${meta.id}_tmp" }
ext.prefix = { "${meta.id}_synteny_${reference.getName().tokenize(".")[0]}" }
}

Expand Down Expand Up @@ -416,7 +403,7 @@ process {
// normal = standard run, pi = "pre-ingestion", hr = High res
//
withName: PRETEXTMAP_STANDRD {
ext.args = { "${meta.map_order.equals("length") ? "--sortby length": "--sortby nosort" } --mapq 0 --memory ${task.memory.giga}" }
ext.args = { "${meta.map_order.equals("length") ? "--sortby length": "--sortby nosort" } --mapq 0" }
ext.prefix = { "${meta.id}_normal_pi" }
}

Expand Down Expand Up @@ -449,38 +436,29 @@ process {
ext.prefix = { "${meta.id}_normal" }
}


withName: JUICER_TOOLS_PRE {
ext.juicer_tools_jar = "juicer_tools.1.8.9_jcuda.0.8.jar"
ext.juicer_jvm_params = "-Xms1g -Xmx36g"
}

withName: COOLER_CLOAD {
ext.args = "pairs -0 -c1 3 -p1 4 -c2 7 -p2 8"
ext.args = "-0 -c1 3 -p1 4 -c2 7 -p2 8"
}

withName: ".*:.*:(HIC_BAMTOBED_COOLER|HIC_BAMTOBED_JUICER):SAMTOOLS_MARKDUP" {
ext.prefix = { "${meta.id}_mkdup" }
}

withName: ".*:.*:HIC_BWAMEM2:CRAM_FILTER_ALIGN_BWAMEM2_FIXMATE_SORT" {
ext.args = ""
ext.args1 = "-F0xB00 -nt"
ext.args2 = { "-5SPCp -H'${rglines}'" }
ext.args3 = "-mpu"
ext.args4 = { "--write-index -l1" }
ext.args = "-F0xB00 -nt"
ext.args1 = "-mpu"
ext.args2 = { "--write-index -l1" }
}

withName: ".*:.*:HIC_BWAMEM2:SAMTOOLS_MERGE" {
ext.prefix = { "${meta.id}_hic_bwamem2_merge" }
}

withName: ".*:.*:HIC_MINIMAP2:CRAM_FILTER_MINIMAP2_FILTER5END_FIXMATE_SORT" {
ext.args = ""
ext.args1 = ""
ext.args2 = { "-ax sr" }
ext.args3 = "-mpu"
ext.args4 = { "--write-index -l1" }
ext.args = ""
ext.args1 = { "-ax sr" }
ext.args2 = "-mpu"
ext.args3 = { "--write-index -l1" }
}

withName: ".*:.*:HIC_MINIMAP2:SAMTOOLS_MERGE" {
Expand Down
6 changes: 0 additions & 6 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ workflow {

main:

params.mode = params.mode ?: "FULL"
params.binfile = params.binfile ?: false
params.juicer = params.juicer ?: false
params.run_hires = params.run_hires ?: true

//
// SUBWORKFLOW: Run initialisation tasks
//
Expand All @@ -54,7 +49,6 @@ workflow {
// WORKFLOW: Run main workflow
//
SANGERTOL_TREEVAL (
PIPELINE_INITIALISATION.out.assembly_id,
PIPELINE_INITIALISATION.out.reference,
PIPELINE_INITIALISATION.out.map_order,
PIPELINE_INITIALISATION.out.assem_reads,
Expand Down
Loading
Loading