Skip to content

Commit 2502cc5

Browse files
committed
new version
1 parent df4a973 commit 2502cc5

17 files changed

Lines changed: 162 additions & 37 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ jobs:
5252
5353
env:
5454
NXF_ANSI_LOG: false
55-
NXF_VER: 24.04.4
55+
NXF_VER: 25.04.5

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# MoP4 - Master of Pores 4
22
[![Docker Build Status](https://img.shields.io/docker/automated/biocorecrg/nanopore.svg)](https://cloud.docker.com/u/biocorecrg/repository/docker/biocorecrg/nanopore/builds)
33
[![mop4-CI](https://github.com/biocorecrg/master_of_pores/actions/workflows/build.yml/badge.svg)](https://github.com/biocorecrg/master_of_pores/actions/workflows/build.yml)[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4-
[![Nextflow version](https://img.shields.io/badge/Nextflow-24.04.4-brightgreen)](https://www.nextflow.io/)
4+
[![Nextflow version](https://img.shields.io/badge/Nextflow-25.04.5-brightgreen)](https://www.nextflow.io/)
55
[![Nextflow DSL2](https://img.shields.io/badge/Nextflow-DSL2-brightgreen)](https://www.nextflow.io/)
66
[![Singularity version](https://img.shields.io/badge/Singularity-v3.2.1-green.svg)](https://www.sylabs.io/)
77
[![Docker version](https://img.shields.io/badge/Docker-v20.10.8-blue)](https://www.docker.com/)

conf/m1_apple.config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
docker {
2+
enabled = true
3+
}
4+
15
process {
26
executor = 'local'
37
cpus = 1

docs/changelog.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ CHANGELOG
77
.. autosummary::
88
:toctree: generated
99

10+
Version 4.1
11+
================
12+
13+
* mop_preprocess
14+
* Updated Nextflow version to 25.04.5.
15+
* Added a stats file (MultiQC standard) with total number of reads, accepted reads, and percentages.
16+
* Added Python container support for ADAPTIVE_SAMPLINGQC.
17+
* Added support for tRNA demultiplexing with seqtagger-trna.
18+
1019
Version 4.0
1120
================
1221
Removed mop_tail and added mop_dna and mop_utils

docs/tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ You will get this as output.
176176
⢰⣿⣿⠀⠈⢉⡶⢿⣿⣿⣿⣿⣿⣿⣿⣿⣆⠀⠙⢇⠈⢿⣶⣦⣤⣀⣀⣠⣤⣶⣿⣿⡿⠛⠁⢀⣤⣾⣿⣿⡿⠁⠀⠀⠀⠀⠀⠀⠀⣸⣿⡿⠿⠋⠙⠒⠄⠀⠉⡄
177177
⣿⣿⡏⠀⠀⠁⠀⠀⠀⠉⠉⠙⢻⣿⣿⣿⣿⣷⡀⠀⠀⠀⠻⣿⣿⣿⣿⣿⠿⠿⠛⠁⠀⣀⣴⣿⣿⣿⣿⠟⠀⠀⠀⠀⠀⠀⠀⠀⢠⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠰
178178
====================================================
179-
BIOCORE@CRG Master of Pores 4. Preprocessing - N F ~ version 4.0
179+
BIOCORE@CRG Master of Pores 4. Preprocessing - N F ~ version 4.1
180180
====================================================
181181
182182
@@ -334,7 +334,7 @@ You can run the pipeline on Linux in local using docker or singularity as a cont
334334
⢰⣿⣿⠀⠈⢉⡶⢿⣿⣿⣿⣿⣿⣿⣿⣿⣆⠀⠙⢇⠈⢿⣶⣦⣤⣀⣀⣠⣤⣶⣿⣿⡿⠛⠁⢀⣤⣾⣿⣿⡿⠁⠀⠀⠀⠀⠀⠀⠀⣸⣿⡿⠿⠋⠙⠒⠄⠀⠉⡄
335335
⣿⣿⡏⠀⠀⠁⠀⠀⠀⠉⠉⠙⢻⣿⣿⣿⣿⣷⡀⠀⠀⠀⠻⣿⣿⣿⣿⣿⠿⠿⠛⠁⠀⣀⣴⣿⣿⣿⣿⠟⠀⠀⠀⠀⠀⠀⠀⠀⢠⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠰
336336
====================================================
337-
BIOCORE@CRG Master of Pores 4. Preprocessing - N F ~ version 4.0
337+
BIOCORE@CRG Master of Pores 4. Preprocessing - N F ~ version 4.1
338338
====================================================
339339
340340

launch_nf.sh

Lines changed: 0 additions & 25 deletions
This file was deleted.

mop_preprocess/launch_nf.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ _term() {
1515

1616
trap _term TERM
1717

18+
export NXF_VER="25.04.5"
1819
export NXF_JVM_ARGS="-Xms2g -Xmx6g"
1920

2021
"$@" & pid=$!

mop_preprocess/mop_preprocess.nf

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ nextflow.enable.dsl=2
1010
*/
1111

1212
// Pipeline version
13-
version = '4.0'
13+
version = '4.1'
1414

1515
params.help = false
1616
params.resume = false
@@ -157,6 +157,9 @@ switch(params.demultiplexing) {
157157
case "seqtagger":
158158
demux_models = "${projectDir}/seqtagger_models/"
159159
break;
160+
case "seqtagger-trna":
161+
demux_models = "${projectDir}/seqtagger_tRNA_models/"
162+
break;
160163
case "dorado":
161164
demux_models = "${projectDir}/seqtagger_models/"
162165
break;
@@ -228,12 +231,16 @@ checkTools(tools, params.progPars)
228231
progPars["basecalling"]["dorado-mod"] = progPars["basecalling"]["dorado-mod"] + " --emit-moves"
229232

230233
def basecaller_pars = ["dorado" : progPars["basecalling"]["dorado"], "dorado-duplex" : progPars["basecalling"]["dorado"], "dorado-mod" : progPars["basecalling"]["dorado-mod"] ]
231-
def demux_pars = [ "dorado" : progPars["basecalling"]["dorado"] + " " + progPars["demultiplexing"]["dorado"], "seqtagger": progPars["demultiplexing"]["seqtagger"] ]
234+
def demux_pars = [ "dorado" : progPars["basecalling"]["dorado"] + " " + progPars["demultiplexing"]["dorado"], "seqtagger": progPars["demultiplexing"]["seqtagger"], "seqtagger-trna": progPars["demultiplexing"]["seqtagger-trna"] ]
232235
def mapping_pars = ["bwa": progPars["mapping"]["bwa"], "winnowmap": progPars["mapping"]["winnowmap"] + " -y",
233236
"graphmap2": progPars["mapping"]["graphmap2"], "minimap2": progPars["mapping"]["minimap2"] + " -y --MD",
234237
"graphmap": progPars["mapping"]["graphmap"]
235238
]
236239

240+
if (params.demultiplexing == "seqtagger-trna") {
241+
dem_cont = "lpryszcz/seqtagger:1.1a"
242+
}
243+
237244
// INCLUDE WORKFLOWS
238245
include { BASECALL } from "${workflowsDir}/basecaller" addParams(gpu: gpu_bc, output: output_bc, label: basecall_label, label2:'big_cpus', type:basecalling , extrapars: basecaller_pars[basecalling], models: dorado_models )
239246
include { DEMULTIPLEX } from "${workflowsDir}/demultiplexer.nf" addParams(gpu: gpu, output: output_bc, label: basecall_label, type:params.demultiplexing , extrapars: demux_pars[params.demultiplexing], models: demux_models )
@@ -467,6 +474,7 @@ workflow {
467474

468475
switch(params.demultiplexing) {
469476
case "seqtagger":
477+
case "seqtagger-trna":
470478
outbc = BASECALL(pod5_4_analysis)
471479
demux = DEMULTIPLEX(pod5_4_analysis, outbc.basecalled_fastq)
472480
demufq = demux.demultiplexed_fastq

mop_preprocess/params.dem.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ GPU: "cuda11"
88
basecalling: "dorado"
99
#For emitting the move tables (with dorado-mod)
1010
emit_moves: ""
11-
## Demultiplexing can be either dorado (for DNA) / seqtagger (for RNA)
11+
## Demultiplexing can be either dorado (for DNA) / seqtagger (for RNA) / seqtagger-trna (for tRNA)
1212
demultiplexing: "dorado"
1313
### For demultiplexing pod5 files
1414
demulti_pod5: "NO"
@@ -50,6 +50,7 @@ progPars:
5050
dorado-duplex: "sup"
5151
demultiplexing:
5252
seqtagger: "-k b100"
53+
seqtagger-trna: "-k b07_RNA004_tRNA"
5354
dorado: "--sequencing-kit EXP-NBD104 --no-trim"
5455
filtering:
5556
nanofilt: ""

mop_preprocess/params.mod.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pod5: "${projectDir}/../data/dMOD/**/*.pod5"
66
GPU: "cuda11"
77
# Basecalling can be either NO, dorado, dorado-mod or dorado-duplex
88
basecalling: "dorado-mod"
9-
## Demultiplexing can be either dorado (for DNA) / seqtagger (for RNA)
9+
## Demultiplexing can be either dorado (for DNA) / seqtagger (for RNA) / seqtagger-trna (for tRNA)
1010
#demultiplexing: "seqtagger"
1111
demultiplexing: "NO"
1212
demulti_pod5: "NO"
@@ -48,6 +48,7 @@ progPars:
4848
dorado-duplex: "sup"
4949
demultiplexing:
5050
seqtagger: "-k b100"
51+
seqtagger-trna: "-k b07_RNA004_tRNA"
5152
dorado: ""
5253
filtering:
5354
nanofilt: ""

0 commit comments

Comments
 (0)