This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Transform gene ID list to sentence seperated by comma as in example shown below.

Hi all, I am new in bioinformatics and I want to simple transform my gene list with many rows (~100) from something like this:

948683
947293
947227

To something like this:

948683,947293,947227

either on R or command line, I don't know which is easier.

commandline code r

Hello tpm!

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

Basic Unix, please google "change delimiter bash". You will find extensive help.

https://stackoverflow.com/questions/56864122/replace-newline-with-comma-and-space-to-produce-1-line-output

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!

0 answers

No answers yet.

Log in to answer this question.