# Run options


# Plastid cleaning

Before starting the assembly, `NextPyper` preprocess and cleans the reads from plastids by mapping them to a selected set of references. You can control what references are used with `--ref-cps`.

For convinience, NextPyper uses the [1KP sampleIDs](https://sites.google.com/a/ualberta.ca/onekp/home-page?authuser=0), to quickly select one or multiple plastids to use. You can explore the list of 1KP and NCBI plastid seqids in the table below:

<span class="gd-details-chevron" aria-hidden="true"></span><img src="data:image/svg+xml;base64,PHN2ZyBzdHlsZT0iaGVpZ2h0OjFlbTt3aWR0aDoxZW07dmVydGljYWwtYWxpZ246LTAuMTI1ZW07Zm9udC1zaXplOmluaGVyaXQ7b3ZlcmZsb3c6dmlzaWJsZTtwb3NpdGlvbjpyZWxhdGl2ZTsiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld2JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLSBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJnZC1kZXRhaWxzLWljb24iIGFyaWEtaGlkZGVuPSJ0cnVlIj48ZWxsaXBzZSBjeD0iMTIiIGN5PSI1IiByeD0iOSIgcnk9IjMiPjwvZWxsaXBzZT48cGF0aCBkPSJNMyA1VjE5QTkgMyAwIDAgMCAyMSAxOVY1IiAvPjxwYXRoIGQ9Ik0zIDEyQTkgMyAwIDAgMCAyMSAxMiIgLz48L3N2Zz4=" class="gd-details-icon" />1KP IDs


<style>
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,600;1,400&family=IBM+Plex+Sans:wght@400;600&display=swap');
#gd-tbl-f30d717e .gt_table {
  display: table;
  border-collapse: collapse;
  table-layout: fixed;
  line-height: normal;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  background-color: #FFFFFF;
  width: auto;
  border-top-style: solid;
  border-top-width: 2px;
  border-top-color: #A8A8A8;
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-bottom-color: #A8A8A8;
}
#gd-tbl-f30d717e .gt_heading {
  background-color: #FFFFFF;
  text-align: left;
  border-bottom-color: #FFFFFF;
  border-left-style: none;
  border-right-style: none;
}
#gd-tbl-f30d717e .gt_title {
  color: #333333;
  font-size: 125%;
  font-weight: initial;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 5px;
  padding-right: 5px;
  border-bottom-color: #FFFFFF;
  border-bottom-width: 0;
}
#gd-tbl-f30d717e .gt_subtitle {
  color: #333333;
  font-size: 85%;
  font-weight: initial;
  padding-top: 3px;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
  border-top-color: #FFFFFF;
  border-top-width: 0;
}
#gd-tbl-f30d717e .gt_bottom_border {
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-bottom-color: #D3D3D3;
}
#gd-tbl-f30d717e .gt_col_headings {
  border-top-style: solid;
  border-top-width: 2px;
  border-top-color: #D3D3D3;
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-bottom-color: #D3D3D3;
  border-left-style: none;
  border-right-style: none;
}
#gd-tbl-f30d717e .gt_col_heading {
  color: #333333;
  background-color: #FFFFFF;
  font-size: 100%;
  font-weight: normal;
  text-transform: inherit;
  border-left-style: solid;
  border-left-width: 1px;
  border-left-color: #F2F2F2;
  border-right-style: solid;
  border-right-width: 1px;
  border-right-color: #F2F2F2;
  vertical-align: bottom;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
  overflow-x: hidden;
}
#gd-tbl-f30d717e .gt_table_body {
  border-top-style: solid;
  border-top-width: 2px;
  border-top-color: #D3D3D3;
}
#gd-tbl-f30d717e .gt_row {
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 5px;
  padding-right: 5px;
  margin: 10px;
  border-top-style: solid;
  border-top-width: 1px;
  border-top-color: #E9E9E9;
  border-left-style: solid;
  border-left-width: 1px;
  border-left-color: #E9E9E9;
  border-right-style: solid;
  border-right-width: 1px;
  border-right-color: #E9E9E9;
  vertical-align: middle;
  overflow-x: hidden;
}
#gd-tbl-f30d717e .gt_left { text-align: left; }
#gd-tbl-f30d717e .gt_center { text-align: center; }
#gd-tbl-f30d717e .gt_right { text-align: right; font-variant-numeric: tabular-nums; }
#gd-tbl-f30d717e .gt_font_normal { font-weight: normal; }
#gd-tbl-f30d717e .gt_font_bold { font-weight: bold; }
#gd-tbl-f30d717e .gt_font_italic { font-style: italic; }
#gd-tbl-f30d717e .gt_striped { background-color: rgba(128,128,128,0.05); }
#gd-tbl-f30d717e .gt_from_md > :first-child { margin-top: 0; }
#gd-tbl-f30d717e .gt_from_md > :last-child { margin-bottom: 0; }
/* Data cell font */
#gd-tbl-f30d717e .gt_table_body .gt_row {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: #333333;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  height: 14px;
}
/* Column label font */
#gd-tbl-f30d717e .gt_col_heading {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: #333333;
}
/* Row number styling */
#gd-tbl-f30d717e .gd-tbl-rownum {
  color: gray;
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  border-right: 2px solid rgba(102, 153, 204, 0.5) !important;
  text-align: right;
  padding-right: 6px;
  white-space: nowrap;
}
/* Head/tail divider */
#gd-tbl-f30d717e tr.gd-tbl-divider td,
#gd-tbl-f30d717e tr.gd-tbl-divider th {
  border-bottom: 2px solid rgba(102, 153, 204, 0.5);
}
/* Missing values */
#gd-tbl-f30d717e .gd-tbl-missing {
  color: #B22222 !important;
  background-color: rgba(255, 193, 193, 0.35);
}
/* Column label sub-elements */
#gd-tbl-f30d717e .gd-tbl-colname {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding-bottom: 0;
  margin-bottom: 0;
}
#gd-tbl-f30d717e .gd-tbl-dtype {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding-top: 0;
  margin-top: 0;
  color: #666666;
}
/* Header badge styling */
#gd-tbl-f30d717e .gd-tbl-badge {
  display: inline-block;
  padding: 2px 10px;
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  position: inherit;
}
#gd-tbl-f30d717e .gd-tbl-badge-rows-label {
  background-color: #eecbff;
  color: #333333;
  border: 1px solid #eecbff;
  margin-left: 5px;
}
#gd-tbl-f30d717e .gd-tbl-badge-rows-value {
  background-color: transparent;
  color: #333333;
  border: 1px solid #eecbff;
  margin-left: -4px;
  margin-right: 3px;
}
#gd-tbl-f30d717e .gd-tbl-badge-cols-label {
  background-color: #BDE7B4;
  color: #333333;
  border: 1px solid #BDE7B4;
}
#gd-tbl-f30d717e .gd-tbl-badge-cols-value {
  background-color: transparent;
  color: #333333;
  border: 1px solid #BDE7B4;
  margin-left: -4px;
}
/* Dark mode */
body.quarto-dark #gd-tbl-f30d717e .gt_table,
html.quarto-dark #gd-tbl-f30d717e .gt_table,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gt_table {
  background-color: #1a1a2e;
  color: #e0e0e0;
  border-top-color: #555;
  border-bottom-color: #555;
}
body.quarto-dark #gd-tbl-f30d717e .gt_heading,
html.quarto-dark #gd-tbl-f30d717e .gt_heading,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gt_heading {
  background-color: #1a1a2e;
  border-bottom-color: #1a1a2e;
}
body.quarto-dark #gd-tbl-f30d717e .gt_title,
html.quarto-dark #gd-tbl-f30d717e .gt_title,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gt_title {
  color: #e0e0e0;
}
body.quarto-dark #gd-tbl-f30d717e .gt_subtitle,
html.quarto-dark #gd-tbl-f30d717e .gt_subtitle,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gt_subtitle {
  color: #b0b0b0;
}
body.quarto-dark #gd-tbl-f30d717e .gt_col_headings,
html.quarto-dark #gd-tbl-f30d717e .gt_col_headings,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gt_col_headings {
  border-top-color: #444;
  border-bottom-color: #444;
}
body.quarto-dark #gd-tbl-f30d717e .gt_col_heading,
html.quarto-dark #gd-tbl-f30d717e .gt_col_heading,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gt_col_heading {
  color: #b0b0b0;
  background-color: #1a1a2e;
  border-left-color: #333;
  border-right-color: #333;
}
body.quarto-dark #gd-tbl-f30d717e .gt_table_body,
html.quarto-dark #gd-tbl-f30d717e .gt_table_body,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gt_table_body {
  border-top-color: #444;
}
body.quarto-dark #gd-tbl-f30d717e .gt_table_body .gt_row,
html.quarto-dark #gd-tbl-f30d717e .gt_table_body .gt_row,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gt_table_body .gt_row {
  color: #d0d0d0;
  border-top-color: #4b4b4b;
  border-bottom-color: #4b4b4b;
  border-left-color: #333;
  border-right-color: #333;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-rownum,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-rownum,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-rownum {
  color: #888;
  border-right-color: rgba(102, 153, 204, 0.4) !important;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-missing,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-missing,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-missing {
  color: #ff6b6b !important;
  background-color: rgba(60, 17, 24, 0.2);
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-dtype,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-dtype,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-dtype {
  color: #888;
}
body.quarto-dark #gd-tbl-f30d717e .gt_bottom_border,
html.quarto-dark #gd-tbl-f30d717e .gt_bottom_border,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gt_bottom_border {
  border-bottom-color: #555;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-badge-rows-label,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-badge-rows-label,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-badge-rows-label {
  background-color: #3d2a4d;
  border-color: #3d2a4d;
  color: #e0c0ff;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-badge-rows-value,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-badge-rows-value,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-badge-rows-value {
  border-color: #3d2a4d;
  color: #d0b0e0;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-badge-cols-label,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-badge-cols-label,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-badge-cols-label {
  background-color: #2a4d2a;
  border-color: #2a4d2a;
  color: #b0e0b0;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-badge-cols-value,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-badge-cols-value,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-badge-cols-value {
  border-color: #2a4d2a;
  color: #a0d0a0;
}
</style> <style>
/* ── Table scroll wrapper ────────────────────────── */
#gd-tbl-f30d717e .gd-tbl-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
}
/* ── Toolbar ─────────────────────────────────────── */
#gd-tbl-f30d717e .gd-tbl-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 0;
  align-items: center;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  font-size: 13px;
}
/* ── Filter bar ──────────────────────────────────── */
#gd-tbl-f30d717e .gd-tbl-filter-bar {
  flex: 1 1 200px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  padding: 3px 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  position: relative;
}
#gd-tbl-f30d717e .gd-tbl-filter-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
#gd-tbl-f30d717e .gd-tbl-filter-token {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 4px 2px 8px;
  background: #e8f0fe;
  border: 1px solid #c4d9f2;
  border-radius: 12px;
  font-size: 11px;
  color: #1a3a5c;
  white-space: nowrap;
  max-width: 260px;
  line-height: 1.4;
}
#gd-tbl-f30d717e .gd-tbl-filter-token-text {
  overflow: hidden;
  text-overflow: ellipsis;
}
#gd-tbl-f30d717e .gd-tbl-filter-token-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  background: #d0dfef;
  color: #4a6a8a;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
  padding-bottom: 2px;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.1s, color 0.1s;
}
#gd-tbl-f30d717e .gd-tbl-filter-token-x:hover {
  background: #a0bdd8;
  color: #1a3a5c;
}
#gd-tbl-f30d717e .gd-tbl-filter-token-case {
  font-size: 9px;
  font-weight: 700;
  color: #4477aa;
  border: 1px solid #a0bdd8;
  border-radius: 3px;
  padding: 0 3px;
  line-height: 1.4;
  flex-shrink: 0;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
}
#gd-tbl-f30d717e .gd-tbl-filter-add {
  flex-shrink: 0;
  border: none;
  background: none;
  padding: 3px;
  color: #6699CC;
}
#gd-tbl-f30d717e .gd-tbl-filter-add:hover {
  background: #eef3fb;
  border-radius: 3px;
}
#gd-tbl-f30d717e .gd-tbl-filter-hint {
  color: #b0b0b0;
  font-size: 12px;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-left: 4px;
  user-select: none;
  pointer-events: none;
}
#gd-tbl-f30d717e .gd-tbl-filter-hint svg {
  flex-shrink: 0;
  stroke: #b0b0b0;
}
/* ── Filter wizard dropdown ──────────────────────── */
#gd-tbl-f30d717e .gd-tbl-filter-wizard {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  z-index: 200;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  padding: 8px 0;
  min-width: 200px;
  max-width: 320px;
  max-height: 300px;
  overflow-y: auto;
  font-size: 12px;
}
#gd-tbl-f30d717e .gd-tbl-fw-label {
  display: block;
  padding: 4px 12px 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  font-weight: 600;
}
#gd-tbl-f30d717e .gd-tbl-fw-options {
  display: flex;
  flex-direction: column;
}
#gd-tbl-f30d717e .gd-tbl-fw-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 12px;
  border: none;
  background: none;
  text-align: left;
  font-size: 12px;
  font-family: inherit;
  color: #333;
  cursor: pointer;
  transition: background 0.1s;
}
#gd-tbl-f30d717e .gd-tbl-fw-option:hover {
  background: #f0f4fb;
}
#gd-tbl-f30d717e .gd-tbl-fw-dtype {
  font-size: 9px;
  color: #999;
  background: #f0f0f0;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 8px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}
#gd-tbl-f30d717e .gd-tbl-fw-input {
  margin: 4px 12px;
  padding: 5px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 12px;
  font-family: inherit;
  background: #fff;
  color: #333;
  outline: none;
  width: calc(100% - 24px);
  box-sizing: border-box;
}
#gd-tbl-f30d717e .gd-tbl-fw-input:focus {
  border-color: #6699CC;
  box-shadow: 0 0 0 2px rgba(102,153,204,0.2);
}
#gd-tbl-f30d717e .gd-tbl-fw-between {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 4px;
}
#gd-tbl-f30d717e .gd-tbl-fw-between .gd-tbl-fw-input {
  flex: 1;
  margin: 4px;
  min-width: 60px;
}
#gd-tbl-f30d717e .gd-tbl-fw-sep {
  font-size: 11px;
  color: #888;
  flex-shrink: 0;
}
#gd-tbl-f30d717e .gd-tbl-fw-commit {
  margin: 4px 12px 6px;
  font-size: 11px;
  padding: 4px 14px;
}
#gd-tbl-f30d717e .gd-tbl-fw-input-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 8px;
}
#gd-tbl-f30d717e .gd-tbl-fw-input-row .gd-tbl-fw-input {
  flex: 1;
  margin: 4px 0;
  width: auto;
}
#gd-tbl-f30d717e .gd-tbl-fw-case {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 26px;
  margin-left: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #f8f8f8;
  color: #999;
  font-size: 11px;
  font-weight: 700;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
}
#gd-tbl-f30d717e .gd-tbl-fw-case:hover {
  border-color: #999;
  color: #666;
}
#gd-tbl-f30d717e .gd-tbl-fw-case.active {
  background: #e0edff;
  border-color: #6699CC;
  color: #336699;
}
#gd-tbl-f30d717e .gd-tbl-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #f8f8f8;
  color: #333;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  line-height: 14px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
#gd-tbl-f30d717e .gd-tbl-btn:hover {
  background: #eee;
  border-color: #aaa;
}
#gd-tbl-f30d717e .gd-tbl-btn:focus-visible {
  outline: 2px solid #6699CC;
  outline-offset: 1px;
}
#gd-tbl-f30d717e .gd-tbl-btn-active {
  background: #e0edff;
  border-color: #6699CC;
}
#gd-tbl-f30d717e .gd-tbl-btn-icon {
  padding: 5px 7px;
  line-height: 0;
}
#gd-tbl-f30d717e .gd-tbl-btn-icon svg {
  display: block;
}
/* Copy-success green checkmark state */
#gd-tbl-f30d717e .gd-tbl-btn-copied {
  color: #198754;
  border-color: #198754;
}
/* ── Button wrapper + tooltip ────────────────────── */
#gd-tbl-f30d717e .gd-tbl-btn-wrap {
  position: relative;
  display: inline-block;
}
#gd-tbl-f30d717e .gd-tbl-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 8px;
  background: #333;
  color: #fff;
  border-radius: 3px;
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 100;
}
/* Keep tooltip from overflowing right edge */
#gd-tbl-f30d717e .gd-tbl-btn-wrap:last-child .gd-tbl-tooltip {
  left: auto;
  right: 0;
  transform: none;
}
#gd-tbl-f30d717e .gd-tbl-btn-wrap:hover .gd-tbl-tooltip {
  visibility: visible;
  opacity: 1;
}
/* ── Column toggle dropdown ──────────────────────── */
#gd-tbl-f30d717e .gd-tbl-col-wrap {
  position: relative;
  display: inline-block;
}
#gd-tbl-f30d717e .gd-tbl-col-wrap .gd-tbl-tooltip {
  left: auto;
  right: 0;
  transform: none;
}
#gd-tbl-f30d717e .gd-tbl-col-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 10;
  min-width: 180px;
  max-height: 300px;
  overflow-y: auto;
  margin-top: 4px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#gd-tbl-f30d717e .gd-tbl-col-menu.open {
  display: block;
}
#gd-tbl-f30d717e .gd-tbl-col-option {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  cursor: pointer;
  font-size: 12px;
  user-select: none;
}
#gd-tbl-f30d717e .gd-tbl-col-option:hover {
  background: #f0f0f0;
}
/* ── Sort indicators ─────────────────────────────── */
#gd-tbl-f30d717e .gd-tbl-sortable {
  cursor: pointer;
  user-select: none;
  position: relative;
}
#gd-tbl-f30d717e .gd-tbl-sort-icon {
  display: inline-block;
  width: 10px;
  height: 14px;
  margin-left: 4px;
  color: #bbb;
  vertical-align: middle;
}
#gd-tbl-f30d717e .gd-tbl-sort-icon svg {
  display: block;
  width: 10px;
  height: 14px;
  fill: currentColor;
}
#gd-tbl-f30d717e .gd-tbl-sort-asc .gd-tbl-sort-icon,
#gd-tbl-f30d717e .gd-tbl-sort-desc .gd-tbl-sort-icon {
  color: #6699CC;
}
/* ── Search highlight ────────────────────────────── */
#gd-tbl-f30d717e .gd-tbl-highlight {
  background-color: #FFEEBA;
  border-radius: 2px;
  padding: 0 1px;
}
/* ── Pagination ──────────────────────────────────── */
#gd-tbl-f30d717e .gd-tbl-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  color: #666;
}
#gd-tbl-f30d717e .gd-tbl-page-info {
  white-space: nowrap;
}
#gd-tbl-f30d717e .gd-tbl-page-nav {
  display: flex;
  gap: 2px;
  align-items: center;
}
#gd-tbl-f30d717e .gd-tbl-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  color: #333;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  transition: background 0.1s;
}
#gd-tbl-f30d717e .gd-tbl-page-btn:hover {
  background: #f0f0f0;
}
#gd-tbl-f30d717e .gd-tbl-page-btn.active {
  background: #6699CC;
  color: #fff;
  border-color: #6699CC;
}
#gd-tbl-f30d717e .gd-tbl-page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}
#gd-tbl-f30d717e .gd-tbl-page-ellipsis {
  padding: 0 4px;
  color: #999;
}
/* ── Dark mode ───────────────────────────────────── */
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-bar,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-bar,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-filter-bar {
  background-color: #2a2a3e;
  border-color: #444;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-token,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-token,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-filter-token {
  background: #2d3a50;
  border-color: #3d5070;
  color: #b0ccee;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-token-x:hover,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-token-x:hover,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-filter-token-x:hover {
  background: #3d5070;
  color: #e0e8f0;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-token-case,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-token-case,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-filter-token-case {
  color: #88bbee;
  border-color: #4d6888;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-fw-case,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-fw-case,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-fw-case {
  background: #2a2a3e;
  border-color: #555;
  color: #888;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-fw-case:hover,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-fw-case:hover,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-fw-case:hover {
  border-color: #888;
  color: #bbb;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-fw-case.active,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-fw-case.active,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-fw-case.active {
  background: #2d3a50;
  border-color: #6699CC;
  color: #88bbee;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-add,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-add,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-filter-add {
  color: #88bbee;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-add:hover,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-add:hover,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-filter-add:hover {
  background: #353550;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-hint,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-hint,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-filter-hint {
  color: #666;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-hint svg,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-hint svg,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-filter-hint svg {
  stroke: #666;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-wizard,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-filter-wizard,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-filter-wizard {
  background: #1e1e32;
  border-color: #444;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-fw-option,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-fw-option,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-fw-option {
  color: #ddd;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-fw-option:hover,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-fw-option:hover,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-fw-option:hover {
  background: #2a2a44;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-fw-dtype,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-fw-dtype,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-fw-dtype {
  background: #333;
  color: #aaa;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-fw-input,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-fw-input,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-fw-input {
  background: #2a2a3e;
  border-color: #555;
  color: #e0e0e0;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-fw-input:focus,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-fw-input:focus,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-fw-input:focus {
  border-color: #6699CC;
  box-shadow: 0 0 0 2px rgba(102,153,204,0.3);
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-btn,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-btn,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-btn {
  background: #2a2a3e;
  border-color: #444;
  color: #ccc;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-btn:hover,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-btn:hover,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-btn:hover {
  background: #353550;
  border-color: #666;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-btn-active,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-btn-active,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-btn-active {
  background: #2a3a5e;
  border-color: #6699CC;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-col-menu,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-col-menu,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-col-menu {
  background: #2a2a3e;
  border-color: #444;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-col-option:hover,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-col-option:hover,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-col-option:hover {
  background: #353550;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-highlight,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-highlight,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-highlight {
  background-color: #5C4A1E;
  color: #FFE082;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-page-btn,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-page-btn,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-page-btn {
  background: #2a2a3e;
  border-color: #444;
  color: #ccc;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-page-btn:hover,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-page-btn:hover,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-page-btn:hover {
  background: #353550;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-page-btn.active,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-page-btn.active,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-page-btn.active {
  background: #6699CC;
  border-color: #6699CC;
  color: #fff;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-pagination,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-pagination,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-pagination {
  color: #999;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-sort-icon,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-sort-icon,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-sort-icon {
  color: #555;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-sort-asc .gd-tbl-sort-icon,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-sort-asc .gd-tbl-sort-icon,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-sort-asc .gd-tbl-sort-icon,
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-sort-desc .gd-tbl-sort-icon,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-sort-desc .gd-tbl-sort-icon,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-sort-desc .gd-tbl-sort-icon {
  color: #88bbee;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-tooltip,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-tooltip,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-tooltip {
  background: #e0e0e0;
  color: #1a1a2e;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-btn-copied,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-btn-copied,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-btn-copied {
  color: #4ade80;
  border-color: #4ade80;
}
/* ── Placeholder rows (stable height) ────────────── */
#gd-tbl-f30d717e .gd-tbl-placeholder-row td {
  border-top: none !important;
  border-bottom: none !important;
  padding: 0 !important;
  height: 0;
  line-height: 0;
  overflow: hidden;
  position: relative;
}
#gd-tbl-f30d717e .gd-tbl-placeholder-row td .gd-tbl-placeholder-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d0d0d0;
}
#gd-tbl-f30d717e .gd-tbl-empty-msg {
  text-align: center;
  color: #999;
  font-size: 13px;
  font-style: italic;
  padding: 8px 0 4px 0;
  user-select: none;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-placeholder-row td .gd-tbl-placeholder-dot,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-placeholder-row td .gd-tbl-placeholder-dot,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-placeholder-row td .gd-tbl-placeholder-dot {
  background: #555;
}
body.quarto-dark #gd-tbl-f30d717e .gd-tbl-empty-msg,
html.quarto-dark #gd-tbl-f30d717e .gd-tbl-empty-msg,
:root[data-bs-theme="dark"] #gd-tbl-f30d717e .gd-tbl-empty-msg {
  color: #777;
}
/* ── Column toggle: responsive icon/text ─────────── */
#gd-tbl-f30d717e .gd-tbl-col-btn-icon {
  display: none;
  line-height: 0;
}
#gd-tbl-f30d717e .gd-tbl-col-btn-icon svg {
  display: block;
}
@media (max-width: 576px) {
  #gd-tbl-f30d717e .gd-tbl-col-btn-text {
    display: none;
  }
  #gd-tbl-f30d717e .gd-tbl-col-btn-icon {
    display: inline-flex;
  }
  #gd-tbl-f30d717e .gd-tbl-col-btn {
    padding: 5px 7px;
    line-height: 0;
  }
}
</style>


<table class="gt_table" data-quarto-disable-processing="true" data-quarto-bootstrap="false">
<thead>
<tr class="gt_heading">
<th colspan="4" class="gt_heading gt_title gt_font_normal"><div style="padding-top: 0; padding-bottom: 7px;">
<span class="gd-tbl-badge" style="background-color: #0075FF; color: #FFFFFF; border: 1px solid #0075FF; margin-right: 8px;">Polars</span>Rows673Columns3
</div></th>
</tr>
<tr class="gt_col_headings">
<th class="gt_col_heading gt_columns_bottom_border gt_right" scope="col"></th>
<th id="1kp" class="gt_col_heading gt_columns_bottom_border gt_left" scope="col"><div>

1kp

<em>str</em>

</div></th>
<th id="Species" class="gt_col_heading gt_columns_bottom_border gt_left" scope="col"><div>

Species

<em>str</em>

</div></th>
<th id="seqid" class="gt_col_heading gt_columns_bottom_border gt_right" scope="col"><div>

seqid

<em>i64</em>

</div></th>
</tr>
</thead>
<tbody class="gt_table_body">
<tr>
<td class="gt_row gt_right gd-tbl-rownum">0</td>
<td class="gt_row gt_left" style="max-width: 91px">QUTB</td>
<td class="gt_row gt_left" style="max-width: 244px">Aextoxicon punctatum</td>
<td class="gt_row gt_right" style="max-width: 129px">1600729034</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">1</td>
<td class="gt_row gt_left" style="max-width: 91px">HAEU</td>
<td class="gt_row gt_left" style="max-width: 244px">Berberidopsis beckleri</td>
<td class="gt_row gt_right" style="max-width: 129px">1600729034</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">2</td>
<td class="gt_row gt_left" style="max-width: 91px">IWMW</td>
<td class="gt_row gt_left" style="max-width: 244px">Buxus sempervirens</td>
<td class="gt_row gt_right" style="max-width: 129px">2120477204</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">3</td>
<td class="gt_row gt_left" style="max-width: 91px">EHNF</td>
<td class="gt_row gt_left" style="max-width: 244px">Dillenia indica</td>
<td class="gt_row gt_right" style="max-width: 129px">1693290177</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">4</td>
<td class="gt_row gt_left" style="max-width: 91px">OKEF</td>
<td class="gt_row gt_left" style="max-width: 244px">Hibbertia grossulariifolia</td>
<td class="gt_row gt_right" style="max-width: 129px">1693290177</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">5</td>
<td class="gt_row gt_left" style="max-width: 91px">XMQO</td>
<td class="gt_row gt_left" style="max-width: 244px">Gunnera manicata</td>
<td class="gt_row gt_right" style="max-width: 129px">1133408614</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">6</td>
<td class="gt_row gt_left" style="max-width: 91px">VQFW</td>
<td class="gt_row gt_left" style="max-width: 244px">Platanus occidentalis</td>
<td class="gt_row gt_right" style="max-width: 129px">114329725</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">7</td>
<td class="gt_row gt_left" style="max-width: 91px">GRRW</td>
<td class="gt_row gt_left" style="max-width: 244px">Grevillea robusta</td>
<td class="gt_row gt_right" style="max-width: 129px">2127894788</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">8</td>
<td class="gt_row gt_left" style="max-width: 91px">SIIK</td>
<td class="gt_row gt_left" style="max-width: 244px">Hakea drupacea</td>
<td class="gt_row gt_right" style="max-width: 129px">712911575</td>
</tr>
<tr class="gd-tbl-divider">
<td class="gt_row gt_right gd-tbl-rownum">9</td>
<td class="gt_row gt_left" style="max-width: 91px">RQUG</td>
<td class="gt_row gt_left" style="max-width: 244px">Hakea prostrata</td>
<td class="gt_row gt_right" style="max-width: 129px">712911575</td>
</tr>
</tbody>
</table>


You can use any comma-separated list of 1KP IDs you prefer using `--ref-cps`. By default, the set of `Ambtr,Arath,Orysa,UMUL,RQNK` is used, which covers the major Angiosperms clades.

If none of the plastid reference on the above list suits your dataset, you can provide your own plastid references using `--custom-cps`.

> **Caution: Caution**
>
> Since the cleaning step is reference agnostic, you could also use `--custom-cps` to give *any* sequences you want to filter your samples with (*e.g.* rRNA). However, the impact this may have in your samples comes at your own risk.
>
> Part of `NextPyper` secret to achieve high sensitivity is to consider ~~almost~~ all reads at assembly, and then keep only the components that are on target. We believe excluding data prior to this stage, with less resolution, is more likely to lead to undesired data loss.

You can also turn off this mapping filtering step entirely by using `--no-ref-cps`.


# Interseeds

You can control how seeds are shared across samples using `--interseeds <mode>`:

- **`sister`** (Default): Automatically infers sister samples and shares high-quality seeds among genetically close accessions. Recommended for balancing sensitivity and speed.
- **`all`**: Pools seeds collected across all dataset samples. Offers maximum sensitivity for rescuing low-coverage loci in difficult samples.
- **`none`**: Disables inter-sample seed gathering. Each sample is assembled strictly using its own seeds.

For a detailed explanation of seed harvesting, see [Seeds & Interseeds](../../user-guide/Concepts/seeds.md).


# Reassembly

To mitigate tribble generation, after SAUTE assembly, `NextPyper` evaluates the probes that created [tribbles](../../user-guide/Concepts/tribbles.md#What-is-a-Tribble) and proceeds to isolate and reassemble them with more stringent assembly parameters. This allows to better resolve and/or simplify many of the tribbles originally found.

You can turn off this feature by using the `--no-reasm` option. This will make the workflow to run faster, at the expense of getting more sequences coming from tribbles, [which could be chimeric](../../user-guide/Concepts/tribbles.md#Tribbles-and-Chimeric-Sequence-Formation).


# Ploidy

By default, `NextPyper` operates in a ploidy-agnostic manner to retrieve sample sequences. However, ploidy information can be provided to adjust the number of homologs that are expected to be present in a sample. This will affect the threshold to determine which components are considered tribbles, and how many sequences to keep when capping those components.

Sample ploidy information can be provided in the 4th column of your [sample table](../../user-guide/Getting-started/prep_samples.md).

- **`--use-ploidy`**: Takes into account the expected ploidy level of each sample to guide the maximum number of expected homoeologous variants retained during variant capping.
- **`--no-ploidy`** (Default): Ignores sample ploidy column information. `NextPyper` will use the [parameter](../../user-guide/Advanced-usage/parameters.md) `max_variants` to determine what components are tribbles and the threshold to cap them.

Setting ploidy to `0` implies that the sample has no ploidy information and will be treated as in the ploidy-agnostic setting. You can mix samples with `0` with samples with known ploidy if you want to treat them differently.

> **Warning: Warning**
>
> Default `NextPyper` settings strive for maximum sensitivity, so that the user gets all the sample homologs even at the expense of some noise (*e.g.* uninformative allelic variants). In other words, default `NextPyper` settings strive to minimize false negatives. We believe it is easier for the user to remove this noise downstream, than trying to recover homologs that remained unassembled.
>
> Since ploidy information affects what components are considered tribbles and the threshold to cap them (see [tribbles](../../user-guide/Concepts/tribbles.md#What-is-a-Tribble)), using it will affect the sequences that are output.
