Problems with the web server: 500 Server closed connection without sending any data back
use BioMart::Initializer;
use BioMart::Query;
use BioMart::QueryRunner;
my $confFile = "mart_registry.xml";
my $action='cached';
my $initializer = BioMart::Initializer->new('registryFile'=>$confFile, 'action'=>$action);
my $registry = $initializer->getRegistry;
my $query = BioMart::Query->new('registry'=>$registry,'virtualSchemaName'=>'default');
$query->setDataset("drerio_gene_ensembl");
$query->addFilter("ensembl_gene_id", [$gene_id]);
$query->addAttribute("external_gene_name");
$query->addAttribute("zfin_id");
$query->addAttribute("entrezgene");
$query->formatter("CSV");
my $martout = IO::File->new('temporary/mart.csv', '>')or die("impossible de créer le fichier");
my $query_runner = BioMart::QueryRunner->new();
$query_runner->uniqueRowsOnly(1);
$query_runner->execute($query);
$query_runner->printResults($martout);
$martout->close;
--
You received this message because you are subscribed to the Google Groups "biomart-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to biomart-user...@googlegroups.com.
Visit this group at https://groups.google.com/group/biomart-users.
For more options, visit https://groups.google.com/d/optout.