Remove brackets repeats and separate in columns

Hi all,

I want to remove the remove bracket sign ( ) and put in the separate column I also want to remove the repeated entry like in first row in below input (PA156) is repeated

ESR1 (PA156) leflunomide (PA450192)  (PA156) leflunomide (PA450192) 
CHST3 (PA26503) docetaxel (PA449383);thalidomide (PA451644)  (PA26503)  docetaxel (PA449383);thalidomide (PA451644)  (PA26503) docetaxel  (PA449383);thalidomide (PA451644)  (PA26503) docetaxel  (PA449383);thalidomide (PA451644)  (PA26503) docetaxel  (PA449383);thalidomide (PA451644)  (PA26503) docetaxel  (PA449383);thalidomide (PA451644)  (PA26503) docetaxel  (PA449383);thalidomide (PA451644) 
LPL (PA232) fenofibrate (PA449594) 
GALNT14 (PA134920089) cisplatin (PA449014);fluorouracil  (PA128406956);mitoxantrone (PA450526)  (PA134920089) cisplatin  (PA449014);fluorouracil (PA128406956);mitoxantrone (PA450526)   (PA134920089) cisplatin (PA449014);fluorouracil  (PA128406956);mitoxantrone (PA450526)  (PA134920089) cisplatin  (PA449014);fluorouracil (PA128406956);mitoxantrone (PA450526)   (PA134920089) cisplatin (PA449014);fluorouracil  (PA128406956);mitoxantrone (PA450526)  (PA134920089) cisplatin  (PA449014);fluorouracil (PA128406956);mitoxantrone (PA450526)   (PA134920089) cisplatin (PA449014);fluorouracil  (PA128406956);mitoxantrone (PA450526) 
CTLA4 (PA27006) glatiramer acetate (PA449760

I want output for first row and other rows shuld be like this format

ESR1  PA156  leflunomide  PA450192  leflunomide PA450192

PA450192 is also repeated (and within parentheses) in the first row. Why is it still in 2 places in the expected output?

Thanks for reply.

If it is possible to remove the second repetition of another columns entries in the same row that shuld be fine

No Prob with that

Its alright to remove
initially I was thinking to remove remove repetition o first entry but if we can remove the others as well that should be fine

This will remove repeated occurences of only those fields containing parentheses.

awk -v p="[()]" '{
for(i=1;i<=NF;i++)
 if(gsub(p,"",$i))
  if(++a[$i]>1) 
   $i=""
for(i in a)
 delete a
}1' infile

Thankyou

can I remove brackets and things between 2 brackets in a separate column.

as well as means there shuld be 4 columns for first row and in the same row for others as these are not present actually in input file

ESR1 PA156 leflunomide PA450192

Mani