Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image is useless except with the CWL example #4

Open
ernstki opened this issue Jan 10, 2020 · 1 comment
Open

Docker image is useless except with the CWL example #4

ernstki opened this issue Jan 10, 2020 · 1 comment
Assignees

Comments

@ernstki
Copy link
Contributor

ernstki commented Jan 10, 2020

If we expect anyone to be able to do anything useful with the Docker image, the README needs to go into enough detail about bind-mounting the input and output directories, so that people can run it on their own data, and write the output to a directory outside the docker image.

Beyond that, the Docker image is only useful for running the one example from the CWL YAML input file, because CWL handles the bind mounts transparently to the user.

@ernstki ernstki self-assigned this Jan 10, 2020
@XiaotingChen
Copy link
Contributor

The mounting would look like something below along with 10G memory requirement. The bash works fine in windows but having problem in Macs. The actual command can be directly passed to the container (replacing bash) for the analysis.

docker run -m 10G --memory-swap 10G -it -v HOST_DATA_FOLDER:/data -v HOST_OUTPUT_FOLDER:/output weirauchlab/reli bash

/reli/RELI -snp /data/SLE_EU.snp -ld /data/SLE_EU.ld -index /data/ChIPseq.index -data /data/ChIP-seq -target hg19_0302 -build /data/GenomeBuild/hg19.txt -null /data/Null/CommonSNP_MAFmatch -dbsnp /data/SNPtable/SNPtable -out /output -match -rep 2000 -corr 1544 -phenotype Systemic_Lupus_Erythematosus -ancestry EU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants