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.

ClipBam causing strand bias

See original GitHub issue

Hi all,

I have been using fgbio a while and have been using it for a number of our lab’s cfdna analyses. My concern is that the ClipBam function might be causing some strand bias when it comes to variant calls.

I have a purchased cell line with a spiked in variant at 5%. After aligning, grouping, calling concensus reads and aligning those concensus reads I clip the over lapping reads prior to variant calling with:

java -jar fgbio-0.6.1.jar ClipBam \
    -i bam \
    -o sort.bam \
    -m clipbam.metrics \
    -r ref_fasta \
    --clip-overlapping-reads=true \
    -c Hard 

And I end up with a 2:1 strand-bias in the bam

image

Compared with the same sample but without ClipBam

image

If there is a variant on both strands, how does ClipBam decide which starnd to keep the variant on?

Any help would be really appreciated.

Thanks

Lewis

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
PedalheadPHXcommented, May 15, 2020

exome capture does create a strand bias on the edge of the two edges capture target, so if your variant is to one side of the capture targets you can see a strand coverage bias. For specific targets you can avoid this is capture design by increasing the capture window so the edge bias of the capture is outside your area of interest

0reactions
Lewis-Gallaghercommented, Apr 20, 2020

Thanks @nh13 ! I guess it explains it a bit, though I do see that in the middle of exons as well, which in theory shouldn’t be affected by this. But then these might be due to pure chance, when we are talking about a few reads

Read more comments on GitHub >

github_iconTop Results From Across the Web

The effect of strand bias in Illumina short-read sequencing data
Thus strand bias is unlikely to be caused by alignment artifacts. We successfully replicated our results using two additional independent ...
Read more >
ClipBam | fgbio - Fulcrum Genomics
Name Flag Type Required? Max # of Values input i PathToBam Required 1 output o PathToBam Required 1 metrics m FilePath Optional 1
Read more >
2022.10.21.513255v1.full.pdf - bioRxiv
leading vs. lagging strand bias among DNA replication errors. ... (http://fulcrumgenomics.github.io/fgbio/tools/latest/ClipBam) to remove 7 ...
Read more >
What's the possible causes of strand bias in exome sequencing?
I think there might be 4 possible causes: the sample itself does not strickly base paired; exome capture bias (how could this happen?)...
Read more >
Cell-free DNA Sequencing in Multiple Myeloma
marrow, and causing extramedullary disease in the skull, sternum, lumbar spine, and ... Drawing on earlier approaches, this method generates a single strand...
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