Package Bio :: Package Blast :: Module Applications :: Class _NcbiblastCommandline
[hide private]
[frames] | no frames]

Class _NcbiblastCommandline

source code

                     object --+    
                              |    
Application.AbstractCommandline --+
                                  |
                                 _NcbiblastCommandline
Known Subclasses:

Base Commandline object for (classic) NCBI BLAST wrappers (PRIVATE).

This is provided for subclassing, it deals with shared options common to all the BLAST tools (blastn, rpsblast, rpsblast, etc).

Instance Methods [hide private]
 
__init__(self, cmd=None, **kwargs)
Create a new instance of a command line wrapper object.
source code
 
_validate(self)
Make sure the required parameters have been set (PRIVATE).
source code
 
_validate_incompatibilities(self, incompatibles) source code

Inherited from Application.AbstractCommandline: __repr__, __setattr__, __str__, set_parameter

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, cmd=None, **kwargs)
(Constructor)

source code 

Create a new instance of a command line wrapper object.

Overrides: object.__init__
(inherited documentation)

_validate(self)

source code 

Make sure the required parameters have been set (PRIVATE).

No return value - it either works or raises a ValueError.

This is a separate method (called from __str__) so that subclasses may override it.

Overrides: Application.AbstractCommandline._validate
(inherited documentation)