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.