text: user6252: I got two lists of about 300 genes from my GO analysis, like the following:
  Mtss1/Sox11/Fbn2/Mmp2/Tcf7l2/Six2/Ahr/Fat4/Lef1/Stc1/Acvr2a/Glis1/Nog/Igsf10/Twist2/Igf1/...
  
  How can I convert the list to one element per row (for Venn diagram  on Venny 2.1), as:
  Mtss1
  Sox11
  Fbn2
  Mmp2
  ...
  
  
  user939: In R you can use tidyr's function separate_rows.
  install.packages("tidyr") ## if not already installed
  library(tidyr)
  GO_results<-read.table("genes.txt")
  separate_rows(GO_results, GO_results$V1, sep = "/")
  
  
  user776: $ echo "Mtss1/Sox11/Fbn2/Mmp2/..." | tr '/' '\n' > list.txt
  
  For more information on tr: https://en.wikipedia.org/wiki/Tr_(Unix)
  
original_text: 6252: <p>I got two lists of about 300 genes from my GO analysis, like the following:</p>
  
  <pre><code>Mtss1/Sox11/Fbn2/Mmp2/Tcf7l2/Six2/Ahr/Fat4/Lef1/Stc1/Acvr2a/Glis1/Nog/Igsf10/Twist2/Igf1/...
  </code></pre>
  
  <p>How can I convert the list to one element per row (for Venn diagram  on Venny 2.1), as:</p>
  
  <pre><code>Mtss1
  Sox11
  Fbn2
  Mmp2
  ...
  </code></pre>
   939: <p>In R you can use <code>tidyr</code>'s function <code>separate_rows</code>.</p>
  
  <pre><code>install.packages("tidyr") ## if not already installed
  library(tidyr)
  GO_results&lt;-read.table("genes.txt")
  separate_rows(GO_results, GO_results$V1, sep = "/")
  </code></pre>
   776: <pre><code>$ echo "Mtss1/Sox11/Fbn2/Mmp2/..." | tr '/' '\n' &gt; list.txt
  </code></pre>
  
  <p>For more information on <code>tr</code>: <a href="https://en.wikipedia.org/wiki/Tr_(Unix)" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Tr_(Unix)</a></p>
  