-
Notifications
You must be signed in to change notification settings - Fork 0
Obtaining the HIV‐64148 Pipeline
-
After you’ve installed Docker, you can download the HIV-64148 Pipeline from Docker repository running this command in your terminal.
docker pull minamini/hiv64148:latest
-
Check the installation with
docker run
command.docker run --rm minamini/hiv64148:latest hiv64148 -h
You should see help message printed as a result.
-
The pipeline has been successfully installed.
The best way to install the pipeline is to get it from Docker registry, however, in case you wish to customize the pipeline you might want to build it yourself. There are two ways to get the pipeline the first is to download a Zipped version from the web browser and the second is by git clone command which requires a Git installation.
- Go to HIV-64148 GitHub page
- Click on “<> Code” button and select " Download ZIP
- Extract the content of the zipped file
- On Windows, right click and select “Extract All…” then follow the prompt, if the option does not exist or the file cannot be opened by the Explorer, you might need to install additional software such as 7-Zip (https://www.7-zip.org/) to access its content.
- On MacOS, just double click on the zipped file and it’ll be automatically extracted into the same folder as the zipped file.
- On Linux, you can use the
unzip
commandunzip file.zip -d destination_folder
Ifunzip
command was not found, you can install it with aptsudo apt-get install unzip
-
Check if you have git installed by opening the terminal (or command prompt in Windows) and enter the
git -v
command. If there is command not found error, you must install Git by following the instructions here. -
In your terminal enter the command:
git clone https://github.com/STTLab/HIV-64148.git
-
The repository will be automatically downloaded to your current working directory.
-
Open the terminal/command prompt and navigate to HIV-64148 source code directory.
-
Run the
docker build
command:docker build -t hiv64148:custom -f ./docker/Dockerfile .
-
Run your container
docker run --rm hiv64148:custom hiv64148 -h
Warning
Building from source in Windows may not work as expected due to encoding issue which caused by git automatically convert from Linux to Windows encode, render symlink useless, resulted in a File not found error when running the pipeline with hiv64148
command.
The suggested workaround is to build the image on a Linux machine, dump it, transfer, and load it on to Windows. Alternatively, you can directly invoke the script with docker run … python3 /hiv64148/scripts/main.py -h