Entering edit mode
24 months ago
MANYA_BIOINFO
•
0
Hi, I have bed file from drosophila and I wanted to extract all enhancers and promoters in separate files. How can I separate files using bed tools? df1:
df1c df1c2 df1c3
chr21 2800 3270
chr21 3600 4152
chr2 3719 5092
chr22 3893 4547
chr2 339 5092
chr22 3563 3597
structure(list(df1c = c("chr21", "chr21", "chr2", "chr22","chr2"), df1c2 = c(2800,
3600, 3719, 3893,339,3563), df1c3 = c(3270, 4152, 5092, 4547,5092,3597)), class = "data.frame", row.names = c(NA,
-4L))