Comments (3)
Hi Harry,
I was able to adapt the code for Windows using :
docker --rm -v c:/:/ -it arpeggio python arpeggio.py / [options] -v
I'm sharing it here if anyone ends up having the same issue.
c:/:/ used as :<container_path>
Thanks for the help.
Kind regards,
Maria
from arpeggio.
Just an update,
I'm running this on User now to avoid killing Windows, this is what's coming up now:
PS C:\Users\Usuario> docker run --rm -v :/run -it harryjubb/arpeggio python arpeggio.py Cb2HU210_fixed6.pdb -v
INFO//14:39:35.851//Program begin.
Traceback (most recent call last):
File "arpeggio.py", line 708, in
s = pdb_parser.get_structure('structure', pdb_filename)
File "/usr/local/lib/python2.7/site-packages/Bio/PDB/PDBParser.py", line 85, in get_structure
with as_handle(file, mode='rU') as handle:
File "/usr/local/lib/python2.7/contextlib.py", line 17, in enter
return self.gen.next()
File "/usr/local/lib/python2.7/site-packages/Bio/File.py", line 113, in as_handle
with open(handleish, mode, **kwargs) as fp:
IOError: [Errno 2] No such file or directory: 'Cb2HU210_fixed6.pdb'
from arpeggio.
Hi Maria,
I'm not able to test on Windows, but it may be a problem with the arguments passed to Docker, specifically the bind mount, -v :/run
.
The left hand side of the :
needs to have the folder containing your PDB file, this is then mapped to /run
in the Docker container.
In the README example, -v "$(pwd)":/run
is used, where $(pwd)
expands to the current working directory in Unix/Linux shells. I'm not familiar enough with Powershell to advise on the equivalent. Since it's blank, I'd assume nothing is mounted into /run
in the container, which would explain why Arpeggio can't find your PDB file, and in the latter example in your first message, Docker fails at the "$(pwd)"
.
Let me know if changing that works. The same will apply to
-u `id -u`:`id -g`
the backticks are shell-specific interpolation, I would advise looking into the Windows equivalent of mapping user ID and group if you find that output files are only readable via administrator access.
from arpeggio.
Related Issues (20)
- Arpeggio dies when PDB file includes altLoc specifier HOT 1
- Command Line vs WebServer HOT 1
- Running docker image : BioPython HOT 2
- .ari output in Arpeggio web interface HOT 2
- s- command is not working HOT 1
- cannot print output file HOT 4
- Invalid syntax after mutagenesis. HOT 3
- Arpeggio gives "selection empty" or error for residue with no side-chain HOT 3
- Support for multi-model pdb HOT 2
- arpeggio translation to 3.7 - script works, but a few bugs HOT 1
- running docker image problem HOT 6
- Default parameters hydrogen adding HOT 1
- Default parameters on the webserver vs parameters command line HOT 2
- Multi chain protein complexes issue command line HOT 2
- Definition of the interactions HOT 2
- [Via Bitbucket] Incorrect pdb loading HOT 1
- How to concentrate only on the interchain interactions HOT 2
- arpeggio for RNA or DNA? HOT 4
- Get only 'INTER' in .contacts file if I use selections. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arpeggio.