Ensembl / WiggleTools

Basic operations on the space of numerical functions defined on the genome using lazy evaluators for flexibility and efficiency
Apache License 2.0
144 stars 25 forks source link

Using wiggletools overlaps processed data, but the results cannot open by IGV #70

Closed lexie-lee closed 3 years ago

lexie-lee commented 3 years ago

Hello,

I used the overlaps function to combine my two bw data. The command are

wiggletools overlaps /Volumes/PBLAB/Seq_data_temp/F03_PBS_A1/F03_PBS_A1.bw /Volumes/PBLAB/Seq_data_temp/F03_PBS_A2/F03_PBS_A2.bw > /Volumes/PBLAB/Seq_data_temp/F03_PBS_A1.bw

The original two data both can open by IGV, but the combined bw file can not....

Do you know why this happens? How can I do to solve this?

dzerbino commented 3 years ago

Dear @lexie-lee

WiggleTools outputs in wiggle format (i.e. text based) as opposed to BigWig (which is compressed and indexed).

You therefore need to convert it to BigWig, using wigToBigWig.

Hope this helps,

Daniel

lexie-lee commented 3 years ago

Thanks a lot !!! I will try your suggestion later, and I just find a way to merge bw files in IGV.

Thanks again!