Comments (4)
I figured it out! perhaps You need to add
conda install -c conda-forge smina
to the opening import library section
it'll help learners like me know that having it installed is necessary to get the dock output. Just a suggestion though.i was able to run the notebook just fine now. Thanks
from teachopencadd.
Hi @Carlbullish,
In order to have less troubles with missing packages, I recommend to install a conda
environment with all packages needed for the t011-base
branch:
# Change to your TeachOpenCADD directory
cd path/to/TeachOpenCADD
# Checkout t011-base branch
git checkout t011-base
# Create the environment
conda env create -f devtools/test_env.yml -n teachopencadd
# Activate the environment
conda activate teachopencadd
# Start notebooks within the activated environment
jupyter lab # or jupyter notebook
from teachopencadd.
@Carlbullish can you tell us which PR you are using. Because in the newest T015, we moved away from OPAL and are using smina as docking engine. The functioning notebook additions are all in PR #74 in the T011-base branch.
Tagging @schallerdavid here also, who reworked T015.
from teachopencadd.
Hi @AndreaVolkamer. Thanks . i got to find the newest T015, I still ran into an issue when i tried to use smina This is the code below:
output_text = run_smina(
DATA / "ligand.pdbqt",
DATA / "protein.pdbqt",
DATA / "docking_poses.sdf",
pocket_center,
pocket_size,
)
print(output_text)
The error i get :
FileNotFoundError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_8688/2258732981.py in
----> 1 output_text = run_smina(
2 DATA / "ligand.pdbqt",
3 DATA / "protein.pdbqt",
4 DATA / "docking_poses.sdf",
5 pocket_center,
~\AppData\Local\Temp/ipykernel_8688/2585986300.py in run_smina(ligand_path, protein_path, out_path, pocket_center, pocket_size, num_poses, exhaustiveness)
27 The output of the Smina calculation.
28 """
---> 29 output_text = subprocess.check_output(
30 [
31 "smina",
~\anaconda3\envs\introductiontopython\lib\subprocess.py in check_output(timeout, *popenargs, **kwargs)
413 kwargs['input'] = empty
414
--> 415 return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
416 **kwargs).stdout
417
~\anaconda3\envs\introductiontopython\lib\subprocess.py in run(input, capture_output, timeout, check, *popenargs, **kwargs)
491 kwargs['stderr'] = PIPE
492
--> 493 with Popen(*popenargs, **kwargs) as process:
494 try:
495 stdout, stderr = process.communicate(input, timeout=timeout)
~\anaconda3\envs\introductiontopython\lib\subprocess.py in init(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors, text)
856 encoding=encoding, errors=errors)
857
--> 858 self._execute_child(args, executable, preexec_fn, close_fds,
859 pass_fds, cwd, env,
860 startupinfo, creationflags, shell,
~\anaconda3\envs\introductiontopython\lib\subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, unused_restore_signals, unused_start_new_session)
1309 # Start the process
1310 try:
-> 1311 hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
1312 # no special security
1313 None, None,
FileNotFoundError: [WinError 2] The system cannot find the file specified
I look forward to your help as usual guys. Thanks
from teachopencadd.
Related Issues (20)
- CI: Cache the conda environment
- [DL Edition] ignore unresponsive sites
- [DL Edition] Add missing thumbnail for T038 HOT 1
- T018: CI fail
- Strategy for data set handling in ML notebooks
- Env: Package ordering
- Conda packaging: env failure HOT 6
- 'no thumb nail' warning on website HOT 1
- Refer to nextAID in the new talktorials HOT 2
- T020: Problem with RMSD Calculation for Resname 03P
- teachopencadd.utils error not found HOT 2
- T008 - module 'Bio' has no attribute 'Alphabet HOT 5
- T019 ยท Molecular dynamics simulation - problems installing dependencies in Colab
- T010: Changed REST API
- T001: Pandas deprecation warnings HOT 1
- T011: Wikipedia scraping fails
- T024: Pandas/jinja import error HOT 1
- Broken docs links
- CI: `black` fails HOT 2
- CI: T006 output fail
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 teachopencadd.