Package schrodinger :: Package application :: Package msv :: Package io :: Module seqio :: Class ClustalAlignmentWriter
[hide private]
[frames] | no frames]

Class ClustalAlignmentWriter

                object --+    
                         |    
BaseProteinAlignmentWriter --+
                             |
                            ClustalAlignmentWriter


Class for writing Clustal *.aln files.

The format is described here:
L{http://web.mit.edu/meme_v4.9.0/doc/clustalw-format.html}

Instance Methods [hide private]

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
write(cls, alignment, file_name, use_unique_names=True)
Writes alignment to a Clustal alignment file.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

write(cls, alignment, file_name, use_unique_names=True)
Class Method

 

Writes alignment to a Clustal alignment file.

Parameters:
  • alignment (BaseAlignment) - Alignment to be written to a file.
  • file_name (str) - Destination file name.
  • use_unique_names (bool) - If True, write unique name for each sequence.
Raises:
  • IOError - If output file cannot be written.
Overrides: BaseProteinAlignmentWriter.write