Alternative content
more enriched_ids | grep "WP_" | awk '{split($2,a,"_"); print a[4]"_"a[5]}'
#Other extraction
more enriched_ids | grep "WP_" | awk '{split($2,a,"_"); print a[4]"_"a[5]}'> enriched_ids_list
awk 'NR==FNR{tgts[$1]; next} $1 in tgts' enriched_ids_list result/GO.out > enriched_GO.out.xls