Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make sense of Tophat's output file 'junctions.bed' gsinghal RNA Sequencing 4 09-03-2012 06:49 AM
Make my own blast DB detq182 Bioinformatics 9 04-18-2012 01:45 PM
Can't make Maq nightsun Bioinformatics 1 12-30-2011 08:24 PM
Make Clean and Make all not working qnc Bioinformatics 27 10-21-2011 10:17 AM
Can't make Maq RockChalkJayhawk Bioinformatics 4 08-24-2009 10:32 AM

Thread Tools
Old 05-14-2013, 04:46 PM   #1
Location: Bonn Germany

Join Date: Apr 2013
Posts: 25
Default Which cloumn to take from SV Detect to make bed format to make it running on BEdtools

Bedtools intersect requires Bed format (chr name, starting and ending co-ordinate) for comparing two files. I have the file from svdetect but I don't know which column to extract for starting and ending co-ordinate.
Attaching the screenshot of output (can't capture all the columns).

>> SVDetect links2SV -conf <configuration_file>

This program converts the link list of the "<mates_file>.links.filtered" to show significant SVs through a
tabulated-text format. The output file name is "<mates_file>"

Each line corresponds to one chromosomal SV and the format is as follows:

1. Type of chromosomal rearrangement
INTRA: intra-chromosomal SV
INTER: inter-chromosomal SV

2. Predicted type of SV. See description in 2.b
3. Coordinates of chromosome1, format: chromosome:start-end
4. The mean separation distance is provided here if links have been filtered according to the insert size
5. Balanced or unbalanced feature. See description in 2.b
6. Coordinates of chromosome2, format: chromosome:start-end
7. Number of pairs after filtering
8. % of the remaining pairs after strand filtering
9. % of the remaining pairs after order filtering
10. % of the remaining pairs after insert size filtering
11. score based on 8., 9. and 10. (best score=1)
12. Coordinates of the estimated breakpoint region in chromosome1
13.Coordinates of the estimated breakpoint region in chromosome2
Attached Images
File Type: png Untitled.png (136.6 KB, 9 views)
vishal.rossi is offline   Reply With Quote
Old 05-16-2013, 03:59 AM   #2
Just a member
Location: Southern EU

Join Date: Nov 2012
Posts: 103

mhm... I think the description you posted does not match the format of the SV file.

Try something like
sed 1d | awk '$4==$7{OFS="\t";split($5,a,"-");split($8,b,"-");print $4,(a[1]<b[1]?a[1]:b[1]),(a[2]>b[2]?a[2]:b[2]),$2,$13*1000,"."}' >
The resulting bed file should be bedtools- and IGV- compatible.
syfo is offline   Reply With Quote

bedtools intersect, svdetect

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 12:06 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO