bedtools map
allows one to map overlapping features in a B file onto
features in an A file and apply statistics and/or summary operations on those
features.
bedtools map
allows one to map overlapping features in a B file onto
features in an A file and apply statistics and/or summary operations on those
features.column1,column2,column3,column4,column5,column6,column7,column8
output:
column2,column3,column4,column5,column6,column7
Answer
or
b=beginning field number, e=end field number.
Input file:
SPATA17 1 217947738
LYPLAL1 1 219383905
FAM47E 4 77192838
SHROOM3 4 77660162
SHROOM3 4 77660731
SHROOM3 4 77662248
Output file:
SPATA17 1 217947738 file1
LYPLAL1 1 219383905 file1
FAM47E 4 77192838 file1
SHROOM3 4 77660162 file1
SHROOM3 4 77660731 file1
SHROOM3 4 77662248 file1
Answer