question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FilterConsensusReads: Multiple non-secondary, non-supplemental R1s

See original GitHub issue

When using FilterConsensusReads with v1.5.0 I receive the following error:

Multiple non-secondary, non-supplemental R1s for Solexa-272222:1089771

Starting from a BAM file aligned with hisat2 I do the following:

1. CorrectUmis
2. GroupReadsByUmi
3. CallDuplexConsensusReads
4. GATK SamToFastq
5. align with hisat2
6. GATK MergeBamAlignment
7. FilterConsensusReads

Notably, I do not see this issue when aligning with bwa at step 5, regardless of which aligner was used to generate the initial aligned BAM. I’m not sure if this is an appropriate issue to discuss with you all, but do you have any thoughts on what may be going on here?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
roysomak4commented, Mar 9, 2022

@nh13, I encountered the same error with FilterConsensusReads v 1.5.0 and can confirm that it was resolved by eliminating the -M flag from the bwa mem command.

0reactions
nh13commented, Feb 22, 2022

@stkgo also take a look at this issue: https://github.com/broadinstitute/picard/issues/589

I wonder if the multiple primary alignments being output by MergeBamAlignment is also caused by the bwa mem -M option which is causing supplementary alignment to be output as secondary.

@tfenne is writing a new tool to replace MergeBamAlignment you can test here: https://github.com/fulcrumgenomics/fgbio/pull/778

Feel free to reopen if you have more questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FilterConsensusReads | fgbio - Fulcrum Genomics
Tools for working with genomic and high throughput sequencing data.
Read more >
Fulcrum Genomics fgbio Issues - Giters
Filterconsensusreads before vs after mapping. Updated 11 days ago ... Multiple non-secondary, non-supplemental R1s Error. Closed 6 months ago 1 ...
Read more >
no coordinate in output of CallMolecularConsensusReads,about ...
HOT 6; ExtractUmisFromBam "Read was not the second end of a pair" Error HOT 7; Multiple non-secondary, non-supplemental R1s Error HOT 1; "Too...
Read more >
List of R1s Github Repository Issues - Github Lab
I am getting the following error in FilterConsensusReads: Multiple non-secondary, non-supplemental R1s for Library1:chr10:102509587/GCGGCCAGC Here is the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found