Skip to content

Instantly share code, notes, and snippets.

@marceloqla
marceloqla / prog.csv
Created September 14, 2018 18:23
test heatmap
We can't make this file beautiful and searchable because it's too large.
3.635117E-8, 4.8895036E-8, 8.184144E-8, 7.649488E-8, 5.3205863E-8, 1.7044692E-7, 2.1228192E-7, 2.2264474E-7, 2.3279395E-7, 2.316359E-7, 2.3561743E-7, 2.655533E-7, 3.5543107E-7, 5.0783973E-7, 6.4927406E-7, 7.2336144E-7, 6.496109E-7, 5.038628E-7, 5.3679753E-7, 6.111601E-7, 6.384869E-7, 6.3313485E-7, 6.9901546E-7, 7.051469E-7, 6.6962974E-7, 6.507446E-7, 6.098445E-7, 5.1113454E-7, 3.7827832E-7, 3.0141035E-7, 2.8342052E-7, 2.7893887E-7, 2.6144076E-7, 2.0408045E-7, 1.3132485E-7, 9.314832E-8, 7.975113E-8, 4.01565E-8, 4.425625E-8, 3.9701973E-8, 8.5986755E-8, 2.4486062E-7, 3.2444365E-7, 3.5734953E-7, 4.253469E-7, 4.4703518E-7, 4.1371425E-7, 4.3489007E-7, 5.8886576E-7, 7.015162E-7, 7.175415E-7, 6.893914E-7, 5.201799E-7, 4.4347436E-7, 3.5834583E-7, 1.8788586E-7, 1.1887972E-7, 1.6645816E-7, 1.8120765E-7, 2.621141E-7, 3.0140174E-7, 2.9537165E-7, 3.0176022E-7, 3.263239E-7, 3.1388242E-7, 3.3502593E-7, 3.7616726E-7, 3.4899193E-7, 3.7058774E-7, 3.6593158E-7, 3.1448522E-7, 2.9995687E-7, 3.3709355E-7, 3.1131256E-7, 2.8867606E-7
@marceloqla
marceloqla / smith_waterman.php
Last active February 1, 2018 17:34 — forked from petrovitch/smith_waterman.php
Smith Waterman
<?php
/**
* smith_waterman.php
*
* The Smith–Waterman algorithm performs local sequence alignment to detect
* similarities in string. Smith-Waterman has been used for sequencing DNA,
* and for detecting plagiarism and collusion by comparing sequences of text.
*
* @example
* $str1 = 'Smith-Waterman and Systolic PE Array are well-known dynamic programming algorithms.';