Note that you can install the course download script cdl
in your own bin directory
and use it like any other shell command:
mkdir ~/bin cd ~/bin curl -O http://becksteinlab.physics.asu.edu/pages/courses/2013/SimBioNano/03/cdl cd echo 'export PATH=${PATH}:${HOME}/bin' >> ~/.profile
When you open a new shell (or reload you bash configuration file with . ~/.profile
)
you will have updated your PATH
and the shell will find cdl
.
To download a file:
cdl 03 Ar_L16_N64.xyz
These files will be available for the duration of the course.
![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | python.vimrc | 2013-01-23 17:46 | 421 | |
![]() | Ar_L16_N64.xyz | 2013-01-23 17:48 | 2.7K | |
![]() | cdl | 2013-01-23 18:22 | 1.6K | |
![]() | IntroductiontoPython/ | 2013-01-24 17:37 | - | |
![]() | p03_class.txt | 2013-01-24 17:38 | 11K | |
![]() | assignment_06.txt | 2013-01-24 18:39 | 6.6K | |
![]() | test_06_0.xyz | 2013-01-24 18:39 | 1.4K | |
![]() | test_06_1.xyz | 2013-01-24 18:39 | 2.7K | |
![]() | Practical03IntroductiontoPython.pdf | 2013-01-24 21:18 | 119K | |
![]() | pdb_downloader.sh | 2016-06-09 17:22 | 2.7K | |
The notes for today's practical can be accessed in your browser Introduction to Python or as a PDF or text file, p03_class.txt.
The Python programming language is versatile, not too hard to learn, and very useful. For learning Python see
The XYZ file format is a very simple format to store positions of particles. It is described in VMD's XYZ Plugin. Basically, a XYZ file looks like this:
N title text atom1 x y z atom2 x y z ... atomN x y z
The first line is the number of atoms. The second a string. From the third line onwards, each line contains a symbol for the particle ("atomX") and the cartesian coordinates. All entries are white-space separated.