Hi, I got a file in the following format
I don't think this file is so compact, so I want change it to something like
I tried clustering the intervals using Galaxy, but it just returned the first three columns
I really need to keep the strand and score column, because later I will sort the file based on the score. So is there any script or tools can do the job? It's better to have a option to return the mean or average value of that range in the fifth column.
Here is a sample file waiting to be tested.