next up previous contents index
Next: profile.read() read Up: The profile class: using Previous: The profile class: using   Contents   Index

profile() -- create a new profile

profile(env, aln=None, **vars)
This creates a new profile object. By default, the profile is empty. However, if you give a single alignment object as an argument, the profile is initialized with the alignment contents (using alignment.to_profile()), or if you specify any keyword arguments, they are passed to profile.read(), to read in a profile from a file. See the profile.scan() example.



Ben Webb 2007-08-03