Update SARS-CoV-2 PE variation workflow#94
Merged
mvdbeek merged 12 commits intogalaxyproject:mainfrom Feb 11, 2022
Merged
Conversation
Filtering relevant primer binding site variants now uses unbiased allele frequencies recalculated from (DP4[2] + DP4[3]) / DP instead of relying on the lofreq-provided value. The lofreq-calculated AF is still what's reported in the final VCF output, but the corresponding header INFO line gets rewritten to warn about this fact. This changeset also updates fastp to its latest (and likely faster) version.
This changeset makes the amplicon bias correctionmore robust and better interoperable with the reporting workflow. The first and second (after amplicon removal) round of variant calling are now carried out with identical lofreq parameter settings. bcftools annotate is then used to carry over the bias-corrected call stats to the variant calls obtained in the first round. At the same time both variant call lists are filtered with (by default) identical DP and DP_ALT filters as in the reporting workflow, and stats of filter-passing variants from the first round that fail to pass after the second round of calling are transferred back to the first bcftools annotate output. Together this makes sure that no initially called variant gets lost as a consequence of amplicon bias correction and that no initially filter-passing variant gets filtered out after correction. The AmpliconBias INFO flag is used to mark all such variants for which amplicon bias correction was not performed.
Updates bwa-mem, lofreq call and multiqc to their latest versions, fixes the input connection to bcftools annotate broken in previous commit, and adds back a lost WF output label to multiqc.
Bumps release version too.
bcftools annotate shuffles VCF INFO field elements and adds two more time stamped header lines.
Member
|
Ready to merge @wm75 ? |
mvdbeek
approved these changes
Feb 11, 2022
Member
Author
|
Yes, ready @mvdbeek :) |
This was referenced Feb 14, 2022
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.
No description provided.