Convert Un-Indexed Sam File To Wig File
2
0
Entering edit mode
12.6 years ago
lsvijfhuizen ▴ 90

Dear All,

I want to convert an SAM file without head to an wiggle file. Can anyone help me with this? I haven't that BAM files. Thank you!

sam wiggle • 3.2k views
ADD COMMENT
0
Entering edit mode
12.6 years ago
Fidel ★ 2.0k

You may want to see this link on how to convert a SAM file (without a header) to a bam file. Afterwards you can use the BEDtool genomeCoverageBed to obtain a bedgraph file (which is similar to a wiggle file and probably will suit your needs)

ADD COMMENT
0
Entering edit mode
12.6 years ago

Here (under software) is small sam2wig perl-script. It is not very memory efficient and/or fast, but my intention to write it was the normalization of multiple mapping reads, which cannot be done using samtools.

Feel free to try it.

ADD COMMENT

Login before adding your answer.

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