Study

Curated
Hatfield et al., 2026
Genetics of Cocaine Consumption and Preference in Drosophila melanogaster
[10.64898/2026.08.20.746013]

Description

Cocaine and sucrose consumption and cocaine preference were measured on individual males and females of 598 DGRP3 lines in a 22-h two-choice feeder assay, plus 16 lines in a validation experiment. Most lines avoided cocaine; about 10% preferred it in at least one sex.

Comments from curator

Phenotyping data come from the Supporting information of the bioRxiv preprint (doi:10.64898/2026.08.20.746013, v1 of 2026-08-22, Supplementary Material):
- S1 Table (media-1.xlsx), sheet "A. Raw Data": volume of each solution consumed by each fly of 598 DGRP3 lines (one row per fly and solution), used for raw dataset 1. Sheet "B": line means and within-line variances (σε2) of sucrose, cocaine and total consumption and cocaine preference, per sex, used to check the raw dataset.
- S5 Table (media-5.xlsx), sheet "A. Raw Data": the out-of-sample validation experiment (16 other DGRP3 lines), one row per fly, used for raw dataset 2; sheet "B. Line Means" used to check it.

Assay. Cocaine and sucrose consumption were measured on individual naive flies (3-5 days old, reared at 25 °C) in a 96-well microplate feeder, given for 22 h the choice between 10 µL of a sucrose solution (4% sucrose, 1% yeast extract, blue dye) and 10 µL of the same solution with 0.2 mg/mL cocaine-HCl, after 6 h without food; volumes from the absorbance before and after, corrected for evaporation and between-plate variation (Canton-S B control flies and evaporation wells on each plate). Each plate held 36 males and 36 females of one DGRP3 line, with two replicate plates per line; flies that died were removed. The cocaine preference index of a fly is (cocaine - sucrose consumed) / (cocaine + sucrose consumed), from -1 (sucrose only) to 1 (cocaine only); most lines avoid cocaine (mean index -0.33 in females, -0.24 in males).

Raw dataset 1 (S1 Table): one row per fly, 71,878 flies of 598 lines, both sexes. SucCons and CocCons are the volumes (µL) of sucrose and cocaine solution consumed, copied from the two rows of the fly in sheet A (matched by line, plate, sex and well). TotalCons (their sum) and CocPI (the preference index) were computed per fly with the authors' formulas. The plate replicate (PlateRep) and well (WellID) are kept as obsolete design columns. The DGRP3 lines (RP0001 in the file) are stored as RP_0001; 106 of the 598 lines are DGRP2 lines re-inbred for the DGRP3 (e.g. RP_0870 = DGRP-21), stored under their RP_ name.

Changes to the source, all needed to reproduce the authors' S1 Table B:
- Line RP6022 is RP_0622 (Table B has RP-0622 with its values; RP_6022 does not exist).
- RP0875 and RP0896 are listed twice in sheet A; the 407 repeated rows (identical values) were removed.
- Nine lines (RP_0006, RP_0038, RP_0048, RP_0758, RP_0796, RP_0808, RP_0944, RP_0968, RP_1046) were tested on 3 or 4 plates that reuse the labels r1 and r2; the plates were told apart by their order in the sheet to pair the sucrose and cocaine values of each fly. PlateRep keeps the authors' label.
- Plate r1 of RP_0128 and of RP_1194 (143 flies) is left out, as by the authors: impossible volumes (about 10 µL of both solutions for every RP_0128 female, up to 183 µL for RP_1194, of 10 µL offered). Their line values come from plate r2 only.
- 10,364 flies (outside these plates) have only one of the two values (8,228 sucrose only, 2,136 cocaine only; sheet A has no zero values, so these are probably flies that drank none of the other solution). The authors left them out of their line means, variances and preference analyses (but not of the consumption ANOVAs of S2 Table), so they are not uploaded.

Reproduction. With these changes, DGRPool's line means and within-line variances of the four traits reproduce S1 Table B exactly (all lines, both sexes, differences below 2 × 10-9), and the number of flies matches the preference ANOVA of S2 Table (N = 37,070 females and 34,808 males for the 598 lines). The paper reports 74,875 flies (38,144 females, 36,731 males); sheet A has 82,385 flies, 72,018 with both values, and this count could not be reproduced. The authors' GWAS used the line means per sex, their average and difference between sexes, and the micro-environmental variance ln(σε) = ln of the within-line standard deviation (DGRPool's SD).

Lines. All 598 lines of S1 Table are uploaded. 26 of them were not in the DGRPool database and were added for this study and the DGRP3 paper: 14 lines that have since died and 12 extant lines (status from Table S1 of the DGRP3 paper; RP_0889, RP_0897, RP_0928, RP_0929 and RP_0975 are the re-inbred DGRP-153, DGRP-237, DGRP-383, DGRP-385 and DGRP-790).

Raw dataset 2 (S5 Table): out-of-sample validation of three GWAS variants for cocaine preference, 2,267 flies (about 72 per sex and line, two plates) of 16 DGRP3 lines tested with the same assay: lines homozygous for the minor allele of 2L_3323727 (near CG8837; RP_0703, RP_0290, RP_0568, RP_0726, RP_1253), 2L_3718222 (Shaw; RP_0375, RP_0593, RP_0290, RP_0568, RP_0726, RP_0711) or 2L_9856112 (nAChRalpha6; RP_0121, RP_0259, RP_0625, RP_0711, RP_1253), and 5 control lines with the major alleles (RP_0087, RP_0199, RP_0200, RP_0263, RP_0681). Values as published (_Val phenotypes), including zero consumptions (preference -1 or 1); DGRPool's line means reproduce S5 Table B exactly. The paper says that these lines were not tested before, but RP_0121 and RP_0726 are also in S1 Table, with different values (e.g. female preference -0.56 in S1 vs -0.73 in S5 for RP_0121, -0.17 vs -0.77 for RP_0726).

Not uploaded: the ANOVAs (S2 Table), covariate tests (S3 Table), GWAS results (S4 Table), and the Canton-S B control flies (not in the data files). Earlier DGRP studies of cocaine consumption and preference: study 145 (Highfill et al. 2019, 46 DGRP2 lines) and study 67 (Baker et al. 2021, an outbred population derived from DGRP lines).

612 DGRP lines 455 not_genotyped 157 genotyped

RP_0001 RP_0002 RP_0003 RP_0004 RP_0005 RP_0006 RP_0007 RP_0008 RP_0011 RP_0012 RP_0015 RP_0016 RP_0017 RP_0018 RP_0020 RP_0022 RP_0024 RP_0025 RP_0030 RP_0031 RP_0033 RP_0034 RP_0035 RP_0037 RP_0038 RP_0039 RP_0040 RP_0041 RP_0042 RP_0043 RP_0044 RP_0045 RP_0046 RP_0047 RP_0048 RP_0050 RP_0051 RP_0054 RP_0056 RP_0058 RP_0061 RP_0062 RP_0064 RP_0065 RP_0068 RP_0072 RP_0074 RP_0075 RP_0076 RP_0077 RP_0079 RP_0081 RP_0082 RP_0086 RP_0087 RP_0093 RP_0102 RP_0104 RP_0105 RP_0106 RP_0108 RP_0110 RP_0111 RP_0112 RP_0114 RP_0115 RP_0116 RP_0118 RP_0121 RP_0123 RP_0124 RP_0125 RP_0128 RP_0130 RP_0131 RP_0132 RP_0133 RP_0134 RP_0135 RP_0136 RP_0137 RP_0138 RP_0139 RP_0142 RP_0144 RP_0145 RP_0149 RP_0151 RP_0152 RP_0154 RP_0157 RP_0158 RP_0160 RP_0161 RP_0162 RP_0164 RP_0165 RP_0166 RP_0167 RP_0168 RP_0169 RP_0170 RP_0171 RP_0172 RP_0174 RP_0175 RP_0176 RP_0177 RP_0178 RP_0179 RP_0185 RP_0186 RP_0187 RP_0190 RP_0199 RP_0200 RP_0202 RP_0215 RP_0221 RP_0227 RP_0230 RP_0231 RP_0259 RP_0263 RP_0269 RP_0271 RP_0272 RP_0276 RP_0284 RP_0285 RP_0290 RP_0296 RP_0303 RP_0305 RP_0308 RP_0314 RP_0326 RP_0328 RP_0334 RP_0347 RP_0356 RP_0365 RP_0373 RP_0375 RP_0386 RP_0392 RP_0398 RP_0407 RP_0429 RP_0432 RP_0433 RP_0434 RP_0442 RP_0446 RP_0447 RP_0452 RP_0457 RP_0463 RP_0471 RP_0476 RP_0479 RP_0480 RP_0490 RP_0493 RP_0501 RP_0504 RP_0505 RP_0514 RP_0521 RP_0523 RP_0538 RP_0561 RP_0562 RP_0568 RP_0570 RP_0583 RP_0584 RP_0587 RP_0588 RP_0590 RP_0593 RP_0603 RP_0609 RP_0611 RP_0615 RP_0622 RP_0625 RP_0634 RP_0637 RP_0643 RP_0646 RP_0650 RP_0658 RP_0659 RP_0665 RP_0669 RP_0674 RP_0680 RP_0681 RP_0696 RP_0697 RP_0703 RP_0711 RP_0721 RP_0722 RP_0723 RP_0725 RP_0726 RP_0728 RP_0729 RP_0730 RP_0731 RP_0732 RP_0733 RP_0734 RP_0736 RP_0737 RP_0739 RP_0740 RP_0742 RP_0743 RP_0744 RP_0746 RP_0747 RP_0751 RP_0752 RP_0754 RP_0756 RP_0757 RP_0758 RP_0759 RP_0760 RP_0762 RP_0763 RP_0764 RP_0765 RP_0767 RP_0768 RP_0770 RP_0771 RP_0772 RP_0774 RP_0775 RP_0777 RP_0778 RP_0779 RP_0784 RP_0785 RP_0787 RP_0788 RP_0789 RP_0790 RP_0791 RP_0793 RP_0796 RP_0797 RP_0798 RP_0800 RP_0801 RP_0803 RP_0804 RP_0805 RP_0806 RP_0807 RP_0808 RP_0809 RP_0810 RP_0812 RP_0813 RP_0814 RP_0815 RP_0817 RP_0818 RP_0820 RP_0821 RP_0822 RP_0823 RP_0824 RP_0825 RP_0827 RP_0828 RP_0829 RP_0831 RP_0832 RP_0833 RP_0834 RP_0836 RP_0837 RP_0838 RP_0839 RP_0841 RP_0842 RP_0843 RP_0844 RP_0846 RP_0847 RP_0848 RP_0849 RP_0850 RP_0851 RP_0852 RP_0853 RP_0854 RP_0855 RP_0858 RP_0859 RP_0860 RP_0861 RP_0862 RP_0863 RP_0864 RP_0865 RP_0866 RP_0867 RP_0868 RP_0869 RP_0870 RP_0873 RP_0874 RP_0875 RP_0876 RP_0877 RP_0878 RP_0880 RP_0882 RP_0883 RP_0884 RP_0885 RP_0887 RP_0889 RP_0890 RP_0891 RP_0893 RP_0894 RP_0895 RP_0896 RP_0897 RP_0899 RP_0900 RP_0901 RP_0903 RP_0904 RP_0906 RP_0907 RP_0909 RP_0910 RP_0911 RP_0914 RP_0915 RP_0916 RP_0917 RP_0918 RP_0920 RP_0921 RP_0922 RP_0923 RP_0924 RP_0926 RP_0927 RP_0928 RP_0929 RP_0931 RP_0932 RP_0933 RP_0934 RP_0935 RP_0937 RP_0938 RP_0941 RP_0942 RP_0943 RP_0944 RP_0945 RP_0946 RP_0947 RP_0948 RP_0950 RP_0951 RP_0952 RP_0953 RP_0954 RP_0955 RP_0956 RP_0957 RP_0958 RP_0960 RP_0963 RP_0964 RP_0967 RP_0968 RP_0970 RP_0973 RP_0974 RP_0975 RP_0976 RP_0977 RP_0981 RP_0984 RP_0985 RP_0986 RP_0987 RP_0990 RP_0991 RP_0992 RP_0993 RP_0994 RP_0996 RP_0997 RP_0998 RP_0999 RP_1000 RP_1002 RP_1003 RP_1004 RP_1005 RP_1006 RP_1007 RP_1008 RP_1009 RP_1010 RP_1011 RP_1013 RP_1014 RP_1015 RP_1016 RP_1017 RP_1018 RP_1019 RP_1020 RP_1022 RP_1023 RP_1024 RP_1025 RP_1026 RP_1027 RP_1028 RP_1029 RP_1031 RP_1032 RP_1033 RP_1034 RP_1035 RP_1036 RP_1037 RP_1038 RP_1039 RP_1040 RP_1041 RP_1043 RP_1044 RP_1045 RP_1046 RP_1048 RP_1049 RP_1050 RP_1051 RP_1053 RP_1055 RP_1056 RP_1057 RP_1058 RP_1059 RP_1060 RP_1062 RP_1064 RP_1065 RP_1066 RP_1067 RP_1068 RP_1070 RP_1072 RP_1073 RP_1074 RP_1075 RP_1076 RP_1077 RP_1078 RP_1079 RP_1080 RP_1081 RP_1082 RP_1083 RP_1084 RP_1085 RP_1086 RP_1087 RP_1088 RP_1089 RP_1091 RP_1092 RP_1093 RP_1094 RP_1095 RP_1096 RP_1097 RP_1098 RP_1099 RP_1100 RP_1101 RP_1102 RP_1103 RP_1104 RP_1105 RP_1107 RP_1108 RP_1109 RP_1110 RP_1111 RP_1112 RP_1113 RP_1114 RP_1115 RP_1116 RP_1117 RP_1118 RP_1120 RP_1121 RP_1123 RP_1124 RP_1125 RP_1126 RP_1127 RP_1128 RP_1129 RP_1130 RP_1131 RP_1133 RP_1134 RP_1135 RP_1136 RP_1137 RP_1138 RP_1139 RP_1140 RP_1141 RP_1142 RP_1143 RP_1144 RP_1145 RP_1146 RP_1147 RP_1148 RP_1149 RP_1150 RP_1151 RP_1152 RP_1153 RP_1154 RP_1157 RP_1158 RP_1159 RP_1160 RP_1161 RP_1162 RP_1163 RP_1164 RP_1165 RP_1166 RP_1167 RP_1169 RP_1170 RP_1171 RP_1172 RP_1173 RP_1174 RP_1176 RP_1177 RP_1179 RP_1180 RP_1181 RP_1182 RP_1183 RP_1184 RP_1185 RP_1187 RP_1188 RP_1190 RP_1191 RP_1192 RP_1193 RP_1194 RP_1196 RP_1197 RP_1198 RP_1199 RP_1200 RP_1201 RP_1202 RP_1203 RP_1204 RP_1205 RP_1207 RP_1208 RP_1209 RP_1211 RP_1214 RP_1215 RP_1217 RP_1218 RP_1220 RP_1224 RP_1225 RP_1229 RP_1230 RP_1232 RP_1233 RP_1234 RP_1236 RP_1238 RP_1240 RP_1241 RP_1253

Datasets

Dataset Phenotypes DGRP lines
Raw dataset #1 4 phenotypes
CocCons CocPI SucCons TotalCons
598 DGRP lines
RP_0001
RP_0002
RP_0003
RP_0004
RP_0005
RP_0006
RP_0007
RP_0008
RP_0011
RP_0012
RP_0015
RP_0016
RP_0017
RP_0018
RP_0020
RP_0022
RP_0024
RP_0025
RP_0030
RP_0031
RP_0033
RP_0034
RP_0035
RP_0037
RP_0038
RP_0039
RP_0040
RP_0041
RP_0042
RP_0043
RP_0044
RP_0045
RP_0046
RP_0047
RP_0048
RP_0050
RP_0051
RP_0054
RP_0056
RP_0058
RP_0061
RP_0062
RP_0064
RP_0065
RP_0068
RP_0072
RP_0074
RP_0075
RP_0076
RP_0077
RP_0079
RP_0081
RP_0082
RP_0086
RP_0093
RP_0102
RP_0104
RP_0105
RP_0106
RP_0108
RP_0110
RP_0111
RP_0112
RP_0114
RP_0115
RP_0116
RP_0118
RP_0121
RP_0123
RP_0124
RP_0125
RP_0128
RP_0130
RP_0131
RP_0132
RP_0133
RP_0134
RP_0135
RP_0136
RP_0137
RP_0138
RP_0139
RP_0142
RP_0144
RP_0145
RP_0149
RP_0151
RP_0152
RP_0154
RP_0157
RP_0158
RP_0160
RP_0161
RP_0162
RP_0164
RP_0165
RP_0166
RP_0167
RP_0168
RP_0169
RP_0170
RP_0171
RP_0172
RP_0174
RP_0175
RP_0176
RP_0177
RP_0178
RP_0179
RP_0185
RP_0186
RP_0187
RP_0190
RP_0202
RP_0215
RP_0221
RP_0227
RP_0230
RP_0231
RP_0269
RP_0271
RP_0272
RP_0276
RP_0284
RP_0285
RP_0296
RP_0303
RP_0305
RP_0308
RP_0314
RP_0326
RP_0328
RP_0334
RP_0347
RP_0356
RP_0365
RP_0373
RP_0386
RP_0392
RP_0398
RP_0407
RP_0429
RP_0432
RP_0433
RP_0434
RP_0442
RP_0446
RP_0447
RP_0452
RP_0457
RP_0463
RP_0471
RP_0476
RP_0479
RP_0480
RP_0490
RP_0493
RP_0501
RP_0504
RP_0505
RP_0514
RP_0521
RP_0523
RP_0538
RP_0561
RP_0562
RP_0570
RP_0583
RP_0584
RP_0587
RP_0588
RP_0590
RP_0603
RP_0609
RP_0611
RP_0615
RP_0622
RP_0634
RP_0637
RP_0643
RP_0646
RP_0650
RP_0658
RP_0659
RP_0665
RP_0669
RP_0674
RP_0680
RP_0696
RP_0697
RP_0721
RP_0722
RP_0723
RP_0725
RP_0726
RP_0728
RP_0729
RP_0730
RP_0731
RP_0732
RP_0733
RP_0734
RP_0736
RP_0737
RP_0739
RP_0740
RP_0742
RP_0743
RP_0744
RP_0746
RP_0747
RP_0751
RP_0752
RP_0754
RP_0756
RP_0757
RP_0758
RP_0759
RP_0760
RP_0762
RP_0763
RP_0764
RP_0765
RP_0767
RP_0768
RP_0770
RP_0771
RP_0772
RP_0774
RP_0775
RP_0777
RP_0778
RP_0779
RP_0784
RP_0785
RP_0787
RP_0788
RP_0789
RP_0790
RP_0791
RP_0793
RP_0796
RP_0797
RP_0798
RP_0800
RP_0801
RP_0803
RP_0804
RP_0805
RP_0806
RP_0807
RP_0808
RP_0809
RP_0810
RP_0812
RP_0813
RP_0814
RP_0815
RP_0817
RP_0818
RP_0820
RP_0821
RP_0822
RP_0823
RP_0824
RP_0825
RP_0827
RP_0828
RP_0829
RP_0831
RP_0832
RP_0833
RP_0834
RP_0836
RP_0837
RP_0838
RP_0839
RP_0841
RP_0842
RP_0843
RP_0844
RP_0846
RP_0847
RP_0848
RP_0849
RP_0850
RP_0851
RP_0852
RP_0853
RP_0854
RP_0855
RP_0858
RP_0859
RP_0860
RP_0861
RP_0862
RP_0863
RP_0864
RP_0865
RP_0866
RP_0867
RP_0868
RP_0869
RP_0870
RP_0873
RP_0874
RP_0875
RP_0876
RP_0877
RP_0878
RP_0880
RP_0882
RP_0883
RP_0884
RP_0885
RP_0887
RP_0889
RP_0890
RP_0891
RP_0893
RP_0894
RP_0895
RP_0896
RP_0897
RP_0899
RP_0900
RP_0901
RP_0903
RP_0904
RP_0906
RP_0907
RP_0909
RP_0910
RP_0911
RP_0914
RP_0915
RP_0916
RP_0917
RP_0918
RP_0920
RP_0921
RP_0922
RP_0923
RP_0924
RP_0926
RP_0927
RP_0928
RP_0929
RP_0931
RP_0932
RP_0933
RP_0934
RP_0935
RP_0937
RP_0938
RP_0941
RP_0942
RP_0943
RP_0944
RP_0945
RP_0946
RP_0947
RP_0948
RP_0950
RP_0951
RP_0952
RP_0953
RP_0954
RP_0955
RP_0956
RP_0957
RP_0958
RP_0960
RP_0963
RP_0964
RP_0967
RP_0968
RP_0970
RP_0973
RP_0974
RP_0975
RP_0976
RP_0977
RP_0981
RP_0984
RP_0985
RP_0986
RP_0987
RP_0990
RP_0991
RP_0992
RP_0993
RP_0994
RP_0996
RP_0997
RP_0998
RP_0999
RP_1000
RP_1002
RP_1003
RP_1004
RP_1005
RP_1006
RP_1007
RP_1008
RP_1009
RP_1010
RP_1011
RP_1013
RP_1014
RP_1015
RP_1016
RP_1017
RP_1018
RP_1019
RP_1020
RP_1022
RP_1023
RP_1024
RP_1025
RP_1026
RP_1027
RP_1028
RP_1029
RP_1031
RP_1032
RP_1033
RP_1034
RP_1035
RP_1036
RP_1037
RP_1038
RP_1039
RP_1040
RP_1041
RP_1043
RP_1044
RP_1045
RP_1046
RP_1048
RP_1049
RP_1050
RP_1051
RP_1053
RP_1055
RP_1056
RP_1057
RP_1058
RP_1059
RP_1060
RP_1062
RP_1064
RP_1065
RP_1066
RP_1067
RP_1068
RP_1070
RP_1072
RP_1073
RP_1074
RP_1075
RP_1076
RP_1077
RP_1078
RP_1079
RP_1080
RP_1081
RP_1082
RP_1083
RP_1084
RP_1085
RP_1086
RP_1087
RP_1088
RP_1089
RP_1091
RP_1092
RP_1093
RP_1094
RP_1095
RP_1096
RP_1097
RP_1098
RP_1099
RP_1100
RP_1101
RP_1102
RP_1103
RP_1104
RP_1105
RP_1107
RP_1108
RP_1109
RP_1110
RP_1111
RP_1112
RP_1113
RP_1114
RP_1115
RP_1116
RP_1117
RP_1118
RP_1120
RP_1121
RP_1123
RP_1124
RP_1125
RP_1126
RP_1127
RP_1128
RP_1129
RP_1130
RP_1131
RP_1133
RP_1134
RP_1135
RP_1136
RP_1137
RP_1138
RP_1139
RP_1140
RP_1141
RP_1142
RP_1143
RP_1144
RP_1145
RP_1146
RP_1147
RP_1148
RP_1149
RP_1150
RP_1151
RP_1152
RP_1153
RP_1154
RP_1157
RP_1158
RP_1159
RP_1160
RP_1161
RP_1162
RP_1163
RP_1164
RP_1165
RP_1166
RP_1167
RP_1169
RP_1170
RP_1171
RP_1172
RP_1173
RP_1174
RP_1176
RP_1177
RP_1179
RP_1180
RP_1181
RP_1182
RP_1183
RP_1184
RP_1185
RP_1187
RP_1188
RP_1190
RP_1191
RP_1192
RP_1193
RP_1194
RP_1196
RP_1197
RP_1198
RP_1199
RP_1200
RP_1201
RP_1202
RP_1203
RP_1204
RP_1205
RP_1207
RP_1208
RP_1209
RP_1211
RP_1214
RP_1215
RP_1217
RP_1218
RP_1220
RP_1224
RP_1225
RP_1229
RP_1230
RP_1232
RP_1233
RP_1234
RP_1236
RP_1238
RP_1240
RP_1241
Download
Raw dataset #2 3 phenotypes
CocCons_Val CocPI_Val SucCons_Val
16 DGRP lines
RP_0087
RP_0121
RP_0199
RP_0200
RP_0259
RP_0263
RP_0290
RP_0375
RP_0568
RP_0593
RP_0625
RP_0681
RP_0703
RP_0711
RP_0726
RP_1253
Download
Back to studies