Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/C:/Python27/python.exe
- ##from pymol import cmd, stored
- import itertools as it
- str1=['2cbd','1bcd','1bv3','2cbc','2hnc']
- ##str2=['2cba','2cbb','2ax2','3gz0','2ili']
- # Finding combinations of each item within str1 and str2
- str1com = list(it.combinations(str1, 2))
- ##str2com= list(it.combinations(str2, 2))
- # Finding combinations of each two items from str1 and str2
- ##allcom = list(it.product(str1, str2))
- # Finding RMS value of each structure combination
- for combination in str1com: # first, second, third
- print combination[0]
- print combination[1]
- ##cmd.fit(combination[1] + "and name ca"+"," + combination[1]+ "and name ca")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement