Open tseemann opened 7 years ago
Starting from a blank linuxbrew system, these are the commands I ran which got seroba running:
docker pull linuxbrew/linuxbrew
docker run --rm -it linuxbrew/linuxbrew bash
brew tap homebrew/science
brew install python3 python
echo 'PATH="/home/linuxbrew/.linuxbrew/opt/python/libexec/bin:$PATH"' >>~/.bash_profile
export PATH="/home/linuxbrew/.linuxbrew/opt/python/libexec/bin:$PATH"
echo 'import site; site.addsitedir("/home/linuxbrew/.linuxbrew/lib/python2.7/site-packages")' >> homebrew.pth
brew install bowtie2 kmc mummer cd-hit
git clone https://github.com/sanger-pathogens/ariba.git
cd ariba
export MPLBACKEND="agg"
pip3 install .
cd ~
git clone https://github.com/sanger-pathogens/seroba.git
cd seroba
pip3 install .
seroba
Its probably not the cleanest, but hope this helps.
Why do I need ariba
?
And what is this magic MPLBACKED="agg"
?
Ariba does the local assembly under the hood. The MPL environment stops matplotlib demanding you are running X. So only needed for headless servers. Andrew
On 16 Sep 2017 2:03 am, "Torsten Seemann" notifications@github.com wrote:
Why do I need ariba ? And what is this magic MPLBACKED="agg" ?
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/sanger-pathogens/seroba/issues/22#issuecomment-329934547, or mute the thread https://github.com/notifications/unsubscribe-auth/AABeV4NOpn_jcuOODK5XEemFSg8lqNWfks5six5YgaJpZM4PUSQ8 .
I reinstalled from git (
git clone seroba && cd seroba && python3 setup.py install
):