@@ -126,8 +126,8 @@ function process(){
126
126
"complex " => "curation/literature/go_protein_complex_slim.tab " ,
127
127
"interaction " => "curation/literature/interaction_data.tab " ,
128
128
"phenotype " => "curation/literature/phenotype_data.tab " ,
129
- "pathways " => "curation/literature/biochemical_pathways.tab " ,
130
- "mapping " => "mapping "
129
+ "pathways " => "curation/literature/biochemical_pathways.tab " # ,
130
+ # "mapping" => "mapping"
131
131
);
132
132
133
133
$ graph_uri = parent ::getGraphURI ();
@@ -468,7 +468,7 @@ function features()
468
468
);
469
469
}
470
470
if ($ a [1 ] == "ORF " && $ a [4 ] != '' ) {
471
- $ p2 = ucfirst (strtolower (str_replace (array ("( " ,") " ), array ("%28 " ,"%29 " ), $ a [4 ])))."p " ;
471
+ $ p2 = ucfirst (strtolower (str_replace (array ("( " ,") " , " , " ), array ("%28 " ,"%29 " , " %2C " ), $ a [4 ])))."p " ;
472
472
$ p2label = "$ p2 " ;
473
473
$ this ->AddRDF (
474
474
parent ::triplify ($ sid , $ this ->getVoc ()."encodes " , "sgd: $ p2 " ).
@@ -507,7 +507,7 @@ function features()
507
507
508
508
// common names
509
509
if ($ a [4 ]) {
510
- $ nid = str_replace (array ("( " ,") " ), array ("%28 " ,"%29 " ), $ a [4 ]);
510
+ $ nid = str_replace (array ("( " ,") " , " , " ), array ("%28 " ,"%29 " , " %2C " ), $ a [4 ]);
511
511
$ this ->AddRDF (
512
512
parent ::triplifyString ($ sid , $ this ->getVoc ()."standardName " , $ a [4 ]).
513
513
parent ::triplify ($ sid , "owl:sameAs " , "sgd: $ nid " ).
@@ -526,7 +526,7 @@ function features()
526
526
// parent feature
527
527
$ parent_type = '' ;
528
528
if ($ a [6 ]) {
529
- $ parent = str_replace (array ("( " ,") " ," " ), array ("%28 " ,"%29 " ,"_ " ), $ a [6 ]);
529
+ $ parent = str_replace (array ("( " ,") " ," " , " , " ), array ("%28 " ,"%29 " ,"_ " , " %2C " ), $ a [6 ]);
530
530
$ this ->addRDF (
531
531
parent ::triplify ($ sid , $ this ->getVoc ()."is-proper-part-of " , $ this ->getRes ().$ parent ).
532
532
parent ::describeProperty ($ this ->getVoc ()."is-proper-part-of " , "Relationship between an SGD entity and an entity it is a proper part of " )
@@ -1125,7 +1125,7 @@ function pathways(){
1125
1125
1126
1126
$ eid = '' ;
1127
1127
if ($ a [3 ]) { // there is a protein
1128
- $ eid = ucfirst (strtolower ($ a [3 ]))."p " ;
1128
+ $ eid = ucfirst (strtolower (str_replace ( " , " , " %2C " , $ a [3 ]) ))."p " ;
1129
1129
$ this ->AddRDF (
1130
1130
parent ::triplify ($ this ->getRes ().$ pid , $ this ->getVoc ()."has-participant " , $ this ->getRes ().$ eid )
1131
1131
);
0 commit comments