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

Class NcbirpstblastnCommandline

source code

                     object --+        
                              |        
Application.AbstractCommandline --+    
                                  |    
              _NcbiblastCommandline --+
                                      |
                                     NcbirpstblastnCommandline

Wrapper for the NCBI BLAST+ program rpstblastn.

With the release of BLAST+ (BLAST rewritten in C++ instead of C), the NCBI replaced the old rpsblast tool with a similar tool of the same name, and a separate tool rpstblastn for Translated Reverse Position Specific BLAST.

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

You would typically run the command line with the Python subprocess module, as described in the Biopython tutorial.

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

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='rpstblastn', **kwargs)
(Constructor)

source code 

Create a new instance of a command line wrapper object.

Overrides: object.__init__
(inherited documentation)