This is a test version of Biostars. For the public version, visit https://www.biostars.org.
csv file, columns issue

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. 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 acceptable :D Thank you

r python columns comma cnv

Hi Jim, please explain the connection to bioinformatics, your question is solved by trivial text processing () and is not a good fit for this site.

Hello jim.paredes!

We believe that this post does not fit the main topic of this site.

This does not look like bioinformatics. Please tell us how this is related to bioinformatics and I will reopen the question.

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

Update: OP has opened a new post with same content at: copy number file analysis

0 answers

No answers yet.

Log in to answer this question.