<codeBook xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="ddi:codebook:2_5 http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd" xmlns="ddi:codebook:2_5">
  <docDscr>
    <citation>
      <titlStmt>
        <titl xml:lang="sv"></titl>
        <parTitl xml:lang="en">Data and code related to "Molecular kinetics dictate population dynamics in CRISPR-based plasmid defense"</parTitl>
        <IDNo agency="SND">doi-10-17044-scilifelab-31017391-0</IDNo>
        <IDNo agency="DOI">https://doi.org/10.17044/SCILIFELAB.31017391</IDNo>
      </titlStmt>
      <prodStmt>
        <producer xml:lang="en" abbr="SND">Swedish National Data Service</producer>
        <producer xml:lang="sv" abbr="SND">Svensk nationell datatjänst</producer>
      </prodStmt>
      <holdings URI="https://doi.org/10.17044/SCILIFELAB.31017391">Landing page</holdings>
    </citation>
  </docDscr>
  <stdyDscr>
    <citation>
      <titlStmt>
        <titl xml:lang="sv"></titl>
        <parTitl xml:lang="en">Data and code related to "Molecular kinetics dictate population dynamics in CRISPR-based plasmid defense"</parTitl>
        <IDNo agency="SND">doi-10-17044-scilifelab-31017391-0</IDNo>
        <IDNo agency="DOI">https://doi.org/10.17044/SCILIFELAB.31017391</IDNo>
      </titlStmt>
      <rspStmt>
        <AuthEnty xml:lang="en" affiliation="Science for Life Laboratory">Jones, Daniel</AuthEnty>
        <AuthEnty xml:lang="en" affiliation="Science for Life Laboratory">Wiktor, Jakub</AuthEnty>
        <AuthEnty xml:lang="en" affiliation="Science for Life Laboratory">Truedson, Axel</AuthEnty>
      </rspStmt>
      <prodStmt>
        <grantNo xml:lang="en" agency="Swedish Research Council">2020-05137_VR</grantNo>
      </prodStmt>
      <distStmt>
        <distrbtr xml:lang="en" abbr="SND" URI="https://snd.se">Swedish National Data Service</distrbtr>
        <distrbtr xml:lang="sv" abbr="SND" URI="https://snd.se">Svensk nationell datatjänst</distrbtr>
        <distDate xml:lang="en" date="2026-03-23" />
      </distStmt>
      <verStmt>
        <version elementVersion="0" elementVersionDate="2026-03-23" />
      </verStmt>
      <holdings URI="https://doi.org/10.17044/SCILIFELAB.31017391">Landing page</holdings>
    </citation>
    <stdyInfo>
      <subject />
      <abstract xml:lang="en" contentType="abstract">Understanding and manipulating the spread of mobile genetic elements (MGEs) represents a great challenge with potential benefits across synthetic biology, agriculture and medicine. In this study, we use a time-lapse, imaging-based approach to characterize conjugative plasmid dynamics at the molecular, single-cell, and population levels.

This Dataset contains code used for image analysis, bioinformatic analysis, agent-based modelling, and figure generation for "Molecular kinetics dictate population dynamics in CRISPR-based plasmid defense", as well as intermediate single-cell data processed from raw images. See link to the publication in Related Material. Raw image data is included in the linked BioImage archive repository. 

Specifically, the image analysis code contained here performs segmentation, fluorescent dot detection, and cell classification to track conjugative plasmid population dynamics in microfluidic growth chambers. The bioinformatic analysis code performs a comparative analysis of CRISPR spacer and toxin-antitoxin system presence across a broad range of bacterial plasmids. 

Finally, the agent-based simulation code facilitates simulations of plasmid population dynamics in bacterial populations. Using this code, we can simulate plasmid population dynamics using single-cell biophysical parameters as inputs, and directly compare with experimental imaging-based data.</abstract>
      <sumDscr />
    </stdyInfo>
    <method>
      <dataColl />
    </method>
    <dataAccs>
      <useStmt>
        <restrctn xml:lang="en">Access to data through an external actor. </restrctn>
        <restrctn xml:lang="sv">Åtkomst till data via extern aktör. </restrctn>
      </useStmt>
    </dataAccs>
    <othrStdyMat />
  </stdyDscr>
</codeBook>