@@ -35,7 +35,8 @@ class HGNCParser extends Bio2RDFizer {
35
35
private $ version = 2.0 ;
36
36
function __construct ($ argv ){
37
37
parent ::__construct ($ argv , "hgnc " );
38
- parent ::addParameter ('files ' , true , 'hgnc_complete_set ' , 'hgnc_complete_set ' , 'The filename of the complete HGNC dataset ' );
38
+ //parent::addParameter('files', true, 'hgnc_complete_set', 'hgnc_complete_set', 'The filename of the complete HGNC dataset');
39
+ parent ::addParameter ('files ' ,true ,'all ' ,'all ' ,'files to process ' );
39
40
parent ::addParameter ('download_url ' ,false ,null ,'ftp://ftp.ebi.ac.uk/pub/databases/genenames/hgnc_complete_set.txt.gz ' );
40
41
parent ::initialize ();
41
42
}//constructor
@@ -156,7 +157,7 @@ function process(){
156
157
$ id_label = "hgnc identifier " ;
157
158
$ id_label_class = "hgnc identifier: " .$ id ;
158
159
parent ::AddRDF (
159
- parent ::triplify ($ id_res , "rdf:type " , $ this ->getVoc ()."GeneSymbol " ).
160
+ parent ::triplify ($ id_res , "rdf:type " , $ this ->getVoc ()."Gene-Symbol " ).
160
161
parent ::describeIndividual ($ id_res , $ id_label , $ this ->getVoc ()."gene symbol " ).
161
162
parent ::describeClass ($ this ->getVoc ()."GeneSymbol " , $ id_label_class )
162
163
);
0 commit comments