This is a test version of Biostars. For the public version, visit https://www.biostars.org.
bedtools cluster output

Hi! I am unable to see how I can get the bedtools cluster call to output into a file and what type of file that would be. It isn't written anywhere in the documentation. Thanks,!

cluster bedtools

The best way to answer these questions is to run bedtools cluster yourself and see what happens. That said I was able to surmise the following from the documentation:

the default output is a three column BED file with a 4th column denoting which cluster the feature has been grouped in, see https://bedtools.readthedocs.io/en/latest/content/tools/cluster.html#default-behavior for the example.

Since there is no flag for specifying the name of the output file I imagine the output is written to standard output and can be written to file by adding > cluster_output.txt to the end of you command.

0 answers

No answers yet.

Log in to answer this question.