Skip to content

Commit 5088383

Browse files
removed automatic processing of gendr gene expression data, which requires manual conversion of the xls to csv
1 parent ebaac3c commit 5088383

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: gendr/gendr.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
class GendrParser extends Bio2RDFizer {
2525
function __construct($argv) {
2626
parent::__construct($argv, "gendr");
27-
parent::addParameter('files', true, 'all|gene_manipulations|gene_expression','all','files to process');
27+
parent::addParameter('files', true, 'all|gene_manipulations' /* |gene_expression -- no longer supported*/ ,'all','files to process');
2828
parent::addParameter('download_url', false, null,'http://genomics.senescence.info/diet/');
2929
parent::initialize();
3030
}//constructor
@@ -184,7 +184,7 @@ function process(){
184184

185185
function gene_manipulations(){
186186
$h = explode(",", parent::getReadFile()->read());
187-
$expected_columns = 6;
187+
$expected_columns = 5;
188188
if(($n = count($h)) != $expected_columns) {
189189
trigger_error("Found $n columns in gene file - expecting $expected_columns!", E_USER_WARNING);
190190
return false;
@@ -197,7 +197,7 @@ function gene_manipulations(){
197197
$species_name = $data[2];
198198
$geneid = $data[3];
199199
$gene_name = $data[4];
200-
$references = $data[5];
200+
// $references = $data[5];
201201

202202
$gendr_id = parent::getNamespace().$gendr;
203203
$gendr_label = $gene_name." (".$gene_symbol.")";

0 commit comments

Comments
 (0)