Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
Added README.txt and meta.txt
Browse files Browse the repository at this point in the history
Updated parse.pl to output UTF-8.
  • Loading branch information
jrandall committed May 22, 2012
1 parent d2f354b commit 58f64e9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
15 changes: 15 additions & 0 deletions hgnc_gene_names/README.txt
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions hgnc_gene_names/meta.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Name: HGNC Gene Names
Domain: www.genenames.org
Type: Human Gene Name
MediaWiki: 0
Keywords: HGNC, human gene, gene
2 changes: 2 additions & 0 deletions hgnc_gene_names/parse.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit 58f64e9

Please sign in to comment.