merge structural variant calls in bedpe format
1
0
Entering edit mode
8.2 years ago
Ming Tommy Tang ★ 3.9k

Hi all,

I have structural calls represented in bedpe format http://bedtools.readthedocs.org/en/latest/content/general-usage.html#bedpe-format

I want to merge the calls with both ends overlapping. similar to this question Merging And De-Duplicating Structural Variant Calls (Bedpe)

I also read https://groups.google.com/forum/#!topic/bedtools-discuss/JXZbJSwVxUo

and it seems to be not an easy job.

Anyone has written tools for this kind of task?

I am aware of svtools https://github.com/hall-lab/svtools, but it is still under development, and not tested yet.

Thanks!

Ming

bedpe bedtools • 3.3k views
ADD COMMENT
0
Entering edit mode
8.2 years ago

Does bedtools merge work for you?

http://bedtools.readthedocs.org/en/latest/content/tools/merge.html

And if not, what do you need it to do that it doesn't do? (An example might be helpful)

ADD COMMENT
0
Entering edit mode

bedpe1:

chr1 100 200 chr1 400 500
chr1 1000 1200 chr1 1500 1600

bedpe2

chr2 40 150   chr1 350 500
chr1 70 150  chr1 450 550

The first entry in bedpe1 overlaps with the second entry in bedpe2.

---------|---------|-----------------------|----------|-----    
-----|---------|-------------------------|---------------|---

merged to

-----|-------------|---------------------|---------------|---

This is just an example for intra-chromosomal merging.

Ideally, one can specify, how merging should be performed. minimal overlappings:

--------|------|---------------------------|-----------|-----
ADD REPLY

Login before adding your answer.

Traffic: 1426 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6