Skip to content

Add hostile as alternative decontamination tool#712

Open
jfy133 wants to merge 15 commits intodevfrom
add-hostile
Open

Add hostile as alternative decontamination tool#712
jfy133 wants to merge 15 commits intodevfrom
add-hostile

Conversation

@jfy133
Copy link
Copy Markdown
Member

@jfy133 jfy133 commented Mar 27, 2026

Transferred from #646

TODO:

  • Verify input check logic makes sense
  • Find test work around (preprovided refs. currently requires too much memory)

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/taxprofiler branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core pipelines lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@jfy133 jfy133 marked this pull request as draft March 27, 2026 05:38
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 27, 2026

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 796f7eb

+| ✅ 331 tests passed       |+
#| ❔   3 tests were ignored |#
#| ❔   1 tests had warnings |#
!| ❗   1 tests had warnings |!
Details

❗ Test warnings:

❔ Tests ignored:

  • files_exist - File is ignored: conf/igenomes.config
  • files_exist - File is ignored: conf/igenomes_ignored.config
  • files_unchanged - File ignored due to lint config: .github/PULL_REQUEST_TEMPLATE.md

❔ Tests fixed:

✅ Tests passed:

  • files_exist - File found: .gitattributes
  • files_exist - File found: .gitignore
  • files_exist - File found: .nf-core.yml
  • files_exist - File found: .prettierignore
  • files_exist - File found: .prettierrc.yml
  • files_exist - File found: CHANGELOG.md
  • files_exist - File found: CITATIONS.md
  • files_exist - File found: CODE_OF_CONDUCT.md
  • files_exist - File found: LICENSE or LICENSE.md or LICENCE or LICENCE.md
  • files_exist - File found: nextflow_schema.json
  • files_exist - File found: nextflow.config
  • files_exist - File found: README.md
  • files_exist - File found: .github/.dockstore.yml
  • files_exist - File found: .github/CONTRIBUTING.md
  • files_exist - File found: .github/ISSUE_TEMPLATE/bug_report.yml
  • files_exist - File found: .github/ISSUE_TEMPLATE/config.yml
  • files_exist - File found: .github/ISSUE_TEMPLATE/feature_request.yml
  • files_exist - File found: .github/PULL_REQUEST_TEMPLATE.md
  • files_exist - File found: .github/workflows/branch.yml
  • files_exist - File found: .github/workflows/nf-test.yml
  • files_exist - File found: .github/actions/get-shards/action.yml
  • files_exist - File found: .github/actions/nf-test/action.yml
  • files_exist - File found: .github/workflows/linting_comment.yml
  • files_exist - File found: .github/workflows/linting.yml
  • files_exist - File found: assets/email_template.html
  • files_exist - File found: assets/email_template.txt
  • files_exist - File found: assets/sendmail_template.txt
  • files_exist - File found: assets/nf-core-taxprofiler_logo_light.png
  • files_exist - File found: conf/modules.config
  • files_exist - File found: conf/test.config
  • files_exist - File found: conf/test_full.config
  • files_exist - File found: docs/images/nf-core-taxprofiler_logo_light.png
  • files_exist - File found: docs/images/nf-core-taxprofiler_logo_dark.png
  • files_exist - File found: docs/output.md
  • files_exist - File found: docs/README.md
  • files_exist - File found: docs/README.md
  • files_exist - File found: docs/usage.md
  • files_exist - File found: nf-test.config
  • files_exist - File found: tests/default.nf.test
  • files_exist - File found: main.nf
  • files_exist - File found: assets/multiqc_config.yml
  • files_exist - File found: conf/base.config
  • files_exist - File found: .github/workflows/awstest.yml
  • files_exist - File found: .github/workflows/awsfulltest.yml
  • files_exist - File found: modules.json
  • files_exist - File found: ro-crate-metadata.json
  • files_exist - File not found check: .github/ISSUE_TEMPLATE/bug_report.md
  • files_exist - File not found check: .github/ISSUE_TEMPLATE/feature_request.md
  • files_exist - File not found check: .github/workflows/push_dockerhub.yml
  • files_exist - File not found check: .markdownlint.yml
  • files_exist - File not found check: .nf-core.yaml
  • files_exist - File not found check: .yamllint.yml
  • files_exist - File not found check: bin/markdown_to_html.r
  • files_exist - File not found check: conf/aws.config
  • files_exist - File not found check: docs/images/nf-core-taxprofiler_logo.png
  • files_exist - File not found check: lib/Checks.groovy
  • files_exist - File not found check: lib/Completion.groovy
  • files_exist - File not found check: lib/NfcoreTemplate.groovy
  • files_exist - File not found check: lib/Utils.groovy
  • files_exist - File not found check: lib/Workflow.groovy
  • files_exist - File not found check: lib/WorkflowMain.groovy
  • files_exist - File not found check: lib/WorkflowTaxprofiler.groovy
  • files_exist - File not found check: parameters.settings.json
  • files_exist - File not found check: pipeline_template.yml
  • files_exist - File not found check: Singularity
  • files_exist - File not found check: lib/nfcore_external_java_deps.jar
  • files_exist - File not found check: .travis.yml
  • nextflow_config - Found nf-schema plugin
  • nextflow_config - Config variable found: manifest.name
  • nextflow_config - Config variable found: manifest.nextflowVersion
  • nextflow_config - Config variable found: manifest.description
  • nextflow_config - Config variable found: manifest.version
  • nextflow_config - Config variable found: manifest.homePage
  • nextflow_config - Config variable found: timeline.enabled
  • nextflow_config - Config variable found: trace.enabled
  • nextflow_config - Config variable found: report.enabled
  • nextflow_config - Config variable found: dag.enabled
  • nextflow_config - Config variable found: process.cpus
  • nextflow_config - Config variable found: process.memory
  • nextflow_config - Config variable found: process.time
  • nextflow_config - Config variable found: params.outdir
  • nextflow_config - Config variable found: params.input
  • nextflow_config - Config variable found: manifest.mainScript
  • nextflow_config - Config variable found: timeline.file
  • nextflow_config - Config variable found: trace.file
  • nextflow_config - Config variable found: report.file
  • nextflow_config - Config variable found: dag.file
  • nextflow_config - Config variable (correctly) not found: params.nf_required_version
  • nextflow_config - Config variable (correctly) not found: params.container
  • nextflow_config - Config variable (correctly) not found: params.singleEnd
  • nextflow_config - Config variable (correctly) not found: params.igenomesIgnore
  • nextflow_config - Config variable (correctly) not found: params.name
  • nextflow_config - Config variable (correctly) not found: params.enable_conda
  • nextflow_config - Config variable (correctly) not found: params.max_cpus
  • nextflow_config - Config variable (correctly) not found: params.max_memory
  • nextflow_config - Config variable (correctly) not found: params.max_time
  • nextflow_config - Config variable (correctly) not found: params.validationFailUnrecognisedParams
  • nextflow_config - Config variable (correctly) not found: params.validationLenientMode
  • nextflow_config - Config variable (correctly) not found: params.validationSchemaIgnoreParams
  • nextflow_config - Config variable (correctly) not found: params.validationShowHiddenParams
  • nextflow_config - Config variable (correctly) not found: validation.failUnrecognisedParams
  • nextflow_config - Config variable (correctly) not found: validation.failUnrecognisedHeaders
  • nextflow_config - Config timeline.enabled had correct value: true
  • nextflow_config - Config report.enabled had correct value: true
  • nextflow_config - Config trace.enabled had correct value: true
  • nextflow_config - Config dag.enabled had correct value: true
  • nextflow_config - Config manifest.name began with nf-core/
  • nextflow_config - Config variable manifest.homePage began with https://github.com/nf-core/
  • nextflow_config - Config dag.file ended with .html
  • nextflow_config - Config variable manifest.nextflowVersion started with >= or !>=
  • nextflow_config - Config params.custom_config_version is set to master
  • nextflow_config - Config params.custom_config_base is set to https://raw.githubusercontent.com/nf-core/configs/master
  • nextflow_config - Lines for loading custom profiles found
  • nextflow_config - nextflow.config contains configuration profile test
  • nextflow_config - Config default value correct: params.preprocessing_qc_tool= fastqc
  • nextflow_config - Config default value correct: params.shortread_qc_tool= fastp
  • nextflow_config - Config default value correct: params.shortread_qc_minlength= 15
  • nextflow_config - Config default value correct: params.shortread_complexityfilter_tool= bbduk
  • nextflow_config - Config default value correct: params.shortread_complexityfilter_entropy= 0.3
  • nextflow_config - Config default value correct: params.shortread_complexityfilter_bbduk_windowsize= 50
  • nextflow_config - Config default value correct: params.shortread_complexityfilter_fastp_threshold= 30
  • nextflow_config - Config default value correct: params.shortread_complexityfilter_prinseqplusplus_mode= entropy
  • nextflow_config - Config default value correct: params.shortread_complexityfilter_prinseqplusplus_dustscore= 0.5
  • nextflow_config - Config default value correct: params.longread_adapterremoval_tool= porechop_abi
  • nextflow_config - Config default value correct: params.longread_filter_tool= nanoq
  • nextflow_config - Config default value correct: params.longread_qc_qualityfilter_minlength= 1000
  • nextflow_config - Config default value correct: params.longread_qc_qualityfilter_keeppercent= 90
  • nextflow_config - Config default value correct: params.longread_qc_qualityfilter_targetbases= 500000000
  • nextflow_config - Config default value correct: params.longread_qc_qualityfilter_minquality= 7
  • nextflow_config - Config default value correct: params.shortread_redundancyestimation_mode= kmer
  • nextflow_config - Config default value correct: params.shortread_hostremoval_tool= bowtie2
  • nextflow_config - Config default value correct: params.longread_hostremoval_tool= minimap2
  • nextflow_config - Config default value correct: params.diamond_output_format= tsv
  • nextflow_config - Config default value correct: params.kaiju_taxon_rank= species
  • nextflow_config - Config default value correct: params.krakenuniq_batch_size= 20
  • nextflow_config - Config default value correct: params.malt_mode= BlastN
  • nextflow_config - Config default value correct: params.motus_longprep_splittinglength= 300
  • nextflow_config - Config default value correct: params.motus_longprep_minlen= 50
  • nextflow_config - Config default value correct: params.ganon_report_type= reads
  • nextflow_config - Config default value correct: params.ganon_report_rank= default
  • nextflow_config - Config default value correct: params.ganon_report_toppercentile= 0
  • nextflow_config - Config default value correct: params.ganon_report_mincount= 0
  • nextflow_config - Config default value correct: params.ganon_report_maxcount= 0
  • nextflow_config - Config default value correct: params.sylph_data_type= relative_abundance
  • nextflow_config - Config default value correct: params.standardisation_taxpasta_format= tsv
  • nextflow_config - Config default value correct: params.custom_config_version= master
  • nextflow_config - Config default value correct: params.custom_config_base= https://raw.githubusercontent.com/nf-core/configs/master
  • nextflow_config - Config default value correct: params.publish_dir_mode= copy
  • nextflow_config - Config default value correct: params.max_multiqc_email_size= 25.MB
  • nextflow_config - Config default value correct: params.validate_params= true
  • nextflow_config - Config default value correct: params.pipelines_testdata_base_path= https://raw.githubusercontent.com/nf-core/test-datasets/
  • nf_test_content - 'tests/test_fastpnonpareilkrakenuniq.nf.test' contains outdir parameter
  • nf_test_content - 'tests/test_fastpnonpareilkrakenuniq.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_fastpnonpareilkrakenuniq.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_fastpnonpareilkrakenuniq.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_nopreprocessing.nf.test' contains outdir parameter
  • nf_test_content - 'tests/test_nopreprocessing.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_nopreprocessing.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_nopreprocessing.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_minimal.nf.test' contains outdir parameter
  • nf_test_content - 'tests/test_minimal.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_minimal.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_minimal.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/default.nf.test' contains outdir parameter
  • nf_test_content - 'tests/default.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/default.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/default.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_alternativepreprocessing.nf.test' contains outdir parameter
  • nf_test_content - 'tests/test_alternativepreprocessing.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_alternativepreprocessing.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_alternativepreprocessing.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_malt.nf.test' contains outdir parameter
  • nf_test_content - 'tests/test_malt.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_malt.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_malt.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_motus.nf.test' contains outdir parameter
  • nf_test_content - 'tests/test_motus.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_motus.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_falcobbduk.nf.test' contains outdir parameter
  • nf_test_content - 'tests/test_falcobbduk.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_falcobbduk.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/test_falcobbduk.nf.test' snapshots a 'versions.yml' file
  • nf_test_content - 'tests/nextflow.config' contains modules_testdata_base_path
  • nf_test_content - 'tests/nextflow.config' contains pipelines_testdata_base_path
  • nf_test_content - 'nf-test.config' sets a testsDir
  • nf_test_content - 'nf-test.config' sets a workDir
  • nf_test_content - 'nf-test.config' sets a configFile
  • files_unchanged - .gitattributes matches the template
  • files_unchanged - .prettierrc.yml matches the template
  • files_unchanged - CODE_OF_CONDUCT.md matches the template
  • files_unchanged - LICENSE matches the template
  • files_unchanged - .github/.dockstore.yml matches the template
  • files_unchanged - .github/CONTRIBUTING.md matches the template
  • files_unchanged - .github/ISSUE_TEMPLATE/bug_report.yml matches the template
  • files_unchanged - .github/ISSUE_TEMPLATE/config.yml matches the template
  • files_unchanged - .github/ISSUE_TEMPLATE/feature_request.yml matches the template
  • files_unchanged - .github/workflows/branch.yml matches the template
  • files_unchanged - .github/workflows/linting_comment.yml matches the template
  • files_unchanged - .github/workflows/linting.yml matches the template
  • files_unchanged - assets/email_template.html matches the template
  • files_unchanged - assets/email_template.txt matches the template
  • files_unchanged - assets/sendmail_template.txt matches the template
  • files_unchanged - assets/nf-core-taxprofiler_logo_light.png matches the template
  • files_unchanged - docs/images/nf-core-taxprofiler_logo_light.png matches the template
  • files_unchanged - docs/images/nf-core-taxprofiler_logo_dark.png matches the template
  • files_unchanged - docs/README.md matches the template
  • files_unchanged - .gitignore matches the template
  • files_unchanged - .prettierignore matches the template
  • actions_nf_test - '.github/workflows/nf-test.yml' is triggered on expected events
  • actions_nf_test - '.github/workflows/nf-test.yml' checks minimum NF version
  • actions_awstest - '.github/workflows/awstest.yml' is triggered correctly
  • actions_awsfulltest - .github/workflows/awsfulltest.yml is triggered correctly
  • actions_awsfulltest - .github/workflows/awsfulltest.yml does not use -profile test
  • readme - README Nextflow minimum version badge matched config. Badge: 25.04.2, Config: 25.04.2
  • readme - README nf-core template version badge found.
  • readme - README Zenodo placeholder was replaced with DOI.
  • pipeline_todos - No TODO strings found
  • pipeline_if_empty_null - No ifEmpty(null) strings found
  • plugin_includes - No wrong validation plugin imports have been found
  • pipeline_name_conventions - Name adheres to nf-core convention
  • template_strings - Did not find any Jinja template strings (0 files)
  • schema_lint - Schema lint passed
  • schema_lint - Schema title + description lint passed
  • schema_lint - Input mimetype lint passed: 'text/csv'
  • schema_params - Schema matched params returned from nextflow config
  • system_exit - No System.exit calls found
  • actions_schema_validation - Workflow validation passed: linting_comment.yml
  • actions_schema_validation - Workflow validation passed: clean-up.yml
  • actions_schema_validation - Workflow validation passed: awsfulltest.yml
  • actions_schema_validation - Workflow validation passed: fix_linting.yml
  • actions_schema_validation - Workflow validation passed: template-version-comment.yml
  • actions_schema_validation - Workflow validation passed: linting.yml
  • actions_schema_validation - Workflow validation passed: labeler.yml
  • actions_schema_validation - Workflow validation passed: download_pipeline.yml
  • actions_schema_validation - Workflow validation passed: nf-test.yml
  • actions_schema_validation - Workflow validation passed: branch.yml
  • actions_schema_validation - Workflow validation passed: release-announcements.yml
  • actions_schema_validation - Workflow validation passed: awstest.yml
  • merge_markers - No merge markers found in pipeline files
  • modules_json - Only installed modules found in modules.json
  • multiqc_config - assets/multiqc_config.yml found and not ignored.
  • multiqc_config - assets/multiqc_config.yml contains report_section_order
  • multiqc_config - assets/multiqc_config.yml contains export_plots
  • multiqc_config - assets/multiqc_config.yml contains report_comment
  • multiqc_config - assets/multiqc_config.yml follows the ordering scheme of the minimally required plugins.
  • multiqc_config - assets/multiqc_config.yml contains a matching 'report_comment'.
  • multiqc_config - assets/multiqc_config.yml contains 'export_plots: true'.
  • modules_structure - modules directory structure is correct 'modules/nf-core/TOOL/SUBTOOL'
  • local_component_structure - local subworkflows directory structure is correct 'subworkflows/local/TOOL/SUBTOOL'
  • base_config - conf/base.config found and not ignored.
  • base_config - BRACKEN_BRACKEN found in conf/base.config and Nextflow scripts.
  • base_config - CENTRIFUGE_KREPORT found in conf/base.config and Nextflow scripts.
  • base_config - KRAKENTOOLS_COMBINEKREPORTS_CENTRIFUGE found in conf/base.config and Nextflow scripts.
  • base_config - MEGAN_RMA2INFO_TSV found in conf/base.config and Nextflow scripts.
  • base_config - MEGAN_RMA2INFO_KRONA found in conf/base.config and Nextflow scripts.
  • base_config - FALCO found in conf/base.config and Nextflow scripts.
  • modules_config - conf/modules.config found and not ignored.
  • modules_config - UNTAR found in conf/modules.config and Nextflow scripts.
  • modules_config - FASTQC found in conf/modules.config and Nextflow scripts.
  • modules_config - FASTQC_PROCESSED found in conf/modules.config and Nextflow scripts.
  • modules_config - FALCO found in conf/modules.config and Nextflow scripts.
  • modules_config - FALCO_PROCESSED found in conf/modules.config and Nextflow scripts.
  • modules_config - FASTP_SINGLE found in conf/modules.config and Nextflow scripts.
  • modules_config - FASTP_PAIRED found in conf/modules.config and Nextflow scripts.
  • modules_config - ADAPTERREMOVAL_SINGLE found in conf/modules.config and Nextflow scripts.
  • modules_config - ADAPTERREMOVAL_PAIRED found in conf/modules.config and Nextflow scripts.
  • modules_config - NONPAREIL_NONPAREIL found in conf/modules.config and Nextflow scripts.
  • modules_config - NONPAREIL_CURVE found in conf/modules.config and Nextflow scripts.
  • modules_config - NONPAREIL_SET found in conf/modules.config and Nextflow scripts.
  • modules_config - NONPAREIL_NONPAREILCURVESR found in conf/modules.config and Nextflow scripts.
  • modules_config - CAT_FASTQ found in conf/modules.config and Nextflow scripts.
  • modules_config - PORECHOP_PORECHOP found in conf/modules.config and Nextflow scripts.
  • modules_config - PORECHOP_ABI found in conf/modules.config and Nextflow scripts.
  • modules_config - FILTLONG found in conf/modules.config and Nextflow scripts.
  • modules_config - NANOQ found in conf/modules.config and Nextflow scripts.
  • modules_config - BBMAP_BBDUK found in conf/modules.config and Nextflow scripts.
  • modules_config - PRINSEQPLUSPLUS found in conf/modules.config and Nextflow scripts.
  • modules_config - BOWTIE2_BUILD found in conf/modules.config and Nextflow scripts.
  • modules_config - BOWTIE2_ALIGN found in conf/modules.config and Nextflow scripts.
  • modules_config - SAMTOOLS_INDEX found in conf/modules.config and Nextflow scripts.
  • modules_config - MINIMAP2_INDEX found in conf/modules.config and Nextflow scripts.
  • modules_config - MINIMAP2_ALIGN found in conf/modules.config and Nextflow scripts.
  • modules_config - SAMTOOLS_VIEW found in conf/modules.config and Nextflow scripts.
  • modules_config - SAMTOOLS_FASTQ found in conf/modules.config and Nextflow scripts.
  • modules_config - SAMTOOLS_STATS found in conf/modules.config and Nextflow scripts.
  • modules_config - HOSTILE_FETCH_SHORTREADS found in conf/modules.config and Nextflow scripts.
  • modules_config - HOSTILE_CLEAN_SHORTREADS found in conf/modules.config and Nextflow scripts.
  • modules_config - HOSTILE_FETCH_LONGREADS found in conf/modules.config and Nextflow scripts.
  • modules_config - HOSTILE_CLEAN_LONGREADS found in conf/modules.config and Nextflow scripts.
  • modules_config - MERGE_RUNS found in conf/modules.config and Nextflow scripts.
  • modules_config - MALT_RUN found in conf/modules.config and Nextflow scripts.
  • modules_config - MEGAN_RMA2INFO_TSV found in conf/modules.config and Nextflow scripts.
  • modules_config - KRAKEN2_KRAKEN2 found in conf/modules.config and Nextflow scripts.
  • modules_config - KRAKEN2STANDARDREPORT found in conf/modules.config and Nextflow scripts.
  • modules_config - BRACKEN_BRACKEN found in conf/modules.config and Nextflow scripts.
  • modules_config - BRACKEN_COMBINEBRACKENOUTPUTS found in conf/modules.config and Nextflow scripts.
  • modules_config - KRAKENTOOLS_COMBINEKREPORTS_KRAKEN found in conf/modules.config and Nextflow scripts.
  • modules_config - KRAKENUNIQ_PRELOADEDKRAKENUNIQ found in conf/modules.config and Nextflow scripts.
  • modules_config - KRAKENTOOLS_KREPORT2KRONA found in conf/modules.config and Nextflow scripts.
  • modules_config - KRONA_KTIMPORTTEXT found in conf/modules.config and Nextflow scripts.
  • modules_config - MEGAN_RMA2INFO_KRONA found in conf/modules.config and Nextflow scripts.
  • modules_config - KRONA_KTIMPORTTAXONOMY found in conf/modules.config and Nextflow scripts.
  • modules_config - METAPHLAN_METAPHLAN found in conf/modules.config and Nextflow scripts.
  • modules_config - METAPHLAN_MERGEMETAPHLANTABLES found in conf/modules.config and Nextflow scripts.
  • modules_config - CENTRIFUGE_CENTRIFUGE found in conf/modules.config and Nextflow scripts.
  • modules_config - CENTRIFUGE_KREPORT found in conf/modules.config and Nextflow scripts.
  • modules_config - KRAKENTOOLS_COMBINEKREPORTS_CENTRIFUGE found in conf/modules.config and Nextflow scripts.
  • modules_config - KAIJU_KAIJU found in conf/modules.config and Nextflow scripts.
  • modules_config - KAIJU_KAIJU2TABLE_SINGLE found in conf/modules.config and Nextflow scripts.
  • modules_config - KAIJU_KAIJU2TABLE_COMBINED found in conf/modules.config and Nextflow scripts.
  • modules_config - KAIJU_KAIJU2KRONA found in conf/modules.config and Nextflow scripts.
  • modules_config - DIAMOND_BLASTX found in conf/modules.config and Nextflow scripts.
  • modules_config - MOTUS_PROFILE found in conf/modules.config and Nextflow scripts.
  • modules_config - MOTUS_PREPLONG found in conf/modules.config and Nextflow scripts.
  • modules_config - MOTUS_MERGE found in conf/modules.config and Nextflow scripts.
  • modules_config - KMCP_SEARCH found in conf/modules.config and Nextflow scripts.
  • modules_config - KMCP_PROFILE found in conf/modules.config and Nextflow scripts.
  • modules_config - GANON_CLASSIFY found in conf/modules.config and Nextflow scripts.
  • modules_config - GANON_REPORT found in conf/modules.config and Nextflow scripts.
  • modules_config - GANON_TABLE found in conf/modules.config and Nextflow scripts.
  • modules_config - SYLPH_PROFILE found in conf/modules.config and Nextflow scripts.
  • modules_config - SYLPHTAX_TAXPROF found in conf/modules.config and Nextflow scripts.
  • modules_config - SYLPHTAX_MERGE found in conf/modules.config and Nextflow scripts.
  • modules_config - MELON found in conf/modules.config and Nextflow scripts.
  • modules_config - METACACHE_QUERY found in conf/modules.config and Nextflow scripts.
  • modules_config - TAXPASTA_MERGE found in conf/modules.config and Nextflow scripts.
  • modules_config - TAXPASTA_STANDARDISE found in conf/modules.config and Nextflow scripts.
  • modules_config - MULTIQC found in conf/modules.config and Nextflow scripts.
  • nfcore_yml - Repository type in .nf-core.yml is valid: pipeline
  • nfcore_yml - nf-core version in .nf-core.yml is set to the latest version: 3.5.2
  • rocrate_readme_sync - RO-Crate description matches the README.md.

Run details

  • nf-core/tools version 3.5.2
  • Run at 2026-04-13 17:06:46

@jfy133
Copy link
Copy Markdown
Member Author

jfy133 commented Mar 27, 2026

I realised the reason why the test didn't work as expected is because I Forgot to supply a reference genome in the test confrig, so it tried to download instead 🤦‍♂️.

I've requested a small test dataset on the hostile reop in the meantime (bede/hostile#70), but also can try again but supplying the small reference genome we use for host removal explicitly and let it be built on the fly, rather than testing download

@bede
Copy link
Copy Markdown

bede commented Mar 27, 2026

As requested by James I've added a new mitochondrial index to Hostile's storage bucket to facilitate testing requested here
bede/hostile#70

@jfy133
Copy link
Copy Markdown
Member Author

jfy133 commented Mar 28, 2026

Started adding tests thanks to @bede ! I need to clean up the code logic a bit, in particular work out what validation to do (reference genome vs index name etc)

@bede
Copy link
Copy Markdown

bede commented Mar 28, 2026

FYI I've renamed the human mitochondrial hostile (and deacon indexes) to test-human-mit so that nobody gets confused

@jfy133
Copy link
Copy Markdown
Member Author

jfy133 commented Mar 31, 2026

Just waiting for @bede to address bede/hostile#71 and then this is ready for review!

@jfy133 jfy133 marked this pull request as ready for review March 31, 2026 13:05
@bede
Copy link
Copy Markdown

bede commented Apr 13, 2026

Just waiting for @bede to address bede/hostile#71 and then this is ready for review!

Sorted I think, please reopen if not :-)

Copy link
Copy Markdown
Collaborator

@sofstam sofstam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments and would be nice to update to the latest hostile modules.

Comment thread workflows/taxprofiler.nf Outdated
custom_adapters = params.longread_qc_adapterlist ? file(params.longread_qc_adapterlist, checkIfExists: true) : []

if (params.hostremoval_reference) {
if (params.shortread_hostremoval_tool == 'bowtie2' || params.longread_hostremoval_tool == 'bowtie2') {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean minimap2 for the long read?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case helpful, while Hostile does support using Minimap2 for short reads and Bowtie2 for long reads, this is not recommended, and the CLI defaults steer users away from doing this. If this PR is not doing so already, I strongly suggest setting minimap2 as the aligner for long reads and bowtie2 for short reads, stopping users from making bad choices.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

params.longread_hostremoval_tool == 'bowtie2'

I am referring to this statement

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, I think that might be a copy paste error!

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed the longread_hostremoval_tool parameter does not support bowtie2 at all:

"enum": ["minimap2", "hostile"]

Comment thread workflows/taxprofiler.nf
Comment thread docs/output.md
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We apply samtools stats for minimap2. Shall we do the same for hostile?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here for the samtools stats

@nf-core-bot
Copy link
Copy Markdown
Member

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.5.2.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants