1
# $Id: gb2xml.pm,v 1.6 2006/07/04 22:23:34 mauricio Exp $
2
# BioPerl module for Bio::Tools::Run::PiseApplication::gb2xml
4
# Cared for by Catherine Letondal <letondal@pasteur.fr>
6
# For copyright and disclaimer see below.
8
# POD documentation - main docs before the code
12
Bio::Tools::Run::PiseApplication::gb2xml
20
Bio::Tools::Run::PiseApplication::gb2xml
24
gb2xml Genbank to XML conversion tool (P. Bouige)
30
http://bioweb.pasteur.fr/seqanal/interfaces/gb2xml.html
31
for available values):
51
User feedback is an integral part of the evolution of this and other
52
Bioperl modules. Send your comments and suggestions preferably to
53
the Bioperl mailing list. Your participation is much appreciated.
55
bioperl-l@bioperl.org - General discussion
56
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
60
Report bugs to the Bioperl bug tracking system to help us keep track
61
of the bugs and their resolution. Bug reports can be submitted via the
64
http://bugzilla.open-bio.org/
68
Catherine Letondal (letondal@pasteur.fr)
72
Copyright (C) 2003 Institut Pasteur & Catherine Letondal.
75
This module is free software; you can redistribute it and/or modify
76
it under the same terms as Perl itself.
80
This software is provided "as is" without warranty of any kind.
88
http://bioweb.pasteur.fr/seqanal/interfaces/gb2xml.html
92
Bio::Tools::Run::PiseApplication
96
Bio::Tools::Run::AnalysisFactory::Pise
100
Bio::Tools::Run::PiseJob
107
package Bio::Tools::Run::PiseApplication::gb2xml;
111
use Bio::Tools::Run::PiseApplication;
113
@ISA = qw(Bio::Tools::Run::PiseApplication);
118
Usage : my $gb2xml = Bio::Tools::Run::PiseApplication::gb2xml->new($location, $email, @params);
119
Function: Creates a Bio::Tools::Run::PiseApplication::gb2xml object.
120
This method should not be used directly, but rather by
121
a Bio::Tools::Run::AnalysisFactory::Pise instance.
122
my $factory = Bio::Tools::Run::AnalysisFactory::Pise->new();
123
my $gb2xml = $factory->program('gb2xml');
125
Returns : An instance of Bio::Tools::Run::PiseApplication::gb2xml.
130
my ($class, $location, $email, @params) = @_;
131
my $self = $class->SUPER::new($location, $email);
133
# -- begin of definitions extracted from /local/gensoft/lib/Pise/5.a/PerlDef/gb2xml.pm
135
$self->{COMMAND} = "gb2xml";
136
$self->{VERSION} = "5.a";
137
$self->{TITLE} = "gb2xml";
139
$self->{DESCRIPTION} = "Genbank to XML conversion tool";
141
$self->{OPT_EMAIL} = 0;
143
$self->{AUTHORS} = "P. Bouige";
145
$self->{_INTERFACE_STANDOUT} = undef;
146
$self->{_STANDOUT_FILE} = undef;
148
$self->{TOP_PARAMETERS} = [
158
$self->{PARAMETERS_ORDER} = [
161
"access", # Access method
169
"gb2xml" => 'String',
173
"xmldtdcopy" => 'String',
174
"dtdfile" => 'Results',
180
"seqlab" => 'gb2xml',
181
"perl" => '"gb2xml"',
184
"perl" => '" $value"',
187
"perl" => '" -$value"',
190
"perl" => '" $value"',
193
"perl" => '"; cp /local/gensoft/lib/pasteur/genbank.dtd ."',
200
$self->{FILENAMES} = {
201
"dtdfile" => 'genbank.dtd',
218
$self->{BY_GROUP_PARAMETERS} = [
232
$self->{ISHIDDEN} = {
242
$self->{ISCOMMAND} = {
252
$self->{ISMANDATORY} = {
264
"query" => "Accession",
265
"access" => "Access method",
272
$self->{ISSTANDOUT} = {
284
"access" => ['e','fetch','g','SRS','f','file',],
291
$self->{SEPARATOR} = {
301
"gb2xml" => { "perl" => '1' },
303
"perl" => '$access ne "f"',
305
"access" => { "perl" => '1' },
307
"perl" => '$access eq "f"',
309
"xmldtdcopy" => { "perl" => '1' },
310
"dtdfile" => { "perl" => '1' },
322
$self->{WITHPIPEOUT} = {
330
$self->{WITHPIPEIN} = {
344
$self->{ISSIMPLE} = {
354
$self->{PARAMFILE} = {
362
$self->{SCALEMIN} = {
366
$self->{SCALEMAX} = {
370
$self->{SCALEINC} = {
378
# -- end of definitions extracted from /local/gensoft/lib/Pise/5.a/PerlDef/gb2xml.pm
382
$self->_init_params(@params);
389
1; # Needed to keep compiler happy