Hi Eduardo, Yes, you would have to remove the track and browser lines from the files. One of our engineers has provided this help:
egrep -v "^track|^browser" yourfiles* > oneNewFile Then run wigToBigWig with the new file you created. Please contact the mail list ([email protected]) again if you have any further questions. Katrina Learned UCSC Genome Bioinformatics Group On 9/9/11 9:00 AM, Eduardo Gade Gusmão wrote: > Hello, I got a question concerning wig files and wig to bigwig conversion. > > The program I am using outputs .wig files for each chromosome. I want to > merge them to a single wig so I can use your binary "wigToBigWig" program to > convert it into bigWig to save space. There is a tool that do this > conversion? If not, I can write a script, but I don't know if I should > remove the declaration lines of each chromosome file (a declaration line > would be "fixedStep chrom=chr1 start=10469 step=1"). In some forums I have > seen that the users did remove this declaration line, but as my file is > fixedStep its does seems to me a little strange to remove it. So what is the > correct way of putting many wigs from different chromosomes together? > > Thank you! > ________________________________________________________________ > Eduardo Gade Gusmão > _______________________________________________ > Genome maillist - [email protected] > https://lists.soe.ucsc.edu/mailman/listinfo/genome _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
