Description
Scaffold an assembly FASTA file using Hi-C contacts with YaHS.
Input
Channel containing assemblies for scaffolding. Structure: [ val(meta), path(fasta) ]
*.{bam/cram/sam} Output
Final scaffolds from YaHS in FASTA format Structure: [ val(meta), path(fasta) ]
*.fasta AGP describing how contigs are transformed into final scaffolds Structure: [ val(meta), path(agp) ]
*.agp Pairs file describing Hi-C contacts between scaffolds, translated from the contigs pairs file Structure: [ val(meta), path(pairs) ]
*.pairs.gz Chromsizes file for the scaffolds. A headerless TSV of format <contigname>\t<size> Structure: [ val(meta), path(chromsizes) ]
*.sizes AGP files describing inital breaks by YaHS Structure: [ val(meta), path(agp) ]
*.agp AGP files describing each scaffolding round by YaHS Structure: [ val(meta), path(agp) ]
*.agp Components
-
bedtools/bamtobedsort
sanger-tol/nf-core-modules -
yahs/makepairsfile
sanger-tol/nf-core-modules -
samtools/faidx
nf-core/modules -
yahs
nf-core/modules