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.
Closes N/A
🛠️ Changes Being Made
This PR adds an Influenza track onto the TheiaCoV_ONT_PHB workflow.
Uses the same IRMA task that performs assembly of influenza viruses but with module specification for ONT reads.
Impacted Workflows/Tasks
🧠 Context and Rationale
Many public health laboratories are increasingly generating Oxford Nanopore data, hence the need for an influenza track to handle such inputs within
📋 Workflow/Task Steps
Inputs
Required inputs are:
read1
samplename
Recommended optional inputs:
organism
- Required when analyzing pathogens other than SARS-CoV-2, e.g. "HIV" and "flu"primer_bed
- Was previously a required input, now an optional input as not required for flu analysis. However, it is required for other pathogens processed by the workflow such as HIV and SARS-CoV-2reference_genome
also required for HIV analysisOutputs
Impacted Outputs
Additional outputs added are:
irma_version
irma_type
irma_subtype
irma_ha_segment
irma_na_segment
abricate_flu_type
abricate_flu_subtype
abricate_flu_results
abricate_flu_database
abricate_flu_version
🧪 Testing
Locally
Works as expected
Terra
Works as expected.
SARS-CoV-2: https://app.terra.bio/#workspaces/cdph-terrabio-taborda-manual/Global_tree_testing/job_history/e485251a-be75-497e-be95-7ed6368071f8
HIV: https://app.terra.bio/#workspaces/cdph-terrabio-taborda-manual/Global_tree_testing/job_history/e5dcd4b7-aa91-4057-9290-b5267433a3f2
Flu H1N1: https://app.terra.bio/#workspaces/cdph-terrabio-taborda-manual/Global_tree_testing/job_history/7a136cfd-e05c-4a8e-927c-78bd36c37514
Scenarios for Reviewer to Test
Test with H3N2 and cases that would fail QC for other pathogens
🔬 Quality checks
Pull Request (PR) checklist: