| | |
| bfp1 % bfp2: Return true if the Tanimoto similarity of bfp1 and bfp2 exceeds the threshold, otherwise return false. | select id, tanimoto_sml(morganbv_fp('c1cccnc1'::mol) , mfp) from bfps; select id, morganbv_fp('c1cccnc1'::mol) % mfp from bfps; |
| bfp1 <%> bfp2: Return the Tanimoto similarity distance between bfp1 and bfp2, commonly used for sorting. | select id, morganbv_fp('c1cccnc1'::mol) <%> mfp from bfps order by morganbv_fp('c1cccnc1'::mol) <%> mfp; |
| bfp1 # bfp2: Return true if the Dice similarity between bfp1 and bfp2 exceeds the threshold, otherwise return false. | select id, dice_sml(morganbv_fp('c1cccnc1'::mol), mfp) from bfps; select id, morganbv_fp('c1cccnc1'::mol) # mfp from bfps; |
| bfp1 <#> bfp2: Return the Dice similarity distance between bfp1 and bfp2, usually used for sorting. | select id, morganbv_fp('c1cccnc1'::mol) <#> mfp from bfps order by morganbv_fp('c1cccnc1'::mol) <#> mfp; |
| bfp1 > bfp2: Return true if bfp1 is greater than bfp2, otherwise return false. | select id, mfp from bfps where mfp > morganbv_fp('CC1=CC=C(C=C1)C(=O)SC2=CC=CC=CC2=O'::mol); |
| bfp1 >= bfp2: Return true if bfp1 is greater than or equal to bfp2; otherwise, return false. | select id, mfp from bfps where mfp >= morganbv_fp('CC1=CC=C(C=C1)C(=O)SC2=CC=CC=CC2=O'::mol); |
| bfp1 < bfp2: Return true if bfp1 is less than bfp2, otherwise return false. | select id, mfp from bfps where mfp < morganbv_fp('CC1=CC=C(C=C1)C(=O)SC2=CC=CC=CC2=O'::mol); |
| bfp1 <= bfp2: Return true if bfp1 is less than or equal to bfp2; otherwise, return false. | select id, mfp from bfps where mfp <= morganbv_fp('CC1=CC=C(C=C1)C(=O)SC2=CC=CC=CC2=O'::mol); |
| bfp1 <> bfp2: Return true if bfp1 does not equal bfp2; otherwise, return false. | select id, mfp from bfps where mfp <> morganbv_fp('CC1=CC=C(C=C1)C(=O)SC2=CC=CC=CC2=O'::mol); |
| bfp1 = bfp2: Return true if bfp1 equals bfp2; otherwise, return false. | select id, mfp from bfps where mfp = morganbv_fp('CC1=CC=C(C=C1)C(=O)SC2=CC=CC=CC2=O'::mol); |