-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for minimap2 remove secondary alignments by default #80
Comments
|
@irosenboom FYI, in case you test this version and find the new Basically, this is why aligning long reads (or short reads but mostly we use bwa mem for that) with minimap2 led to highly inflated numbers of aligned reads reported. Eg in the mock communities.
|
Hi @colindaven , thanks for this interesting update. I would set it to run if |
Also added a remove supplementary alignments section to the pipeline. I changed the These seem to be only necessary for long reads aligned with minimap2long in my experience. Also - the setting is configurable using the nextflow.config, but I would always recommend for quantitative usage such as in metagenomics. |
It seems the aligner bwa mem still produces some supplementary alignments despite this switch (significant number with less filtering).
It seems minimap2 does too ...
|
Tests show removing secondary alignments by default leads to much closer read numbers to original fastq compositon, when using simulated data.
Seems to be specific to minimap2 and esp long reads.
samtools -F 256 -bo filt.bam orig.bam
The text was updated successfully, but these errors were encountered: