OSCR

Nociceptor circadian clock genes control excitability and pain perception in mice in a sex- and time-dependent manner.

Code ↔ Paper

7 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 7 matches
  1. [1] § Methods › RNA sequencing ↔ Figure5a/0_helpers/OutlierDetect.R, lines 14–53 · score 0.64 · outlier detection, arrayQualityMetrics
  2. [2] § Methods › RNA sequencing ↔ Figure5a/0_helpers/VstTransform.R, lines 20–30 · score 0.62 · variance stabilizing transformed, DESeq2, genes
  3. [3] § Methods › Whole-cell recordings ↔ VoltageClamp_AK42.m, lines 1–65 · score 0.61 · voltage clamp, series resistance, Labs, baseline, cell
  4. [4] § Methods › Whole-cell recordings ↔ VoltageClamp_AK42.m, lines 1–65 · score 0.61 · Patch clamp, voltage clamp, resistance, capacitance, cells
  5. [5] § Methods › Whole-cell recordings ↔ VoltageClamp_AK42.m, lines 318–443 · score 0.56 · membrane resistance, series resistance, pulses, mM, clamp
  6. [6] § Methods › RNA sequencing ↔ Figure5a/3_naiveDrg/3_deseqCandidate/1.0_getKeggGenes.R, lines 1–56 · score 0.55 · ion channel, KEGG, br, mmu04040, candidate, genes
  7. [7] § Methods › Whole-cell recordings ↔ Axograph_to_Matlab.m, lines 1–77 · score 0.51 · Patch clamp, Axograph, resistance, capacitance, mice

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

MATLAB · 592 lines · 37 KB · no license · 3 matches

  1. function AK42analysis
  2. Protocol=[0 80 0 114 -2 111 0 116 0 111 0 99 0 111 0 108 0 32 0 58];
  3. SeriesResistance=[0 83 0 101 0 114 0 105 0 101 0 115 0 32 0 82 0 101 0 115 0 105 0 115 0 116 0 97 0 110 0 99 0 101];
  4. MembraneCapacitance=[0 77 0 101 0 109 0 98 0 114 0 97 0 110 0 101 0 32 0 67 0 97 0 112 0 97 0 99 0 105 0 116 0 97 0 110 0 99 0 101 0 32 0 32 0 61 0 32 0 32];
  5. MembraneResistance=[0 77 0 101 0 109 0 98 0 114 0 97 0 110 0 101 0 32 0 82 0 101 0 115 0 105 0 115 0 116 0 97 0 110 0 99 0 101 0 32 0 32 0 32 0 32 0 32 0 32 0 32 0 32 0 61 0 32 0 32];
  6. globalpath='C:\Users\aurel\Documents\GhasemlouLab\Data\Circadian_experiment\PatchClamp\ExVivo\C57BL6\MaleVCAK42';
  7. globalpath='C:\Users\aurel\Documents\GhasemlouLab\Data\Circadian_experiment\PatchClamp\ExVivo\Nav1.8_Bmal1\MaleVCAK42';
  8. cd(globalpath)
  9. AllfilenameAK42=[];
  10. AllfilenameBaseline=[];
  11. newline = char(10); %char(10) is the character for line-break, or "enter"
  12. [~,AllfilenameAK42] = system('dir /s /b *40_Step_VC_Koster2020_hold4mV_AK42.axgd'); %you can also simply write: !dir /s /b *.mat
  13. AllfilenameAK42 = strsplit(AllfilenameAK42,newline)';
  14. AllfilenameAK42(cellfun(@isempty,AllfilenameAK42))=[];
  15. Global=[];
  16. GlobalData=[];
  17. GlobalData.Cells=[];
  18. GlobalData.sizedata=[];
  19. counter=1;
  20. for f=1:size(AllfilenameAK42,1)
  21. filepathAK42=AllfilenameAK42{f};
  22. [dataAK42,~] = importaxographx(filepathAK42);
  23. data=dataAK42*10^12;%in pA
  24. filepathAK42=strrep(filepathAK42,'(','');
  25. filepathAK42=strrep(filepathAK42,')','');
  26. ii=strfind(filepathAK42,'\');
  27. date=filepathAK42(ii(end-3)+1:ii(end-2)-1);
  28. ZT=filepathAK42(ii(end-2)+1:ii(end-1)-1);
  29. cell=filepathAK42(ii(end-1)+1:ii(end)-1);
  30. nrun=filepathAK42(ii(end)+7:ii(end)+9);
  31. run=['AK42_run', nrun];
  32. Global.(date).(ZT).(cell).(run).Date=date;
  33. Global.(date).(ZT).(cell).(run).ZT=ZT;
  34. Global.(date).(ZT).(cell).(run).Cell=cell;
  35. Global.(date).(ZT).(cell).(run).Run=run;
  36. if size(data, 2)>=13 % in case recording interrupted, do not analyzed it
  37. Global.(date).(ZT).(cell).(run).rawdata=data;
  38. Global.(date).(ZT).(cell).(run).IVcurve_m100_before=nanmean(data(8000:10000,2)); %pA
  39. Global.(date).(ZT).(cell).(run).IVcurve_m90_before=nanmean(data(8000:10000,3)); %pA
  40. Global.(date).(ZT).(cell).(run).IVcurve_m80_before=nanmean(data(8000:10000,4)); %pA
  41. Global.(date).(ZT).(cell).(run).IVcurve_m70_before=nanmean(data(8000:10000,5)); %pA
  42. Global.(date).(ZT).(cell).(run).IVcurve_m60_before=nanmean(data(8000:10000,6)); %pA
  43. Global.(date).(ZT).(cell).(run).IVcurve_m50_before=nanmean(data(8000:10000,7)); %pA
  44. Global.(date).(ZT).(cell).(run).IVcurve_m40_before=nanmean(data(8000:10000,8)); %pA
  45. Global.(date).(ZT).(cell).(run).IVcurve_m30_before=nanmean(data(8000:10000,9)); %pA
  46. Global.(date).(ZT).(cell).(run).IVcurve_m20_before=nanmean(data(8000:10000,10)); %pA
  47. Global.(date).(ZT).(cell).(run).IVcurve_m10_before=nanmean(data(8000:10000,11)); %pA
  48. Global.(date).(ZT).(cell).(run).IVcurve_0_before=nanmean(data(8000:10000,12)); %pA
  49. Global.(date).(ZT).(cell).(run).IVcurve_10_before=nanmean(data(8000:10000,13)); %pA
  50. Global.(date).(ZT).(cell).(run).IVcurve_20_before=nanmean(data(8000:10000,14)); %pA
  51. Global.(date).(ZT).(cell).(run).IVcurve_m100_all=nanmean(data(10100:25000,2)); %pA
  52. Global.(date).(ZT).(cell).(run).IVcurve_m90_all=nanmean(data(10100:25000,3)); %pA
  53. Global.(date).(ZT).(cell).(run).IVcurve_m80_all=nanmean(data(10100:25000,4)); %pA
  54. Global.(date).(ZT).(cell).(run).IVcurve_m70_all=nanmean(data(10100:25000,5)); %pA
  55. Global.(date).(ZT).(cell).(run).IVcurve_m60_all=nanmean(data(10100:25000,6)); %pA
  56. Global.(date).(ZT).(cell).(run).IVcurve_m50_all=nanmean(data(10100:25000,7)); %pA
  57. Global.(date).(ZT).(cell).(run).IVcurve_m40_all=nanmean(data(10100:25000,8)); %pA
  58. Global.(date).(ZT).(cell).(run).IVcurve_m30_all=nanmean(data(10100:25000,9)); %pA
  59. Global.(date).(ZT).(cell).(run).IVcurve_m20_all=nanmean(data(10100:25000,10)); %pA
  60. Global.(date).(ZT).(cell).(run).IVcurve_m10_all=nanmean(data(10100:25000,11)); %pA
  61. Global.(date).(ZT).(cell).(run).IVcurve_0_all=nanmean(data(10100:25000,12)); %pA
  62. Global.(date).(ZT).(cell).(run).IVcurve_10_all=nanmean(data(10100:25000,13)); %pA
  63. Global.(date).(ZT).(cell).(run).IVcurve_20_all=nanmean(data(10100:25000,14)); %pA
  64. Global.(date).(ZT).(cell).(run).IVcurve_m100_early=nanmean(data(10100:14100,2)); %pA
  65. Global.(date).(ZT).(cell).(run).IVcurve_m90_early=nanmean(data(10100:14100,3)); %pA
  66. Global.(date).(ZT).(cell).(run).IVcurve_m80_early=nanmean(data(10100:14100,4)); %pA
  67. Global.(date).(ZT).(cell).(run).IVcurve_m70_early=nanmean(data(10100:14100,5)); %pA
  68. Global.(date).(ZT).(cell).(run).IVcurve_m60_early=nanmean(data(10100:14100,6)); %pA
  69. Global.(date).(ZT).(cell).(run).IVcurve_m50_early=nanmean(data(10100:14100,7)); %pA
  70. Global.(date).(ZT).(cell).(run).IVcurve_m40_early=nanmean(data(10100:14100,8)); %pA
  71. Global.(date).(ZT).(cell).(run).IVcurve_m30_early=nanmean(data(10100:14100,9)); %pA
  72. Global.(date).(ZT).(cell).(run).IVcurve_m20_early=nanmean(data(10100:14100,10)); %pA
  73. Global.(date).(ZT).(cell).(run).IVcurve_m10_early=nanmean(data(10100:14100,11)); %pA
  74. Global.(date).(ZT).(cell).(run).IVcurve_0_early=nanmean(data(10100:14100,12)); %pA
  75. Global.(date).(ZT).(cell).(run).IVcurve_10_early=nanmean(data(10100:14100,13)); %pA
  76. Global.(date).(ZT).(cell).(run).IVcurve_20_early=nanmean(data(10100:14100,14)); %pA
  77. Global.(date).(ZT).(cell).(run).IVcurve_m100_late=nanmean(data(23000:25000,2)); %pA
  78. Global.(date).(ZT).(cell).(run).IVcurve_m90_late=nanmean(data(23000:25000,3)); %pA
  79. Global.(date).(ZT).(cell).(run).IVcurve_m80_late=nanmean(data(23000:25000,4)); %pA
  80. Global.(date).(ZT).(cell).(run).IVcurve_m70_late=nanmean(data(23000:25000,5)); %pA
  81. Global.(date).(ZT).(cell).(run).IVcurve_m60_late=nanmean(data(23000:25000,6)); %pA
  82. Global.(date).(ZT).(cell).(run).IVcurve_m50_late=nanmean(data(23000:25000,7)); %pA
  83. Global.(date).(ZT).(cell).(run).IVcurve_m40_late=nanmean(data(23000:25000,8)); %pA
  84. Global.(date).(ZT).(cell).(run).IVcurve_m30_late=nanmean(data(23000:25000,9)); %pA
  85. Global.(date).(ZT).(cell).(run).IVcurve_m20_late=nanmean(data(23000:25000,10)); %pA
  86. Global.(date).(ZT).(cell).(run).IVcurve_m10_late=nanmean(data(23000:25000,11)); %pA
  87. Global.(date).(ZT).(cell).(run).IVcurve_0_late=nanmean(data(23000:25000,12)); %pA
  88. Global.(date).(ZT).(cell).(run).IVcurve_10_late=nanmean(data(23000:25000,13)); %pA
  89. Global.(date).(ZT).(cell).(run).IVcurve_20_late=nanmean(data(23000:25000,14)); %pA
  90. Global.(date).(ZT).(cell).(run).IVcurve_m100_after=nanmean(data(25010:27010,2)); %pA
  91. Global.(date).(ZT).(cell).(run).IVcurve_m90_after=nanmean(data(25010:27010,3)); %pA
  92. Global.(date).(ZT).(cell).(run).IVcurve_m80_after=nanmean(data(25010:27010,4)); %pA
  93. Global.(date).(ZT).(cell).(run).IVcurve_m70_after=nanmean(data(25010:27010,5)); %pA
  94. Global.(date).(ZT).(cell).(run).IVcurve_m60_after=nanmean(data(25010:27010,6)); %pA
  95. Global.(date).(ZT).(cell).(run).IVcurve_m50_after=nanmean(data(25010:27010,7)); %pA
  96. Global.(date).(ZT).(cell).(run).IVcurve_m40_after=nanmean(data(25010:27010,8)); %pA
  97. Global.(date).(ZT).(cell).(run).IVcurve_m30_after=nanmean(data(25010:27010,9)); %pA
  98. Global.(date).(ZT).(cell).(run).IVcurve_m20_after=nanmean(data(25010:27010,10)); %pA
  99. Global.(date).(ZT).(cell).(run).IVcurve_m10_after=nanmean(data(25010:27010,11)); %pA
  100. Global.(date).(ZT).(cell).(run).IVcurve_0_after=nanmean(data(25010:27010,12)); %pA
  101. Global.(date).(ZT).(cell).(run).IVcurve_10_after=nanmean(data(25010:27010,13)); %pA
  102. Global.(date).(ZT).(cell).(run).IVcurve_20_after=nanmean(data(25010:27010,14)); %pA
  103. Global.(date).(ZT).(cell).(run).IVcurve_m100_peakafter=max(data(25010:27010,2)); %pA
  104. Global.(date).(ZT).(cell).(run).IVcurve_m90_peakafter=max(data(25010:27010,3)); %pA
  105. Global.(date).(ZT).(cell).(run).IVcurve_m80_peakafter=max(data(25010:27010,4)); %pA
  106. Global.(date).(ZT).(cell).(run).IVcurve_m70_peakafter=max(data(25010:27010,5)); %pA
  107. Global.(date).(ZT).(cell).(run).IVcurve_m60_peakafter=max(data(25010:27010,6)); %pA
  108. Global.(date).(ZT).(cell).(run).IVcurve_m50_peakafter=max(data(25010:27010,7)); %pA
  109. Global.(date).(ZT).(cell).(run).IVcurve_m40_peakafter=max(data(25010:27010,8)); %pA
  110. Global.(date).(ZT).(cell).(run).IVcurve_m30_peakafter=max(data(25010:27010,9)); %pA
  111. Global.(date).(ZT).(cell).(run).IVcurve_m20_peakafter=max(data(25010:27010,10)); %pA
  112. Global.(date).(ZT).(cell).(run).IVcurve_m10_peakafter=max(data(25010:27010,11)); %pA
  113. Global.(date).(ZT).(cell).(run).IVcurve_0_peakafter=max(data(25010:27010,12)); %pA
  114. Global.(date).(ZT).(cell).(run).IVcurve_10_peakafter=max(data(25010:27010,13)); %pA
  115. Global.(date).(ZT).(cell).(run).IVcurve_20_peakafter=max(data(25010:27010,14)); %pA
  116. %first 10ms after capacitance transient
  117. Global.(date).(ZT).(cell).(run).IVcurve_m100_initial=nanmean(data(10050:10100,2)); %pA
  118. Global.(date).(ZT).(cell).(run).IVcurve_m90_initial=nanmean(data(10050:10100,3)); %pA
  119. Global.(date).(ZT).(cell).(run).IVcurve_m80_initial=nanmean(data(10050:10100,4)); %pA
  120. Global.(date).(ZT).(cell).(run).IVcurve_m70_initial=nanmean(data(10050:10100,5)); %pA
  121. Global.(date).(ZT).(cell).(run).IVcurve_m60_initial=nanmean(data(10050:10100,6)); %pA
  122. Global.(date).(ZT).(cell).(run).IVcurve_m50_initial=nanmean(data(10050:10100,7)); %pA
  123. Global.(date).(ZT).(cell).(run).IVcurve_m40_initial=nanmean(data(10050:10100,8)); %pA
  124. Global.(date).(ZT).(cell).(run).IVcurve_m30_initial=nanmean(data(10050:10100,9)); %pA
  125. Global.(date).(ZT).(cell).(run).IVcurve_m20_initial=nanmean(data(10050:10100,10)); %pA
  126. Global.(date).(ZT).(cell).(run).IVcurve_m10_initial=nanmean(data(10050:10100,11)); %pA
  127. Global.(date).(ZT).(cell).(run).IVcurve_0_initial=nanmean(data(10050:10100,12)); %pA
  128. Global.(date).(ZT).(cell).(run).IVcurve_10_initial=nanmean(data(10050:10100,13)); %pA
  129. Global.(date).(ZT).(cell).(run).IVcurve_20_initial=nanmean(data(10050:10100,14)); %pA
  130. %last 50ms
  131. Global.(date).(ZT).(cell).(run).IVcurve_m100_last=nanmean(data(24750:25000,2)); %pA
  132. Global.(date).(ZT).(cell).(run).IVcurve_m90_last=nanmean(data(24750:25000,3)); %pA
  133. Global.(date).(ZT).(cell).(run).IVcurve_m80_last=nanmean(data(24750:25000,4)); %pA
  134. Global.(date).(ZT).(cell).(run).IVcurve_m70_last=nanmean(data(24750:25000,5)); %pA
  135. Global.(date).(ZT).(cell).(run).IVcurve_m60_last=nanmean(data(24750:25000,6)); %pA
  136. Global.(date).(ZT).(cell).(run).IVcurve_m50_last=nanmean(data(24750:25000,7)); %pA
  137. Global.(date).(ZT).(cell).(run).IVcurve_m40_last=nanmean(data(24750:25000,8)); %pA
  138. Global.(date).(ZT).(cell).(run).IVcurve_m30_last=nanmean(data(24750:25000,9)); %pA
  139. Global.(date).(ZT).(cell).(run).IVcurve_m20_last=nanmean(data(24750:25000,10)); %pA
  140. Global.(date).(ZT).(cell).(run).IVcurve_m10_last=nanmean(data(24750:25000,11)); %pA
  141. Global.(date).(ZT).(cell).(run).IVcurve_0_last=nanmean(data(24750:25000,12)); %pA
  142. Global.(date).(ZT).(cell).(run).IVcurve_10_last=nanmean(data(24750:25000,13)); %pA
  143. Global.(date).(ZT).(cell).(run).IVcurve_20_last=nanmean(data(24750:25000,14)); %pA
  144. end
  145. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  146. [~,AllfilenameBaseline] = system('dir /s /b *40_Step_VC_Koster2020_hold4mV.axgd');
  147. AllfilenameBaseline = strsplit(AllfilenameBaseline,newline)';
  148. AllfilenameBaseline(cellfun(@isempty,AllfilenameBaseline))=[];
  149. if ~strcmp( AllfilenameBaseline, 'Fichier introuvable')
  150. for b=1:size(AllfilenameBaseline,1)
  151. filepathBaseline=AllfilenameBaseline{b};
  152. [dataBaseline,~] = importaxographx(filepathBaseline);
  153. dataBaseline=dataBaseline*10^12;%in pA
  154. filepathBaseline=strrep(filepathBaseline,'(','');
  155. filepathBaseline=strrep(filepathBaseline,')','');
  156. ib=strfind(filepathBaseline,'\');
  157. date=filepathBaseline(ib(end-3)+1:ib(end-2)-1);
  158. ZT=filepathBaseline(ib(end-2)+1:ib(end-1)-1);
  159. cell=filepathBaseline(ib(end-1)+1:ib(end)-1);
  160. id=filepathBaseline(ib(end)+7:ib(end)+9);
  161. run=['Baseline_run', id];
  162. Global.(date).(ZT).(cell).(run).Date=date;
  163. Global.(date).(ZT).(cell).(run).ZT=ZT;
  164. Global.(date).(ZT).(cell).(run).Cell=cell;
  165. Global.(date).(ZT).(cell).(run).Run=run;
  166. if size(dataBaseline, 2)>=13 % in case recording interrupted, do not analyzed it
  167. Global.(date).(ZT).(cell).(run).rawdata=dataBaseline;
  168. Global.(date).(ZT).(cell).(run).IVcurve_m100_before=nanmean(dataBaseline(8000:10000,2)); %pA
  169. Global.(date).(ZT).(cell).(run).IVcurve_m90_before=nanmean(dataBaseline(8000:10000,3)); %pA
  170. Global.(date).(ZT).(cell).(run).IVcurve_m80_before=nanmean(dataBaseline(8000:10000,4)); %pA
  171. Global.(date).(ZT).(cell).(run).IVcurve_m70_before=nanmean(dataBaseline(8000:10000,5)); %pA
  172. Global.(date).(ZT).(cell).(run).IVcurve_m60_before=nanmean(dataBaseline(8000:10000,6)); %pA
  173. Global.(date).(ZT).(cell).(run).IVcurve_m50_before=nanmean(dataBaseline(8000:10000,7)); %pA
  174. Global.(date).(ZT).(cell).(run).IVcurve_m40_before=nanmean(dataBaseline(8000:10000,8)); %pA
  175. Global.(date).(ZT).(cell).(run).IVcurve_m30_before=nanmean(dataBaseline(8000:10000,9)); %pA
  176. Global.(date).(ZT).(cell).(run).IVcurve_m20_before=nanmean(dataBaseline(8000:10000,10)); %pA
  177. Global.(date).(ZT).(cell).(run).IVcurve_m10_before=nanmean(dataBaseline(8000:10000,11)); %pA
  178. Global.(date).(ZT).(cell).(run).IVcurve_0_before=nanmean(dataBaseline(8000:10000,12)); %pA
  179. Global.(date).(ZT).(cell).(run).IVcurve_10_before=nanmean(dataBaseline(8000:10000,13)); %pA
  180. Global.(date).(ZT).(cell).(run).IVcurve_20_before=nanmean(dataBaseline(8000:10000,14)); %pA
  181. Global.(date).(ZT).(cell).(run).IVcurve_m100_all=nanmean(dataBaseline(10100:25000,2)); %pA
  182. Global.(date).(ZT).(cell).(run).IVcurve_m90_all=nanmean(dataBaseline(10100:25000,3)); %pA
  183. Global.(date).(ZT).(cell).(run).IVcurve_m80_all=nanmean(dataBaseline(10100:25000,4)); %pA
  184. Global.(date).(ZT).(cell).(run).IVcurve_m70_all=nanmean(dataBaseline(10100:25000,5)); %pA
  185. Global.(date).(ZT).(cell).(run).IVcurve_m60_all=nanmean(dataBaseline(10100:25000,6)); %pA
  186. Global.(date).(ZT).(cell).(run).IVcurve_m50_all=nanmean(dataBaseline(10100:25000,7)); %pA
  187. Global.(date).(ZT).(cell).(run).IVcurve_m40_all=nanmean(dataBaseline(10100:25000,8)); %pA
  188. Global.(date).(ZT).(cell).(run).IVcurve_m30_all=nanmean(dataBaseline(10100:25000,9)); %pA
  189. Global.(date).(ZT).(cell).(run).IVcurve_m20_all=nanmean(dataBaseline(10100:25000,10)); %pA
  190. Global.(date).(ZT).(cell).(run).IVcurve_m10_all=nanmean(dataBaseline(10100:25000,11)); %pA
  191. Global.(date).(ZT).(cell).(run).IVcurve_0_all=nanmean(dataBaseline(10100:25000,12)); %pA
  192. Global.(date).(ZT).(cell).(run).IVcurve_10_all=nanmean(dataBaseline(10100:25000,13)); %pA
  193. Global.(date).(ZT).(cell).(run).IVcurve_20_all=nanmean(dataBaseline(10100:25000,14)); %pA
  194. Global.(date).(ZT).(cell).(run).IVcurve_m100_early=nanmean(dataBaseline(10100:14100,2)); %pA
  195. Global.(date).(ZT).(cell).(run).IVcurve_m90_early=nanmean(dataBaseline(10100:14100,3)); %pA
  196. Global.(date).(ZT).(cell).(run).IVcurve_m80_early=nanmean(dataBaseline(10100:14100,4)); %pA
  197. Global.(date).(ZT).(cell).(run).IVcurve_m70_early=nanmean(dataBaseline(10100:14100,5)); %pA
  198. Global.(date).(ZT).(cell).(run).IVcurve_m60_early=nanmean(dataBaseline(10100:14100,6)); %pA
  199. Global.(date).(ZT).(cell).(run).IVcurve_m50_early=nanmean(dataBaseline(10100:14100,7)); %pA
  200. Global.(date).(ZT).(cell).(run).IVcurve_m40_early=nanmean(dataBaseline(10100:14100,8)); %pA
  201. Global.(date).(ZT).(cell).(run).IVcurve_m30_early=nanmean(dataBaseline(10100:14100,9)); %pA
  202. Global.(date).(ZT).(cell).(run).IVcurve_m20_early=nanmean(dataBaseline(10100:14100,10)); %pA
  203. Global.(date).(ZT).(cell).(run).IVcurve_m10_early=nanmean(dataBaseline(10100:14100,11)); %pA
  204. Global.(date).(ZT).(cell).(run).IVcurve_0_early=nanmean(dataBaseline(10100:14100,12)); %pA
  205. Global.(date).(ZT).(cell).(run).IVcurve_10_early=nanmean(dataBaseline(10100:14100,13)); %pA
  206. Global.(date).(ZT).(cell).(run).IVcurve_20_early=nanmean(dataBaseline(10100:14100,14)); %pA
  207. Global.(date).(ZT).(cell).(run).IVcurve_m100_late=nanmean(dataBaseline(23000:25000,2)); %pA
  208. Global.(date).(ZT).(cell).(run).IVcurve_m90_late=nanmean(dataBaseline(23000:25000,3)); %pA
  209. Global.(date).(ZT).(cell).(run).IVcurve_m80_late=nanmean(dataBaseline(23000:25000,4)); %pA
  210. Global.(date).(ZT).(cell).(run).IVcurve_m70_late=nanmean(dataBaseline(23000:25000,5)); %pA
  211. Global.(date).(ZT).(cell).(run).IVcurve_m60_late=nanmean(dataBaseline(23000:25000,6)); %pA
  212. Global.(date).(ZT).(cell).(run).IVcurve_m50_late=nanmean(dataBaseline(23000:25000,7)); %pA
  213. Global.(date).(ZT).(cell).(run).IVcurve_m40_late=nanmean(dataBaseline(23000:25000,8)); %pA
  214. Global.(date).(ZT).(cell).(run).IVcurve_m30_late=nanmean(dataBaseline(23000:25000,9)); %pA
  215. Global.(date).(ZT).(cell).(run).IVcurve_m20_late=nanmean(dataBaseline(23000:25000,10)); %pA
  216. Global.(date).(ZT).(cell).(run).IVcurve_m10_late=nanmean(dataBaseline(23000:25000,11)); %pA
  217. Global.(date).(ZT).(cell).(run).IVcurve_0_late=nanmean(dataBaseline(23000:25000,12)); %pA
  218. Global.(date).(ZT).(cell).(run).IVcurve_10_late=nanmean(dataBaseline(23000:25000,13)); %pA
  219. Global.(date).(ZT).(cell).(run).IVcurve_20_late=nanmean(dataBaseline(23000:25000,14)); %pA
  220. Global.(date).(ZT).(cell).(run).IVcurve_m100_after=nanmean(dataBaseline(25010:27010,2)); %pA
  221. Global.(date).(ZT).(cell).(run).IVcurve_m90_after=nanmean(dataBaseline(25010:27010,3)); %pA
  222. Global.(date).(ZT).(cell).(run).IVcurve_m80_after=nanmean(dataBaseline(25010:27010,4)); %pA
  223. Global.(date).(ZT).(cell).(run).IVcurve_m70_after=nanmean(dataBaseline(25010:27010,5)); %pA
  224. Global.(date).(ZT).(cell).(run).IVcurve_m60_after=nanmean(dataBaseline(25010:27010,6)); %pA
  225. Global.(date).(ZT).(cell).(run).IVcurve_m50_after=nanmean(dataBaseline(25010:27010,7)); %pA
  226. Global.(date).(ZT).(cell).(run).IVcurve_m40_after=nanmean(dataBaseline(25010:27010,8)); %pA
  227. Global.(date).(ZT).(cell).(run).IVcurve_m30_after=nanmean(dataBaseline(25010:27010,9)); %pA
  228. Global.(date).(ZT).(cell).(run).IVcurve_m20_after=nanmean(dataBaseline(25010:27010,10)); %pA
  229. Global.(date).(ZT).(cell).(run).IVcurve_m10_after=nanmean(dataBaseline(25010:27010,11)); %pA
  230. Global.(date).(ZT).(cell).(run).IVcurve_0_after=nanmean(dataBaseline(25010:27010,12)); %pA
  231. Global.(date).(ZT).(cell).(run).IVcurve_10_after=nanmean(dataBaseline(25010:27010,13)); %pA
  232. Global.(date).(ZT).(cell).(run).IVcurve_20_after=nanmean(dataBaseline(25010:27010,14)); %pA
  233. Global.(date).(ZT).(cell).(run).IVcurve_m100_peakafter=max(dataBaseline(25010:27010,2)); %pA
  234. Global.(date).(ZT).(cell).(run).IVcurve_m90_peakafter=max(dataBaseline(25010:27010,3)); %pA
  235. Global.(date).(ZT).(cell).(run).IVcurve_m80_peakafter=max(dataBaseline(25010:27010,4)); %pA
  236. Global.(date).(ZT).(cell).(run).IVcurve_m70_peakafter=max(dataBaseline(25010:27010,5)); %pA
  237. Global.(date).(ZT).(cell).(run).IVcurve_m60_peakafter=max(dataBaseline(25010:27010,6)); %pA
  238. Global.(date).(ZT).(cell).(run).IVcurve_m50_peakafter=max(dataBaseline(25010:27010,7)); %pA
  239. Global.(date).(ZT).(cell).(run).IVcurve_m40_peakafter=max(dataBaseline(25010:27010,8)); %pA
  240. Global.(date).(ZT).(cell).(run).IVcurve_m30_peakafter=max(dataBaseline(25010:27010,9)); %pA
  241. Global.(date).(ZT).(cell).(run).IVcurve_m20_peakafter=max(dataBaseline(25010:27010,10)); %pA
  242. Global.(date).(ZT).(cell).(run).IVcurve_m10_peakafter=max(dataBaseline(25010:27010,11)); %pA
  243. Global.(date).(ZT).(cell).(run).IVcurve_0_peakafter=max(dataBaseline(25010:27010,12)); %pA
  244. Global.(date).(ZT).(cell).(run).IVcurve_10_peakafter=max(dataBaseline(25010:27010,13)); %pA
  245. Global.(date).(ZT).(cell).(run).IVcurve_20_peakafter=max(dataBaseline(25010:27010,14)); %pA
  246. %first 10ms after capacitance transient
  247. Global.(date).(ZT).(cell).(run).IVcurve_m100_initial=nanmean(dataBaseline(10050:10100,2)); %pA
  248. Global.(date).(ZT).(cell).(run).IVcurve_m90_initial=nanmean(dataBaseline(10050:10100,3)); %pA
  249. Global.(date).(ZT).(cell).(run).IVcurve_m80_initial=nanmean(dataBaseline(10050:10100,4)); %pA
  250. Global.(date).(ZT).(cell).(run).IVcurve_m70_initial=nanmean(dataBaseline(10050:10100,5)); %pA
  251. Global.(date).(ZT).(cell).(run).IVcurve_m60_initial=nanmean(dataBaseline(10050:10100,6)); %pA
  252. Global.(date).(ZT).(cell).(run).IVcurve_m50_initial=nanmean(dataBaseline(10050:10100,7)); %pA
  253. Global.(date).(ZT).(cell).(run).IVcurve_m40_initial=nanmean(dataBaseline(10050:10100,8)); %pA
  254. Global.(date).(ZT).(cell).(run).IVcurve_m30_initial=nanmean(dataBaseline(10050:10100,9)); %pA
  255. Global.(date).(ZT).(cell).(run).IVcurve_m20_initial=nanmean(dataBaseline(10050:10100,10)); %pA
  256. Global.(date).(ZT).(cell).(run).IVcurve_m10_initial=nanmean(dataBaseline(10050:10100,11)); %pA
  257. Global.(date).(ZT).(cell).(run).IVcurve_0_initial=nanmean(dataBaseline(10050:10100,12)); %pA
  258. Global.(date).(ZT).(cell).(run).IVcurve_10_initial=nanmean(dataBaseline(10050:10100,13)); %pA
  259. Global.(date).(ZT).(cell).(run).IVcurve_20_initial=nanmean(dataBaseline(10050:10100,14)); %pA
  260. %last 50ms
  261. Global.(date).(ZT).(cell).(run).IVcurve_m100_last=nanmean(dataBaseline(24750:25000,2)); %pA
  262. Global.(date).(ZT).(cell).(run).IVcurve_m90_last=nanmean(dataBaseline(24750:25000,3)); %pA
  263. Global.(date).(ZT).(cell).(run).IVcurve_m80_last=nanmean(dataBaseline(24750:25000,4)); %pA
  264. Global.(date).(ZT).(cell).(run).IVcurve_m70_last=nanmean(dataBaseline(24750:25000,5)); %pA
  265. Global.(date).(ZT).(cell).(run).IVcurve_m60_last=nanmean(dataBaseline(24750:25000,6)); %pA
  266. Global.(date).(ZT).(cell).(run).IVcurve_m50_last=nanmean(dataBaseline(24750:25000,7)); %pA
  267. Global.(date).(ZT).(cell).(run).IVcurve_m40_last=nanmean(dataBaseline(24750:25000,8)); %pA
  268. Global.(date).(ZT).(cell).(run).IVcurve_m30_last=nanmean(dataBaseline(24750:25000,9)); %pA
  269. Global.(date).(ZT).(cell).(run).IVcurve_m20_last=nanmean(dataBaseline(24750:25000,10)); %pA
  270. Global.(date).(ZT).(cell).(run).IVcurve_m10_last=nanmean(dataBaseline(24750:25000,11)); %pA
  271. Global.(date).(ZT).(cell).(run).IVcurve_0_last=nanmean(dataBaseline(24750:25000,12)); %pA
  272. Global.(date).(ZT).(cell).(run).IVcurve_10_last=nanmean(dataBaseline(24750:25000,13)); %pA
  273. Global.(date).(ZT).(cell).(run).IVcurve_20_last=nanmean(dataBaseline(24750:25000,14)); %pA
  274. end
  275. end
  276. end
  277. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  278. id=strfind(filepathAK42, '\');
  279. folderpath=filepathAK42(1:id(end));
  280. cd(folderpath)
  281. [~,AllfilenameTestPulse] = system('dir /s /b *.axgx'); % special extension for test pusle data
  282. AllfilenameTestPulse = strsplit(AllfilenameTestPulse,newline)';
  283. AllfilenameTestPulse(cellfun(@isempty,AllfilenameTestPulse))=[];
  284. for f=1:size(AllfilenameTestPulse,1)
  285. filepathTEST=AllfilenameTestPulse{f};
  286. SR=[];
  287. MC=[];
  288. MR=[];
  289. % try %avoid issues with corrupted files
  290. [textData] = ReadAxographfiles(filepathTEST);
  291. filepathTEST=strrep(filepathTEST,'(','');
  292. filepathTEST=strrep(filepathTEST,')','');
  293. it=strfind(filepathTEST,'\');
  294. date=filepathTEST(it(end-3)+1:it(end-2)-1);
  295. ZT=filepathTEST(it(end-2)+1:it(end-1)-1);
  296. cell=filepathTEST(it(end-1)+1:it(end)-1);
  297. id=regexprep(filepathTEST(it(end)+1:end-5), ' ', '');
  298. id=lower(id);
  299. runid=NaN;
  300. if strfind(id, 'after')
  301. pos=2;
  302. else
  303. pos=1;
  304. end
  305. if strfind(id,'run')
  306. ir=strfind(id,'run');
  307. runid=str2double(id(ir+3));
  308. elseif size(regexprep(id, 'bis', ''), 2)==16
  309. runid=1;
  310. elseif size(regexprep(id, 'ak42', ''), 2)==16
  311. runid=1;
  312. elseif strcmp(id, 'testpulsewindow')
  313. runid=0;
  314. else
  315. disp(id)
  316. filepath
  317. continue
  318. end
  319. if strfind(id,'ak42')
  320. pr='AK42';
  321. else
  322. pr='Baseline';
  323. end
  324. run=[pr '_run00' num2str(runid)];
  325. i=strfind(textData,char(SeriesResistance));
  326. cellidx=find(~cellfun(@isempty,i'));
  327. if ~isempty(cellidx) && isfield( Global.(date).(ZT).(cell), run)
  328. i=i{~cellfun('isempty',i)};
  329. SR=double(textData{cellidx,1}(i+59:i+66));
  330. SR(SR==0) = [];
  331. SR(SR==32) = [];
  332. SR=char(SR);
  333. SR=str2double(regexp(SR,['\d+\.?\d*'],'match'));
  334. i=strfind(textData,char(MembraneCapacitance));
  335. cellidx=find(~cellfun(@isempty,i'));
  336. i=i{~cellfun('isempty',i)};
  337. MC=double(textData{cellidx,1}(i+51:i+59));
  338. MC(MC==0) = [];
  339. MC(MC==32) = [];
  340. MC=char(MC);
  341. MC=str2double(regexp(MC,['\d+\.?\d*'],'match'));
  342. i=strfind(textData,char(MembraneResistance));
  343. cellidx=find(~cellfun(@isempty,i'));
  344. i=i{~cellfun('isempty',i)};
  345. MR=double(textData{cellidx,1}(i+57:i+67));
  346. MR(MR==0) = [];
  347. MR(MR==32) = [];
  348. MR=char(MR);
  349. MR=str2double(regexp(MR,['\d+\.?\d*'],'match'));
  350. if MR(1)<10 %ig GOhms instead of MOhms
  351. MR=MR(1)*1000;
  352. end
  353. SerieR=['SeriesResistance_' num2str(pos)];
  354. MembR=['MembraneResistance_' num2str(pos)];
  355. MembCap=['MembraneCapacitance_' num2str(pos)];
  356. PulseTime=['TestPulseTime_' num2str(pos)];
  357. TimeFromExtraction=['TimeFromExtraction_' num2str(pos)];
  358. Global.(date).(ZT).(cell).(run).(SerieR)=SR;
  359. Global.(date).(ZT).(cell).(run).(MembCap)=MC;
  360. Global.(date).(ZT).(cell).(run).(MembR)=MR;
  361. i=strfind(textData,'2024');
  362. cellidx=find(~cellfun(@isempty,i'));
  363. i=i{~cellfun('isempty',i)};
  364. hour=double(textData{cellidx,1}(i-41:i-27));
  365. hour(hour==0) = [];
  366. hour(hour==32) = [];
  367. hour=char(hour);
  368. Global.(date).(ZT).(cell).(run).(PulseTime)=hour;
  369. if strcmp(ZT, 'ZT2')
  370. Global.(date).(ZT).(cell).(run).(TimeFromExtraction)=datetime(datenum(hour, 'HH:MM:SS') -datenum({'09:00:00'}, 'HH:MM:SS'), 'ConvertFrom', 'datenum', 'Format', 'HH:mm:ss');
  371. Global.(date).(ZT).(cell).(run).(TimeFromExtraction)=rem(datenum((datetime(datenum(hour, 'HH:MM:SS') -datenum({'09:00:00'}, 'HH:MM:SS'), 'ConvertFrom', 'datenum', 'Format', 'HH:mm:ss'))),1);
  372. else
  373. Global.(date).(ZT).(cell).(run).(TimeFromExtraction)=datetime(datenum(hour, 'HH:MM:SS') -datenum({'21:00:00'}, 'HH:MM:SS'), 'ConvertFrom', 'datenum', 'Format', 'HH:mm:ss');
  374. Global.(date).(ZT).(cell).(run).(TimeFromExtraction)=rem(datenum((datetime(datenum(hour, 'HH:MM:SS') -datenum({'21:00:00'}, 'HH:MM:SS'), 'ConvertFrom', 'datenum', 'Format', 'HH:mm:ss'))),1);
  375. if Global.(date).(ZT).(cell).(run).(TimeFromExtraction)<0
  376. Global.(date).(ZT).(cell).(run).(TimeFromExtraction)=rem(datenum((datetime(datenum(hour, 'HH:MM:SS') -datenum({'21:00:00'}, 'HH:MM:SS'), 'ConvertFrom', 'datenum', 'Format', 'HH:mm:ss'))),1)+1;
  377. end
  378. end
  379. end
  380. end
  381. cd(filepathAK42(1:ii(end)))
  382. end
  383. assignin('base', 'Global', Global)
  384. %% Create the summary table
  385. close all
  386. Global= evalin('base','Global');
  387. Test.SeriesResistance=[];
  388. Test.MembraneCapacitance=[];
  389. Test.MembraneResistance=[];
  390. Test.RMP=[];
  391. Test.Rheobase=[];
  392. % figure;
  393. p=1;
  394. Global_APmorpho=[];
  395. GlobalTable=[];
  396. GlobalTable_Extended=[];
  397. day=fieldnames(Global);
  398. mouseID=1;
  399. for d=1:size(day, 1)
  400. date=day{d};
  401. time=fieldnames(Global.(date));
  402. for z=1:size(time, 1)
  403. ZT=time{z};
  404. cells=fieldnames(Global.(date).(ZT));
  405. for c=1:size(cells, 1)
  406. cell=cells{c};
  407. runs=fieldnames(Global.(date).(ZT).(cell));
  408. EC=[];
  409. for r=1:size(runs, 1)
  410. run=runs{r};
  411. Global.(date).(ZT).(cell).(run).MouseID=mouseID;
  412. if isfield(Global.(date).(ZT).(cell).(run), 'SeriesResistance_1') && isfield( Global.(date).(ZT).(cell).(run), 'SeriesResistance_2')
  413. SR1=Global.(date).(ZT).(cell).(run).SeriesResistance_1;
  414. MR1=Global.(date).(ZT).(cell).(run).MembraneResistance_1;
  415. MC1=Global.(date).(ZT).(cell).(run).MembraneCapacitance_1;
  416. SR2=Global.(date).(ZT).(cell).(run).SeriesResistance_2;
  417. MR2=Global.(date).(ZT).(cell).(run).MembraneResistance_2;
  418. MC2=Global.(date).(ZT).(cell).(run).MembraneCapacitance_2;
  419. varSR=abs((SR2-SR1)/SR1*100); %compared to the first value
  420. varMC=abs((MC2-MC1)/MC1*100);
  421. varMR=abs((MR2-MR1)/MR1*100);
  422. varSR=floor(abs((SR2-SR1)/SR2*100)); %compared to the second value
  423. varMC=floor(abs((MC2-MC1)/MC2*100));
  424. varMR=floor(abs((MR2-MR1)/MR2*100));
  425. if isfield(Global.(date).(ZT).(cell), 'run0')
  426. MR0=Global.(date).(ZT).(cell).run0.MembraneResistance_1;% Requires no variation of MR since the break in
  427. varMR0=abs((MR2-MR0)/MR0*100);
  428. MC0=Global.(date).(ZT).(cell).run0.MembraneCapacitance_1;
  429. if MC1<8 %failure detection pF by Axograph
  430. MC1=Global.(date).(ZT).(cell).run0.MembraneCapacitance_1; %when break in
  431. end
  432. else
  433. varMR0=NaN;
  434. MC0=NaN;
  435. end
  436. Global.(date).(ZT).(cell).(run).MembraneCapacitance_0=MC0;
  437. Global.(date).(ZT).(cell).(run).varSR=varSR;
  438. Global.(date).(ZT).(cell).(run).varMC=varMC;
  439. Global.(date).(ZT).(cell).(run).varMR=varMR;
  440. Global.(date).(ZT).(cell).(run).varMR0=varMR0;
  441. Global.(date).(ZT).(cell).(run).ExclusionCriteria=0;
  442. if SR1>40 %|| SR2>40 %inf to 35mOhms or 40
  443. Global.(date).(ZT).(cell).(run).ExclusionCriteria=1;
  444. end
  445. %MR1 <= 200 || MR2 <= 200 || MC1 >= 45 || MC2 >= 45
  446. if MR1+SR1 <= 200 %|| MR2+SR2 <= 200 % MC1 <= 8 || MC1 >= 40 || MC2 <= 8 || MC2 >= 40 %inf to 40pF sup at 10pF
  447. Global.(date).(ZT).(cell).(run).ExclusionCriteria=1;
  448. end
  449. % % added 19th October 2023
  450. % if MR1 >= 1500 %|| MR2+SR2 <= 200 % MC1 <= 8 || MC1 >= 40 || MC2 <= 8 || MC2 >= 40 %inf to 40pF sup at 10pF
  451. % Global.(date).(ZT).(cell).(run).ExclusionCriteria=1;
  452. % end
  453. if MC1 >= 40 %|| MC2 >= 40 % MC1 <= 8 || MC1 >= 40 || MC2 <= 8 || MC2 >= 40 %inf to 40pF sup at 10pF
  454. Global.(date).(ZT).(cell).(run).ExclusionCriteria=1;
  455. end
  456. % if SR1>10 %no computation of varSR if SR<10
  457. if varSR>40 %more than 30% variation
  458. Global.(date).(ZT).(cell).(run).ExclusionCriteria=1;
  459. end
  460. % end
  461. if isfield(Global.(date).(ZT).(cell).(run), 'IVcurve_m90_before')
  462. varBaseline=abs(Global.(date).(ZT).(cell).(run).IVcurve_m90_before-Global.(date).(ZT).(cell).(run).IVcurve_m100_before);
  463. Global.(date).(ZT).(cell).(run).varBaseline=varBaseline;
  464. if varBaseline>100 %100pA variation before stim--> big weird tail current
  465. Global.(date).(ZT).(cell).(run).ExclusionCriteria=1;
  466. end
  467. if varMR0>100
  468. Global.(date).(ZT).(cell).(run).ExclusionCriteria=1;
  469. end
  470. if Global.(date).(ZT).(cell).(run).IVcurve_0_all<-50 % too much current at 0mV holding
  471. Global.(date).(ZT).(cell).(run).ExclusionCriteria=1;
  472. end
  473. end
  474. EC(end+1,1)=[Global.(date).(ZT).(cell).(run).ExclusionCriteria + varSR/100 + varMR/100];
  475. Global.(date).(ZT).(cell).(run).ExclusionCriteriaAll=[Global.(date).(ZT).(cell).(run).ExclusionCriteria + varSR/100 + varMR/100];
  476. else
  477. EC(end+1,1)=1;
  478. Global.(date).(ZT).(cell).(run).ExclusionCriteriaAll=1; %no seal detected
  479. continue
  480. end
  481. %%% Select best run
  482. [~,i]=min(EC);
  483. if Global.(date).(ZT).(cell).(runs{i}).ExclusionCriteriaAll<1
  484. if isempty(GlobalTable) && isfield(Global.(date).(ZT).(cell).(run),'rawdata')
  485. A=Global.(date).(ZT).(cell).(run);
  486. A = rmfield(A,'rawdata');
  487. tnew=struct2table(A,'AsArray',true);
  488. GlobalTable=tnew;
  489. elseif isfield(Global.(date).(ZT).(cell).(run),'rawdata')
  490. A=Global.(date).(ZT).(cell).(run);
  491. A = rmfield(A,'rawdata');
  492. tnew=struct2table(A,'AsArray',true);
  493. GlobalTable=outerjoin(GlobalTable,tnew,'MergeKeys',true);
  494. else
  495. A=Global.(date).(ZT).(cell).(run);
  496. tnew=struct2table(A,'AsArray',true);
  497. GlobalTable=outerjoin(GlobalTable,tnew,'MergeKeys',true);
  498. end
  499. end
  500. end
  501. end
  502. mouseID=mouseID+1;
  503. end
  504. end
  505. assignin('base', 'Global', Global)
  506. assignin('base', 'GlobalTable', GlobalTable)
  507. GlobalTable = sortrows(GlobalTable,'Run','descend');
  508. GlobalTable = sortrows(GlobalTable,'Cell','descend');
  509. GlobalTable = sortrows(GlobalTable,'ZT','descend');
  510. GlobalTable = sortrows(GlobalTable,'Date','descend');
  511. save([globalpath '\GlobalTable_' regexprep(datestr(datetime), '[^a-zA-Z0-9]','')], 'GlobalTable', '-v7.3')
  512. save([globalpath '\Global_' regexprep(datestr(datetime), '[^a-zA-Z0-9]','')], 'Global', '-v7.3')

VoltageClamp_AK42.m at commit 203c9fd, no license · at the source

Overview

  1. Department of Biomedical & Molecular Sciences, Queen’s University,Kingston, Canada
  2. Department of Anesthesiology & Perioperative Medicine, Kingston Health Sciences Centre,Kingston, Canada
  3. Neurosciences and Mental Health, The Hospital for Sick Children,Toronto, Canada
  4. Institute of Biomedical Engineering, University of Toronto,Toronto, Canada
  5. Department of Chemistry, Stanford University,Stanford, USA
  6. School of Computing, Queen’s University,Kingston, Canada
  7. Department of Physiology, University of Toronto,Toronto, Canada
  8. Department of Physiology and Pharmacology, University of Calgary,Calgary, Canada
  9. Hotchkiss Brain Institute, University of Calgary,Calgary, Canada
  10. Krembil Brain Institute, University Health Network,Toronto, Canada
  11. Department of Immunology, University of Toronto,Toronto, Canada
Journal: Nature communications, volume 17, issue 1, article 7053
Dates: received 9 April 2025; accepted 20 May 2026; published online 1 June 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41467-026-73772-z · PMID 42230621 · PMCID PMC13392263 · OpenAlex W7163184892
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: intracellular / patch clamp (modality), mouse (organism), pain (population), cellular / molecular (subfield)
Methods: Statistics, Smoothing, state filtering, decompositions, Spectral & time-frequency
Keywords: Ion channels in the nervous system, Intrinsic excitability, Patch clamp, Circadian mechanisms
MeSH: ARNTL Transcription Factors*, Circadian Clocks*, Nociception*, Nociceptors*, Pain Perception*, Animals, Chloride Channels, Circadian Rhythm, Female, Ganglia, Spinal, Male, Mice, Mice, Inbred C57BL, NAV1.8 Voltage-Gated Sodium Channel, Optogenetics, Sex Factors (* major topic)
Topic: Circadian rhythm and melatonin (Endocrine and Autonomic Systems, Neuroscience), according to OpenAlex
Citations: cited by 2 papers (Europe PMC); 93 references in the paper

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repositories

Its files are read in the Code ↔ Paper reader above, with 7 matches between paragraphs and lines of code.

ComputationalGenomicsLaboratory/naiveDRG

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 30d365db39e2d4f70ef32894eda4406020804c58, 11 May 2026
Languages: Shell (99), R (48), Python (1)
Size: 151 files, 148 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, 1 notebook
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: tidyverse (34 files), FastQC (25 files), SAMtools (13 files), ggplot2 (11 files), DESeq2 (5 files), data.table (2 files), reshape2 (2 files), Seurat (2 files), patchwork (1 file), pheatmap (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
149 files

AurelieBre/DRGPatchClampProcessing

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 203c9fdada93fca63cd154f6c02ffc0234d42a55, 21 April 2025
Languages: MATLAB (4)
Size: 12 files, 4 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
5 files

Zenodo 20072530

License: CC-BY-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: tidyverse (34 files), FastQC (25 files), SAMtools (13 files), ggplot2 (11 files), DESeq2 (5 files), data.table (2 files), reshape2 (2 files), Seurat (2 files), patchwork (1 file), pheatmap (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
149 files
At the source:

Zenodo 19856603

License: CC-BY-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
5 files
At the source:

Code availability statement

The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s41467-026-73772-z.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 4 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 304 scripts, each with its path and the digest of its content;
  • 7 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

Datasets cited

Data availability statement

The paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s41467-026-73772-z.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 15 authors, 4 keywords, 16 MeSH terms, 4 funders, 89 references.

Cite

This paper

Brécier, A., Bannerman, C. A., Xie, Y.-F., Dedek, C., Zacharias, A. M., O’Connor, C. D., Rickert Llàcer, A., Miller, S. D., Li, V. W., Meier, C., Ballantyne, L. L., Du Bois, J., Duan, Q., Prescott, S. A., & Ghasemlou, N. (2026). Nociceptor circadian clock genes control excitability and pain perception in mice in a sex- and time-dependent manner. Nature communications, 17(1), 7053. https://doi.org/10.1038/s41467-026-73772-z

BibTeX

@article{brecier2026nociceptor,
author = {Brécier, Aurélie and Bannerman, Courtney A. and Xie, Yu-Feng and Dedek, Christopher and Zacharias, Amanda M. and O’Connor, Ciara D. and Rickert Llàcer, Aitana and Miller, Steven D. and Li, Vina W. and Meier, Christina and Ballantyne, Laurel L. and Du Bois, Justin and Duan, Qingling and Prescott, Steven A. and Ghasemlou, Nader},
title = {{Nociceptor circadian clock genes control excitability and pain perception in mice in a sex- and time-dependent manner}},
journal = {Nature communications},
year = {2026},
month = jun,
volume = {17},
number = {1},
pages = {7053},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/s41467-026-73772-z},
url = {https://doi.org/10.1038/s41467-026-73772-z},
pmid = {42230621},
pmcid = {PMC13392263}
}

RIS

TY - JOUR
AU - Brécier, Aurélie
AU - Bannerman, Courtney A.
AU - Xie, Yu-Feng
AU - Dedek, Christopher
AU - Zacharias, Amanda M.
AU - O’Connor, Ciara D.
AU - Rickert Llàcer, Aitana
AU - Miller, Steven D.
AU - Li, Vina W.
AU - Meier, Christina
AU - Ballantyne, Laurel L.
AU - Du Bois, Justin
AU - Duan, Qingling
AU - Prescott, Steven A.
AU - Ghasemlou, Nader
TI - Nociceptor circadian clock genes control excitability and pain perception in mice in a sex- and time-dependent manner
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/06/01
VL - 17
IS - 1
SP - 7053
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/s41467-026-73772-z
UR - https://doi.org/10.1038/s41467-026-73772-z
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41467-026-73772-z",
"type": "article-journal",
"title": "Nociceptor circadian clock genes control excitability and pain perception in mice in a sex- and time-dependent manner",
"container-title": "Nature communications",
"author": [
{
"family": "Brécier",
"given": "Aurélie"
},
{
"family": "Bannerman",
"given": "Courtney A."
},
{
"family": "Xie",
"given": "Yu-Feng"
},
{
"family": "Dedek",
"given": "Christopher"
},
{
"family": "Zacharias",
"given": "Amanda M."
},
{
"family": "O’Connor",
"given": "Ciara D."
},
{
"family": "Rickert Llàcer",
"given": "Aitana"
},
{
"family": "Miller",
"given": "Steven D."
},
{
"family": "Li",
"given": "Vina W."
},
{
"family": "Meier",
"given": "Christina"
},
{
"family": "Ballantyne",
"given": "Laurel L."
},
{
"family": "Du Bois",
"given": "Justin"
},
{
"family": "Duan",
"given": "Qingling"
},
{
"family": "Prescott",
"given": "Steven A."
},
{
"family": "Ghasemlou",
"given": "Nader"
}
],
"container-title-short": "Nat Commun",
"volume": "17",
"issue": "1",
"page": "7053",
"DOI": "10.1038/s41467-026-73772-z",
"PMID": "42230621",
"PMCID": "PMC13392263",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41467-026-73772-z",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
1
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1038/s41467-026-76675-1 [code]
Long-read proteogenomic atlas of human neuronal differentiation reveals isoform diversity informing neurodevelopmental risk mechanisms.
Journal: Nature communications
In common: SAMtools, DESeq2, pheatmap, 6 other tools, 3 references
[2] doi:10.1038/s42003-026-10957-8 [code]
Brain defence by the extracellular matrix protein Cochlin.
Journal: Communications biology
In common: SAMtools, DESeq2, pheatmap, 8 other tools, mouse, cellular / molecular
[3] doi:10.1038/s41593-026-02300-5 [code]
Integrated single-cell and spatial transcriptomic profiling in ALS uncovers peripheral-to-central immune infiltration and reprogramming.
Journal: Nature neuroscience
In common: FastQC, SAMtools, DESeq2, 7 other tools, cellular / molecular
[4] doi:10.21203/rs.3.rs-9927928/v1 [code]
Genome-wide and allele-resolved maps of the radial architecture of the mouse genome
Journal: Research Square (preprint)
In common: FastQC, SAMtools, DESeq2, 6 other tools, mouse, 1 reference
[5] doi:10.1093/bioinformatics/btag592 [code]
Network-based stratification of allele-specific expression reveals patient subgroups in Huntington's disease.
Journal: Bioinformatics (Oxford, England)
In common: FastQC, SAMtools, DESeq2, 6 other tools, 1 reference
[6] doi:10.1016/j.celrep.2026.117073 [code]
Single-cell epigenomics uncovers heterochromatin instability and transcription factor dysfunction during mouse brain aging.
Journal: Cell reports
In common: SAMtools, DESeq2, pheatmap, 6 other tools, mouse, cellular / molecular, 1 reference
[7] doi:10.1126/sciadv.aed2952 [code]
Activation of transposable elements is linked to a region- and cell type-specific interferon response in Parkinson's disease.
Journal: Science advances
In common: SAMtools, DESeq2, pheatmap, 6 other tools, cellular / molecular, 1 reference
[8] doi:10.1038/s41386-026-02406-1 [code]
Functional genomic profiling of schizophrenia-associated genes reveals key microglial regulators.
Journal: Neuropsychopharmacology : official publication of the American College of Neuropsychopharmacology
In common: FastQC, SAMtools, DESeq2, 5 other tools, cellular / molecular, 1 reference
[9] doi:10.1038/s41467-026-73305-8 [code]
Comparative analysis of the cellular landscape in mammalian striatum.
Journal: Nature communications
In common: SAMtools, DESeq2, pheatmap, 6 other tools, mouse, cellular / molecular
[10] doi:10.1038/s41467-026-69944-6 [code]
Multi-modal dissection of cell-type specific TDP-43 pathology in the motor cortex.
Journal: Nature communications
In common: SAMtools, DESeq2, pheatmap, 6 other tools, 1 reference

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.