×

nf-core/ragtag/scaffold @ 0.0.0-0c7146d

Scaffolding is the process of ordering and orienting draft assembly (query) sequences into longer sequences. Gaps (stretches of "N" characters) are placed between adjacent query sequences to indicate the presence of unknown sequence. RagTag uses whole-genome alignments to a reference assembly to scaffold query sequences. RagTag does not alter input query sequence in any way and only orders and orients sequences, joining them with gaps.

Latest version: 0.0.0-0c7146d
Total downloads: 1
Source: nf-core/modules
Authors: @nschan
Maintainers: @nschan

Summary

Scaffolding is the process of ordering and orienting draft assembly (query) sequences into longer sequences. Gaps (stretches of "N" characters) are placed between adjacent query sequences to indicate the presence of unknown sequence. RagTag uses whole-genome alignments to a reference assembly to scaffold query sequences. RagTag does not alter input query sequence in any way and only orders and orients sequences, joining them with gaps.

Get started

Add the following snippet to your workflow script to include this module.

include { RAGTAG_SCAFFOLD } from 'nf-core/ragtag/scaffold'

License

MIT License

Process
Name RAGTAG_SCAFFOLD
Input 4 channels
#1 tuple
meta map

Groovy Map containing sample information e.g. [ id:'test' ]

assembly file

Assembly to be scaffolded

*.{fasta,fasta.gz,fa,fa.gz}
#2 tuple
meta2 map

Groovy Map containing sample information e.g. [ id:'test' ]

reference file

Reference assembly

*.{fasta,fasta.gz,fa,fa.gz}
#3 tuple
meta3 map

Groovy Map containing sample information e.g. [ id:'test' ]

exclude file

list of target sequences to ignore

*.txt
#4 tuple
meta4 map

Groovy Map containing sample information e.g. [ id:'test' ]

skip file

list of query sequences to leave unplaced

*.txt
hard_skip file

list of query headers to leave unplaced and exclude from 'chr0' ('-C')

*.txt
Output 4 channels
#1 corrected_agp tuple
meta map

Groovy Map containing sample information e.g. [ id:'test' ]

*.agp file

agp file defining how corrected_assembly is built

*.agp
#2 corrected_stats tuple
meta map

Groovy Map containing sample information e.g. [ id:'test' ]

*.stats file

Statistics on the scaffold

*.stats
#3 versions_ragtag tuple
${task.process} string

The name of the process

ragtag string

The name of the tool

ragtag.py -v | sed 's/v//' eval

The expression to obtain the version of the tool

#4 corrected_assembly tuple
meta map

Groovy Map containing sample information e.g. [ id:'test' ]

*.fasta file

FASTA file containing the patched assembly

*.fasta
Tool Description Homepage
ragtag Fast reference-guided genome assembly scaffolding https://github.com/malonge/RagTag/wiki
Version 0.0.0-0c7146d
Commit ID 135d883a43b1a2324b4112cd270cf22e20835533
Release Date 08 Apr 2026 19:06:48 (UTC)
Download URL https://registry-stage.nextflow.io/api/v1/modules/nf-core%2Fragtag%2Fscaffold/0.0.0-0c7146d/download
OCI Store URL https://public.cr.stage-seqera.io/v2/nextflow/plugin-stage/modules/nf-core/ragtag/scaffold/blobs/sha256:14c3c46dcf722b31c5125acb9e4c3c150c25ca952b2044c032a6b7cd928cbb63
Size 2.9 KB
Checksum sha256:14c3c46dcf722b31c5125acb9e4c3c150c25ca952b2044c032a6b7cd928cbb63