Permalink
Browse files

Added README.txt and meta.txt

Updated parse.pl to output UTF-8.
  • Loading branch information...
1 parent d2f354b commit 58f64e9bdd7a3cf780e89ee64e2d8f369c68fef3 @jrandall committed May 22, 2012
Showing with 22 additions and 0 deletions.
  1. +15 −0 hgnc_gene_names/README.txt
  2. +5 −0 hgnc_gene_names/meta.txt
  3. +2 −0 hgnc_gene_names/parse.pl
@@ -0,0 +1,15 @@
+DuckDuckGo zeroclickinfo-fathead/hgnc_gene_names
+
+
+----------------------------------------
+Required Tools (must be in path)
+----------------------------------------
+wget
+gzip
+perl (tested with 5.12)
+
+
+----------------------------------------
+Required Perl Modules
+----------------------------------------
+IO::Uncompress::AnyInflate
@@ -0,0 +1,5 @@
+Name: HGNC Gene Names
+Domain: www.genenames.org
+Type: Human Gene Name
+MediaWiki: 0
+Keywords: HGNC, human gene, gene
@@ -92,6 +92,8 @@ sub error {
$outfh->open(">$outfile") or die "Could not open $outfile for output\n";
trace("opened output file $outfile for writing");
+# put output file in utf8 mode
+$outfh->binmode(":utf8");
# parse header line
my $headerline = <$infh>;

0 comments on commit 58f64e9

Please sign in to comment.