BALL

BALL

BALL (Biochemical Algorithms Library) is a C++ library containing common algorithms used in biochemistry and bioinformatics. The library also has Python bindings. Among the supported systems are Linux, Solaris, Microsoft Windows. The library can be used for command-line utilities, but it also supports display with Qt and OpenGL.

There is a structure viewer developed by the same group of people, BALLView, which allows viewing PDB, HIN, and other formats. It is the visulization component of BALL. Both BALL and BALLView are available under LGPL and GPL licences. The programs are developed and maintained by Hans-Peter Lenhof, Oliver Kohlbacher, Andreas Hildebrandt and Andreas Moll. BALLView is an application written in C++ that uses BALL for molecular modeling and visualizing molecular models. It is available under the GPL license for Linux, Windows, and Mac OS.

Example

This small program reads PDB file and outputs names and positions of all atoms in human-readable format.

#include using namespace std; using namespace BALL; int main() { // System is a basic data structure representing all molecules System sys; // Read a molecule from PDB file and add it to the system PDBFile pdb_file("input.pdb"); pdb_file >> sys; pdb_file.close(); // Iterate over all atoms in the system AtomIterator ai; for(ai = sys.beginAtom(); !ai.isEnd(); ++ai) { // Get atom's position Vector3 v = ai->getPosition(); // Print atom's name and atom's position cout << "Atom " << ai->getFullName() << " is located at position <" << v.x << ", " << v.y << ", " << v.z << ">" << endl; } return 0; }

External links

* [http://www.ball-project.org Project home page]
* [http://www.ballview.org BALLView project page]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?
Synonyms:

Look at other dictionaries:

  • Ball — (b[add]l), n. [OE. bal, balle; akin to OHG. balla, palla, G. ball, Icel. b[ o]llr, ball; cf. F. balle. Cf. 1st {Bale}, n., {Pallmall}.] 1. Any round or roundish body or mass; a sphere or globe; as, a ball of twine; a ball of snow. [1913 Webster]… …   The Collaborative International Dictionary of English

  • ball — Ⅰ. ball [1] ► NOUN 1) a solid or hollow sphere, especially one that is kicked, thrown, or hit in a game. 2) a single throw or kick of the ball in a game. 3) N. Amer. a game played with a ball, especially baseball. ► VERB ▪ squeeze or form into a… …   English terms dictionary

  • ball — ball; ball·er; ball·ing; ball·iz·ing; base·ball; bee·ball; em·ball; high·ball·er; knuck·le·ball·er; spit·ball·er; bucky·ball; foos·ball; scuzz·ball; track·ball; …   English syllables

  • Ball — Ball. Ein gesellschaftlicher Tanzverein. Man leitet diesen Ausdruck von dem italienischen ballare tanzen, ballo Tanzgesellschaft, und dem französischen bal ab, was allerdings wahrscheinlicher ist als die Erklärung Nachtigall s, (in seinen… …   Damen Conversations Lexikon

  • ball — ball1 [bôl] n. [ME bal < OE * beallu < IE base * bhel , to swell > BOWL1, BLADDER, ON bǫllr, OHG balla, Gr phallos, L follis & flare] 1. any round, or spherical, object; sphere; globe 2. a planet or star, esp. the earth …   English World dictionary

  • Ball — Saltar a navegación, búsqueda El término ball puede hacer referencia a: Ball, el primer juego de Game Watch. bola mala, expresión utilizada en béisbol. la abreviatura botánica para John Ball. Ball, un álbum de la banda Iron Butterfly. Obtenido de …   Wikipedia Español

  • BALL (J.) — BALL JOHN (mort en 1381) La plupart des chroniques, dont celle de Froissart, présentent John Ball comme l’un des grands responsables du soulèvement des paysans et des artisans en Angleterre en 1381. Peut être, disciple de John Wyclif, aurait il… …   Encyclopédie Universelle

  • Ball — Ball: Ball   общепринятое сокращение (обозначение) имени ботаника, которое добавляется к научным (латинским) названиям некоторых таксонов ботанической номенклатуры и указывает на то, что автором этих наименований является Болл, Джон… …   Википедия

  • Ball — Ball, n. [F. bal, fr. OF. baler to dance, fr. LL. ballare. Of uncertain origin; cf. Gr. ba llein to toss or throw, or pa llein, pa llesqai, to leap, bound, balli zein to dance, jump about; or cf. 1st {Ball}, n.] 1. A social assembly for the… …   The Collaborative International Dictionary of English

  • Ball — Ball, v. t. 1. (Metal.) To heat in a furnace and form into balls for rolling. [1913 Webster] 2. To form or wind into a ball; as, to ball cotton. [1913 Webster] …   The Collaborative International Dictionary of English

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”