Problem In Converting Bam To Bed
1
0
Entering edit mode
12.1 years ago
camelbbs ▴ 710

Hi, I have a question in converting bam to bed, while convert bam to bed and import them to IGV, you can see they are different. Only bam file can align well to refseq exons. Does bedtools change the genome coordinates in bam files?

image:

http://postimage.org/image/68ynlxui3/

IGV

Thanks a lot!

format seq • 3.2k views
ADD COMMENT
0
Entering edit mode

generate a plot that only shows the bam and the bed file. Make sure to show the bam file and not the coverage of it. Please specify in your post the command that you use to generate the bed file. You can edit your answer and put that information in there.

ADD REPLY
1
Entering edit mode
12.1 years ago

If you would like to see if the problem is with conversion, we have a bam2bed script available for download. This might be a way to do an independent "sanity check" of sorts.

ADD COMMENT
0
Entering edit mode

My data is RNAseq, can that fit your script? Thanks!

ADD REPLY
0
Entering edit mode

Try it out and let us know if it doesn't help.

ADD REPLY
0
Entering edit mode

I want to generate a format that can be viewed in IGV.

ADD REPLY
0
Entering edit mode

I have to admit I haven't played too much with IGV in a few years. But if IGV imports UCSC BED data, then our script should help translate the BAM data to BED.

ADD REPLY

Login before adding your answer.

Traffic: 1305 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