Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8286629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:49:43+00:00 2026-06-08T11:49:43+00:00

I’m new to programming and computer world. I’m trying to study biomolecular simulations with

  • 0

I’m new to programming and computer world. I’m trying to study biomolecular simulations with MMTK.

I run it in Windows 7 and I have already installed this software:

  • python-2.5.4
  • numpy-1.6.2-win32-superpack-python2.5
  • netCDF4-0.8.2.win32-py2.5
  • ScientificPython-2.9.0.win32-py2.5
  • MMTK-2.6.0.win32-py2.5
  • pywin32-217.win32-py2.7

When I run this protein.py mmtk sample, all seems to be OK. It show the numbers of 1000 process steps.

But when I run a script with the view method, like this:

from MMTK import *
molecule = Molecule('water')
molecule.view()

Then I get this message:

There is no program associated with ..pdb files, please install a suitable viewer

After searching for some answers on the internet I got this information: “A viewer for PDB files can be defined by the environment variable PDBVIEWER. For showing a PDB file, MMTK will execute a command consisting of the value of this variable followed by a space and the name of the PDB file.” And my doubt is: how define a viewer for PDB files by the environment variable PDBVIEWER? What would be the variable value?
This issue of the environment variables seems to me so simple as the mystery of life’s emergence on Mars. I know how to change it, but I don’t know what to change or when change it. Reading the Wikipedia articles on the subject didn’t help me too much.
So what I’d like to know is: how exactly to modify the system variable in this case? I must add a new variable (PDBVIEWER) or just one more path to an existing variable? What is the value path to PDBVIEWER (should not it be C:\Windows\System32)?

This is my current variable value:

Variable’s name:
Path

Variables’s value:

C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;%PYTHON_HOME%;%PYTHON_HOME%\Scripts;C:\Program Files (x86);C:\Python27\; C:\Python27\Scripts;C:\Python25\DLLs

I also have this Python variable: PYTHON_HOME with this variable’s value: C:\Python27 (though I’m using Python25 with MMTK).

This question may seem trivial to an experienced programmer. But the answer to it can be very useful to others. There is a large number of biologists, biochemists and pharmacists interested in using computational methods to their problems. These professionals do not always have a computer scientist in the vicinity (especially if they are in an underdeveloped country).

Overcoming this initial frustrating phase of bugs and installation problems can be crucial in the scientific career of many people. And the answer to this question will help them.

Thanks in advance.

If this forum is not appropriate for questions of this level, please give me a feedback.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T11:49:45+00:00Added an answer on June 8, 2026 at 11:49 am

    Install VMD, which is recommended by MMTK for visualization, and run

    import os
    os.environ['PDBVIEWER'] = 'C:/Program Files (x86)/University of Illinois/VMD/vmd.exe'
    
    from MMTK import *
    molecule = Molecule('water')
    molecule.view()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am trying to loop through a bunch of documents I have to put
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I am trying to understand how to use SyndicationItem to display feed which is
this is what i have right now Drawing an RSS feed into the php,
I want use html5's new tag to play a wav file (currently only supported

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.