Saturday, April 19, 2014

Bedtools: Extract FASTA sequences based on a BED file

here is how:

$ bedtools getfasta -fi <input FASTA> -bed <BED/GFF/VCF> -fo <output FASTA>
 
For example:
 
$ bedtools getfasta -fi hg19.fa -bed wzy.bed -fo out.fasta

Friday, April 4, 2014

BSD Guides: Apache+SSL, PHP, and MySQL


A short tutorial on BSD here:
http://www.bsdguides.org/2010/apachessl-php-and-mysql/
Apache+SSL, PHP, and MySQL


MySQL + SSL:
https://dev.mysql.com/doc/refman/5.0/en/creating-ssl-certs.html