Solved. Thanks.
• 0 views
•
link
I am using bedtools intersect to obtain my two bed files overlapped coordinates but my output is too large in cygwin I couldn't copy paste my result. Is there any other ways to save my output in a text file or bed file?
bedtools intersect -a a.bed -b b.bed > intersect_ab.bed
The > bit redirects the output into a (newly created/overwritten) file instead of printing to screen. Welcome to unix-like commands, once you 'get' this and piping you'll find you can do a lot from the command line :-)
Solved. Thanks.
Log in to answer this question.
Don't want to be sceptical about this Cygwin, but under "normal" linux there shouldn't be any problems. Try ubuntu.
:-)
Edit: I don't know how cygwin works, but bedtools should save it's results into a file.