fasta_build_add_kraken2
KRAKEN2 build custom database subworkflow
Input
Channel containing a meta with a list of FASTAs to be built
Structure: [ val(meta), [ fasta1, fasta2, fasta3 ] ]
*.{fasta,fa,fna}Channel containing a NCBI-style taxdump names file
Structure: [ names.dmp ]
names.dmpChannel containing a NCBI-style taxdump nodes file
Structure: [ nodes.dmp ]
nodes.dmpChannel containing a NCBI-style taxdump accession2taxid (acc2tax) file
Structure: [ accession2taxid_file ]
*.accession2taxidBoolean flag whether to clean up intermediate files after build or not
Structure: [ val_cleanintermediate ]
true|falseOutput
Channel containing KRAKEN2 database directory.
Use publishDir in a modules.conf file to change default name for user
Structure: [ val(meta), path(db) ]
kraken2-database/Channel containing a list of KRAKEN2 database directory files as separate elements of a tuple.
Use publishDir in a modules.conf file to change default name for user
Structure: [ val(meta), path(k2d_files), path(map_files), path(added_files), path(taxonomy_files) ]
kraken2-database/