Sophie

Sophie

distrib > Mandriva > cooker > i586 > by-pkgid > eede1088262777189a3d3f16cb3dc560 > files > 239

garlic-1.6-6.i586.rpm

<html>

<head>
<title>
Environment Varible MOL_PATH
</title>
</head>

<h1 align=center>

Environment Variable MOL_PATH

</h1>

<hr size="3">

<font size="-1" color=RED>
garlic,
free molecular viewer and editor,
free molecular visualization program,
protein structure, DNA structure, PDB,
molecular rendering, biological macromolecule,
Unix, Linux, free software download, open source software,
Damir Zucic.
</font>

<hr size="3">


The environment varible MOL_PATH may be used to define the list of directories
which should be searched when you are trying to load certain PDB file. It is
not mandatory to define this environment variable, but it is very practical.
<br><br>

MOL_PATH is not the only environment variable recognized by garlic. There is
also MOL_DIR, but it is capable to specify only one directory, so it is not
recommended.
<br><br>

The exact procedure which should be used to define the environment variable
MOL_PATH depends on the shell you use. The procedure is described here for
some commonly used shells.
<br><br>

If you don't know what is you shell, execute these commands:
<br><br>

<font color=RED>
echo $shell
<br>
echo $SHELL
</font>
<br><br>


<hr size="3">

<h1 align=center>

Bourne Shell

</h1>


If you are using the Bourne shell (sh) or the GNU clone called Bourne-again
shell (bash), use the example bellow to create your own MOL_PATH variable.
Use colon ( : ) to separate directories. It is important to export the
variable! You should define this variable through your .bash_profile or
.bashrc resource file in your home directory. Don't forget to replace the
user name and directories.
<br><br>

<font color=RED>
MOL_PATH="/home/zucic/pdb:/home/zucic/glob:/home/zucic/memb"
<br>
export MOL_PATH
</font>



<hr size="3">

<h1 align=center>

C Shell

</h1>


If you are using the C shell (csh) or it's clone tcsh, use the command setenv
to define the environment variable MOL_PATH. Use colon ( : ) to separate
directories. You should define this variable through your .cshrc, .tcshrc or
.login resource file in your home directory. The user name and directories
should be replaced, of course.
<br><br> 

<font color=RED>
setenv MOL_PATH /home/zucic/pdb:/home/zucic/glob:/home/zucic/memb
</font>



<hr size="3">

<h1 align=center>

Other Shells

</h1>


For other shells, read the manual page to learn how to define the environment
variable MOL_PATH. In most cases, the method is similar to one of the methods
described above.
<br>


<hr size="3">

</html>