I wonder if there is a way to convert a plain file as shown below
target: locus9_window12
length: 120
miRNA : hsa-miR-4458
length: 19
mfe: -23.7 kcal/mol
p-value: 0.033901
target: locus104_window172
length: 120
miRNA : hsa-let-7b-5p
length: 22
mfe: -26.2 kcal/mol
p-value: 0.015466
target: locus119_window193
length: 120
miRNA : hsa-let-7b-5p
length: 22
mfe: -32.8 kcal/mol
p-value: 0.00028
To a csv type format delimited with comma
target length miRNA length mfe p-value
locus9_window12 120 hsa-miR-4458 19 -23.7 0.033901
locus104_window172 120 hsa-let-7b-5p 22 -26.2 0.015466
locus119_window193 120 hsa-let-7b-5p 22 -32.8 0.00028
If it is possible to transform a plain text file into a comma delimited csv file, I would appreciate any support and contribution