Comments (4)
Hi Maria,
Did you resolve your issue? I am away this week and not able to test anything out.
If you are using Ubuntu on WSL, the instructions in the README should work, though I'm not sure how it works if connecting to the Docker daemon run by Windows, particularly with respect to the file paths for the bind mount and the user/group IDs.
In the first instance, running only on Windows, did you get any output files at all?
I may be slow to reply this week but will try to help.
By the way, if you enclose your console output with three backtick (```) characters before and after, it will format them as a code block, making them easier to read 🙂 (GitHub supports most Markdown syntax).
from arpeggio.
Hi Harry,
I've tried the print command on python and >.text to create an output file, am I missing any command ?
This is the code I'm running :
docker run --rm -v :\directory :/file -it arpeggio python arpeggio.py /file.pdb -s RESNAME:XXX -v
As you can read above, the output files should be storing in C. Is it because I'm not making the code only readable by User? I've tried adding -u Guest:Users and docker couldn't recognise that.
Apologies for this, but is my first time using Docker and I'm translating everything for Windows.
Kind regards,
Maria
from arpeggio.
I've changed the code to fit with yours and I'm working on Ubuntu subsystem, but this is what happens now:
docker -H localhost:2375 run --rm -v c:/:/ -u xxx:xxx -it harryjubb/arpeggio python arpeggio.py /file.pdb -s RESNAME:xxx -v
INFO//09:52:23.183//Program begin.
INFO//09:52:23.221//Loaded PDB structure (BioPython)
INFO//09:52:23.222//Detected that the input structure contains hydrogens. Hydrogen addition will be skipped.
INFO//09:52:23.438//Loaded PDB structure (OpenBabel)
INFO//09:52:23.450//Mapped OB to BioPython atoms and vice-versa.
Traceback (most recent call last):
File "arpeggio.py", line 861, in
with open(pdb_filename.replace('.pdb', '.atomtypes'), 'wb') as fo:
IOError: [Errno 13] Permission denied: '/Cb2HU210_fixed6.atomtypes'
from arpeggio.
Hi Harry,
No worries, it is my first time working with Docker so I had a go with different commands. Yes, I was able to to run arpeggio using PowerShell in User. Ubuntu came out with the same result, but adding "$(pwd)"
was not possible.
This is what worked for me:
docker run --rm -v :/<host-directory>:/<container-path> -u uid:gid -it arpeggio python arpeggio.py /container-path/file.pdb -s RESNAME:xxx -v
I've got all the output files on my container's folder 👍
Kind regards,
Maria
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
- I cannot retrieve my pdb file- using powershell as Admin HOT 3
- s- command is not working HOT 1
- 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.