I have to add two new columns at the end of the tab-delimited file with specific entries. My file looks like this
chr2 88861474 88861574 IGKJ2 chr2 88861170 88861270 IGKJ3 chr2 88860835 88860935 IGKJ4 chr2 88860517 88860617 IGKJ5 Following is my expected output
chr2 88861474 88861574 IGKJ2 0 - chr2 88861170 88861270 IGKJ3 0 - chr2 88860835 88860935 IGKJ4 0 - chr2 88860517 88860617 IGKJ5 0 - I can make another file with 0 and - entries and using paste command i can merge the newly made file with my original file to get the desired output but I am looking for other options( using awk or sed)