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.



Automatic builds 2018-05-30