Hello, I have a problem with a .csv file from Copy number data. The original looks like this:
genes Log2 PIK3CA,TET2 -0.35 MLH2,NRAS 0.54
And, what I need is:
genes Log2 PIK3CA -0.35 TET2 -0.35 MLH2 0.54 NRAS 0.54
I have tried many things by now, and they have not been successful. The file was created with CNVkit from gastric cancer samples. The file is much bigger, and the list of genes is longer, but this is essentially what I need to do in order to analyze our cnv data.
I use Linux, Ubuntu V 16.04. I would appreciate if you could help me with an R or Python script, but, by now, any solution would be good.