How to install JointSNVMix

95 views
Skip to first unread message

fiona

unread,
Jun 9, 2011, 5:47:46 AM6/9/11
to JointSNVMix User Group
I have download JointSNVMix-0.6.2 .If I want to run this
software ,should i install Python 2.7? For my computer has installed
Python2.4,I think it maybe will be ok,but in fact it not run .And the
second question is the other dependencies all should be install ? That
would be so hard.
Thank U for reading my questions and will be happy for your answers.

aroth

unread,
Jun 9, 2011, 11:27:54 AM6/9/11
to JointSNVMix User Group
Hi Fiona,
Python 2.7 is required, there is some libraries that were added in
this version that are used by the JointSNVMix software.

The extra libraries are also required. Installing the extra libraries
can be quite easy but it depends on the operating system you are
using. Feel free to post any installation questions and I will try to
help.

Cheers,
Andy

Derek Chiang

unread,
Dec 13, 2012, 11:13:42 AM12/13/12
to jointsnvmix...@googlegroups.com
Hi Andy,

Your software package looks very intriguing.  I am trying to install it, but I don't have root access.  How can I write the binary executable to an alternative directory?


Thanks,
Derek

aroth

unread,
Dec 13, 2012, 12:28:50 PM12/13/12
to jointsnvmix...@googlegroups.com
Hi Derek,
The simplest option is to install a copy on Python in your home directory. This can be done easily by building Python using the `./configure --prefix=INSTALL_DIR`, where INSTALL_DIR is a directory you have write permissions to. The Python binary will then end up in INSTALL_DIR/bin. On Unix/Linux is just put PATH=INSTALL_DIR/bin:$PATH in my bash profile, which will cause the Python you installed to be used in place of the system version. Once you've done this, any Python library including JointSNVMix can be installed easily. The JointSNVMix binary will also get installed to INSTALL_DIR/bin.

This approach has a lot of advantages, such as the ability to control which libraries are installed and stay up to date with Python versions. I generally do this even when I have root permission on a server to avoid other users installing conflicting libraries.

Cheers,
Andy
Reply all
Reply to author
Forward
0 new messages