Skip to content

Instantly share code, notes, and snippets.

View mjg17's full-sized avatar

Michael Gray mjg17

View GitHub Profile
@mjg17
mjg17 / cpanfile
Last active December 21, 2016 11:24 — forked from jadeallenx/cpanfile
Complete listing for my 2016 Perl Advent article
requires 'Text::CSV'
requires 'Geo::Calc::XS'
requires 'IO::String'
@mjg17
mjg17 / Sequence.pl
Created May 31, 2013 12:16
EnsEMBL perl API: Examine sequences for gene FTO
use strict;
use warnings;
use 5.016;
use Bio::Seq;
use Bio::SeqIO;
use Bio::EnsEMBL::Registry;
my $registry = 'Bio::EnsEMBL::Registry';
@mjg17
mjg17 / VariationREST.pl
Last active December 17, 2015 22:49
EnsEMBL REST API from perl: Trawl variations in gene FTO
use strict;
use warnings;
use HTTP::Tiny;
use JSON;
use Data::Dumper;
my $http = HTTP::Tiny->new();
my $server = 'http://beta.rest.ensembl.org';