The output from the file should have first two columns and the AFLA_* ids
awk solution:
awk -F'[[:space:]]+|\\|AFLA_' -v pfx="ALFA_"
'{ print $1,$2,pfx $9,pfx substr($10,0,index($10,"|")-1) }' yourfile
The output:
EQ963472 29264 072280ALFA_072280 072280ALFA_072280
EQ963472 31777 072310ALFA_072310 072310ALFA_072310
EQ963472 58523 072370ALFA_072370 072370ALFA_072370
EQ963472 171022 072870ALFA_072870 072870ALFA_072870
EQ963472 174382 072890ALFA_072890 072890ALFA_072890
EQ963472 185314 072940ALFA_072940 072940ALFA_072940
EQ963472 188490 072960ALFA_072960 072960ALFA_072960
-F'[[:space:]]+|\\|AFLA_'- considering whitespace(s) and|AFLA_sequence as field separators