Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bam to bigwig gokhulkrishnakilaru Bioinformatics 6 11-21-2016 11:54 AM
Combine multiple binary files by Plink ardmore Bioinformatics 2 08-02-2011 06:31 AM
IGV and bigwig / bigbed Jim Robinson General 0 06-27-2011 08:28 AM
convert wig to bigwig khb Bioinformatics 1 12-16-2010 07:02 AM
Any program to extract different peaks from two wigs files hon Bioinformatics 1 10-29-2009 01:30 AM

Thread Tools
Old 09-28-2011, 10:31 AM   #1
Senior Member
Location: Canada

Join Date: Nov 2010
Posts: 124
Default Combine multiple wigs into one bigwig

I've got fixed step .wig files, 1 per chromosome, and I want to combine them into one bigwig file. I was going to concatenate them then use wigtobigwig. Step 2 of the instructions for creating a bigwig file says "Remove any existing 'track' or 'browser' lines from your wig file so that it contains only data." If I remove all the track lines then how will the wigtobigwig program know which data is on which chromosome? If I combine all my wig files then remove all the track lines it'll just be a file with a single column of numbers and no references to chromosomes. I think I'm missing something here...

Edit: I think I found the answer, someone else asking the same thing, I think the UCSC instructions need to be a bit clearer as even the UCSC "tech support" person was a little mixed up at first:

Last edited by biznatch; 09-28-2011 at 12:40 PM.
biznatch is offline   Reply With Quote
Old 08-25-2014, 12:27 AM   #2
Orr Shomroni
Location: Netherlands

Join Date: Oct 2011
Posts: 26

Personally, I'm using multiBamCov (a command in Bedtools) which converts multiple BAM files into BED, and piping it directly into wigToBigWig. This works since BED and WIG are of very similar format
"Though it may seem that all's been said and done, originality still lives on" - some unoriginal guy who had nothing better to write as his signature
Orr Shomroni is offline   Reply With Quote

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 09:01 AM.

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