Example 4.2 โ€” Matched molecular pairs: swapping a group, not an atom

Conversation

๐Ÿ‘ค User

Single-atom tweaks are not where my project is. On factor Xa, which whole-group swaps have a track record of improving potency?


๐Ÿง  Assistant

Among the 1,500 most potent compounds with an exact Ki against human factor Xa (target 1341, P00742), matched_molecular_pairs finds 9,442 pairs over 7,387 distinct transformations. Keeping only the changes that swap a group of four or more heavy atoms for another leaves 264 of the 500 most frequent, and unlike the single-atom tweaks, several of them have a real record. The table gives the nine that matter most: the best records and the instructive losers among the ones made at least seven times.

smaller group structureSMILES larger group structureSMILES Pairs Improved Median ฮ”p Best Worst
4-methoxyphenyl COc1ccc([*:1])cc1COc1ccc([*:1])cc1 3-amino-1,2-benzisoxazol-5-yl Nc1noc2ccc([*:1])cc12Nc1noc2ccc([*:1])cc12 14 13 +0.89 (8ร—) +1.64 (44ร—) โˆ’0.08
2-oxopiperidin-1-yl O=C1CCCCN1[*:1]O=C1CCCCN1[*:1] 2-oxopyridin-1-yl O=c1ccccn1[*:1]O=c1ccccn1[*:1] 12 11 +0.70 (5ร—) +1.96 (91ร—) โˆ’0.69
4-methoxyphenyl COc1ccc([*:1])cc1COc1ccc([*:1])cc1 3-(aminomethyl)phenyl NCc1cccc([*:1])c1NCc1cccc([*:1])c1 7 6 +0.46 +1.36 โˆ’0.21
methanesulfonyl CS(=O)(=O)[*:1]CS(=O)(=O)[*:1] (pyrrolidin-1-yl)methyl C1CCN(C[*:1])C1C1CCN(C[*:1])C1 9 7 +0.32 +1.21 โˆ’0.51
dimethylaminomethyl CN(C)C[*:1]CN(C)C[*:1] methanesulfonyl CS(=O)(=O)[*:1]CS(=O)(=O)[*:1] 15 10 +0.09 +1.10 โˆ’1.21
4-chlorophenyl Clc1ccc([*:1])cc1Clc1ccc([*:1])cc1 5-chloropyridin-2-yl Clc1ccc([*:1])nc1Clc1ccc([*:1])nc1 10 6 +0.05 +0.48 โˆ’0.85
methanesulfonyl CS(=O)(=O)[*:1]CS(=O)(=O)[*:1] sulfamoyl NS(=O)(=O)[*:1]NS(=O)(=O)[*:1] 22 6 โˆ’0.23 +0.60 โˆ’1.05
5-chlorothiophen-2-yl Clc1ccc([*:1])s1Clc1ccc([*:1])s1 chloroindolyl Clc1c[nH]c2cc([*:1])ccc12Clc1c[nH]c2cc([*:1])ccc12 20 6 โˆ’0.28 +0.86 โˆ’0.93
pyrrolidin-1-yl C1CCN([*:1])C1C1CCN([*:1])C1 morpholin-4-yl C1CN([*:1])CCO1C1CN([*:1])CCO1 11 1 โˆ’0.43 +0.25 โˆ’1.02

Compare that with the single-atom changes on the same target, which are far more common and almost inert: hydrogen to methyl 119 pairs, median 0.00, 53 improved; hydrogen to fluorine 69 pairs, +0.02, 36 improved; hydrogen to chlorine 35 pairs, +0.19; methyl to trifluoromethyl 28 pairs, +0.20. A group swap is made a tenth as often and is worth reading one by one, because when it moves potency it moves it by a log unit, not by a rounding error.

The top row is the S1 story of this whole target class. Factor Xa's S1 pocket was addressed for years with a basic benzamidine; the programmes that produced oral drugs replaced it with neutral aryls, and the 3-amino-1,2-benzisoxazole is the one that kept the hydrogen-bonding pattern without the charge. In these pairs it beats a 4-methoxyphenyl in 13 of 14 matched compounds, by 8-fold at the median and 44-fold at best (6.9 โ†’ 0.16 nM). The figure shows the swap in two different scaffolds: an N-arylpyrazole carboxamide where it gives 3.5 โ†’ 0.09 nM (razaxaban's chemotype) and the bicyclic pyrazolopyridinone where it gives 0.18 โ†’ 0.03 nM (BMS-740808). The 14 pairs come from many different publications, so this is one long programme seen from many papers rather than one table copied twice. The figure's compounds are aligned on the aryl-pyrazole-trifluoromethyl part all four share; the swapped S1 group lies outside that common part.

A caution that goes with it: the swap that wins by far the most on this target is the opposite one. 4-methoxyphenyl to a 3-amidinophenyl, the old basic group, improved all 6 of its pairs by a median of +2.71 (about 500-fold, worst +2.33). A neutral group is what made oral drugs possible, not what makes the tightest binder, and that row is a reason the benzisoxazole's +0.89 is a good result and not a poor one.

The second row is the P4 lactam, and it is the same kind of result: flattening the saturated 2-oxopiperidine to an aromatic 2-oxopyridinone improved 11 of 12 pairs, median 5-fold. A clean pair in that set is a chloro-substituted carboxamide, 2.6 nM with the saturated lactam against 0.67 nM with the pyridinone.

And the drug does neither. Apixaban (BDBM19023, factor Xa Ki 0.075 nM from 15 exact values, thrombin 3.1 ยตM) carries both left-hand groups: the 4-methoxyphenyl in S1 and the 2-oxopiperidin-1-yl in P4. On this evidence each could have been swapped for something more potent. It was not, and that is the right reading of a matched-pair table: at 0.075 nM and about 40,000-fold selectivity over thrombin, potency had stopped being the problem, and a neutral, metabolically plain methoxyphenyl is easier to dose than an aminoisoxazole. Matched pairs rank changes on the one axis the database holds.

What the negative rows are worth. Pyrrolidine to morpholine lost potency in 10 of 11 pairs (median โˆ’0.43). That is a solubility move being paid for in affinity, visible here because somebody made both compounds; so is methanesulfonyl to sulfamoyl (6 of 22 improved). These are the rows a project actually needs: not "what helps" but "what this target will tolerate".

How this was answered

Try next

Example 4.4 runs two single-atom changes across seven target classes, which is the other half of this picture.

One group swap, two scaffolds: the neutral P1 of factor Xa

Each row is one matched pair: the only difference is the group that sits in the S1 pocket, a 4-methoxyphenyl on the left and a 3-amino-1,2-benzisoxazole on the right. It is the swap with the best record on this target: 13 of 14 pairs improved.

N-arylpyrazole carboxamide 3

4-methoxyphenyl in S1 ยท BDBM12705 ยท PMID 16682200

COc1ccc(cc1)-n1nc(cc1C(=O)Nc1ccc(cc1F)-c1ccccc1S(C)(=O)=O)C(F)(F)F

  • Factor Xa3.5 nM Ki2 measurements

Razaxaban analogue

3-aminobenzisoxazole in S1 ยท BDBM12659 ยท PMID 15771420

CS(=O)(=O)c1ccccc1-c1ccc(NC(=O)c2cc(nn2-c2ccc3onc(N)c3c2)C(F)(F)F)c(F)c1

  • Factor Xa0.09 nM Ki2 measurements

Dihydropyrazolopyridinone 7c

4-methoxyphenyl in S1 (apixaban's group) ยท BDBM12743 ยท PMID 17914785

COc1ccc(cc1)-n1nc(c2CCN(C(=O)c12)c1ccc(cc1)-c1ccccc1CN1CC[C@@H](O)C1)C(F)(F)F

  • Factor Xa0.18 nM Ki4 measurements

BMS-740808

3-aminobenzisoxazole in S1 ยท BDBM12693 ยท PMID 18054227

Nc1noc2ccc(cc12)-n1nc(c2CCN(C(=O)c12)c1ccc(cc1)-c1ccccc1CN1CC[C@@H](O)C1)C(F)(F)F

  • Factor Xa0.03 nM Ki4 measurements

shared coreKithin evidenceBar length: log scale, 10 nM (empty) to 0.01 nM (full)

๐Ÿ‘ค User

The benzisoxazole is the neutral P1 that made oral factor Xa inhibitors possible. Did the same move work on thrombin, where the P1 was a benzamidine?


๐Ÿง  Assistant

Not with that group: the 3-aminobenzisoxazole does not appear in thrombin's pairs at all. But the same move does work, with a different group: a para-benzamidine replaced by a neutral-at-the-ring 2-(aminomethyl)-5-chlorophenyl improved 7 of 8 matched pairs, 2-fold at the median and 8-fold at best. And the two swaps with better records than that are both further work on the group that replaced it.

Among the 1,500 most potent compounds with an exact Ki against human thrombin (target 334, listed as Prothrombin, P00734), matched_molecular_pairs finds 6,431 pairs over 4,876 transformations. Filtered to group swaps as before (353 of the 500 most frequent), and ranked by median change, with the instructive losers:

smaller group structureSMILES larger group structureSMILES Pairs Improved Median ฮ”p Best Worst
2-(1,2,4-triazol-1-yl)phenyl c1ccc([*:1])c(-n2cncn2)c1c1ccc([*:1])c(-n2cncn2)c1 5-chloro-2-(tetrazol-1-yl)phenyl Clc1ccc(-n2cnnn2)c([*:1])c1Clc1ccc(-n2cnnn2)c([*:1])c1 7 7 +2.50 (316ร—) +2.75 +0.51
2-(tetrazol-1-yl)phenyl c1ccc([*:1])c(-n2cnnn2)c1c1ccc([*:1])c(-n2cnnn2)c1 5-chloro-2-(1,2,4-triazol-1-yl)phenyl Clc1ccc(-n2cncn2)c([*:1])c1Clc1ccc(-n2cncn2)c([*:1])c1 8 8 +1.03 (11ร—) +1.63 +0.26
1,2,4-triazol-1-yl c1ncn([*:1])n1c1ncn([*:1])n1 tetrazol-1-yl c1nnnn1[*:1]c1nnnn1[*:1] 14 13 +0.72 (5ร—) +1.42 โˆ’1.12
phenyl c1ccc([*:1])cc1c1ccc([*:1])cc1 pyridin-3-yl c1ccc([*:1])nc1c1ccc([*:1])nc1 18 14 +0.38 +1.06 โˆ’0.78
benzamidine N=C(N)c1ccc([*:1])cc1N=C(N)c1ccc([*:1])cc1 2-(aminomethyl)-5-chlorophenyl NCc1ccc(Cl)cc1[*:1]NCc1ccc(Cl)cc1[*:1] 8 7 +0.33 +0.91 โˆ’0.48
pyridin-3-yl c1ccc([*:1])nc1c1ccc([*:1])nc1 pyridine N-oxide [O-][n+]1ccccc1[*:1][O-][n+]1ccccc1[*:1] 15 13 +0.28 +0.53 โˆ’0.70
phenyl c1ccc([*:1])cc1c1ccc([*:1])cc1 benzyl c1ccc(C[*:1])cc1c1ccc(C[*:1])cc1 16 10 +0.11 +1.28 โˆ’0.52
cyclohexyl C1CCC([*:1])CC1C1CCC([*:1])CC1 phenyl c1ccc([*:1])cc1c1ccc([*:1])cc1 18 7 โˆ’0.05 +1.60 โˆ’1.67
trans-4-aminocyclohexyl N[C@H]1CC[C@H]([*:1])CC1N[C@H]1CC[C@H]([*:1])CC1 6-amino-2-methylpyridin-3-yl Cc1nc(N)ccc1[*:1]Cc1nc(N)ccc1[*:1] 15 7 โˆ’0.23 +1.31 โˆ’3.56

The P1 row answers the question: the basic amidine was not load-bearing. The figure below shows two pairs from the same pyridinone/pyrazinone series, one with a benzylsulfonamide and one with a phenethylamino group, each measured in both P1 forms. The benzamidine is 0.37 nM and the chlorobenzylamine 0.046 nM, 8-fold better without the amidine; the second pair moves 0.57 โ†’ 0.13 nM. A third pair elsewhere in the set goes 0.102 โ†’ 0.052 nM, and only one of the eight goes backwards (โˆ’0.48, a D-Phe-Pro peptidomimetic). The amine is still present, but it has moved off the ring and out of the pocket, and a chlorine now sits in thrombin's hydrophobic S1. That is the same structural bet the factor Xa programmes made, reached from a different chemotype, and here the new group was not even a potency sacrifice. (The two pairs are aligned on a 12-atom part they share, the glycinamide and the benzyl ring on which the P1 group sits.)

The top two rows say which part of the new group is doing the work, and it is the chlorine. Both act on that same replacement phenyl ring, and each changes the azole as well as adding the chlorine. Adding the chlorine while switching the azole from tetrazole to triazole improved all 8 of its pairs, median 11-fold, worst case still +0.26; adding it while switching from triazole to tetrazole improved all 7, median +2.5 log units. Meanwhile the azole swap on its own (triazole to tetrazole, no chlorine) is worth only 5-fold over 14 pairs. The two chlorine rows run in opposite azole directions, so the azole's +0.72 cancels out of their difference: 2.50 โˆ’ 0.72 and 1.03 + 0.72 both come to about +1.8 log units for the chlorine. Read together: the chlorine in S1 is the large effect (around 60-fold), the azole next to it a smaller one, and the amidine the series started with was worth less than either. These two are the only rows in the thrombin table without a loser; each is a short run of pairs from one programme, so the clean record is partly the small sample.

What the comparison is worth, and where it stops. Eight pairs is a thin record next to factor Xa's fourteen, and all eight come from a handful of programmes, so this is closer to one laboratory's result than to a cross-programme consensus. More importantly, the database cannot show you why either swap mattered: replacing a benzamidine was never about affinity, it was that a permanently charged group does not cross a gut wall. Matched pairs measure the axis BindingDB holds. The useful finding here is the negative one: the project could drop the charge without paying for it.

The bottom two rows are the ones to show someone who likes saturated rings. Cyclohexyl to phenyl is a coin flip (7 of 18 pairs improved, median โˆ’0.05) and trans-4-aminocyclohexyl to aminopyridine loses more often than it wins (7 of 15, median โˆ’0.23, worst โˆ’3.56), even though both are routine moves for lowering logP. Note how wide those rows are: from โˆ’1.7 to +1.6 log units around a median of roughly zero means the change is not neutral, it is context-dependent, and the median is hiding two populations. That is the one place a matched-pair median actively misleads, and the fix is to open the row and look at the pairs.

How this was answered

Try next

Example 5.2 does the cross-target comparison the other way round: whole compounds against a panel, read as a heat map rather than as pairs.

Thrombin: the basic amidine and what replaced it

Two matched pairs from the same series: a para-benzamidine P1 on the left, the 2-aminomethyl-5-chlorophenyl that replaced it on the right. Potency went up in both, 8-fold and 4-fold.

Pyridinone series

benzamidine P1, the basic group ยท BDBM50111724 ยท PMID 11934589

Cc1ccc(NS(=O)(=O)Cc2ccccc2)c(=O)n1CC(=O)NCc1ccc(cc1)C(N)=N

  • Thrombin0.37 nM Ki1 measurement

Pyridinone series

2-(aminomethyl)-5-chlorophenyl P1, neutral at the ring ยท BDBM50133529 ยท PMID 14505652

Cc1ccc(NS(=O)(=O)Cc2ccccc2)c(=O)n1CC(=O)NCc1cc(Cl)ccc1CN

  • Thrombin0.046 nM Ki1 measurement

Pyrazinone series

benzamidine P1, the basic group ยท BDBM50111726 ยท PMID 11934589

Cc1cnc(NCCc2ccccc2)c(=O)n1CC(=O)NCc1ccc(cc1)C(N)=N

  • Thrombin0.57 nM Ki1 measurement

Pyrazinone series

2-(aminomethyl)-5-chlorophenyl P1 ยท BDBM50133520 ยท PMID 14505652

Cc1cnc(NCCc2ccccc2)c(=O)n1CC(=O)NCc1cc(Cl)ccc1CN

  • Thrombin0.13 nM Ki1 measurement

shared coreKithin evidenceBar length: log scale, 1 nM (empty) to 0.01 nM (full)

๐Ÿ‘ค User

Why does it only find groups up to a certain size, and what happens if I allow bigger ones?


๐Ÿง  Assistant

Two rules decide it, and only one of them is a setting you can change.

The setting is max_variable_atoms, which defaults to 13 heavy atoms. It caps the size of the part that changes. Raising it does find more:

max_variable_atoms Pairs Transformations Of the 500 most frequent, swaps of 10+ atoms
8 5,616 3,984 0
13 (default) 9,442 7,387 50
20 14,427 12,063 135
25 14,503 12,139 135

The other rule is the one that stops the table growing: the part that changes may never be larger than the part that stays. That is what makes a pair a pair: two compounds with a common core and one different substituent. It is why 25 adds 76 pairs to 20 and no new transformations worth the name: by then the limit is not the setting, it is that a 24-atom "substituent" would have to hang off a core of at least 24 atoms, and few such compounds exist in this set. A third, quieter rule works the same way: a pair is found by cutting one acyclic single bond, so rings are never opened. A scaffold hop, pyrazole to pyrazolopyridinone say, will never show up here no matter how high you set the limit, because the change cannot be written as one substituent swap.

What raising it actually buys is changes to rings in the middle of a molecule, at the price of generality. At 20 atoms the biggest new row of 10 or more atoms is a biaryl sulfonamide whose far ring changes from a phenyl to a pyridine: 13 pairs, median +0.25 (10 improved). That ring is internal to the fragment, so no single cut can isolate it; the only way to express the change is to carry the sulfonamide and the second ring along with it. The default limit cannot see it at all. But look at what else appears alongside it: more rows from the same small family of distal-ring changes (phenyl to fluorophenyl, to pyrimidinyl, with a sulfonamide or a methylsulfone on the other end) at 9, 9, 7, 7 and 6 pairs, each in a slightly different amount of context. Meanwhile the context-free row that says plain phenyl to pyridyl has 3 pairs, at every limit from 13 up, because it only applies where that ring is terminal. So one chemical change arrives as a handful of rows that you have to recognise as the same thing, and no row states the general case. The row count grows, the per-row statistics thin out, and the run takes longer, because every extra fragment is another key to index.

So the practical answer is: leave it at 13 unless you know you are after a change to a ring in the middle of the molecule. The two settings worth moving are the other two:

And if you genuinely want the large-fragment view ("what else has anyone put in this pocket?"), matched pairs is the wrong tool for it. decompose_r_groups with a core you specify will take substituents of any size, because you have told it where the core ends instead of asking it to guess.

How this was answered

Try next

Example 4.3 is the other failure mode of automatic pairing: two compounds that look like a matched pair and disagree by a hundredfold.