Given the tab delimited file with eight columns:

```
22  51244237    rs575160859 C   T   100 PASS AC=19;AF=0.00379393;AN=5008;NS=2504;DP=13345;EAS_AF=0;AMR_AF=0.0043;AFR_AF=0;EUR_AF=0.0099;SAS_AF=0.0061;AA=.|||;VT=SNP

```

How can I use bash to create a new tab delimited file from information in the eighth column with the columns: AF; EAS\_AF; AMR\_AF; AFR\_AF; EUR\_AF; SAS\_AF and the corresponding numeric value?

ie: 

```
#AF         EAS_AF   AMR_AF     AFR_AF   EUR_AF     SAS_AF 
0.00379393  0        0.0043     0        0.0099     0.0061

```

I understand I could split the eigth column by ";" (<https://unix.stackexchange.com/questions/156919/splitting-a-column-using-awk>) and then remove the unwanted text columns and text strings (ie "AF="), but is there a more efficient way to do this? 

Thanks