Hello,
      I have a fasta file with lines of format -

    >FBti0019256 type=transposable_element; loc=2L:22300300..22304444; name=invader2{}555; dbxref=FlyBase_Annotation_IDs:TE19256,FlyBase:FBti0019256; MD5=d9259a0e33aad699215e64916bd47a5b; length=4145; release=r6.19; species=Dmel; 

I would like to convert these lines into a bed file of format - 

    chr2L /t 22300300 /t 22304444 /t invader2

Is there a program that can directly perform this conversion or an awk command that can do this easier? Please let me know, thank you for your help.
My approach is lazier... Just split on the punctuation, pull out the columns you want, and separate by "\t".

    awk -F'[ *:.]' -v OFS="\t" '{print "chr"$5,$6,$8,$13}' tmp.txt
    
    # Output
    chr2L	22300300	22304444	invader2

