[TheiaProk] Add Sequins read extraction/decontamination#1021
Draft
[TheiaProk] Add Sequins read extraction/decontamination#1021
Conversation
…taminate stats to theiaviral
xonq
commented
Mar 25, 2026
Member
Author
There was a problem hiding this comment.
Please note this file was moved from "host_decontaminate"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🗑️ This dev branch should be deleted after merging to main.
🧠 Summary
Partners would like a module to extract and identify a FASTA of mirrored DNA sequences, or Sequins, as a means of qualitative sample inference. To this end, this PR implements the
host_decontaminateworkflow within read_QC_trim by only exposing the FASTA input of the workflow. More broadly, this enables read decontamination across workflows importing read_QC_trim.As part of this PR, a sequence-specific read mapping statistics task was created and propagated to workflows that may have multiple sequence headers: host_decontaminate (multi-contig hosts/contaminants), theiaviral* (segmented viruses)
⚡ Impacted Workflows/Tasks
Workflows
+
read_decontaminateΔ
read_QC_trim_peΔ
theiacov_illumina_peΔ
theiaeuk_illumina_peΔ
theiameta_illumina_peΔ
theiaprok_illumina_peΔ
theiaviral_illumina_peΔ
theiaviral_ontΔ
theiaviral_panel-
host_decontaminateTasks
+
contaminant_check+
mapping_statsThis PR may lead to different results in pre-existing outputs: Yes/No
This PR uses an element that could cause duplicate runs to have different results: Yes/No
🛠️ Changes
⚙️ Algorithm
➡️ Inputs
read_QC_trim_pe +5 -0
theiaviral_illumina_pe +3 -0
freyja_fastq +5 -0
theiaviral_ont +3 -0
theiacov_illumina_pe +5 -0
theiaeuk_illumina_pe +5 -0
theiaprok_illumina_pe +5 -0
theiaviral_panel +3 -0
read_decontaminate +46 -0
theiameta_illumina_pe +5 -0
⬅️ Outputs
read_QC_trim_pe +11 -0
theiaviral_illumina_pe +5 -2
theiaviral_ont +5 -2
theiacov_illumina_pe +11 -0
theiaeuk_illumina_pe +11 -0
theiaprok_illumina_pe +11 -0
theiaviral_panel +3 -1
read_decontaminate +19 -0
theiameta_illumina_pe +11 -0
🧪 Testing
theiaviral_illumina_pe
host_decontaminate, mapping_stats, theiaviral_illumina_petheiaviral_ont
host_decontaminate, mapping_stats, theiaviral_onttheiaviral_panel
host_decontaminate, mapping_stats, theiaviral_illumina_pe, theiaviral_panel
read_QC_trim_pefreyja_fastq
read_QC_trim_petheiacov_illumina_pe
read_QC_trim_petheiaeuk_illumina_pe
read_QC_trim_petheiameta_illumina_petheiaprok_illumina_pe
read_QC_trim_pe, theiaprok_illumina_peSuggested Scenarios for Reviewer to Test
🔬 Final Developer Checklist
docs/assets/tables/all_workflows.tsvtable to be the tag for the next upcoming release. If you do not know the tag, please put "vX.X.X"🎯 Reviewer Checklist