Skip to Navigation

Custom Downloads

Below is an example of how you could retrieve the data you requested using the Custom Downloads form with the scripting language perl.


#!/usr/bin/perl -w
use strict;
use LWP::Simple;
my $url = 'http://www.genenames.org/cgi-bin/download?'.
          'title=Genew%20output%20data&'.
          'col=gd_hgnc_id&'.
          'col=gd_app_sym&'.
          'col=gd_app_name&'.
          'col=gd_status&'.
          'col=gd_prev_sym&'.
          'col=gd_aliases&'.
          'col=gd_pub_chrom_map&'.
          'col=gd_pub_acc_ids&'.
          'col=gd_pub_refseq_ids&'.
          'status=Approved&'.
          'status=Approved%20Non-Human&'.
          'status=Entry%20Withdrawn&'.
          'status_opt=3&'.
          '=on&'.
          'where=gd_app_sym%20LIKE%20%27KLF%25%27&'.
          'order_by=gd_app_sym_sort&'.
          'limit=&'.
          'format=text&'.
          'submit=submit';
my $page = get($url);
print $page;