Here you go:
NOTE:
Here I use on 6 fields of BED file, but you can use this script as a basis and allow more fields to be used.
awk 'BEGIN{OFS="\t"}{ print $1,"qualimap",$4,$2,$3,$5,$6,".","bed" }' CpGIslandsByTakai.human.bed > file.gff
NOTE:
Here I use on 6 fields of BED file, but you can use this script as a basis and allow more fields to be used.