SplitThreader
  • Home
  • Info
  • My data
      '; $my_datasets = json_decode($_COOKIE["splitthreader"], true); $arrlength = count($my_datasets); $start_at = 0; if ($arrlength > 20) { $start_at = $arrlength - 20; } for($x = $start_at; $x < $arrlength; $x++) { $seconds_ago = time() - $my_datasets[$x]["date"]; $time_ago = $seconds_ago; if ($seconds_ago > 60) { $minutes_ago = $seconds_ago/60; if ($minutes_ago > 60) { $hours_ago = $minutes_ago/60; if ($hours_ago > 24) { $days_ago = $hours_ago/24; $time_ago = "" . floor($days_ago) . " days"; } else { $time_ago = "" . floor($hours_ago) . " hours"; } } else { $time_ago = "" . floor($minutes_ago) . " minutes"; } } else { $time_ago = "" . floor($seconds_ago) . " seconds"; } echo "
    • " . $my_datasets[$x]["description"] . " (" . $time_ago . " ago)
    • "; } echo '
    '; } ?>
  • Examples
    • SK-BR-3 (Breast cancer cell line) PacBio+Sniffles
    • MCF7 (breast cancer cell line) Illumina+Lumpy
    • A549 (NSCLC cell line) Illumina+Lumpy