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

Class RpsBlastCommandline

source code

                     object --+        
                              |        
Application.AbstractCommandline --+    
                                  |    
                  _BlastCommandLine --+
                                      |
                                     RpsBlastCommandline

Create a commandline for the classic rpsblast program from NCBI (OBSOLETE).

With the release of BLAST+ (BLAST rewritten in C++ instead of C), the NCBI
are replacing the old rpsblast with a new version of the same name plus a
second tool rpstblastn, both taking different command line arguments. This
module provides NcbirpsblastCommandline and NcbirpsblastCommandline as
wrappers for the new tools.

Like the old rpsblast (and blastall), this wrapper is now obsolete, and will
be deprecated and removed in a future release of Biopython.

>>> from Bio.Blast.Applications import RpsBlastCommandline
>>> cline = RpsBlastCommandline(help=True)
>>> cline
RpsBlastCommandline(cmd='rpsblast', help=True)
>>> print(cline)
rpsblast --help

You would typically run the command line with cline() or via the Python
subprocess module, as described in the Biopython tutorial.

Instance Methods [hide private]
 
__init__(self, cmd='rpsblast', **kwargs)
Create a new instance of a command line wrapper object.
source code

Inherited from _BlastCommandLine (private): _validate

Inherited from Application.AbstractCommandline: __call__, __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='rpsblast', **kwargs)
(Constructor)

source code 
Create a new instance of a command line wrapper object.

Overrides: object.__init__
(inherited documentation)