scientific-writer 2.2.1__py3-none-any.whl → 2.2.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of scientific-writer might be problematic. Click here for more details.

Files changed (311) hide show
  1. scientific_writer/.claude/WRITER.md +748 -0
  2. scientific_writer/.claude/settings.local.json +30 -0
  3. scientific_writer/.claude/skills/citation-management/SKILL.md +1046 -0
  4. scientific_writer/.claude/skills/citation-management/assets/bibtex_template.bib +264 -0
  5. scientific_writer/.claude/skills/citation-management/assets/citation_checklist.md +386 -0
  6. scientific_writer/.claude/skills/citation-management/references/bibtex_formatting.md +908 -0
  7. scientific_writer/.claude/skills/citation-management/references/citation_validation.md +794 -0
  8. scientific_writer/.claude/skills/citation-management/references/google_scholar_search.md +725 -0
  9. scientific_writer/.claude/skills/citation-management/references/metadata_extraction.md +870 -0
  10. scientific_writer/.claude/skills/citation-management/references/pubmed_search.md +839 -0
  11. scientific_writer/.claude/skills/citation-management/scripts/doi_to_bibtex.py +204 -0
  12. scientific_writer/.claude/skills/citation-management/scripts/extract_metadata.py +569 -0
  13. scientific_writer/.claude/skills/citation-management/scripts/format_bibtex.py +349 -0
  14. scientific_writer/.claude/skills/citation-management/scripts/search_google_scholar.py +282 -0
  15. scientific_writer/.claude/skills/citation-management/scripts/search_pubmed.py +398 -0
  16. scientific_writer/.claude/skills/citation-management/scripts/validate_citations.py +497 -0
  17. scientific_writer/.claude/skills/clinical-reports/IMPLEMENTATION_SUMMARY.md +641 -0
  18. scientific_writer/.claude/skills/clinical-reports/README.md +236 -0
  19. scientific_writer/.claude/skills/clinical-reports/SKILL.md +1088 -0
  20. scientific_writer/.claude/skills/clinical-reports/assets/case_report_template.md +352 -0
  21. scientific_writer/.claude/skills/clinical-reports/assets/clinical_trial_csr_template.md +353 -0
  22. scientific_writer/.claude/skills/clinical-reports/assets/clinical_trial_sae_template.md +359 -0
  23. scientific_writer/.claude/skills/clinical-reports/assets/consult_note_template.md +305 -0
  24. scientific_writer/.claude/skills/clinical-reports/assets/discharge_summary_template.md +453 -0
  25. scientific_writer/.claude/skills/clinical-reports/assets/hipaa_compliance_checklist.md +395 -0
  26. scientific_writer/.claude/skills/clinical-reports/assets/history_physical_template.md +305 -0
  27. scientific_writer/.claude/skills/clinical-reports/assets/lab_report_template.md +309 -0
  28. scientific_writer/.claude/skills/clinical-reports/assets/pathology_report_template.md +249 -0
  29. scientific_writer/.claude/skills/clinical-reports/assets/quality_checklist.md +338 -0
  30. scientific_writer/.claude/skills/clinical-reports/assets/radiology_report_template.md +318 -0
  31. scientific_writer/.claude/skills/clinical-reports/assets/soap_note_template.md +253 -0
  32. scientific_writer/.claude/skills/clinical-reports/references/case_report_guidelines.md +570 -0
  33. scientific_writer/.claude/skills/clinical-reports/references/clinical_trial_reporting.md +693 -0
  34. scientific_writer/.claude/skills/clinical-reports/references/data_presentation.md +530 -0
  35. scientific_writer/.claude/skills/clinical-reports/references/diagnostic_reports_standards.md +629 -0
  36. scientific_writer/.claude/skills/clinical-reports/references/medical_terminology.md +588 -0
  37. scientific_writer/.claude/skills/clinical-reports/references/patient_documentation.md +744 -0
  38. scientific_writer/.claude/skills/clinical-reports/references/peer_review_standards.md +585 -0
  39. scientific_writer/.claude/skills/clinical-reports/references/regulatory_compliance.md +577 -0
  40. scientific_writer/.claude/skills/clinical-reports/scripts/check_deidentification.py +346 -0
  41. scientific_writer/.claude/skills/clinical-reports/scripts/compliance_checker.py +78 -0
  42. scientific_writer/.claude/skills/clinical-reports/scripts/extract_clinical_data.py +102 -0
  43. scientific_writer/.claude/skills/clinical-reports/scripts/format_adverse_events.py +103 -0
  44. scientific_writer/.claude/skills/clinical-reports/scripts/generate_report_template.py +163 -0
  45. scientific_writer/.claude/skills/clinical-reports/scripts/terminology_validator.py +133 -0
  46. scientific_writer/.claude/skills/clinical-reports/scripts/validate_case_report.py +334 -0
  47. scientific_writer/.claude/skills/clinical-reports/scripts/validate_trial_report.py +89 -0
  48. scientific_writer/.claude/skills/document-skills/docx/LICENSE.txt +30 -0
  49. scientific_writer/.claude/skills/document-skills/docx/SKILL.md +197 -0
  50. scientific_writer/.claude/skills/document-skills/docx/docx-js.md +350 -0
  51. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  52. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  53. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  54. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  55. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  56. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  57. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  58. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  59. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  60. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  61. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  62. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  63. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  64. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  65. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  66. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  67. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  68. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  69. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  70. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  71. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  72. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  73. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  74. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  75. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  76. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  77. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  78. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  79. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  80. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  81. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  82. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/mce/mc.xsd +75 -0
  83. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
  84. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
  85. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
  86. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
  87. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
  88. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  89. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
  90. scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/pack.py +159 -0
  91. scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/unpack.py +29 -0
  92. scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validate.py +69 -0
  93. scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validation/__init__.py +15 -0
  94. scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validation/base.py +951 -0
  95. scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validation/docx.py +274 -0
  96. scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validation/pptx.py +315 -0
  97. scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validation/redlining.py +279 -0
  98. scientific_writer/.claude/skills/document-skills/docx/ooxml.md +610 -0
  99. scientific_writer/.claude/skills/document-skills/docx/scripts/__init__.py +1 -0
  100. scientific_writer/.claude/skills/document-skills/docx/scripts/document.py +1276 -0
  101. scientific_writer/.claude/skills/document-skills/docx/scripts/templates/comments.xml +3 -0
  102. scientific_writer/.claude/skills/document-skills/docx/scripts/templates/commentsExtended.xml +3 -0
  103. scientific_writer/.claude/skills/document-skills/docx/scripts/templates/commentsExtensible.xml +3 -0
  104. scientific_writer/.claude/skills/document-skills/docx/scripts/templates/commentsIds.xml +3 -0
  105. scientific_writer/.claude/skills/document-skills/docx/scripts/templates/people.xml +3 -0
  106. scientific_writer/.claude/skills/document-skills/docx/scripts/utilities.py +374 -0
  107. scientific_writer/.claude/skills/document-skills/pdf/LICENSE.txt +30 -0
  108. scientific_writer/.claude/skills/document-skills/pdf/SKILL.md +294 -0
  109. scientific_writer/.claude/skills/document-skills/pdf/forms.md +205 -0
  110. scientific_writer/.claude/skills/document-skills/pdf/reference.md +612 -0
  111. scientific_writer/.claude/skills/document-skills/pdf/scripts/check_bounding_boxes.py +70 -0
  112. scientific_writer/.claude/skills/document-skills/pdf/scripts/check_bounding_boxes_test.py +226 -0
  113. scientific_writer/.claude/skills/document-skills/pdf/scripts/check_fillable_fields.py +12 -0
  114. scientific_writer/.claude/skills/document-skills/pdf/scripts/convert_pdf_to_images.py +35 -0
  115. scientific_writer/.claude/skills/document-skills/pdf/scripts/create_validation_image.py +41 -0
  116. scientific_writer/.claude/skills/document-skills/pdf/scripts/extract_form_field_info.py +152 -0
  117. scientific_writer/.claude/skills/document-skills/pdf/scripts/fill_fillable_fields.py +114 -0
  118. scientific_writer/.claude/skills/document-skills/pdf/scripts/fill_pdf_form_with_annotations.py +108 -0
  119. scientific_writer/.claude/skills/document-skills/pptx/LICENSE.txt +30 -0
  120. scientific_writer/.claude/skills/document-skills/pptx/SKILL.md +484 -0
  121. scientific_writer/.claude/skills/document-skills/pptx/html2pptx.md +625 -0
  122. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  123. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  124. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  125. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  126. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  127. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  128. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  129. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  130. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  131. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  132. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  133. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  134. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  135. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  136. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  137. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  138. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  139. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  140. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  141. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  142. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  143. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  144. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  145. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  146. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  147. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  148. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  149. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  150. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  151. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  152. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  153. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/mce/mc.xsd +75 -0
  154. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
  155. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
  156. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
  157. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
  158. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
  159. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  160. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
  161. scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/pack.py +159 -0
  162. scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/unpack.py +29 -0
  163. scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validate.py +69 -0
  164. scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validation/__init__.py +15 -0
  165. scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validation/base.py +951 -0
  166. scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validation/docx.py +274 -0
  167. scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validation/pptx.py +315 -0
  168. scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validation/redlining.py +279 -0
  169. scientific_writer/.claude/skills/document-skills/pptx/ooxml.md +427 -0
  170. scientific_writer/.claude/skills/document-skills/pptx/scripts/html2pptx.js +979 -0
  171. scientific_writer/.claude/skills/document-skills/pptx/scripts/inventory.py +1020 -0
  172. scientific_writer/.claude/skills/document-skills/pptx/scripts/rearrange.py +231 -0
  173. scientific_writer/.claude/skills/document-skills/pptx/scripts/replace.py +385 -0
  174. scientific_writer/.claude/skills/document-skills/pptx/scripts/thumbnail.py +450 -0
  175. scientific_writer/.claude/skills/document-skills/xlsx/LICENSE.txt +30 -0
  176. scientific_writer/.claude/skills/document-skills/xlsx/SKILL.md +289 -0
  177. scientific_writer/.claude/skills/document-skills/xlsx/recalc.py +178 -0
  178. scientific_writer/.claude/skills/hypothesis-generation/SKILL.md +155 -0
  179. scientific_writer/.claude/skills/hypothesis-generation/assets/hypothesis_output_template.md +302 -0
  180. scientific_writer/.claude/skills/hypothesis-generation/references/experimental_design_patterns.md +327 -0
  181. scientific_writer/.claude/skills/hypothesis-generation/references/hypothesis_quality_criteria.md +196 -0
  182. scientific_writer/.claude/skills/hypothesis-generation/references/literature_search_strategies.md +505 -0
  183. scientific_writer/.claude/skills/latex-posters/README.md +417 -0
  184. scientific_writer/.claude/skills/latex-posters/SKILL.md +919 -0
  185. scientific_writer/.claude/skills/latex-posters/assets/baposter_template.tex +257 -0
  186. scientific_writer/.claude/skills/latex-posters/assets/beamerposter_template.tex +244 -0
  187. scientific_writer/.claude/skills/latex-posters/assets/poster_quality_checklist.md +358 -0
  188. scientific_writer/.claude/skills/latex-posters/assets/tikzposter_template.tex +251 -0
  189. scientific_writer/.claude/skills/latex-posters/references/latex_poster_packages.md +745 -0
  190. scientific_writer/.claude/skills/latex-posters/references/poster_content_guide.md +748 -0
  191. scientific_writer/.claude/skills/latex-posters/references/poster_design_principles.md +806 -0
  192. scientific_writer/.claude/skills/latex-posters/references/poster_layout_design.md +900 -0
  193. scientific_writer/.claude/skills/latex-posters/scripts/review_poster.sh +214 -0
  194. scientific_writer/.claude/skills/literature-review/SKILL.md +546 -0
  195. scientific_writer/.claude/skills/literature-review/assets/review_template.md +412 -0
  196. scientific_writer/.claude/skills/literature-review/references/citation_styles.md +166 -0
  197. scientific_writer/.claude/skills/literature-review/references/database_strategies.md +381 -0
  198. scientific_writer/.claude/skills/literature-review/scripts/generate_pdf.py +176 -0
  199. scientific_writer/.claude/skills/literature-review/scripts/search_databases.py +303 -0
  200. scientific_writer/.claude/skills/literature-review/scripts/verify_citations.py +222 -0
  201. scientific_writer/.claude/skills/markitdown/INSTALLATION_GUIDE.md +318 -0
  202. scientific_writer/.claude/skills/markitdown/LICENSE.txt +22 -0
  203. scientific_writer/.claude/skills/markitdown/OPENROUTER_INTEGRATION.md +359 -0
  204. scientific_writer/.claude/skills/markitdown/QUICK_REFERENCE.md +309 -0
  205. scientific_writer/.claude/skills/markitdown/README.md +184 -0
  206. scientific_writer/.claude/skills/markitdown/SKILL.md +450 -0
  207. scientific_writer/.claude/skills/markitdown/SKILL_SUMMARY.md +307 -0
  208. scientific_writer/.claude/skills/markitdown/assets/example_usage.md +463 -0
  209. scientific_writer/.claude/skills/markitdown/references/api_reference.md +399 -0
  210. scientific_writer/.claude/skills/markitdown/references/file_formats.md +542 -0
  211. scientific_writer/.claude/skills/markitdown/scripts/batch_convert.py +228 -0
  212. scientific_writer/.claude/skills/markitdown/scripts/convert_literature.py +283 -0
  213. scientific_writer/.claude/skills/markitdown/scripts/convert_with_ai.py +243 -0
  214. scientific_writer/.claude/skills/paper-2-web/SKILL.md +455 -0
  215. scientific_writer/.claude/skills/paper-2-web/references/installation.md +141 -0
  216. scientific_writer/.claude/skills/paper-2-web/references/paper2poster.md +346 -0
  217. scientific_writer/.claude/skills/paper-2-web/references/paper2video.md +305 -0
  218. scientific_writer/.claude/skills/paper-2-web/references/paper2web.md +187 -0
  219. scientific_writer/.claude/skills/paper-2-web/references/usage_examples.md +436 -0
  220. scientific_writer/.claude/skills/peer-review/SKILL.md +375 -0
  221. scientific_writer/.claude/skills/peer-review/references/common_issues.md +552 -0
  222. scientific_writer/.claude/skills/peer-review/references/reporting_standards.md +290 -0
  223. scientific_writer/.claude/skills/research-grants/README.md +285 -0
  224. scientific_writer/.claude/skills/research-grants/SKILL.md +896 -0
  225. scientific_writer/.claude/skills/research-grants/assets/budget_justification_template.md +453 -0
  226. scientific_writer/.claude/skills/research-grants/assets/nih_specific_aims_template.md +166 -0
  227. scientific_writer/.claude/skills/research-grants/assets/nsf_project_summary_template.md +92 -0
  228. scientific_writer/.claude/skills/research-grants/references/broader_impacts.md +392 -0
  229. scientific_writer/.claude/skills/research-grants/references/darpa_guidelines.md +636 -0
  230. scientific_writer/.claude/skills/research-grants/references/doe_guidelines.md +586 -0
  231. scientific_writer/.claude/skills/research-grants/references/nih_guidelines.md +851 -0
  232. scientific_writer/.claude/skills/research-grants/references/nsf_guidelines.md +570 -0
  233. scientific_writer/.claude/skills/research-grants/references/specific_aims_guide.md +458 -0
  234. scientific_writer/.claude/skills/research-lookup/README.md +116 -0
  235. scientific_writer/.claude/skills/research-lookup/SKILL.md +443 -0
  236. scientific_writer/.claude/skills/research-lookup/examples.py +174 -0
  237. scientific_writer/.claude/skills/research-lookup/lookup.py +93 -0
  238. scientific_writer/.claude/skills/research-lookup/research_lookup.py +335 -0
  239. scientific_writer/.claude/skills/research-lookup/scripts/research_lookup.py +261 -0
  240. scientific_writer/.claude/skills/scholar-evaluation/SKILL.md +254 -0
  241. scientific_writer/.claude/skills/scholar-evaluation/references/evaluation_framework.md +663 -0
  242. scientific_writer/.claude/skills/scholar-evaluation/scripts/calculate_scores.py +378 -0
  243. scientific_writer/.claude/skills/scientific-critical-thinking/SKILL.md +530 -0
  244. scientific_writer/.claude/skills/scientific-critical-thinking/references/common_biases.md +364 -0
  245. scientific_writer/.claude/skills/scientific-critical-thinking/references/evidence_hierarchy.md +484 -0
  246. scientific_writer/.claude/skills/scientific-critical-thinking/references/experimental_design.md +496 -0
  247. scientific_writer/.claude/skills/scientific-critical-thinking/references/logical_fallacies.md +478 -0
  248. scientific_writer/.claude/skills/scientific-critical-thinking/references/scientific_method.md +169 -0
  249. scientific_writer/.claude/skills/scientific-critical-thinking/references/statistical_pitfalls.md +506 -0
  250. scientific_writer/.claude/skills/scientific-schematics/SKILL.md +2035 -0
  251. scientific_writer/.claude/skills/scientific-schematics/assets/block_diagram_template.tex +199 -0
  252. scientific_writer/.claude/skills/scientific-schematics/assets/circuit_template.tex +159 -0
  253. scientific_writer/.claude/skills/scientific-schematics/assets/flowchart_template.tex +161 -0
  254. scientific_writer/.claude/skills/scientific-schematics/assets/pathway_template.tex +162 -0
  255. scientific_writer/.claude/skills/scientific-schematics/assets/tikz_styles.tex +422 -0
  256. scientific_writer/.claude/skills/scientific-schematics/references/best_practices.md +562 -0
  257. scientific_writer/.claude/skills/scientific-schematics/references/diagram_types.md +637 -0
  258. scientific_writer/.claude/skills/scientific-schematics/references/python_libraries.md +791 -0
  259. scientific_writer/.claude/skills/scientific-schematics/references/tikz_guide.md +734 -0
  260. scientific_writer/.claude/skills/scientific-schematics/scripts/circuit_generator.py +307 -0
  261. scientific_writer/.claude/skills/scientific-schematics/scripts/compile_tikz.py +292 -0
  262. scientific_writer/.claude/skills/scientific-schematics/scripts/generate_flowchart.py +281 -0
  263. scientific_writer/.claude/skills/scientific-schematics/scripts/pathway_diagram.py +406 -0
  264. scientific_writer/.claude/skills/scientific-writing/SKILL.md +443 -0
  265. scientific_writer/.claude/skills/scientific-writing/references/citation_styles.md +720 -0
  266. scientific_writer/.claude/skills/scientific-writing/references/figures_tables.md +806 -0
  267. scientific_writer/.claude/skills/scientific-writing/references/imrad_structure.md +658 -0
  268. scientific_writer/.claude/skills/scientific-writing/references/reporting_guidelines.md +748 -0
  269. scientific_writer/.claude/skills/scientific-writing/references/writing_principles.md +824 -0
  270. scientific_writer/.claude/skills/treatment-plans/README.md +483 -0
  271. scientific_writer/.claude/skills/treatment-plans/SKILL.md +817 -0
  272. scientific_writer/.claude/skills/treatment-plans/assets/chronic_disease_management_plan.tex +636 -0
  273. scientific_writer/.claude/skills/treatment-plans/assets/general_medical_treatment_plan.tex +616 -0
  274. scientific_writer/.claude/skills/treatment-plans/assets/mental_health_treatment_plan.tex +745 -0
  275. scientific_writer/.claude/skills/treatment-plans/assets/pain_management_plan.tex +770 -0
  276. scientific_writer/.claude/skills/treatment-plans/assets/perioperative_care_plan.tex +724 -0
  277. scientific_writer/.claude/skills/treatment-plans/assets/quality_checklist.md +471 -0
  278. scientific_writer/.claude/skills/treatment-plans/assets/rehabilitation_treatment_plan.tex +727 -0
  279. scientific_writer/.claude/skills/treatment-plans/references/goal_setting_frameworks.md +411 -0
  280. scientific_writer/.claude/skills/treatment-plans/references/intervention_guidelines.md +507 -0
  281. scientific_writer/.claude/skills/treatment-plans/references/regulatory_compliance.md +476 -0
  282. scientific_writer/.claude/skills/treatment-plans/references/specialty_specific_guidelines.md +607 -0
  283. scientific_writer/.claude/skills/treatment-plans/references/treatment_plan_standards.md +456 -0
  284. scientific_writer/.claude/skills/treatment-plans/scripts/check_completeness.py +318 -0
  285. scientific_writer/.claude/skills/treatment-plans/scripts/generate_template.py +244 -0
  286. scientific_writer/.claude/skills/treatment-plans/scripts/timeline_generator.py +369 -0
  287. scientific_writer/.claude/skills/treatment-plans/scripts/validate_treatment_plan.py +367 -0
  288. scientific_writer/.claude/skills/venue-templates/SKILL.md +590 -0
  289. scientific_writer/.claude/skills/venue-templates/assets/grants/nih_specific_aims.tex +235 -0
  290. scientific_writer/.claude/skills/venue-templates/assets/grants/nsf_proposal_template.tex +375 -0
  291. scientific_writer/.claude/skills/venue-templates/assets/journals/nature_article.tex +171 -0
  292. scientific_writer/.claude/skills/venue-templates/assets/journals/neurips_article.tex +283 -0
  293. scientific_writer/.claude/skills/venue-templates/assets/journals/plos_one.tex +317 -0
  294. scientific_writer/.claude/skills/venue-templates/assets/posters/beamerposter_academic.tex +311 -0
  295. scientific_writer/.claude/skills/venue-templates/references/conferences_formatting.md +564 -0
  296. scientific_writer/.claude/skills/venue-templates/references/grants_requirements.md +787 -0
  297. scientific_writer/.claude/skills/venue-templates/references/journals_formatting.md +486 -0
  298. scientific_writer/.claude/skills/venue-templates/references/posters_guidelines.md +628 -0
  299. scientific_writer/.claude/skills/venue-templates/scripts/customize_template.py +206 -0
  300. scientific_writer/.claude/skills/venue-templates/scripts/query_template.py +260 -0
  301. scientific_writer/.claude/skills/venue-templates/scripts/validate_format.py +255 -0
  302. scientific_writer/__init__.py +1 -1
  303. scientific_writer/api.py +9 -5
  304. scientific_writer/cli.py +9 -5
  305. scientific_writer/core.py +28 -5
  306. {scientific_writer-2.2.1.dist-info → scientific_writer-2.2.3.dist-info}/METADATA +1 -1
  307. scientific_writer-2.2.3.dist-info/RECORD +312 -0
  308. scientific_writer-2.2.1.dist-info/RECORD +0 -11
  309. {scientific_writer-2.2.1.dist-info → scientific_writer-2.2.3.dist-info}/WHEEL +0 -0
  310. {scientific_writer-2.2.1.dist-info → scientific_writer-2.2.3.dist-info}/entry_points.txt +0 -0
  311. {scientific_writer-2.2.1.dist-info → scientific_writer-2.2.3.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,302 @@
1
+ # Scientific Hypothesis Generation: [Phenomenon Name]
2
+
3
+ ## 1. Background & Context
4
+
5
+ ### Phenomenon Description
6
+ [Clear description of the observation, pattern, or question that requires explanation. Include:
7
+ - What was observed or what question needs answering
8
+ - The specific context or system in which it occurs
9
+ - Any relevant constraints or boundary conditions
10
+ - Why this phenomenon is interesting or important]
11
+
12
+ ### Current Understanding
13
+ [Synthesis of existing literature, including:
14
+ - What is already known about this phenomenon
15
+ - Established mechanisms or theories that may be relevant
16
+ - Key findings from recent research
17
+ - Gaps or limitations in current understanding
18
+ - Conflicting findings or unresolved debates
19
+
20
+ Include citations to key papers (Author et al., Year, Journal)]
21
+
22
+ ### Knowledge Gaps
23
+ [Specific aspects that remain unexplained or poorly understood:
24
+ - What aspects of the phenomenon lack clear explanation?
25
+ - What contradictions exist in current understanding?
26
+ - What questions remain unanswered?]
27
+
28
+ ---
29
+
30
+ ## 2. Competing Hypotheses
31
+
32
+ ### Hypothesis 1: [Concise Title]
33
+
34
+ **Mechanistic Explanation:**
35
+ [Detailed explanation of the proposed mechanism. This should explain HOW and WHY the phenomenon occurs, not just describe WHAT occurs. Include:
36
+ - Specific molecular, cellular, physiological, or population-level mechanisms
37
+ - Causal chain from initial trigger to observed outcome
38
+ - Key components, pathways, or factors involved
39
+ - Scale or level of explanation (molecular, cellular, organ, organism, population)]
40
+
41
+ **Supporting Evidence:**
42
+ [Evidence from literature that supports this hypothesis:
43
+ - Analogous mechanisms in related systems
44
+ - Direct evidence from relevant studies
45
+ - Theoretical frameworks that align with this hypothesis
46
+ - Include citations]
47
+
48
+ **Key Assumptions:**
49
+ [Explicit statement of assumptions underlying this hypothesis:
50
+ - What must be true for this hypothesis to hold?
51
+ - What conditions or contexts does it require?]
52
+
53
+ ---
54
+
55
+ ### Hypothesis 2: [Concise Title]
56
+
57
+ **Mechanistic Explanation:**
58
+ [Detailed mechanistic explanation distinct from Hypothesis 1]
59
+
60
+ **Supporting Evidence:**
61
+ [Evidence supporting this alternative explanation]
62
+
63
+ **Key Assumptions:**
64
+ [Assumptions underlying this hypothesis]
65
+
66
+ ---
67
+
68
+ ### Hypothesis 3: [Concise Title]
69
+
70
+ **Mechanistic Explanation:**
71
+ [Detailed mechanistic explanation distinct from previous hypotheses]
72
+
73
+ **Supporting Evidence:**
74
+ [Evidence supporting this explanation]
75
+
76
+ **Key Assumptions:**
77
+ [Assumptions underlying this hypothesis]
78
+
79
+ ---
80
+
81
+ [Continue for Hypothesis 4, 5, etc. if applicable]
82
+
83
+ ---
84
+
85
+ ## 3. Quality Assessment
86
+
87
+ ### Evaluation Against Core Criteria
88
+
89
+ | Criterion | Hypothesis 1 | Hypothesis 2 | Hypothesis 3 | [H4] | [H5] |
90
+ |-----------|--------------|--------------|--------------|------|------|
91
+ | **Testability** | [Rating & brief note] | [Rating & brief note] | [Rating & brief note] | | |
92
+ | **Falsifiability** | [Rating & brief note] | [Rating & brief note] | [Rating & brief note] | | |
93
+ | **Parsimony** | [Rating & brief note] | [Rating & brief note] | [Rating & brief note] | | |
94
+ | **Explanatory Power** | [Rating & brief note] | [Rating & brief note] | [Rating & brief note] | | |
95
+ | **Scope** | [Rating & brief note] | [Rating & brief note] | [Rating & brief note] | | |
96
+ | **Consistency** | [Rating & brief note] | [Rating & brief note] | [Rating & brief note] | | |
97
+
98
+ **Rating scale:** Strong / Moderate / Weak
99
+
100
+ ### Detailed Evaluation
101
+
102
+ #### Hypothesis 1
103
+ **Strengths:**
104
+ - [Specific strength 1]
105
+ - [Specific strength 2]
106
+
107
+ **Weaknesses:**
108
+ - [Specific weakness 1]
109
+ - [Specific weakness 2]
110
+
111
+ **Overall Assessment:**
112
+ [Brief summary of hypothesis quality and viability]
113
+
114
+ #### Hypothesis 2
115
+ [Similar structure]
116
+
117
+ #### Hypothesis 3
118
+ [Similar structure]
119
+
120
+ ---
121
+
122
+ ## 4. Experimental Designs
123
+
124
+ ### Testing Hypothesis 1: [Title]
125
+
126
+ **Experiment 1A: [Brief title]**
127
+
128
+ *Design Type:* [e.g., In vitro dose-response / In vivo knockout / Clinical RCT / Observational cohort / Computational model]
129
+
130
+ *Objective:* [What specific aspect of the hypothesis does this test?]
131
+
132
+ *Methods:*
133
+ - **System/Model:** [What system, organism, or population?]
134
+ - **Intervention/Manipulation:** [What is varied or manipulated?]
135
+ - **Measurements:** [What outcomes are measured?]
136
+ - **Controls:** [What control conditions?]
137
+ - **Sample Size:** [Estimated n, with justification if possible]
138
+ - **Analysis:** [Statistical or analytical approach]
139
+
140
+ *Expected Timeline:* [Rough estimate]
141
+
142
+ *Feasibility:* [High/Medium/Low, with brief justification]
143
+
144
+ **Experiment 1B: [Brief title - alternative or complementary approach]**
145
+ [Similar structure to 1A]
146
+
147
+ ---
148
+
149
+ ### Testing Hypothesis 2: [Title]
150
+
151
+ **Experiment 2A: [Brief title]**
152
+ [Structure as above]
153
+
154
+ **Experiment 2B: [Brief title]**
155
+ [Structure as above]
156
+
157
+ ---
158
+
159
+ ### Testing Hypothesis 3: [Title]
160
+
161
+ **Experiment 3A: [Brief title]**
162
+ [Structure as above]
163
+
164
+ ---
165
+
166
+ ## 5. Testable Predictions
167
+
168
+ ### Predictions from Hypothesis 1
169
+
170
+ 1. **Prediction 1.1:** [Specific, measurable prediction]
171
+ - **Conditions:** [Under what conditions should this be observed?]
172
+ - **Magnitude:** [Expected effect size or direction, if quantifiable]
173
+ - **Falsification:** [What observation would falsify this prediction?]
174
+
175
+ 2. **Prediction 1.2:** [Specific, measurable prediction]
176
+ - **Conditions:** [Conditions]
177
+ - **Magnitude:** [Expected effect]
178
+ - **Falsification:** [Falsifying observation]
179
+
180
+ 3. **Prediction 1.3:** [Additional prediction]
181
+
182
+ ---
183
+
184
+ ### Predictions from Hypothesis 2
185
+
186
+ 1. **Prediction 2.1:** [Specific, measurable prediction]
187
+ - **Conditions:** [Conditions]
188
+ - **Magnitude:** [Expected effect]
189
+ - **Falsification:** [Falsifying observation]
190
+
191
+ 2. **Prediction 2.2:** [Additional prediction]
192
+
193
+ ---
194
+
195
+ ### Predictions from Hypothesis 3
196
+
197
+ 1. **Prediction 3.1:** [Specific, measurable prediction]
198
+ - **Conditions:** [Conditions]
199
+ - **Magnitude:** [Expected effect]
200
+ - **Falsification:** [Falsifying observation]
201
+
202
+ ---
203
+
204
+ ## 6. Critical Comparisons
205
+
206
+ ### Distinguishing Between Hypotheses
207
+
208
+ **Comparison: Hypothesis 1 vs. Hypothesis 2**
209
+
210
+ *Key Distinguishing Feature:*
211
+ [What is the fundamental difference in mechanism or prediction?]
212
+
213
+ *Discriminating Experiment:*
214
+ [What experiment or observation would clearly favor one over the other?]
215
+
216
+ *Outcome Interpretation:*
217
+ - If [Result A], then Hypothesis 1 is supported
218
+ - If [Result B], then Hypothesis 2 is supported
219
+ - If [Result C], then both/neither are supported
220
+
221
+ ---
222
+
223
+ **Comparison: Hypothesis 1 vs. Hypothesis 3**
224
+ [Similar structure]
225
+
226
+ ---
227
+
228
+ **Comparison: Hypothesis 2 vs. Hypothesis 3**
229
+ [Similar structure]
230
+
231
+ ---
232
+
233
+ ### Priority Experiments
234
+
235
+ **Highest Priority Test:**
236
+ [Which experiment would most efficiently distinguish between hypotheses or most definitively test a hypothesis?]
237
+
238
+ **Justification:**
239
+ [Why is this the highest priority? Consider informativeness, feasibility, and cost]
240
+
241
+ **Secondary Priority Tests:**
242
+ 1. [Second most important experiment]
243
+ 2. [Third most important]
244
+
245
+ ---
246
+
247
+ ## 7. Summary & Recommendations
248
+
249
+ ### Summary of Hypotheses
250
+
251
+ [Brief paragraph summarizing the competing hypotheses and their relationships]
252
+
253
+ ### Recommended Testing Sequence
254
+
255
+ **Phase 1 (Initial Tests):**
256
+ [Which experiments should be done first? Why?]
257
+
258
+ **Phase 2 (Contingent on Phase 1 results):**
259
+ [What follow-up experiments depend on initial results?]
260
+
261
+ **Phase 3 (Validation and Extension):**
262
+ [How to validate findings and extend to broader contexts?]
263
+
264
+ ### Expected Outcomes and Implications
265
+
266
+ **If Hypothesis 1 is supported:**
267
+ [What would this mean for the field? What new questions arise?]
268
+
269
+ **If Hypothesis 2 is supported:**
270
+ [Implications and new questions]
271
+
272
+ **If Hypothesis 3 is supported:**
273
+ [Implications and new questions]
274
+
275
+ **If multiple hypotheses are partially supported:**
276
+ [How might mechanisms combine or interact?]
277
+
278
+ ### Open Questions
279
+
280
+ [What questions remain even after these hypotheses are tested?]
281
+
282
+ ---
283
+
284
+ ## References
285
+
286
+ [List key papers cited in the document, formatted consistently]
287
+
288
+ 1. Author1, A.B., & Author2, C.D. (Year). Title of paper. *Journal Name*, Volume(Issue), pages. DOI or URL
289
+
290
+ 2. [Continue for all citations]
291
+
292
+ ---
293
+
294
+ ## Notes on Using This Template
295
+
296
+ - Replace all bracketed instructions with actual content
297
+ - Not all sections are mandatory - adapt to your specific hypothesis generation task
298
+ - For simpler phenomena, 3 hypotheses may be sufficient; complex phenomena may warrant 4-5
299
+ - Experimental designs should be detailed enough to be actionable but can be refined later
300
+ - Predictions should be as specific and quantitative as possible
301
+ - The template emphasizes both generating hypotheses and planning how to test them
302
+ - Citation format can be adjusted to field-specific standards
@@ -0,0 +1,327 @@
1
+ # Experimental Design Patterns
2
+
3
+ ## Common Approaches to Testing Scientific Hypotheses
4
+
5
+ This reference provides patterns and frameworks for designing experiments across scientific domains. Use these patterns to develop rigorous tests for generated hypotheses.
6
+
7
+ ## Design Selection Framework
8
+
9
+ Choose experimental approaches based on:
10
+ - **Nature of hypothesis:** Mechanistic, causal, correlational, descriptive
11
+ - **System studied:** In vitro, in vivo, computational, observational
12
+ - **Feasibility:** Time, cost, ethics, technical capabilities
13
+ - **Evidence needed:** Proof-of-concept, causal demonstration, quantitative relationship
14
+
15
+ ## Laboratory Experimental Designs
16
+
17
+ ### In Vitro Experiments
18
+
19
+ **When to use:** Testing molecular, cellular, or biochemical mechanisms in controlled systems.
20
+
21
+ **Common patterns:**
22
+
23
+ #### 1. Dose-Response Studies
24
+ - **Purpose:** Establish quantitative relationship between input and effect
25
+ - **Design:** Test multiple concentrations/doses of intervention
26
+ - **Key elements:**
27
+ - Negative control (no treatment)
28
+ - Positive control (known effective treatment)
29
+ - Multiple dose levels (typically 5-8 points)
30
+ - Technical replicates (≥3 per condition)
31
+ - Appropriate statistical analysis (curve fitting, IC50/EC50 determination)
32
+
33
+ **Example application:**
34
+ "To test if compound X inhibits enzyme Y, measure enzyme activity at 0, 1, 10, 100, 1000 nM compound X concentrations with n=3 replicates per dose."
35
+
36
+ #### 2. Gain/Loss of Function Studies
37
+ - **Purpose:** Establish causal role of specific component
38
+ - **Design:** Add (overexpression) or remove (knockout/knockdown) component
39
+ - **Key elements:**
40
+ - Wild-type control
41
+ - Gain-of-function condition (overexpression, constitutive activation)
42
+ - Loss-of-function condition (knockout, knockdown, inhibition)
43
+ - Rescue experiment (restore function to loss-of-function)
44
+ - Measure downstream effects
45
+
46
+ **Example application:**
47
+ "Test if protein X causes phenotype Y by: (1) knocking out X and observing phenotype loss, (2) overexpressing X and observing phenotype enhancement, (3) rescuing knockout with X re-expression."
48
+
49
+ #### 3. Time-Course Studies
50
+ - **Purpose:** Understand temporal dynamics and sequence of events
51
+ - **Design:** Measure outcomes at multiple time points
52
+ - **Key elements:**
53
+ - Time 0 baseline
54
+ - Early time points (capture rapid changes)
55
+ - Intermediate time points
56
+ - Late time points (steady state)
57
+ - Sufficient replication at each time point
58
+
59
+ **Example application:**
60
+ "Measure protein phosphorylation at 0, 5, 15, 30, 60, 120 minutes after stimulus to determine peak activation timing."
61
+
62
+ ### In Vivo Experiments
63
+
64
+ **When to use:** Testing hypotheses in whole organisms to assess systemic, physiological, or behavioral effects.
65
+
66
+ **Common patterns:**
67
+
68
+ #### 4. Between-Subjects Designs
69
+ - **Purpose:** Compare different groups receiving different treatments
70
+ - **Design:** Randomly assign subjects to treatment groups
71
+ - **Key elements:**
72
+ - Random assignment to groups
73
+ - Appropriate sample size (power analysis)
74
+ - Control group (vehicle, sham, or standard treatment)
75
+ - Blinding (single or double-blind)
76
+ - Standardized conditions across groups
77
+
78
+ **Example application:**
79
+ "Randomly assign 20 mice each to vehicle control or drug treatment groups, measure tumor size weekly for 8 weeks, with experimenters blinded to group assignment."
80
+
81
+ #### 5. Within-Subjects (Repeated Measures) Designs
82
+ - **Purpose:** Each subject serves as own control, reducing inter-subject variability
83
+ - **Design:** Same subjects measured across multiple conditions/time points
84
+ - **Key elements:**
85
+ - Baseline measurements
86
+ - Counterbalancing (if order effects possible)
87
+ - Washout periods (for sequential treatments)
88
+ - Appropriate repeated-measures statistics
89
+
90
+ **Example application:**
91
+ "Measure cognitive performance in same participants at baseline, after training intervention, and at 3-month follow-up."
92
+
93
+ #### 6. Factorial Designs
94
+ - **Purpose:** Test multiple factors and their interactions simultaneously
95
+ - **Design:** Cross all levels of multiple independent variables
96
+ - **Key elements:**
97
+ - Clear main effects and interactions
98
+ - Sufficient power for interaction tests
99
+ - Full factorial or fractional factorial as appropriate
100
+
101
+ **Example application:**
102
+ "2×2 design crossing genotype (WT vs. mutant) × treatment (vehicle vs. drug) to test whether drug effect depends on genotype."
103
+
104
+ ### Computational/Modeling Experiments
105
+
106
+ **When to use:** Testing hypotheses about complex systems, making predictions, or when physical experiments are infeasible.
107
+
108
+ #### 7. In Silico Simulations
109
+ - **Purpose:** Model complex systems, test theoretical predictions
110
+ - **Design:** Implement computational model and vary parameters
111
+ - **Key elements:**
112
+ - Well-defined model with explicit assumptions
113
+ - Parameter sensitivity analysis
114
+ - Validation against known data
115
+ - Prediction generation for experimental testing
116
+
117
+ **Example application:**
118
+ "Build agent-based model of disease spread, vary transmission rate and intervention timing, compare predictions to empirical epidemic data."
119
+
120
+ #### 8. Bioinformatics/Meta-Analysis
121
+ - **Purpose:** Test hypotheses using existing datasets
122
+ - **Design:** Analyze large-scale data or aggregate multiple studies
123
+ - **Key elements:**
124
+ - Appropriate statistical corrections (multiple testing)
125
+ - Validation in independent datasets
126
+ - Control for confounds and batch effects
127
+ - Clear inclusion/exclusion criteria
128
+
129
+ **Example application:**
130
+ "Test if gene X expression correlates with survival across 15 cancer datasets (n>5000 patients total), using Cox regression with clinical covariates."
131
+
132
+ ## Observational Study Designs
133
+
134
+ ### When Physical Manipulation is Impossible or Unethical
135
+
136
+ #### 9. Cross-Sectional Studies
137
+ - **Purpose:** Examine associations at a single time point
138
+ - **Design:** Measure variables of interest in population at one time
139
+ - **Strengths:** Fast, inexpensive, can establish prevalence
140
+ - **Limitations:** Cannot establish temporality or causation
141
+ - **Key elements:**
142
+ - Representative sampling
143
+ - Standardized measurements
144
+ - Control for confounding variables
145
+ - Appropriate statistical analysis
146
+
147
+ **Example application:**
148
+ "Survey 1000 adults to test association between diet pattern and biomarker X, controlling for age, sex, BMI, and physical activity."
149
+
150
+ #### 10. Cohort Studies (Prospective/Longitudinal)
151
+ - **Purpose:** Establish temporal relationships and potentially causal associations
152
+ - **Design:** Follow group over time, measuring exposures and outcomes
153
+ - **Strengths:** Can establish temporality, calculate incidence
154
+ - **Limitations:** Time-consuming, expensive, subject attrition
155
+ - **Key elements:**
156
+ - Baseline exposure assessment
157
+ - Follow-up at defined intervals
158
+ - Minimize loss to follow-up
159
+ - Account for time-varying confounders
160
+
161
+ **Example application:**
162
+ "Follow 5000 initially healthy individuals for 10 years, testing if baseline vitamin D levels predict cardiovascular disease incidence."
163
+
164
+ #### 11. Case-Control Studies
165
+ - **Purpose:** Efficiently study rare outcomes by comparing cases to controls
166
+ - **Design:** Identify cases with outcome, select matched controls, compare exposures
167
+ - **Strengths:** Efficient for rare diseases, relatively quick
168
+ - **Limitations:** Recall bias, selection bias, cannot calculate incidence
169
+ - **Key elements:**
170
+ - Clear case definition
171
+ - Appropriate control selection (matching or statistical adjustment)
172
+ - Retrospective exposure assessment
173
+ - Control for confounding
174
+
175
+ **Example application:**
176
+ "Compare 200 patients with rare disease X to 400 matched controls without X, testing if early-life exposure Y differs between groups."
177
+
178
+ ## Clinical Trial Designs
179
+
180
+ #### 12. Randomized Controlled Trials (RCTs)
181
+ - **Purpose:** Gold standard for testing interventions in humans
182
+ - **Design:** Randomly assign participants to treatment or control
183
+ - **Key elements:**
184
+ - Randomization (simple, block, or stratified)
185
+ - Concealment of allocation
186
+ - Blinding (participants, providers, assessors)
187
+ - Intention-to-treat analysis
188
+ - Pre-registered protocol and analysis plan
189
+
190
+ **Example application:**
191
+ "Double-blind RCT: randomly assign 300 patients to receive drug X or placebo for 12 weeks, measure primary outcome of symptom improvement."
192
+
193
+ #### 13. Crossover Trials
194
+ - **Purpose:** Each participant receives all treatments in sequence
195
+ - **Design:** Participants crossed over between treatments with washout
196
+ - **Strengths:** Reduces inter-subject variability, requires fewer participants
197
+ - **Limitations:** Order effects, requires reversible conditions, longer duration
198
+ - **Key elements:**
199
+ - Adequate washout period
200
+ - Randomized treatment order
201
+ - Carryover effect assessment
202
+
203
+ **Example application:**
204
+ "Crossover trial: participants receive treatment A for 4 weeks, 2-week washout, then treatment B for 4 weeks (randomized order)."
205
+
206
+ ## Advanced Design Considerations
207
+
208
+ ### Sample Size and Statistical Power
209
+
210
+ **Key questions:**
211
+ - What effect size is meaningful to detect?
212
+ - What statistical test will be used?
213
+ - What alpha (significance level) and beta (power) are appropriate?
214
+ - What is expected variability in the measurement?
215
+
216
+ **General guidelines:**
217
+ - Conduct formal power analysis before experiment
218
+ - For pilot studies, n≥10 per group minimum
219
+ - For definitive studies, aim for ≥80% power
220
+ - Account for potential attrition in longitudinal studies
221
+
222
+ ### Controls
223
+
224
+ **Types of controls:**
225
+ - **Negative control:** No intervention (baseline)
226
+ - **Positive control:** Known effective intervention (validates system)
227
+ - **Vehicle control:** Delivery method without active ingredient
228
+ - **Sham control:** Mimics intervention without active component (surgery, etc.)
229
+ - **Historical control:** Prior data (weakest, avoid if possible)
230
+
231
+ ### Blinding
232
+
233
+ **Levels:**
234
+ - **Open-label:** No blinding (acceptable for objective measures)
235
+ - **Single-blind:** Participants blinded (reduces placebo effects)
236
+ - **Double-blind:** Participants and experimenters blinded (reduces bias in assessment)
237
+ - **Triple-blind:** Participants, experimenters, and analysts blinded (strongest)
238
+
239
+ ### Replication
240
+
241
+ **Technical replicates:** Repeated measurements on same sample
242
+ - Reduce measurement error
243
+ - Typically 2-3 replicates sufficient
244
+
245
+ **Biological replicates:** Independent samples/subjects
246
+ - Address biological variability
247
+ - Critical for generalization
248
+ - Minimum: n≥3, preferably n≥5-10 per group
249
+
250
+ **Experimental replicates:** Repeat entire experiment
251
+ - Validate findings across time, equipment, operators
252
+ - Gold standard for confirming results
253
+
254
+ ### Confound Control
255
+
256
+ **Strategies:**
257
+ - **Randomization:** Distribute confounds evenly across groups
258
+ - **Matching:** Pair similar subjects across conditions
259
+ - **Blocking:** Group by confound, then randomize within blocks
260
+ - **Statistical adjustment:** Measure confounds and adjust in analysis
261
+ - **Standardization:** Keep conditions constant across groups
262
+
263
+ ## Selecting Appropriate Design
264
+
265
+ **Decision tree:**
266
+
267
+ 1. **Can variables be manipulated?**
268
+ - Yes → Experimental design (RCT, lab experiment)
269
+ - No → Observational design (cohort, case-control, cross-sectional)
270
+
271
+ 2. **What is the system?**
272
+ - Cells/molecules → In vitro experiments
273
+ - Whole organisms → In vivo experiments
274
+ - Humans → Clinical trials or observational studies
275
+ - Complex systems → Computational modeling
276
+
277
+ 3. **What is the primary goal?**
278
+ - Mechanism → Gain/loss of function, dose-response
279
+ - Causation → RCT, cohort study with good controls
280
+ - Association → Cross-sectional, case-control
281
+ - Prediction → Modeling, machine learning
282
+ - Temporal dynamics → Time-course, longitudinal
283
+
284
+ 4. **What are the constraints?**
285
+ - Time limited → Cross-sectional, in vitro
286
+ - Budget limited → Computational, observational
287
+ - Ethical concerns → Observational, in vitro
288
+ - Rare outcome → Case-control, meta-analysis
289
+
290
+ ## Integrating Multiple Approaches
291
+
292
+ Strong hypothesis testing often combines multiple designs:
293
+
294
+ **Example: Testing if microbiome affects cognitive function**
295
+ 1. **Observational:** Cohort study showing association between microbiome composition and cognition
296
+ 2. **Animal model:** Germ-free mice receiving microbiome transplants show cognitive changes
297
+ 3. **Mechanism:** In vitro studies showing microbial metabolites affect neuronal function
298
+ 4. **Clinical trial:** RCT of probiotic intervention improving cognitive scores
299
+ 5. **Computational:** Model predicting which microbiome profiles should affect cognition
300
+
301
+ **Triangulation approach:**
302
+ - Each design addresses different aspects/limitations
303
+ - Convergent evidence from multiple approaches strengthens causal claims
304
+ - Start with observational/in vitro, then move to definitive causal tests
305
+
306
+ ## Common Pitfalls
307
+
308
+ - Insufficient sample size (underpowered)
309
+ - Lack of appropriate controls
310
+ - Confounding variables not accounted for
311
+ - Inappropriate statistical tests
312
+ - P-hacking or multiple testing without correction
313
+ - Lack of blinding when subjective assessments involved
314
+ - Failure to replicate findings
315
+ - Not pre-registering analysis plans (clinical trials)
316
+
317
+ ## Practical Application for Hypothesis Testing
318
+
319
+ When designing experiments to test hypotheses:
320
+
321
+ 1. **Match design to hypothesis specifics:** Causal claims require experimental manipulation; associations can use observational designs
322
+ 2. **Start simple, then elaborate:** Pilot with simple design, then add complexity
323
+ 3. **Plan controls carefully:** Controls validate the system and isolate the specific effect
324
+ 4. **Consider feasibility:** Balance ideal design with practical constraints
325
+ 5. **Plan for multiple experiments:** Rarely does one experiment definitively test a hypothesis
326
+ 6. **Pre-specify analysis:** Decide statistical tests before data collection
327
+ 7. **Build in validation:** Independent replication, orthogonal methods, convergent evidence