jchow32 / magi-s

Seed-centric method to identify gene modules of similar interaction and co-expression characteristics
0 stars 0 forks source link

Pathway_GeneCenter  Segmentation fault (core dumped) #1

Open xigyou opened 5 years ago

xigyou commented 5 years ago

I get Segmentation fault problem. ./Pathway_GeneCenter Segmentation fault (core dumped)

md5sum Pathway_GeneCenter e2585f39f2115381bea863022d55874e Pathway_GeneCenter

and I remake by makefile, It's also appear.

mv Pathway_GeneCenter Pathway_GeneCenter.back sudo make -f makefile g++ -mcmodel=large -O3 -o Pathway_GeneCenter color_coding.o PPI_Graph.o

./Pathway_GeneCenter Segmentation fault (core dumped)

md5sum Pathway_GeneCenter
be893074f4e526e6795a924fc69fc443 Pathway_GeneCenter

jchow32 commented 5 years ago

Hi Luke,

To avoid a segmentation fault, the executable Pathway_GeneCenter requires all inputs to be provided in the following order. For example:

Gene_Centric/Paths/Pathway_GeneCenter $PPI $caseGene $controlMutationList $geneLength $geneCoexpressionID $coexpressionMatrix $ID

More information about the format of these input files can be found in Gene_Centric/Paths/README, and examples of these input files can also be found at https://eichlerlab.gs.washington.edu/MAGI/ Specifically, the PPI network, the control mutation list (ESP/Control mutations file), gene length file (Gene lengths file), the gene co-expression ID file (CoExpression Hash table file), the co-expression matrix (CoExpression table file), and an ID number that you provide such as 1 or 2. $caseGene is a text file that contains a single gene name that you provide, such as SCN2A