Bio::Das::ProServer::SourceAdaptor::Transport::file
$Revision: 528 $
A simple data transport for tab-separated files. Access is via the 'query' method. Expects a tab-separated file with no header line.
assume text files are tab delimited (?) queries are of the form: $filetransport->query(qq(field1 = 'value')); $filetransport->query(qq(field1 lceq 'value')); $filetransport->query(qq(field3 like '%value%')); compound queries not (yet) supported
$dbitransport->last_modified();
Generally not directly invoked, but if you really want to - $filetransport->DESTROY();
Run ProServer with the -debug flag.
Configured as part of each source's ProServer 2 INI file:
[myfile] ... source configuration ... transport = file filename = /data/features.tsv unique = 1 # optional
Compound queries are not supported.
Roger Pettett <rmp@sanger.ac.uk>.
Copyright (c) 2008 The Sanger Institute
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See DISCLAIMER.txt for disclaimers of warranty.
To install Bio::Das::ProServer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::Das::ProServer
CPAN shell
perl -MCPAN -e shell install Bio::Das::ProServer
For more information on module installation, please visit the detailed CPAN module installation guide.