realtimephylogenomics / lab-strain-resequencing-pipeline

Pipeline for internal lab resequencing projects
Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

Develop a labelling/barcode system #33

Open conorg150 opened 2 years ago

conorg150 commented 2 years ago

As a member of the team doing the work I want to be able to clearly identify which tubes contain which sample and what form it is in e.g. extracted gDNA So printed labels with strain info and a barcode will be stuck onto the side of relevant tubes

lonelyjoeparker commented 2 years ago

I think this can be managed through:

# https://getcomposer.org/doc/00-intro.md
wget https://getcomposer.org/installer
php composer.phar

# https://github.com/picqer/php-barcode-generator
composer require picqer/php-barcode-generator

Then in PHP/HTML

<?php
require 'vendor/autoload.php';

// This will output the barcode as HTML output to display in the browser
$generator = new Picqer\Barcode\BarcodeGeneratorHTML();
echo $generator->getBarcode('081231723897', $generator::TYPE_CODE_128);
?>
conorg150 commented 1 year ago

https://www.fishersci.co.uk/shop/products/fisherbrand-micryo-dots-strips-cryo-storage-laser-printer-sheets-11/16468115

The labels @lonelyjoeparker. See in description that it says template included for printing instructions