rsemeraro / XomeBlender

Generates synthetic cancer genomes with different contamination level and intra-tumor heterogeneity and devoid of any synthetic element
GNU General Public License v3.0
10 stars 2 forks source link

'make' error #1

Closed LeeNicha closed 6 years ago

LeeNicha commented 6 years ago

Hi, I got nothing when I type 'make'. Thank you in advance for your kind response.

rsemeraro commented 6 years ago

Hi, do you have g++ on your machine?

LeeNicha commented 6 years ago

yes. I have g++.

rsemeraro commented 6 years ago

OK, if you go to Scripts folder how many scripts you find?

LeeNicha commented 6 years ago

3 files: ChrSizCentr.Rdata Intervals_generator.R SubCloneGenerator.R

rsemeraro commented 6 years ago

Ok, it didn't worked. If you type make it starts and never ends?

LeeNicha commented 6 years ago

Yes!!

rsemeraro commented 6 years ago

Ok, probably it can't find one or more dependencies. We can bypass it, if all dependencies are on your machine. (picard, GenomeAnalysisTK.jar, vcftools)

LeeNicha commented 6 years ago

I have all dependencies. What next should I do?

rsemeraro commented 6 years ago

ok, prepare a deps.txt file containing the paths to the executable of each dependency, in the order: /path/to/picard-tools-1.129/picard.jar /path/to/GenomeAnalysisTK.jar /path/to/vcftools_0.1.12b/cpp/vcftools

put this file in the Xome-Blender folder

Next, open the Makefile with a text editor and comment with # the first three lines in the file and the last three in the all block: $(PICARD_CHECK) $(PICARD_CHECK) $(VCFTOOLS_CHECK). Save, type make and it should work!

LeeNicha commented 6 years ago

It has another error! screen shot 2561-04-12 at 17 28 29

rsemeraro commented 6 years ago

ok, if you type 'locate libm.a' what do you get?

LeeNicha commented 6 years ago

I got nothing.

rsemeraro commented 6 years ago

ok, you need the glibc-static library. If yum is on your system, you can install it by typing :yum install glibc-static

LeeNicha commented 6 years ago

ok. I type make and check the Scripts folder. It has 4 new files. screen shot 2561-04-12 at 17 57 56

LeeNicha commented 6 years ago

I got following error with this command 'sh InXalizer.sh'.

screen shot 2561-04-12 at 18 07 32

rsemeraro commented 6 years ago

try with 'bash ./InXalizer.sh'

LeeNicha commented 6 years ago

Thank you so much ^^.