Repository for all of SeqDoC code - html and scripts
SeqDoC (Sequence Difference of Chromatograms) aligns and performs a subtractive comparison of two ABI DNA sequence chromoatograms. The subtracted profile is processed to highlight differences characteristic of single base changes. Full details about use and implementation are available at http://www.biomedcentral.com/1471-2105/6/133.
SeqDoC is currently available for public use at http://seqdoc.qfab.org/.
SeqDoC is now available as a Docker container at https://hub.docker.com/r/marklcrowe/seqdoc, and also with a DOI on Zenodo: https://doi.org/10.5281/zenodo.5823561
To set up your own SeqDoC server from scratch, follow the instructions below. It can also be run as a local VM using VirtualBox (see additional steps at end to allow access to VM from host web browser)
- Install Ubuntu 18.04 using all default settings
- Follow apache install instructions at https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-18-04-quickstart.
- Add "ServerName localhost" to /etc/apache/apache2.conf
- Install make "sudo apt-get install make"
- "sudo cpan install YAML"
- "sudo cpan install ABI"
- "sudo cpan install CGI"
- "sudo apt-get install libgd-dev"
- "sudo cpan MVERB/GDGraph-1.43.tar.gz"
- Setup cgi on server. "sudo a2enmod cgid"
- Restart apache. "sudo systemctl restart apache2"
- Put perl scripts into /usr/lib/cgi-bin, set permissions to +x
- Put html into /var/www/html
- Create temporary directory (/var/www/html/Temp), make writable
- Update /etc/crontab - add line "45 2 * * * root find /var/www/html/Temp -type f -mtime +2 -exec rm {} ;". This removes temp files over two days old to stop disk filling up
Configure Virtualbox to access SeqDoC server.
- Settings->Network-> Make sure Nat is selected.
- Click Advanced button. Port Forwarding->Create rule [Name:, Protocol:TCP, Host IP:127.0.0.1, Host port:8080, Guest IP :, Guest port:8080]
- Restart everything (close down VM, quit VirtualBox, restart VB, relaunch VM). Open host web browser and go to "localhost:8080". With luck, you should see the SeqDoC interface!