Skip to content

finchnSNPs/Docker_kr-colab_locator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Docker_kr-colab_locator

Docker container for locator NN. See: https://github.com/kr-colab/locator.git

Use with Docker

Download the Dockerfile

(you should also download Docker Desktop)

Create an image with the Dockerfile. Open terminal (or similar) and run the following:

docker build -t locator .

You must be inside of the directory containing the Dockerfile for this to work.

See image in you Docker Desktop app.

Screen Shot 2022-03-29 at 3 18 12 PM

Click the RUN! button on the right side; name the container (optional).

Screen Shot 2022-03-29 at 3 18 43 PM

Click the >_ button which will open the container in terminal.

Find the scripts directory.

ls scripts

Use with Singularity (Apptainer)

Load module first if necessary. module load singularity

Download docker image to be run with singluarity.

singularity pull locator.sif docker://finchnsnps/locator:locator_v2

Open container as a shell with singularity.

singularity shell --cleanenv locator.sif

Find locator scripts directory under /

ls /locator/scripts

Test container

See https://github.com/kr-colab/locator.git for details about test data, output files, parameters, visualization, and interpretation.

Make output directory

mkdir out/test

Use test data to test the container

In docker:

python scripts/locator.py --vcf data/test_genotypes.vcf.gz --sample_data data/test_sample_data.txt --out out/test/test

In singularity

python /locator/scripts/locator.py --vcf /locator/data/test_genotypes.vcf.gz --sample_data /locator/data/test_sample_data.txt --out out/test/test

About

Docker container for locator NN. See: https://github.com/kr-colab/locator.git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published