Difference between revisions of "Python"

From MarcsHomepage
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
=== And now for something completely different... ===
 
=== And now for something completely different... ===
  
Welcome to my personal [http://www.python.org Python] homepage. At the moment you will only find some links to other sites, as I haven't had time to put together some stuff of general interest.
+
Welcome to my personal [http://www.python.org Python] page. You will only find some links to other sites, as I haven't had time or energy to put together some stuff of general interest.
  
Python is a portable, object-oriented and last but not least easy-to-learn scripting language which can be used for everything from throwaway-scripting to [http://sketch.sourceforge.net complete applications] .
+
Python is a portable, object-oriented and last but not least easy-to-learn scripting language which can be used for everything from throwaway-scripting to [http://www.skencil.org/ complete applications] .
  
 
Because it is quite easy to read and to understand, and because it is portable and especially because much stuff for processing [http://www.rcsb.org/pdb/static.do?p=file_formats/index.jsp PDB-files] (containing information about molecular models (Proteins, RNA, organic and inorganic molecules) already existed, I had chosen Python as the implementation language for some data-parsing and conversion tools I desperately needed during and shortly after my [[Diploma|diploma]]-work.
 
Because it is quite easy to read and to understand, and because it is portable and especially because much stuff for processing [http://www.rcsb.org/pdb/static.do?p=file_formats/index.jsp PDB-files] (containing information about molecular models (Proteins, RNA, organic and inorganic molecules) already existed, I had chosen Python as the implementation language for some data-parsing and conversion tools I desperately needed during and shortly after my [[Diploma|diploma]]-work.
Line 9: Line 9:
 
More recently I have written some glue-logic for my [[Postdoc|Ph.D.]] work (macromolecular crystallography) which does more or less similar things as the GROMOS96-scripts: Input-generation and some logfile-parsing.
 
More recently I have written some glue-logic for my [[Postdoc|Ph.D.]] work (macromolecular crystallography) which does more or less similar things as the GROMOS96-scripts: Input-generation and some logfile-parsing.
  
I got lucky in being paid to program in Python during my industry-carreer at [[Postdoc#Exelixis|Exelixis]],  [[Postdoc#BASF_Plant_Science_Company_GmbH|BASF Plant Science]] as well as [[Postdoc#BASF Business Services GmbH|BASF Business Services]].
+
I got lucky in being paid to program in Python during my industry-career at [[Postdoc#Exelixis|Exelixis]],  [[Postdoc#BASF_Plant_Science_Company_GmbH|BASF Plant Science]] as well as [[Postdoc#BASF Business Services GmbH|BASF Business Services]].
  
And of course Python is essential, if you like [[Pymol]], a molecular graphics program which uses it as its extension and scripting language.
+
To be somehow usefull, here is the proof, that Python is good and Java and Perl are evil:
 
 
To be somehow usefull, here is the proof, that python is good and Java and Perl are evil:
 
 
<br />
 
<br />
 
<syntaxhighlight lang="python">
 
<syntaxhighlight lang="python">
Line 38: Line 36:
 
http://xkcd.com/353/
 
http://xkcd.com/353/
  
Still no content here...
+
Visit my [https://github.com/MarcSaric GitHub] account for some Python code (most of which has been written by other people though).
 
 
== Asteroids ==
 
 
 
Because there is an [http://caff.de/asteroid/ ultra-cool Java-client] for the Asteroids-bot competition on heise.de, I'd like to port some of that stuff to Python. See what comes out of that...
 
  
 
=== Links ===
 
=== Links ===
 
* http://www.heise.de/ct/creativ/08/02/details/
 
* http://www.heise.de/ct/projekte/machmit/asteroids/wiki
 
* http://www.heise.de/ct/foren/S-c-t-9-2008-S-176-creativ-08-Programmierwettbewerb/forum-135513/list/
 
 
== Other exits ==
 
  
 
* Some usefull extensions
 
* Some usefull extensions
** [http://ipython.scipy.org/moin/FrontPage iPython] -an enhanced interactive Python shell.
+
** [https://ipython.org/ iPython] -an enhanced interactive Python shell.
 
** [http://matplotlib.sourceforge.net/index.html Matplotlib] -Reporting
 
** [http://matplotlib.sourceforge.net/index.html Matplotlib] -Reporting
 
** [http://www.reportlab.org/ Reportlab] -Plotting
 
** [http://www.reportlab.org/ Reportlab] -Plotting
 
* Python and Bioinformatics
 
* Python and Bioinformatics
 
** [http://www.biopython.org Biopython] -Sequence manipulation et al. Like BioPerl
 
** [http://www.biopython.org Biopython] -Sequence manipulation et al. Like BioPerl
** [http://pycogent.sourceforge.net/ PyCogent] -A similar toolkit, but aimed at genomic biology
+
** [https://github.com/pycogent/pycogent/ PyCogent] -A similar toolkit, but aimed at genomic biology
 
** [http://code.google.com/p/pygr/ pygr] -Another package in the same direction,  
 
** [http://code.google.com/p/pygr/ pygr] -Another package in the same direction,  
** [http://bitbucket.org/james_taylor/bx-python/wiki/Home bx-python] -and yet another one
+
** [https://github.com/bxlab/bx-python bx-python] -and yet another one
** [http://fraenkel.mit.edu/TAMO/ TAMO] -sequence motif analysis in Python
+
** [http://bioinformatics.oxfordjournals.org/content/21/14/3164.full.pdf TAMO] -sequence motif analysis in Python

Revision as of 17:13, 25 January 2020

And now for something completely different...

Welcome to my personal Python page. You will only find some links to other sites, as I haven't had time or energy to put together some stuff of general interest.

Python is a portable, object-oriented and last but not least easy-to-learn scripting language which can be used for everything from throwaway-scripting to complete applications .

Because it is quite easy to read and to understand, and because it is portable and especially because much stuff for processing PDB-files (containing information about molecular models (Proteins, RNA, organic and inorganic molecules) already existed, I had chosen Python as the implementation language for some data-parsing and conversion tools I desperately needed during and shortly after my diploma-work.

More recently I have written some glue-logic for my Ph.D. work (macromolecular crystallography) which does more or less similar things as the GROMOS96-scripts: Input-generation and some logfile-parsing.

I got lucky in being paid to program in Python during my industry-career at Exelixis, BASF Plant Science as well as BASF Business Services.

To be somehow usefull, here is the proof, that Python is good and Java and Perl are evil:

print "Hello world!"


Although this will have to be written as

print("Hello world!")


from now on, still not bad compared to Java or Visual Basic.

If you still don't believe me, try this

from __future__ import braces


And if you still don't believe me, read this

http://xkcd.com/353/

Visit my GitHub account for some Python code (most of which has been written by other people though).

Links

  • Some usefull extensions
  • Python and Bioinformatics
    • Biopython -Sequence manipulation et al. Like BioPerl
    • PyCogent -A similar toolkit, but aimed at genomic biology
    • pygr -Another package in the same direction,
    • bx-python -and yet another one
    • TAMO -sequence motif analysis in Python