I have a file like this:
A1-1915435_1_MIMAT0000069_MirBase_miR-16_microRNA_1_22-A1-1915435_1_ENSG00000206737_ENST00000384010_U1_snRNA_73_115
A1-2362643_1_MIMAT0000732_MirBase_miR-378_microRNA_1_21-A1-2362643_1_ENSG00000222328_ENST00000410396_U2_snRNA_168_211
I want an output in which I get micro RNA part and ENSG part tab separated. Some thing like this:
miR-16_microRNA ENSG00000206737
miR-378_microRNA ENSG00000222328
I can write a perl script for it but I guess there must be command line solution for this using awk, sed perl etc.