feat: map primers by bwa and update datavzrd template #275
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.
Primer mapping has been changed from bowtie to bwa mem.
It turned out that bowtie missmaps primers in some rare cases resulting in a loss of reads.
Also the flag for filtering unmapped primers pairs has been fixed. As bowtie just sets the sam flag to 255 filtering was not working as intended.
When mapping primers with bwa two additional parameters need to be set:
-k
for setting the minimum seed length which is 19 by default being to high for at least our testcase primers.-T
being the minimum output score (default: 30). This is set toshortest primer - 2
allowing some tolerance when primers are mapped to a different reference.Further, the datavzrd report has been update to colormap allele frequencies (white to blue) and gnomad af (white to green).