0
$\begingroup$

I have the results of:

bedtools genomecov -d...

Output:

0
0 
10
10
10
20
20

And i want to convert it back to bed file.

e.g.

chr1  1  2  0
chr1  3  5  10
chr1  6  7  20

Is there any tool that can sort this out or ishould make my own script?

$\endgroup$
  • $\begingroup$ Welcome to Bioinformatics! This question might be improved with more information. Could you explain what sources have you looked in or which solutions didn't work? Many thanks! $\endgroup$ – llrs Nov 7 '18 at 13:38
  • $\begingroup$ I have only checked bedtools suit but there is no function suitable for this. I wrote my own script for this job. $\endgroup$ – D Grigor Nov 7 '18 at 15:44
  • $\begingroup$ Glad you found a way to solve your problem. In that case you could provide it as a solution for others to use! $\endgroup$ – llrs Nov 7 '18 at 15:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.