nf-core / smrnaseq

A small-RNA sequencing analysis pipeline
https://nf-co.re/smrnaseq
MIT License
74 stars 125 forks source link

Reorganize `CLEAN_FASTA` function #455

Closed atrigila closed 1 month ago

atrigila commented 1 month ago

Reorganize CLEAN_FASTA function to the following:

if(val_fasta) {
        // Clean fasta (replace non-ATCGs with Ns, remove whitespaces from headers)
        CLEAN_FASTA ( ch_fasta )
        ch_versions      = ch_versions.mix(CLEAN_FASTA.out.versions)

        // Set channels: clean fasta and its index
        ch_fasta         = CLEAN_FASTA.out.output
atrigila commented 1 month ago

Closed via #457