Back to index

python-biopython  1.60
Classes | Functions | Variables
test_CAPS Namespace Reference

Classes

class  TestCAPS

Functions

def createAlignment

Variables

tuple runner = unittest.TextTestRunner(verbosity = 2)

Function Documentation

def test_CAPS.createAlignment (   sequences,
  alphabet 
)
Create an Alignment object from a list of sequences

Definition at line 10 of file test_CAPS.py.

00010 
00011 def createAlignment(sequences, alphabet):
00012     """Create an Alignment object from a list of sequences"""
00013     return MultipleSeqAlignment((SeqRecord(Seq(s,alphabet), id="sequence%i"%(i+1)) \
00014                                  for (i,s) in enumerate(sequences)),
00015                                 alphabet)
    

Here is the caller graph for this function:


Variable Documentation

tuple test_CAPS.runner = unittest.TextTestRunner(verbosity = 2)

Definition at line 96 of file test_CAPS.py.