How to create a .SIF file?
1
0
Entering edit mode
8.4 years ago
jolespin ▴ 150

I'm trying to create a .SIF file for a gene set. I saw How to create a SIF file to use in Cytoscape? but couldn't find the validate option. I went to save but the XML file wasn't what I was looking for. I'm open to using other resources than string-db but I'd prefer to use either string-db, KEGG, or BioCYC

interactome gene genome RNA-Seq protein • 3.1k views
ADD COMMENT
2
Entering edit mode
8.4 years ago
cannin ▴ 350

Here is a potential solution using Pathway Commons and the paxtoolsr R package.

library(paxtoolsr)

# Download complete SIF file
pcSif <- downloadPc2("Pathway Commons.7.HumanCyc.BINARY_SIF.hgnc.sif.gz")

# Genes of interest
tmp <- c("TP53", "AKT1")

# Find SIF rows that contain the genes of interest
idxA <- which(pcSif$PARTICIPANT_A %in% tmp)
idxB <- which(pcSif$PARTICIPANT_B %in% tmp)

# Concatenate row indicies
idxAll <- c(idxA, idxB)

# Show the first few results
# NOTE: Only show the first 3 columns that contain the SIF
head(pcSif[idxAll, 1:3])
ADD COMMENT

Login before adding your answer.

Traffic: 1832 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