Question: Make a custom GMT file
gravatar for xandinho2468
9 months ago by
xandinho246820 wrote:

I want to create a .gmt file to use gprofiler on a annotaion on non. model organism

My input file is like this:

gene000016    GO:0005515
gene000021    GO:0005515
gene000027    GO:0044464
gene000010    GO:0005515
gene000011    GO:0015074

And I want to convert it like this:

GO:0005515 NA gene000016 gene000021 gene000010
GO:0044464 NA gene000027
GO:0015074 NA gene000011

So basically putting the GO-term in column 1, some random text in col2 and the genes from col1 in the input file on a line after the go-term.

Is there a way to do it in python?

gmt • 740 views
ADD COMMENTlink modified 9 months ago by RamRS30k • written 9 months ago by xandinho246820
gravatar for Kevin Blighe
9 months ago by
Kevin Blighe67k
Republic of Ireland
Kevin Blighe67k wrote:

A: Running GSEA for DEGs

ADD COMMENTlink written 9 months ago by Kevin Blighe67k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1069 users visited in the last hour