Package Bio :: Package motifs :: Package applications :: Module _alignace :: Class CompareAceCommandline
[hide private]
[frames] | no frames]

Class CompareAceCommandline

source code

                     object --+    
                              |    
Application.AbstractCommandline --+
                                  |
                                 CompareAceCommandline

Create a commandline for the CompareAce program.

Example:

>>> from Bio.motifs.applications import CompareAceCommandline
>>> m1_file = "sequences1.fasta"
>>> m2_file = "sequences2.fasta"
>>> compareace_cline = CompareAceCommandline(motif1=m1_file, motif2=m2_file)
>>> print(compareace_cline)
CompareACE sequences1.fasta sequences2.fasta

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

Instance Methods [hide private]
 
__init__(self, cmd='CompareACE', **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='CompareACE', **kwargs)
(Constructor)

source code 
Create a new instance of a command line wrapper object.
Overrides: object.__init__
(inherited documentation)