Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No clear instruction on installation #14

Closed
emmannaemeka opened this issue Feb 9, 2020 · 15 comments
Closed

No clear instruction on installation #14

emmannaemeka opened this issue Feb 9, 2020 · 15 comments

Comments

@emmannaemeka
Copy link

Hello,

There seem to be no clear instruction on how to install this program. Can it be made simpler?

@adigenova
Copy link
Owner

HI,
The simplest way is to download the Linux pre-compiled binaries from here:

https://github.com/adigenova/wengan/releases/download/0.1/wengan-v0.1-bin-Linux.tar.gz

there is demo repository with detailed instructions here:

https://github.com/adigenova/wengan_demo

best,
Alex

@emmannaemeka
Copy link
Author

emmannaemeka commented Feb 10, 2020 via email

@adigenova
Copy link
Owner

can you post the content of :

mucuna.minia.41.log and mucuna.minia.41.err

thanks

@emmannaemeka
Copy link
Author

emmannaemeka commented Feb 10, 2020 via email

@adigenova
Copy link
Owner

The problem is that the pre-compiled binaries not found the required GLIB version (`GLIBCXX_3.4.21' not found). So, you have to re-compile from the sources.

the commands should be like this:

#fetch Wengan and its components
git clone --recursive https://github.com/adigenova/wengan.git wengan

for each component, there are specific instructions.

I recommend to start building the WenganM pipeline, it requires the compilation of Minia3, fastmin-sg, intervalmiss, liger and seqtk.

To compile fastmin-sg, intervalmiss, liger and seqtk, just type "make all" inside each directory.

To compile Minia3 you need CMake.

In the near future, I'm going to provide a conda package for wengan.

Best,
Alex

@emmannaemeka
Copy link
Author

emmannaemeka commented Feb 10, 2020 via email

@adigenova
Copy link
Owner

Can you post the result of:

gcc --version
g++ --version

It seems that you have an old GCC compiler.

best,
Alex

@emmannaemeka
Copy link
Author

emmannaemeka commented Feb 10, 2020 via email

@adigenova
Copy link
Owner

Ok, that is the problem , your C++ compiler is old, wengan was compilation was tested with:

with GCC version GCC/7.3.0-2.30 or higher.

So, to solve your issues, I recommend updating your GCC compiler (i.e > 7.)

Best,
Alex

@emmannaemeka
Copy link
Author

emmannaemeka commented Feb 10, 2020 via email

@adigenova
Copy link
Owner

adigenova commented Feb 10, 2020

Great!!!, for compiling minia you have to run inside the directory:

# compile the code an run a simple test on your computer
cd minia
sh INSTALL

After compilation of all the components listed above, you have to copy them to ${ROOT_WENGAN}/bin.

best,

Alex

@emmannaemeka
Copy link
Author

emmannaemeka commented Feb 10, 2020 via email

@adigenova
Copy link
Owner

The problem now is cmake, check this line in the log that you posted:

CMake 3.10.0 or higher is required. You are running version 2.8.12.2

update your cmake >= 3.1

best

@emmannaemeka
Copy link
Author

emmannaemeka commented Feb 10, 2020 via email

@adigenova
Copy link
Owner

OK, great!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants