extracting a gene from a gmt file
1
0
Entering edit mode
3.3 years ago
Bogdan ★ 1.4k

Dear all,

Starting from a conversation at : https://bioinformatics.stackexchange.com/questions/5400/how-to-convert-data-in-gmt-format-to-dataframe, would you please advise:

Given a gmt file, how could extract the pathways that are associated with a specific gene?

Thank you very much!

Bogdan

gmt pathway • 1.1k views
ADD COMMENT
0
Entering edit mode

Link posted in SE (msigdb-BI) needs a registration and login. Please post example data.

ADD REPLY
0
Entering edit mode

Please use sensible tags that highlight the subject matter of your post. The current tags are nonsensical and show no effort.

ADD REPLY
1
Entering edit mode
3.3 years ago
Sam ★ 4.8k

Considering the format of the gmt file, I guess the easiest way will be to do

grep -f <file with gene> -w <gmt file>
ADD COMMENT

Login before adding your answer.

Traffic: 2349 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6