S   c   r   i   p   t   s                                    
 

Various perl scripts

Since I'm biologist, some do biology stuff

 

restrifind    Biodiversity analysis based on restriction endonuclease assays of PCR products

This program helps to plan a RFLP experiment: It finds restriction enzymes that cut a set of homologue DNA sequences in different ways and simulates the resulting gel- electrophoresis image. The program helps you to find the crucial restriction enzymes that characterize the population.
With the electrophoresis simulation it is easy to chose the restriction enzymes that show the best polymorphism on the gel. See details on the project website. It is a Sourceforge project now.
Modules: bioperl (SeqIO, AlignIO, Tools::RestrictionEnzyme, Tools::Gel), GD
External libraries and programs: Clustal, GD-Library
View source, download

cronentrez    Count a type of entries in entrez nucleotide-database

This small script is supposed to be run as cronjob. It counts regularly all 16S ribosomal DNA entries and adds them to a text file.
Modules: LWP::Simple, Mail::Mailer
View source, download

cam    Control somebody's web cam and steal its images

A very efficient and cheap way to get actual web cam images on your site. If you embed the control and results in a nice, personal way, nobody will even think that you hijacked the images. In my example you will recognise a copyright note on the image footer: This was not present, when I started to steal images;-) They might have noticed 'lwp' as user-agent.
However, there are ways to alter the actual user-agents entry, and hide the servers' request behind whatever browser comes along. And finally, convert would help you to remove any ugly traces on the image.
Modules: LWP::Simple
View source, download

allpod2html    Translate POD from Perlmodules to HTML

Allways wanted the Perl modules manual in a easy browsable HTML Format? - allpod2html is the answer. A 'Quick and Dirty' hack, but it does its job.
To compile all the POD (Plain Old Documentation) from the Bioperl 1.4 modules it took more than 10min on my 500 MHz iBook. The fine thing is, that it compiles only a manual of those modules that are installed. A separate stylesheet is necessary to show the list in a nice way.
Modules: none
View source, download

nzz_rss    Follow your favorite newspaper with this RSS generator

[Valid RSS] Not all newspaper generate cool xml-rss feeds. This script parses the newspapers index files and generates xml files from date, titles, and summary.
A nice feature is the possibility to chose only a selection of desired subjects. Who the fuck, for example, should be interested in economy, sports and weather?
Modules: LWP::Simple, CGI
View source, download