Open yeoeunyun opened 4 years ago
Did you create and mount an SSD filesystem onto /scratch and them set TMPDIR to some location on /scratch?
The installer has only been tested on Amazon Linux 2, and only on a fresh machine. There is code to support Debian, but it's not extensively tested. Regardless, you need to be in an AWS environment and on a machine with an SSD instance store. I would recommend at least 400GB on the instance store.
I haven't tested it on a pre-existing linux system. The install script makes a lot of assumptions on binaries and resources that are pre-installed on an Amazon Linux 2 image.
It also looks line your install isn't complete as not all the scripts installed.
What set of commands did you run to get to this point?
OK, I tested super quickly on a fresh ubuntu system, there was an error in the instruction that told you to set TMPDIR after it was already expected to have been set. I put the instruction in the proper spot.
Thank you for your response.
I downloaded the files you provided, and followed the steps in README
First, I ran these commands as below, and there were not any problems yet.
chmod 0775 virmapInstall.pl
./virmapInstall.pl
export TMPDIR=/scratch/tmp
But, when I ran this command, we got the problems about dependencies.
makeVirmapDb.pl --outputDir /scratch/VirmapDb
So, I installed some dependencies required in makeVirmapDb.pl
and also Virmap.pl
.
After that, I ran the Virmap.pl
to make sure it was installed properly and there were no problems with it.
(I mean I could see the usage)
I tried to create database again, using 'makeVirmapDb.pl', but I got that command log as above, and no files were created.
This is what I'm in right now.
I just wonder that there is the other way to use VirMap in Ubuntu.
Thanks in advance.
Yun
Are you running this on a fresh Ubuntu 18.04 image on AWS?
It looks to me like you may be trying to install this on a pre-existing Ubuntu set up (your username would be "ubuntu' on a vanilla AWS image). That scenario has not been tested and is unlikely to work, as the install script assumes certain AWS environment features and also assumes sudo with no password.
Okay, I got it.
Thank you for your reply.
Hi, I gonna create database but I got some problems.
here is my command log.
(I just bring a part of the command log because there were too much lines.)
I wonder if this problem is because my system is Ubuntu, not Amazon Linux 2 OR I just missed some steps that you give.
Could you give me any advice?
Thanks in advance Yun