Permalink
Browse files

Merge pull request #23 from jrandall/master

Updated hgnc_gene_names/parse.pl to output UTF-8
  • Loading branch information...
2 parents 13037f9 + 58f64e9 commit 9120c6d0970a0c5cbb333d7f19bd5fac78d48ef0 @jrandall 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 9120c6d

Please sign in to comment.