Closed lakhujanivijay closed 5 years ago
The problem is that the file /home/bioinfo/Desktop/meta_study.txt
is not known inside the docker container. The solution would be to mount the file (with -v
flag) and pass the mounted file to the python script as this:
docker run -it --rm --net cbio-net \
-v "$PWD/portal.properties:/cbioportal/portal.properties:ro" \
-v "/home/bioinfo/Desktop/meta_study.txt:/metafiles/meta_study.txt" \
thehyve/cbioportal:v2.0.1-iss5758 \
cbioportalImporter.py \
-c remove-study \
-meta /metafiles/meta_study.txt
@pvannierop , thanks for the super-fast response. That really solved the problem. Thank you so much! Highly appreciated.
I am trying to remove data from cbioportal which I have installed using docker container.
I am running below command (not sure if that is the correct command) and it says that it could not find the file; when the fact remains that the file is indeed present at this location.
I checked that the file is present at this location
Any help is highly appreciated!