File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,9 +63,11 @@ workflow TAXPROFILER {
6363 adapterlist = params. shortread_qc_adapterlist ? file(params. shortread_qc_adapterlist) : []
6464 custom_adapters = params. longread_qc_adapterlist ? file(params. longread_qc_adapterlist, checkIfExists : true ) : []
6565
66- if (params. shortread_hostremoval_tool == ' bowtie2' || params. longread_hostremoval_tool == ' bowtie2' ) {
66+ // Manual host removal
67+ if (params. shortread_hostremoval_tool == ' bowtie2' || params. longread_hostremoval_tool == ' minimap2' ) {
6768 ch_reference = file(params. hostremoval_reference)
6869 }
70+ // Dedicated tool host removal
6971 else if (params. shortread_hostremoval_tool == ' hostile' && params. longread_hostremoval_tool == ' hostile' ) {
7072 // Hostile does not accept references directly
7173 ch_reference = channel. empty()
You can’t perform that action at this time.
0 commit comments