Hi, thank you for answering my problem.
My data is in format as below:
A1P D4M N6G A1F D4S N6L A1C
I want the output or output should be :
A1P/F/C D4M/S N6G/L
Is any R package code available? perl or python code will also be great. Thank you very much. Sorry for wasting your valuable time.