Python Forum

Full Version: Help to understand output
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I have loaded a lot of files under one variable. The output looks like this:

[Seq('KATIPSESP', ProteinAlphabet()), Seq('PSESPFAAA', ProteinAlphabet())]
[Seq('ASRLLLNNG', ProteinAlphabet()), Seq('SRLLLNNGA']
I need to compare the different list, but I am unsure how to do that because I am unsure of the output. Everything I do, is done to each list. Eg:

print(protein[1][0]) 
Output:
K A
Help?

Thanks in advance :)
Could you provide more of the code? This is a bit too scant to troubleshoot.