# Nextera Rapid Capture Custom Enrichment v2.0

## Protocol 1: Nextera Rapid Capture Custom Enrichment v2.0

Protocol Type = Library Prep

**Next Steps Configuration**

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-e83a649ee18ec0456b31a5806ada05926eb9b1cd%2Fnextera-rapid-next-step-config.png?alt=media" alt=""><figcaption></figcaption></figure>

### Step 1: Tagment Genomic DNA (NRCC v2.0)

* Master Step Name = Tagment v2.0
* Step Type = Standard
* Derived Sample Generation = Fixed, 1
* Naming Convention = {SubmittedSampleName}
* Reagent Kits
  * Nextera Rapid Capture Custom Enrichment Kit, Box 1
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>
  * Nextera Rapid Capture Custom Enrichment Kit, Box 2
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-1ab05790be6ac260e804e60f65b695dcc7b426d9%2Fnextera-rapid-step1-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Normalize gDNA</summary>

* Trigger Location = Record Details
* Trigger Style = Manual button

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} script:evaluateDynamicExpression -t true -h false -exp 'output.::Sample Volume (ul):: = 50 / input.::Concentration:: ; output.::Buffer Volume (ul):: = 10 - output.::Sample Volume (ul)::' -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

<details>

<summary>Set Next Step - Advance</summary>

* Trigger Location = Record Details
* Trigger Style = Automatic upon exit

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} \
      script:evaluateDynamicExpression \
      -t false \
      -h false \
      -exp 'nextStep = ::ADVANCE::' \
      -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

<details>

<summary>Normalize gDNA (Nextera XT)</summary>

* Trigger Location = Not Used

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} script:evaluateDynamicExpression -t true -h false -exp 'output.::Sample Volume (ul):: = (0.2 * 5) / input.::Concentration:: ; output.::Buffer Volume (ul):: = 5 - output.::Sample Volume (ul)::' -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

#### Queue/Ice Bucket

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
* Sample Table
  * Column Headers

    | **Category**   | **Field Name** | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | -------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name | Built-in       |             |                                           |
    | Container      | Well           | Built-in       |             |                                           |
    | Derived Sample | Sample Name    | Built-in       |             |                                           |
    | Derived Sample | Waiting        | Built-in       |             |                                           |
  * Expanded View Fields

    | **Category** | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | ------------ | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container    | LIMS ID (Container) | Built-in       |             |                                           |
    | Project      | Project Name        | Built-in       |             |                                           |

#### Placement = Enabled

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
  * Placement Pattern = Row
* Destination Containers
  * 96 well plate

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name** | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
  | -------------- | -------------- | ----------- | ----------------------------------------- |
  | Comment        | Multiline Text |             |                                           |
* Step File Placeholders
  * Log File - Automatically attached
* Sample Table
  * Sample Display Default = Expand
  * Well Sort Order = Row
  * Table Columns - Global Fields

    | **Category**   | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name      | Built-in       |             |                                           |
    | Container      | LIMS ID (Container) | Built-in       |             |                                           |
    | Container      | Well                | Built-in       |             |                                           |
    | Derived Sample | Buffer Volume (ul)  | Numeric        |             | Decimal Places Displayed = 2              |
    | Derived Sample | Sample Name         | Built-in       |             |                                           |
    | Derived Sample | Sample Volume (ul)  | Numeric        |             | Decimal Places Displayed = 2              |
    | Project        | Project Name        | Built-in       |             |                                           |

### Step 2: Clean Up Tagmented DNA (NRCC v2.0)

* Master Step Name = Clean Up v2.0
* Step Type = Standard
* Derived Sample Generation = Fixed, 1
* Naming Convention = {InputItemName}
* Reagent Kits
  * Nextera Rapid Capture Custom Enrichment Kit, Box 1
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>
  * Nextera Rapid Capture Custom Enrichment Kit, Box 2
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-a46dff475d4c880c24916e24b3520e89db3ecd86%2Fnextera-rapid-step2-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Set Next Step - Advance</summary>

* Trigger Location = Not Used

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} \
      script:evaluateDynamicExpression \
      -t false \
      -h false \
      -exp 'nextStep = ::ADVANCE::' \
      -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

#### Queue/Ice Bucket

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
* Sample Table
  * Column Headers

    | **Category**   | **Field Name** | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | -------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name | Built-in       |             |                                           |
    | Container      | Well           | Built-in       |             |                                           |
    | Derived Sample | Sample Name    | Built-in       |             |                                           |
    | Derived Sample | Waiting        | Built-in       |             |                                           |
  * Expanded View Fields

    | **Category** | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | ------------ | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container    | LIMS ID (Container) | Built-in       |             |                                           |
    | Project      | Project Name        | Built-in       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**     | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
  | ------------------ | -------------- | ----------- | ----------------------------------------- |
  | Comment            | Multiline Text |             |                                           |
  | 80% EtOH Prep Date | Date           |             |                                           |
* Step File Placeholders
  * Log File - Automatically attached
* Sample Table
  * Sample Display Default = Expand
  * Well Sort Order = Row
  * Table Columns - Global Fields

    | **Category**   | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name      | Built-in       |             |                                           |
    | Container      | LIMS ID (Container) | Built-in       |             |                                           |
    | Container      | Well                | Built-in       |             |                                           |
    | Derived Sample | Sample Name         | Built-in       |             |                                           |
    | Project        | Project Name        | Built-in       |             |                                           |

### Step 3: Bioanalyzer QC (DNA) (NRCC v2.0)

* Master Step Name = Bioanalyzer QC (DNA) 5.1.2
* Step Type = Standard QC
* Measurement Generation = Fixed, 1
* Naming Convention = {InputItemName} Bioanalyzer

{% hint style="info" %}
The version of Bioanalyzer QC (DNA) master step name may be different depending on the version of IPP installed.
{% endhint %}

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-e7cc77632f865e12355954b7cb389b2d2b828129%2Fnextera-rapid-step3-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Generate Bioanalyzer driver file</summary>

* Trigger Location = Record Details
* Trigger Style = Automatic upon entry

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/DriverFileGenerator.jar -u {username} -p {password} \
      script:driver_file_generator \
        -i {processURI:v2} \
        -t /opt/gls/clarity/extensions/ngs-common/v5/EPP/conf/readonly/bioA_driver_file_template.csv \
        -o {compoundOutputFileLuid0}.csv \
        -l {compoundOutputFileLuid1}  \
      && /opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -u {username} -p {password} \
      script:addBlankLines \
        -i {stepURI:v2} \
        -f {compoundOutputFileLuid0}.csv \
        -l {compoundOutputFileLuid1} \
        -sep COMMA \
        -b ',False,' \
        -h 1 \
        -c LIMSID \
        -pre 'Sample '"
```

{% endcode %}

</details>

<details>

<summary>Parse Bioanalyzer XML and assign QC flags</summary>

* Trigger Location = Record Details
* Trigger Style = Manual button

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -u {username} -p {password} -i {processURI:v2} \
      script:parseBioAnalyzer \
        -inputFile {compoundOutputFileLuid2} \
        -log {compoundOutputFileLuid5} \
        -configFile '/opt/gls/clarity/extensions/conf/v5/bioanalyzer/defaultBioAnalyzerDNAConfig.groovy' \
      script:assignQC \
        -log {compoundOutputFileLuid6} \
        -qcResult {compoundOutputFileLuid7}"
```

{% endcode %}

</details>

<details>

<summary>Set Next Step - Advance</summary>

* Trigger Location = Record Details
* Trigger Style = Automatic upon exit

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} \
      script:evaluateDynamicExpression \
      -t true \
      -h false \
      -exp 'nextStep = ::ADVANCE::' \
      -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

<details>

<summary>Set Next Step - Output PASS/FAIL</summary>

* Trigger Location = Not Used

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} script:evaluateDynamicExpression -t true -h false -excludeControls true -exp 'if (output.QC == true) { nextStep = ::ADVANCE:: } else { nextStep = ::ESCALATE:: }' -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

<details>

<summary>Set Next Step and Copy to Input</summary>

* Trigger Location = Not Used

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} script:evaluateDynamicExpression -t true -h false -exp 'nextStep = ::ADVANCE:: ; input.::Concentration (ng/ul):: = output.::Concentration::' -log {compoundOutputFileLuid7}"
```

{% endcode %}

</details>

#### Queue/Ice Bucket

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
* Sample Table
  * Column Headers

    | **Category**   | **Field Name** | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | -------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name | Built-in       |             |                                           |
    | Container      | Well           | Built-in       |             |                                           |
    | Derived Sample | Sample Name    | Built-in       |             |                                           |
    | Derived Sample | Waiting        | Built-in       |             |                                           |
  * Expanded View Fields

    | **Category** | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | ------------ | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container    | LIMS ID (Container) | Built-in       |             |                                           |
    | Project      | Project Name        | Built-in       |             |                                           |

#### Placement = Enabled

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
  * Placement Pattern = Column
* Destination Containers

  * BioAnalyzer DNA High Sensitivity Chip

  <figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-b01a3d1277eb9352528522ca613f83cae1d7c7c6%2Fbioanalyzer-dna-high-sensitivity-chip-container.png?alt=media" alt=""><figcaption></figcaption></figure>

  * BioAnalyzer DNA 1000 Chip

  <figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-28c00d95372efbcc2c4cb08969972a094491630e%2Fbioanalyzer-dna-1000-chip-container.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Record Details

**Group of Defaults**

<details>

<summary>NRCC</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Peak 2 Size - bp
* Criteria 1 - Threshold Value = 150.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Peak 2 Size - bp
* Criteria 2 - Threshold Value = 1,000.00
* Use strict matching for Bioanalyzer results = No

</details>

<details>

<summary>Peak 2 Size Thresholds</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Peak 2 Size - bp
* Criteria 1 - Threshold Value = 100.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Peak 2 Size - bp
* Criteria 2 - Threshold Value = 1,000.00
* Use strict matching for Bioanalyzer results = No

</details>

<details>

<summary>TruSeq ChIP-Seq</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Region 1 Molarity
* Criteria 1 - Threshold Value = 5.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Region 1 Molarity
* Criteria 2 - Threshold Value = 10.00
* Use strict matching for Bioanalyzer results = No

</details>

<details>

<summary>TruSeq Methyl Capture EPIC</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Peak 2 Size - bp
* Criteria 1 - Threshold Value = 100.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Peak 2 Size - bp
* Criteria 2 - Threshold Value = 300.00

</details>

<details>

<summary>TruSeq Rapid Exome</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Peak 2 Size - bp
* Criteria 1 - Threshold Value = 150.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Peak 2 Size - bp
* Criteria 2 - Threshold Value = 1,000.00
* Use strict matching for Bioanalyzer results = No

</details>

* Step Data
  * Group of Defaults = NRCC
  * Master Step Fields

    | **Field Name**                              | **Field Type** | **Options** | **Additional Options and Dropdown Items**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
    | ------------------------------------------- | -------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | Criteria 1 - Operator                       | Text Dropdown  |             | <p>Presets</p><ul><li>>=</li><li><=</li><li>=</li><li>!=</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
    | Criteria 1 - Source Data Field              | Text Dropdown  |             | <p>Presets</p><ul><li>Concentration</li><li>Conc. Units</li><li>Number of Peaks found</li><li>Peak 1 Size - bp</li><li>Peak 1 Conc.</li><li>Peak 1 Molarity</li><li>Peak 2 Size - bp</li><li>Peak 2 Conc.</li><li>Peak 2 Molarity</li><li>Peak 3 Size - bp</li><li>Peak 3 Conc.</li><li>Peak 3 Molarity</li><li>Peak 4 Size - bp</li><li>Peak 4 Conc.</li><li>Peak 4 Molarity</li><li>Peak 5 Size - bp</li><li>Peak 5 Conc.</li><li>Peak 5 Molarity</li><li>Number of Regions found</li><li>Region 1 Average Size - bp</li><li>Region 1 Conc.</li><li>Region 1 Molarity</li><li>Region 2 Average Size - bp</li><li>Region 2 Conc.</li><li>Region 2 Molarity</li><li>Region 3 Average Size - bp</li><li>Region 3 Conc.</li><li>Region 3 Molarity</li><li>Region 4 Average Size - bp</li><li>Region 4 Conc.</li><li>Region 4 Molarity</li><li>Region 5 Average Size - bp</li><li>Region 5 Conc.</li><li>Region 5 Molarity</li></ul> |
    | Criteria 1 - Threshold Value                | Numeric        |             | Decimal Places Displayed = 2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
    | Criteria 2 - Operator                       | Text Dropdown  |             | <p>Presets</p><ul><li>>=</li><li><=</li><li>=</li><li>!=</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
    | Criteria 2 - Source Data Field              | Text Dropdown  |             | <p>Presets</p><ul><li>Concentration</li><li>Conc. Units</li><li>Number of Peaks found</li><li>Peak 1 Size - bp</li><li>Peak 1 Conc.</li><li>Peak 1 Molarity</li><li>Peak 2 Size - bp</li><li>Peak 2 Conc.</li><li>Peak 2 Molarity</li><li>Peak 3 Size - bp</li><li>Peak 3 Conc.</li><li>Peak 3 Molarity</li><li>Peak 4 Size - bp</li><li>Peak 4 Conc.</li><li>Peak 4 Molarity</li><li>Peak 5 Size - bp</li><li>Peak 5 Conc.</li><li>Peak 5 Molarity</li><li>Number of Regions found</li><li>Region 1 Average Size - bp</li><li>Region 1 Conc.</li><li>Region 1 Molarity</li><li>Region 2 Average Size - bp</li><li>Region 2 Conc.</li><li>Region 2 Molarity</li><li>Region 3 Average Size - bp</li><li>Region 3 Conc.</li><li>Region 3 Molarity</li><li>Region 4 Average Size - bp</li><li>Region 4 Conc.</li><li>Region 4 Molarity</li><li>Region 5 Average Size - bp</li><li>Region 5 Conc.</li><li>Region 5 Molarity</li></ul> |
    | Criteria 2 - Threshold Value                | Numeric        |             | Decimal Places Displayed = 2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
    | Use strict matching for Bioanalyzer results | Toggle Switch  |             | Default = None Set                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
* Step File Placeholders
  * Bioanalyzer Driver File - Automatically attached
  * Bioanalyzer Driver File Generation Log File - Automatically attached
  * Bioanalyzer XML Result File (required) - Manually uploaded
  * Result File (optional) - Manually uploaded
  * PDF Summary File (optional) - Manually uploaded
  * Bioanalyzer XML Parsing Log File - Automatically attached
  * QC Assignment Log File - Automatically attached
  * QC Assignment Report - Automatically attached
* Sample Table
  * Enable QC Flags = Yes
  * Sample Display Default = Expand
  * Well Sort Order = Row
  * File Column Options
    * File Column Display = Hide
    * File Attachment Method = Auto
  * Table Columns - Global Fields

    | **Category**   | **Field Name**             | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | -------------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name             | Built-in       |             |                                           |
    | Container      | LIMS ID (Container)        | Built-in       |             |                                           |
    | Container      | Well                       | Built-in       |             |                                           |
    | Derived Sample | Sample Name                | Built-in       |             |                                           |
    | Measurement    | A260/280 ratio             | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | BA Sample Name             | Text           |             |                                           |
    | Measurement    | Concentration              | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Conc. Units                | Text           |             |                                           |
    | Measurement    | Number of Peaks found      | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Number of Regions found    | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Peak 1 Conc.               | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 1 Molarity            | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 1 Size - bp           | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Peak 2 Conc.               | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 2 Molarity            | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 2 Size - bp           | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Peak 3 Conc.               | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 3 Molarity            | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 3 Size - bp           | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Peak 4 Conc.               | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 4 Molarity            | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 4 Size - bp           | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Peak 5 Conc.               | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 5 Molarity            | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 5 Size - bp           | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 1 Average Size - bp | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Region 1 Conc.             | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 1 Molarity          | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 2 Average Size - bp | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Region 2 Conc.             | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 2 Molarity          | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 3 Average Size - bp | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Region 3 Conc.             | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 3 Molarity          | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 4 Average Size - bp | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Region 4 Conc.             | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 4 Molarity          | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 5 Average Size - bp | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Region 5 Conc.             | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 5 Molarity          | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Sample Comment             | Text           |             |                                           |
    | Project        | Project Name               | Built-in       |             |                                           |

### Step 4: Amplify Tagmented DNA (NRCC v2.0)

* Master Step Name = Amplify Tagmented DNA v2.0
* Step Type = Add Labels
* Derived Sample Generation = Fixed, 1
* Naming Convention = {SubmittedSampleName}
* Reagent Kits
  * Nextera Rapid Capture Custom Enrichment Kit, Box 2
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-0e67da045c6ea30535c8e011064d2f1e3cfbba0d%2Fnextera-rapid-step4-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Set Next Step - Advance</summary>

* Trigger Location = Record Details
* Trigger Style = Automatic upon exit

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} \
      script:evaluateDynamicExpression \
      -t false \
      -h false \
      -exp 'nextStep = ::ADVANCE::' \
      -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

#### Queue/Ice Bucket

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
* Sample Table
  * Column Headers

    | **Category**   | **Field Name** | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | -------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name | Built-in       |             |                                           |
    | Container      | Well           | Built-in       |             |                                           |
    | Derived Sample | Sample Name    | Built-in       |             |                                           |
    | Derived Sample | Waiting        | Built-in       |             |                                           |
  * Expanded View Fields

    | **Category** | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | ------------ | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container    | LIMS ID (Container) | Built-in       |             |                                           |
    | Project      | Project Name        | Built-in       |             |                                           |

#### Add Labels

* Label Groups
  * Nextera Rapid Capture Custom Enrichment (NRCC)

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**         | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
  | ---------------------- | -------------- | ----------- | ----------------------------------------- |
  | Comment                | Multiline Text |             |                                           |
  | Thermal Cycler Program | Text           |             | Default = NLM AMP                         |
* Step File Placeholders
  * Log File - Automatically attached
* Sample Table
  * Sample Display Default = Expand
  * Well Sort Order = Row
  * Table Columns - Global Fields

    | **Category**   | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name      | Built-in       |             |                                           |
    | Container      | LIMS ID (Container) | Built-in       |             |                                           |
    | Container      | Well                | Built-in       |             |                                           |
    | Derived Sample | Reagent Name        | Built-in       |             |                                           |
    | Derived Sample | Sample Name         | Built-in       |             |                                           |
    | Project        | Project Name        | Built-in       |             |                                           |

### Step 5: Clean Up Amplified DNA (NRCC v2.0)

* Master Step Name = Clean Up v2.0
* Step Type = Standard
* Derived Sample Generation = Fixed, 1
* Naming Convention = {InputItemName}
* Reagent Kits
  * Nextera Rapid Capture Custom Enrichment Kit, Box 1
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>
  * Nextera Rapid Capture Custom Enrichment Kit, Box 2
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-9834997632d3d3be18456bdb4ef11fbea3153acd%2Fnextera-rapid-step5-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Set Next Step - Advance</summary>

* Trigger Location = Not Used

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} \
      script:evaluateDynamicExpression \
      -t false \
      -h false \
      -exp 'nextStep = ::ADVANCE::' \
      -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

#### Queue/Ice Bucket

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
* Sample Table
  * Column Headers

    | **Category**   | **Field Name** | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | -------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name | Built-in       |             |                                           |
    | Container      | Well           | Built-in       |             |                                           |
    | Derived Sample | Sample Name    | Built-in       |             |                                           |
    | Derived Sample | Waiting        | Built-in       |             |                                           |
  * Expanded View Fields

    | **Category** | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | ------------ | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container    | LIMS ID (Container) | Built-in       |             |                                           |
    | Project      | Project Name        | Built-in       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**     | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
  | ------------------ | -------------- | ----------- | ----------------------------------------- |
  | Comment            | Multiline Text |             |                                           |
  | 80% EtOH Prep Date | Date           |             |                                           |
* Step File Placeholders
  * Log File - Automatically attached
* Sample Table
  * Sample Display Default = Expand
  * Well Sort Order = Row
  * Table Columns - Global Fields

    | **Category**   | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name      | Built-in       |             |                                           |
    | Container      | LIMS ID (Container) | Built-in       |             |                                           |
    | Container      | Well                | Built-in       |             |                                           |
    | Derived Sample | Sample Name         | Built-in       |             |                                           |
    | Project        | Project Name        | Built-in       |             |                                           |

### Step 6: Bioanalyzer QC (Library Validation) (NRCC v2.0)

* Master Step Name = Bioanalyzer QC (Library Validation) v2.0
* Step Type = Standard QC
* Measurement Generation = Fixed, 1
* Naming Convention = {InputItemName} Bioanalyzer

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-4b7c42359bb9d464f91160bedcfe5568c91c54e4%2Fnextera-rapid-step6-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Generate Bioanalyzer Input file</summary>

* Trigger Location = Record Details
* Trigger Style = Automatic upon entry

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/DriverFileGenerator.jar script:driver_file_generator -i {processURI:v2} -u {username} -p {password} -t /opt/gls/clarity/extensions/ngs-common/v5/EPP/conf/readonly/bioA_driver_file_template.csv -o {compoundOutputFileLuid0}.csv -l {compoundOutputFileLuid1}  && /opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar script:addBlankLines -i {stepURI:v2} -u {username} -p {password} -f {compoundOutputFileLuid0}.csv -l {compoundOutputFileLuid1} -sep COMMA -b ',False,' -h 1 -c LIMSID -pre 'Sample '"
```

{% endcode %}

</details>

<details>

<summary>Parse Bioanalyzer XML, Calculate nM and assign QC flags</summary>

* Trigger Location = Record Details
* Trigger Style = Manual button

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {processURI:v2} -u {username} -p {password} script:parseBioAnalyzer -inputFile {compoundOutputFileLuid2} -log {compoundOutputFileLuid5} -configFile '/opt/gls/clarity/extensions/conf/v5/bioanalyzer/defaultBioAnalyzerDNAConfig.groovy' && /opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} script:evaluateDynamicExpression -t true -h false -exp 'output.::Concentration:: = output.::Region 1 Conc.:: ; output.::Molarity (nM):: = (output.::Concentration:: * 1000000) / (660 * output.::Region 1 Average Size - bp::) ; input.::Molarity (nM):: = output.::Molarity (nM):: ; output.::Conc. Units:: = ::ng/ul::' -log {compoundOutputFileLuid8} && /opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {processURI:v2} -u {username} -p {password} script:assignQC -log {compoundOutputFileLuid6} -qcResult {compoundOutputFileLuid7}"
```

{% endcode %}

</details>

<details>

<summary>Set Next Step - Output PASS/FAIL</summary>

* Trigger Location = Record Details
* Trigger Style = Automatic upon exit

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} script:evaluateDynamicExpression -t true -h false -excludeControls true -exp 'if (output.QC == true) { nextStep = ::ADVANCE:: } else { nextStep = ::ESCALATE:: }' -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

<details>

<summary>Parse Bioanalyzer XML, Assign QC flags, and Copy Concentrations</summary>

* Trigger Location = Not Used

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {processURI:v2} -u {username} -p {password} script:parseBioAnalyzer -inputFile {compoundOutputFileLuid2} -log {compoundOutputFileLuid5} -configFile '/opt/gls/clarity/extensions/conf/v5/bioanalyzer/defaultBioAnalyzerDNAConfig.groovy' script:assignQC -log {compoundOutputFileLuid6} -qcResult {compoundOutputFileLuid7} && /opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} script:evaluateDynamicExpression -t true -h false -exp 'output.::Concentration:: = output.::Region 1 Conc.:: ; input.::Concentration:: = output.::Concentration:: ; output.::Conc. Units:: = ::ng/ul:: ; input.::Conc. Units:: = output.::Conc. Units::' -log {compoundOutputFileLuid8}"
```

{% endcode %}

</details>

<details>

<summary>Parse Bioanalyzer XML and assign QC flags</summary>

* Trigger Location = Not Used

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {processURI:v2} -u {username} -p {password} script:parseBioAnalyzer -inputFile {compoundOutputFileLuid2} -log {compoundOutputFileLuid5} -configFile '/opt/gls/clarity/extensions/conf/v5/bioanalyzer/defaultBioAnalyzerDNAConfig.groovy' script:assignQC -log {compoundOutputFileLuid6} -qcResult {compoundOutputFileLuid7}"
```

{% endcode %}

</details>

<details>

<summary>Parse Bioanalyzer XML, Copy nM and Assign QC flags</summary>

* Trigger Location = Not Used

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {processURI:v2} -u {username} -p {password} script:parseBioAnalyzer -inputFile {compoundOutputFileLuid2} -log {compoundOutputFileLuid5} -configFile '/opt/gls/clarity/extensions/conf/v5/bioanalyzer/defaultBioAnalyzerDNAConfig.groovy' && /opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} script:evaluateDynamicExpression -t true -h false -exp 'if (output.::Conc. Units::.contains(::pg::)) {output.::Molarity (nM):: = output.::Region 1 Molarity:: / 1000} else {output.::Molarity (nM):: = output.::Region 1 Molarity::} ; (input.::Molarity (nM):: = output.::Molarity (nM)::) ' -log {compoundOutputFileLuid8} && /opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {processURI:v2} -u {username} -p {password} script:assignQC -log {compoundOutputFileLuid6} -qcResult {compoundOutputFileLuid7}"
```

{% endcode %}

</details>

#### Queue/Ice Bucket

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
* Sample Table (Column Headers)

  | **Category**   | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
  | -------------- | ------------------- | -------------- | ----------- | ----------------------------------------- |
  | Container      | Container Name      | Built-in       |             |                                           |
  | Container      | LIMS ID (Container) | Built-in       |             |                                           |
  | Container      | Well                | Built-in       |             |                                           |
  | Derived Sample | Sample Name         | Built-in       |             |                                           |
  | Derived Sample | Waiting             | Built-in       |             |                                           |
  | Project        | Project Name        | Built-in       |             |                                           |

#### Placement = Enabled

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Column
  * Placement Pattern = Column
* Destination Containers

  * BioAnalyzer DNA High Sensitivity Chip

  <figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-b01a3d1277eb9352528522ca613f83cae1d7c7c6%2Fbioanalyzer-dna-high-sensitivity-chip-container.png?alt=media" alt=""><figcaption></figcaption></figure>

  * BioAnalyzer DNA 1000 Chip

  <figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-28c00d95372efbcc2c4cb08969972a094491630e%2Fbioanalyzer-dna-1000-chip-container.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**                              | **Field Type** | **Options**    | **Additional Options and Dropdown Items**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
  | ------------------------------------------- | -------------- | -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Criteria 1 - Operator                       | Text Dropdown  | Custom Entries | <p>Presets</p><ul><li>>=</li><li><=</li><li>=</li><li>!=</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
  | Criteria 1 - Source Data Field              | Text Dropdown  |                | <p>Presets</p><ul><li>Concentration</li><li>Conc. Units</li><li>Number of Peaks found</li><li>Peak 1 Size - bp</li><li>Peak 1 Conc.</li><li>Peak 1 Molarity</li><li>Peak 2 Size - bp</li><li>Peak 2 Conc.</li><li>Peak 2 Molarity</li><li>Peak 3 Size - bp</li><li>Peak 3 Conc.</li><li>Peak 3 Molarity</li><li>Peak 4 Size - bp</li><li>Peak 4 Conc.</li><li>Peak 4 Molarity</li><li>Peak 5 Size - bp</li><li>Peak 5 Conc.</li><li>Peak 5 Molarity</li><li>Number of Regions found</li><li>Region 1 Average Size - bp</li><li>Region 1 Conc.</li><li>Region 1 Molarity</li><li>Region 2 Average Size - bp</li><li>Region 2 Conc.</li><li>Region 2 Molarity</li><li>Region 3 Average Size - bp</li><li>Region 3 Conc.</li><li>Region 3 Molarity</li><li>Region 4 Average Size - bp</li><li>Region 4 Conc.</li><li>Region 4 Molarity</li><li>Region 5 Average Size - bp</li><li>Region 5 Conc.</li><li>Region 5 Molarity</li></ul> |
  | Criteria 1 - Threshold Value                | Numeric        |                | Decimal Places Displayed = 2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
  | Criteria 2 - Operator                       | Text Dropdown  | Custom Entries | <p>Presets</p><ul><li>>=</li><li><=</li><li>=</li><li>!=</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
  | Criteria 2 - Source Data Field              | Text Dropdown  |                | <p>Presets</p><ul><li>Concentration</li><li>Conc. Units</li><li>Number of Peaks found</li><li>Peak 1 Size - bp</li><li>Peak 1 Conc.</li><li>Peak 1 Molarity</li><li>Peak 2 Size - bp</li><li>Peak 2 Conc.</li><li>Peak 2 Molarity</li><li>Peak 3 Size - bp</li><li>Peak 3 Conc.</li><li>Peak 3 Molarity</li><li>Peak 4 Size - bp</li><li>Peak 4 Conc.</li><li>Peak 4 Molarity</li><li>Peak 5 Size - bp</li><li>Peak 5 Conc.</li><li>Peak 5 Molarity</li><li>Number of Regions found</li><li>Region 1 Average Size - bp</li><li>Region 1 Conc.</li><li>Region 1 Molarity</li><li>Region 2 Average Size - bp</li><li>Region 2 Conc.</li><li>Region 2 Molarity</li><li>Region 3 Average Size - bp</li><li>Region 3 Conc.</li><li>Region 3 Molarity</li><li>Region 4 Average Size - bp</li><li>Region 4 Conc.</li><li>Region 4 Molarity</li><li>Region 5 Average Size - bp</li><li>Region 5 Conc.</li><li>Region 5 Molarity</li></ul> |
  | Criteria 2 - Threshold Value                | Numeric        |                | Decimal Places Displayed = 2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
  | Use strict matching for Bioanalyzer results | Toggle Switch  |                | Default = None Set                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
* Step File Placeholders
  * Bioanalyzer Input File - Automatically attached
  * Bioanalyzer Input File Generation Log File - Automatically attached
  * Bioanalyzer XML Result File (required) - Manually uploaded
  * Result File (optional) - Manually uploaded
  * PDF Summary File (optional) - Manually uploaded
  * Bioanalyzer XML Parsing Log File - Automatically attached
  * QC Assignment Log File - Automatically attached
  * QC Assignment Report - Automatically attached
* Sample Table
  * Enable QC Flags = Yes
  * Sample Display Default = Expand
  * Well Sort Order = Column
  * File Column Options
    * File Column Display = Hide
    * File Attachment Method = Auto
  * Table Columns - Global Fields

    | **Category**   | **Field Name**             | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | -------------------------- | -------------- | ----------- | ----------------------------------------- |
    | Derived Sample | Molarity (nM)              | Numeric        |             | Decimal Places Displayed = 2              |
    | Derived Sample | Sample Name                | Built-in       |             |                                           |
    | Measurement    | BA Sample Name             | Text           |             |                                           |
    | Measurement    | Concentration              | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Conc. Units                | Text           |             |                                           |
    | Measurement    | Molarity (nM)              | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Number of Peaks found      | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Number of Regions found    | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Peak 1 Conc.               | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 1 Molarity            | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 1 Size - bp           | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Peak 2 Conc.               | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 2 Molarity            | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 2 Size - bp           | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Peak 3 Conc.               | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 3 Molarity            | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 3 Size - bp           | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Peak 4 Conc.               | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 4 Molarity            | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 4 Size - bp           | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Peak 5 Conc.               | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 5 Molarity            | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 5 Size - bp           | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 1 Average Size - bp | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Region 1 Conc.             | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 1 Molarity          | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 2 Average Size - bp | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Region 2 Conc.             | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 2 Molarity          | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 3 Average Size - bp | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Region 3 Conc.             | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 3 Molarity          | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 4 Average Size - bp | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Region 4 Conc.             | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 4 Molarity          | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 5 Average Size - bp | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Region 5 Conc.             | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 5 Molarity          | Numeric        |             | Decimal Places Displayed = 2              |

### Step 7: Hybridize Probes (NRCC v2.0)

* Master Step Name = Hybridize with Pooling v2.0
* Step Type = Pooling
* Aliquot Generation = Fixed, 1
* Naming Convention = {PoolName}
* Reagent Kits
  * Nextera Rapid Capture Custom Enrichment Kit, Box 2
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>
  * Nextera Rapid Capture Custom Enrichment Kit, Box 4
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-f51e0e0dfbaab8adaad8e280319b86ed9ef72a06%2Fnextera-rapid-step7-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Set Next Step - Advance</summary>

* Trigger Location = Record Details
* Trigger Style = Automatic upon exit

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} \
      script:evaluateDynamicExpression \
      -t false \
      -h false \
      -exp 'nextStep = ::ADVANCE::' \
      -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

#### Queue/Ice Bucket

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
* Sample Table
  * Column Headers

    | **Category**   | **Field Name** | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | -------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name | Built-in       |             |                                           |
    | Container      | Well           | Built-in       |             |                                           |
    | Derived Sample | Sample Name    | Built-in       |             |                                           |
    | Derived Sample | Waiting        | Built-in       |             |                                           |
  * Expanded View Fields

    | **Category** | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | ------------ | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container    | LIMS ID (Container) | Built-in       |             |                                           |
    | Project      | Project Name        | Built-in       |             |                                           |

#### Pooling

* Label Uniqueness = On
* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row

#### Placement = Enabled

* Defaults
  * Well Sort Order = Row
  * Placement Pattern = Column
* Destination Containers
  * 96 well plate

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**         | **Field Type** | **Options**    | **Additional Options and Dropdown Items**               |
  | ---------------------- | -------------- | -------------- | ------------------------------------------------------- |
  | Comment                | Multiline Text |                |                                                         |
  | Thermal Cycler Program | Text Dropdown  | Custom Entries | <p>Presets</p><ul><li>RNA HYB</li><li>NRC HYB</li></ul> |
* Step File Placeholders
  * Log File - Automatically attached
* Sample Table
  * Sample Display Default = Expand
  * Well Sort Order = Row
  * Table Columns - Global Fields

    | **Category**   | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name      | Built-in       |             |                                           |
    | Container      | LIMS ID (Container) | Built-in       |             |                                           |
    | Container      | Well                | Built-in       |             |                                           |
    | Derived Sample | Sample Name         | Built-in       |             |                                           |
    | Project        | Project Name        | Built-in       |             |                                           |

### Step 8: Capture Hybridized Probes (NRCC v2.0)

* Master Step Name = Capture Hybridized Probes v2.0
* Step Type = Standard
* Derived Sample Generation = Fixed, 1
* Naming Convention = {InputItemName}
* Reagent Kits
  * Nextera Rapid Capture Custom Enrichment Kit, Box 1
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>
  * Nextera Rapid Capture Custom Enrichment Kit, Box 2
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-9cd3e7dd54dc5d7c28778a64ece5ab31145d20c1%2Fnextera-rapid-step8-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Set Next Step - Advance</summary>

* Trigger Location = Record Details
* Trigger Style = Automatic upon exit

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} \
      script:evaluateDynamicExpression \
      -t false \
      -h false \
      -exp 'nextStep = ::ADVANCE::' \
      -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

<details>

<summary>Calculate Master Mix</summary>

* Trigger Location = Not Used

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2:http} -u {username} -p {password} script:evaluateDynamicExpression -t false -h false -exp 'step.::Total Number of Samples:: = step.::Total Number of Samples:: + 1' -log {compoundOutputFileLuid0} && /opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2:http} -u {username} -p {password} script:evaluateDynamicExpression -t false -h false -exp 'step.::Enrichment Elution Buffer 1 (ul):: = 28.5 * step.::Total Number of Samples:: ; step.::2N NaOH (ul):: = 1.5 * step.::Total Number of Samples::' -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

#### Queue/Ice Bucket

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
* Sample Table
  * Column Headers

    | **Category**   | **Field Name** | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | -------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name | Built-in       |             |                                           |
    | Container      | Well           | Built-in       |             |                                           |
    | Derived Sample | Sample Name    | Built-in       |             |                                           |
    | Derived Sample | Waiting        | Built-in       |             |                                           |
  * Expanded View Fields

    | **Category** | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | ------------ | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container    | LIMS ID (Container) | Built-in       |             |                                           |
    | Project      | Project Name        | Built-in       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name** | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
  | -------------- | -------------- | ----------- | ----------------------------------------- |
  | Comment        | Multiline Text |             |                                           |
* Step File Placeholders
  * Log File - Automatically attached
* Sample Table
  * Sample Display Default = Expand
  * Well Sort Order = Row
  * Table Columns - Global Fields

    | **Category**   | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name      | Built-in       |             |                                           |
    | Container      | LIMS ID (Container) | Built-in       |             |                                           |
    | Container      | Well                | Built-in       |             |                                           |
    | Derived Sample | Sample Name         | Built-in       |             |                                           |
    | Project        | Project Name        | Built-in       |             |                                           |

### Step 9: Perform Second Hybridization (NRCC v2.0)

* Master Step Name = Perform Second Hybridization v2.0
* Step Type = No Outputs
* Reagent Kits
  * Nextera Rapid Capture Custom Enrichment Kit, Box 2
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>
  * Nextera Rapid Capture Custom Enrichment Kit, Box 4
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-18b805441c4d83a6ac49f5f022c437606d7866ac%2Fnextera-rapid-step9-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Set Next Step - Advance</summary>

* Trigger Location = Record Details
* Trigger Style = Automatic upon exit

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} \
      script:evaluateDynamicExpression \
      -t false \
      -h false \
      -exp 'nextStep = ::ADVANCE::' \
      -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

#### Queue/Ice Bucket

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
* Sample Table
  * Column Headers

    | **Category**   | **Field Name** | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | -------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name | Built-in       |             |                                           |
    | Container      | Well           | Built-in       |             |                                           |
    | Derived Sample | Sample Name    | Built-in       |             |                                           |
    | Derived Sample | Waiting        | Built-in       |             |                                           |
  * Expanded View Fields

    | **Category** | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | ------------ | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container    | LIMS ID (Container) | Built-in       |             |                                           |
    | Project      | Project Name        | Built-in       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**         | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
  | ---------------------- | -------------- | ----------- | ----------------------------------------- |
  | Comment                | Multiline Text |             |                                           |
  | Thermal Cycler Program | Text           |             | Default = NRC HYB                         |
* Step File Placeholders
  * Log File - Automatically attached
* Sample Table
  * Sample Display Default = Expand
  * Well Sort Order = Row
  * Table Columns - Global Fields

    | **Category**   | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name      | Built-in       |             |                                           |
    | Container      | LIMS ID (Container) | Built-in       |             |                                           |
    | Container      | Well                | Built-in       |             |                                           |
    | Derived Sample | Sample Name         | Built-in       |             |                                           |
    | Project        | Project Name        | Built-in       |             |                                           |

### Step 10: Perform Second Capture (NRCC v2.0)

* Master Step Name = Perform Second Capture v2.0
* Step Type = Standard
* Derived Sample Generation = Fixed, 1
* Naming Convention = {InputItemName}
* Reagent Kits
  * Nextera Rapid Capture Custom Enrichment Kit, Box 1
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>
  * Nextera Rapid Capture Custom Enrichment Kit, Box 2
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-2f6188ca24ce87088ecca94cc876b15a5c5a31fa%2Fnextera-rapid-step10-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Set Next Step - Advance</summary>

* Trigger Location = Record Details
* Trigger Style = Automatic upon exit

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} \
      script:evaluateDynamicExpression \
      -t false \
      -h false \
      -exp 'nextStep = ::ADVANCE::' \
      -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

#### Queue/Ice Bucket

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
* Sample Table
  * Column Headers

    | **Category**   | **Field Name** | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | -------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name | Built-in       |             |                                           |
    | Container      | Well           | Built-in       |             |                                           |
    | Derived Sample | Sample Name    | Built-in       |             |                                           |
    | Derived Sample | Waiting        | Built-in       |             |                                           |
  * Expanded View Fields

    | **Category** | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | ------------ | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container    | LIMS ID (Container) | Built-in       |             |                                           |
    | Project      | Project Name        | Built-in       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name** | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
  | -------------- | -------------- | ----------- | ----------------------------------------- |
  | Comment        | Multiline Text |             |                                           |
* Step File Placeholders
  * Log File - Automatically attached
* Sample Table
  * Sample Display Default = Expand
  * Well Sort Order = Row
  * Table Columns - Global Fields

    | **Category**   | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name      | Built-in       |             |                                           |
    | Container      | LIMS ID (Container) | Built-in       |             |                                           |
    | Container      | Well                | Built-in       |             |                                           |
    | Derived Sample | Sample Name         | Built-in       |             |                                           |
    | Project        | Project Name        | Built-in       |             |                                           |

### Step 11: Clean Up Captured Library (NRCC v2.0)

* Master Step Name = Clean Up v2.0
* Step Type = Standard
* Derived Sample Generation = Fixed, 1
* Naming Convention = {InputItemName}
* Reagent Kits
  * Nextera Rapid Capture Custom Enrichment Kit, Box 1
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>
  * Nextera Rapid Capture Custom Enrichment Kit, Box 2
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-67de294f9d6a0b1937c03d0b06bd1532d7a7bc97%2Fnextera-rapid-step11-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Set Next Step - Advance</summary>

* Trigger Location = Record Details
* Trigger Style = Automatic upon exit

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} \
      script:evaluateDynamicExpression \
      -t false \
      -h false \
      -exp 'nextStep = ::ADVANCE::' \
      -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

#### Queue/Ice Bucket

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
* Sample Table
  * Column Headers

    | **Category**   | **Field Name** | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | -------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name | Built-in       |             |                                           |
    | Container      | Well           | Built-in       |             |                                           |
    | Derived Sample | Sample Name    | Built-in       |             |                                           |
    | Derived Sample | Waiting        | Built-in       |             |                                           |
  * Expanded View Fields

    | **Category** | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | ------------ | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container    | LIMS ID (Container) | Built-in       |             |                                           |
    | Project      | Project Name        | Built-in       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**     | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
  | ------------------ | -------------- | ----------- | ----------------------------------------- |
  | Comment            | Multiline Text |             |                                           |
  | 80% EtOH Prep Date | Date           |             |                                           |
* Step File Placeholders
  * Log File - Automatically attached
* Sample Table
  * Sample Display Default = Expand
  * Well Sort Order = Row
  * Table Columns - Global Fields

    | **Category**   | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name      | Built-in       |             |                                           |
    | Container      | LIMS ID (Container) | Built-in       |             |                                           |
    | Container      | Well                | Built-in       |             |                                           |
    | Derived Sample | Sample Name         | Built-in       |             |                                           |
    | Project        | Project Name        | Built-in       |             |                                           |

### Step 12: Amplify Enriched Library (NRCC v2.0)

* Master Step Name = Amplify Enriched Library v2.0
* Step Type = No Outputs
* Reagent Kits
  * Nextera Rapid Capture Custom Enrichment Kit, Box 2
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-492f2012907e606c4964ed8029df4950165ed749%2Fnextera-rapid-step12-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Set Next Step - Advance</summary>

* Trigger Location = Record Details
* Trigger Style = Automatic upon exit

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} \
      script:evaluateDynamicExpression \
      -t false \
      -h false \
      -exp 'nextStep = ::ADVANCE::' \
      -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

#### Queue/Ice Bucket

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
* Sample Table
  * Column Headers

    | **Category**   | **Field Name** | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | -------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name | Built-in       |             |                                           |
    | Container      | Well           | Built-in       |             |                                           |
    | Derived Sample | Sample Name    | Built-in       |             |                                           |
    | Derived Sample | Waiting        | Built-in       |             |                                           |
  * Expanded View Fields

    | **Category** | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | ------------ | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container    | LIMS ID (Container) | Built-in       |             |                                           |
    | Project      | Project Name        | Built-in       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**         | **Field Type** | **Options**                                             | **Additional Options and Dropdown Items**           |
  | ---------------------- | -------------- | ------------------------------------------------------- | --------------------------------------------------- |
  | Comment                | Multiline Text |                                                         |                                                     |
  | Thermal Cycler Program | Text Dropdown  | <ul><li>Required Field</li><li>Custom Entries</li></ul> | <p>Presets</p><ul><li>AMP10</li><li>AMP12</li></ul> |
* Step File Placeholders
  * Log File - Automatically attached
* Sample Table
  * Sample Display Default = Expand
  * Well Sort Order = Row
  * Table Columns - Global Fields

    | **Category**   | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name      | Built-in       |             |                                           |
    | Container      | LIMS ID (Container) | Built-in       |             |                                           |
    | Container      | Well                | Built-in       |             |                                           |
    | Derived Sample | Sample Name         | Built-in       |             |                                           |
    | Project        | Project Name        | Built-in       |             |                                           |

### Step 13: Clean Up Amplified Enriched Library (NRCC v2.0)

* Master Step Name = Clean Up v2.0
* Step Type = Standard
* Derived Sample Generation = Fixed, 1
* Naming Convention = {InputItemName}
* Reagent Kits
  * Nextera Rapid Capture Custom Enrichment Kit, Box 1
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>
  * Nextera Rapid Capture Custom Enrichment Kit, Box 2
    * Supplier = Illumina
    * Catalog Number = FC-140-1007; FC-140-1008; FC-140-1009
    * Website = <https://support.illumina.com/sequencing/sequencing_kits/nextera-rapid-capture-custom-kit.html>

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-98e5379e9a5138a8d489c42794876b8cba08cd55%2Fnextera-rapid-step13-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Set Next Step - Advance</summary>

* Trigger Location = Record Details
* Trigger Style = Automatic upon exit

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} \
      script:evaluateDynamicExpression \
      -t false \
      -h false \
      -exp 'nextStep = ::ADVANCE::' \
      -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

#### Queue/Ice Bucket

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
* Sample Table
  * Column Headers

    | **Category**   | **Field Name** | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | -------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name | Built-in       |             |                                           |
    | Container      | Well           | Built-in       |             |                                           |
    | Derived Sample | Sample Name    | Built-in       |             |                                           |
    | Derived Sample | Waiting        | Built-in       |             |                                           |
  * Expanded View Fields

    | **Category** | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | ------------ | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container    | LIMS ID (Container) | Built-in       |             |                                           |
    | Project      | Project Name        | Built-in       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**     | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
  | ------------------ | -------------- | ----------- | ----------------------------------------- |
  | Comment            | Multiline Text |             |                                           |
  | 80% EtOH Prep Date | Date           |             |                                           |
* Step File Placeholders
  * Log File - Automatically attached
* Sample Table
  * Sample Display Default = Expand
  * Well Sort Order = Row
  * Table Columns - Global Fields

    | **Category**   | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name      | Built-in       |             |                                           |
    | Container      | LIMS ID (Container) | Built-in       |             |                                           |
    | Container      | Well                | Built-in       |             |                                           |
    | Derived Sample | Sample Name         | Built-in       |             |                                           |
    | Project        | Project Name        | Built-in       |             |                                           |

### Step 14: Bioanalyzer QC (Library Validation) (NRCC v2.0)

* Master Step Name = Bioanalyzer QC (Library Validation) v2.0
* Step Type = Standard QC
* Measurement Generation = Fixed, 1
* Naming Convention = {InputItemName} Bioanalyzer

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-47cec4d426fa4b024b41bd5d9e440c524a71c5cb%2Fnextera-rapid-step14-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Generate Bioanalyzer Input file</summary>

* Trigger Location = Record Details
* Trigger Style = Automatic upon entry

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/DriverFileGenerator.jar script:driver_file_generator -i {processURI:v2} -u {username} -p {password} -t /opt/gls/clarity/extensions/ngs-common/v5/EPP/conf/readonly/bioA_driver_file_template.csv -o {compoundOutputFileLuid0}.csv -l {compoundOutputFileLuid1}  && /opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar script:addBlankLines -i {stepURI:v2} -u {username} -p {password} -f {compoundOutputFileLuid0}.csv -l {compoundOutputFileLuid1} -sep COMMA -b ',False,' -h 1 -c LIMSID -pre 'Sample '"
```

{% endcode %}

</details>

<details>

<summary>Parse Bioanalyzer XML, Copy nM and Assign QC flags</summary>

* Trigger Location = Record Details
* Trigger Style = Manual button

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {processURI:v2} -u {username} -p {password} script:parseBioAnalyzer -inputFile {compoundOutputFileLuid2} -log {compoundOutputFileLuid5} -configFile '/opt/gls/clarity/extensions/conf/v5/bioanalyzer/defaultBioAnalyzerDNAConfig.groovy' && /opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} script:evaluateDynamicExpression -t true -h false -exp 'if (output.::Conc. Units::.contains(::pg::)) {output.::Molarity (nM):: = output.::Region 1 Molarity:: / 1000} else {output.::Molarity (nM):: = output.::Region 1 Molarity::} ; (input.::Molarity (nM):: = output.::Molarity (nM)::) ' -log {compoundOutputFileLuid8} && /opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {processURI:v2} -u {username} -p {password} script:assignQC -log {compoundOutputFileLuid6} -qcResult {compoundOutputFileLuid7}"
```

{% endcode %}

</details>

<details>

<summary>Set Next Step - Output PASS/FAIL</summary>

* Trigger Location = Record Details
* Trigger Style = Automatic upon exit

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} script:evaluateDynamicExpression -t true -h false -excludeControls true -exp 'if (output.QC == true) { nextStep = ::ADVANCE:: } else { nextStep = ::ESCALATE:: }' -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

<details>

<summary>Parse Bioanalyzer XML, Assign QC flags, and Copy Concentrations</summary>

* Trigger Location = Not Used

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {processURI:v2} -u {username} -p {password} script:parseBioAnalyzer -inputFile {compoundOutputFileLuid2} -log {compoundOutputFileLuid5} -configFile '/opt/gls/clarity/extensions/conf/v5/bioanalyzer/defaultBioAnalyzerDNAConfig.groovy' script:assignQC -log {compoundOutputFileLuid6} -qcResult {compoundOutputFileLuid7} && /opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} script:evaluateDynamicExpression -t true -h false -exp 'output.::Concentration:: = output.::Region 1 Conc.:: ; input.::Concentration:: = output.::Concentration:: ; output.::Conc. Units:: = ::ng/ul:: ; input.::Conc. Units:: = output.::Conc. Units::' -log {compoundOutputFileLuid8}"
```

{% endcode %}

</details>

<details>

<summary>Parse Bioanalyzer XML and assign QC flags</summary>

* Trigger Location = Not Used

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {processURI:v2} -u {username} -p {password} script:parseBioAnalyzer -inputFile {compoundOutputFileLuid2} -log {compoundOutputFileLuid5} -configFile '/opt/gls/clarity/extensions/conf/v5/bioanalyzer/defaultBioAnalyzerDNAConfig.groovy' script:assignQC -log {compoundOutputFileLuid6} -qcResult {compoundOutputFileLuid7}"
```

{% endcode %}

</details>

<details>

<summary>Parse Bioanalyzer XML, Calculate nM and assign QC flags</summary>

* Trigger Location = Not Used

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {processURI:v2} -u {username} -p {password} script:parseBioAnalyzer -inputFile {compoundOutputFileLuid2} -log {compoundOutputFileLuid5} -configFile '/opt/gls/clarity/extensions/conf/v5/bioanalyzer/defaultBioAnalyzerDNAConfig.groovy' && /opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} script:evaluateDynamicExpression -t true -h false -exp 'output.::Concentration:: = output.::Region 1 Conc.:: ; output.::Molarity (nM):: = (output.::Concentration:: * 1000000) / (660 * output.::Region 1 Average Size - bp::) ; input.::Molarity (nM):: = output.::Molarity (nM):: ; output.::Conc. Units:: = ::ng/ul::' -log {compoundOutputFileLuid8} && /opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {processURI:v2} -u {username} -p {password} script:assignQC -log {compoundOutputFileLuid6} -qcResult {compoundOutputFileLuid7}"
```

{% endcode %}

</details>

#### Queue/Ice Bucket

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
* Sample Table (Column Headers)

  | **Category**   | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
  | -------------- | ------------------- | -------------- | ----------- | ----------------------------------------- |
  | Container      | Container Name      | Built-in       |             |                                           |
  | Container      | LIMS ID (Container) | Built-in       |             |                                           |
  | Container      | Well                | Built-in       |             |                                           |
  | Derived Sample | Sample Name         | Built-in       |             |                                           |
  | Derived Sample | Waiting             | Built-in       |             |                                           |
  | Project        | Project Name        | Built-in       |             |                                           |

#### Placement = Enabled

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Column
  * Placement Pattern = Column
* Destination Containers

  * BioAnalyzer DNA High Sensitivity Chip

  <figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-b01a3d1277eb9352528522ca613f83cae1d7c7c6%2Fbioanalyzer-dna-high-sensitivity-chip-container.png?alt=media" alt=""><figcaption></figcaption></figure>

  * BioAnalyzer DNA 1000 Chip

  <figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-28c00d95372efbcc2c4cb08969972a094491630e%2Fbioanalyzer-dna-1000-chip-container.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Record Details

**Group of Defaults**

<details>

<summary>Nextera DNA Flex Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Peak 2 Size - bp
* Criteria 1 - Threshold Value = 150.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Peak 2 Size - bp
* Criteria 2 - Threshold Value = 1,500.00

</details>

<details>

<summary>Nextera Mate Pair Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Region 1 Average Size - bp
* Criteria 1 - Threshold Value = 150.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Region 1 Average Size - bp
* Criteria 2 - Threshold Value = 400.00

</details>

<details>

<summary>Nextera XT DNA Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Peak 2 Size - bp
* Criteria 1 - Threshold Value = 250.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Peak 2 Size - bp
* Criteria 2 - Threshold Value = 1,000.00

</details>

<details>

<summary>NRCC Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Peak 2 Size - bp
* Criteria 1 - Threshold Value = 350.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Peak 2 Size - bp
* Criteria 2 - Threshold Value = 1,000.00

</details>

<details>

<summary>TruSeq ChIP-Seq Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Region 1 Average Size - bp
* Criteria 1 - Threshold Value = 150.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Region 1 Average Size - bp
* Criteria 2 - Threshold Value = 400.00

</details>

<details>

<summary>TruSeq Exome Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Peak 2 Size - bp
* Criteria 1 - Threshold Value = 150.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Peak 2 Size - bp
* Criteria 2 - Threshold Value = 1,000.00

</details>

<details>

<summary>TruSeq Methyl Capture EPIC Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Peak 2 Size - bp
* Criteria 1 - Threshold Value = 200.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Peak 2 Size - bp
* Criteria 2 - Threshold Value = 300.00

</details>

<details>

<summary>TruSeq Rapid Exome Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Peak 2 Size - bp
* Criteria 1 - Threshold Value = 200.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Peak 2 Size - bp
* Criteria 2 - Threshold Value = 500.00

</details>

<details>

<summary>TruSeq RNA Access Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Peak 2 Size - bp
* Criteria 1 - Threshold Value = 200.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Peak 2 Size - bp
* Criteria 2 - Threshold Value = 320.00

</details>

<details>

<summary>TruSeq RNA Exome Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Peak 2 Size - bp
* Criteria 1 - Threshold Value = 200.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Peak 2 Size - bp
* Criteria 2 - Threshold Value = 320.00

</details>

<details>

<summary>TruSeq Small RNA Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Region 1 Average Size - bp
* Criteria 1 - Threshold Value = 100.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Region 1 Average Size - bp
* Criteria 2 - Threshold Value = 200.00

</details>

<details>

<summary>TruSeq Stranded mRNA Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Region 1 Average Size - bp
* Criteria 1 - Threshold Value = 250.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Region 1 Average Size - bp
* Criteria 2 - Threshold Value = 275.00

</details>

<details>

<summary>TruSeq Stranded Total RNA Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Region 1 Average Size - bp
* Criteria 1 - Threshold Value = 250.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Region 1 Average Size - bp
* Criteria 2 - Threshold Value = 275.00

</details>

<details>

<summary>TruSeq Targeted RNA Expression Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Peak 2 Size - bp
* Criteria 1 - Threshold Value = 100.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Peak 2 Size - bp
* Criteria 2 - Threshold Value = 300.00

</details>

<details>

<summary>TruSight Myeloid Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Region 1 Average Size - bp
* Criteria 1 - Threshold Value = 150.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Region 1 Size - bp
* Criteria 2 - Threshold Value = 400.00

</details>

<details>

<summary>TruSight RNA Fusion Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Region 1 Average Size - bp
* Criteria 1 - Threshold Value = 160.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Region 1 Size - bp
* Criteria 2 - Threshold Value = 700.00

</details>

<details>

<summary>TSCA Library Validation</summary>

* Criteria 1 - Operator = >=
* Criteria 1 - Source Data Field = Region 1 Average Size - bp
* Criteria 1 - Threshold Value = 300.00
* Criteria 2 - Operator = <=
* Criteria 2 - Source Data Field = Region 1 Size - bp
* Criteria 2 - Threshold Value = 400.00

</details>

* Step Data
  * Group of Defaults = NRCC Library Validation
  * Master Step Fields

    | **Field Name**                              | **Field Type** | **Options**    | **Additional Options and Dropdown Items**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
    | ------------------------------------------- | -------------- | -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | Criteria 1 - Operator                       | Text Dropdown  | Custom Entries | <p>Presets</p><ul><li>>=</li><li><=</li><li>=</li><li>!=</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
    | Criteria 1 - Source Data Field              | Text Dropdown  |                | <p>Presets</p><ul><li>Concentration</li><li>Conc. Units</li><li>Number of Peaks found</li><li>Peak 1 Size - bp</li><li>Peak 1 Conc.</li><li>Peak 1 Molarity</li><li>Peak 2 Size - bp</li><li>Peak 2 Conc.</li><li>Peak 2 Molarity</li><li>Peak 3 Size - bp</li><li>Peak 3 Conc.</li><li>Peak 3 Molarity</li><li>Peak 4 Size - bp</li><li>Peak 4 Conc.</li><li>Peak 4 Molarity</li><li>Peak 5 Size - bp</li><li>Peak 5 Conc.</li><li>Peak 5 Molarity</li><li>Number of Regions found</li><li>Region 1 Average Size - bp</li><li>Region 1 Conc.</li><li>Region 1 Molarity</li><li>Region 2 Average Size - bp</li><li>Region 2 Conc.</li><li>Region 2 Molarity</li><li>Region 3 Average Size - bp</li><li>Region 3 Conc.</li><li>Region 3 Molarity</li><li>Region 4 Average Size - bp</li><li>Region 4 Conc.</li><li>Region 4 Molarity</li><li>Region 5 Average Size - bp</li><li>Region 5 Conc.</li><li>Region 5 Molarity</li></ul> |
    | Criteria 1 - Threshold Value                | Numeric        |                | Decimal Places Displayed = 2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
    | Criteria 2 - Operator                       | Text Dropdown  | Custom Entries | <p>Presets</p><ul><li>>=</li><li><=</li><li>=</li><li>!=</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
    | Criteria 2 - Source Data Field              | Text Dropdown  |                | <p>Presets</p><ul><li>Concentration</li><li>Conc. Units</li><li>Number of Peaks found</li><li>Peak 1 Size - bp</li><li>Peak 1 Conc.</li><li>Peak 1 Molarity</li><li>Peak 2 Size - bp</li><li>Peak 2 Conc.</li><li>Peak 2 Molarity</li><li>Peak 3 Size - bp</li><li>Peak 3 Conc.</li><li>Peak 3 Molarity</li><li>Peak 4 Size - bp</li><li>Peak 4 Conc.</li><li>Peak 4 Molarity</li><li>Peak 5 Size - bp</li><li>Peak 5 Conc.</li><li>Peak 5 Molarity</li><li>Number of Regions found</li><li>Region 1 Average Size - bp</li><li>Region 1 Conc.</li><li>Region 1 Molarity</li><li>Region 2 Average Size - bp</li><li>Region 2 Conc.</li><li>Region 2 Molarity</li><li>Region 3 Average Size - bp</li><li>Region 3 Conc.</li><li>Region 3 Molarity</li><li>Region 4 Average Size - bp</li><li>Region 4 Conc.</li><li>Region 4 Molarity</li><li>Region 5 Average Size - bp</li><li>Region 5 Conc.</li><li>Region 5 Molarity</li></ul> |
    | Criteria 2 - Threshold Value                | Numeric        |                | Decimal Places Displayed = 2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
    | Use strict matching for Bioanalyzer results | Toggle Switch  |                | Default = None Set                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
* Step File Placeholders
  * Bioanalyzer Input File - Automatically attached
  * Bioanalyzer Input File Generation Log File - Automatically attached
  * Bioanalyzer XML Result File (required) - Manually uploaded
  * Result File (optional) - Manually uploaded
  * PDF Summary File (optional) - Manually uploaded
  * Bioanalyzer XML Parsing Log File - Automatically attached
  * QC Assignment Log File - Automatically attached
  * QC Assignment Report - Automatically attached
* Sample Table
  * Enable QC Flags = Yes
  * Sample Display Default = Expand
  * Well Sort Order = Column
  * File Column Options
    * File Column Display = Hide
    * File Attachment Method = Auto
  * Table Columns - Global Fields

    | **Category**   | **Field Name**             | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | -------------------------- | -------------- | ----------- | ----------------------------------------- |
    | Derived Sample | Molarity (nM)              | Numeric        |             | Decimal Places Displayed = 2              |
    | Derived Sample | Sample Name                | Built-in       |             |                                           |
    | Measurement    | BA Sample Name             | Text           |             |                                           |
    | Measurement    | Concentration              | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Conc. Units                | Text           |             |                                           |
    | Measurement    | Molarity (nM)              | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Number of Peaks found      | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Number of Regions found    | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Peak 1 Conc.               | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 1 Molarity            | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 1 Size - bp           | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Peak 2 Conc.               | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 2 Molarity            | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 2 Size - bp           | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Peak 3 Conc.               | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 3 Molarity            | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 3 Size - bp           | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Peak 4 Conc.               | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 4 Molarity            | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 4 Size - bp           | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Peak 5 Conc.               | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 5 Molarity            | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Peak 5 Size - bp           | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 1 Average Size - bp | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Region 1 Conc.             | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 1 Molarity          | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 2 Average Size - bp | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Region 2 Conc.             | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 2 Molarity          | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 3 Average Size - bp | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Region 3 Conc.             | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 3 Molarity          | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 4 Average Size - bp | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Region 4 Conc.             | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 4 Molarity          | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 5 Average Size - bp | Numeric        |             | Decimal Places Displayed = 0              |
    | Measurement    | Region 5 Conc.             | Numeric        |             | Decimal Places Displayed = 2              |
    | Measurement    | Region 5 Molarity          | Numeric        |             | Decimal Places Displayed = 2              |

### Step 15: Normalize Libraries (NRCC v2.0)

* Master Step Name = Normalize Libraries 1 v2.0.10
* Step Type = Standard
* Derived Sample Generation = Fixed, 1
* Naming Convention = {InputItemName}

{% hint style="info" %}
The version of Normalized Libraries 1 master step name may be different depending on the version of IPP installed.
{% endhint %}

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-1cf8ab6df20da07ee7760b554e95b2fbf8dd0011%2Fnextera-rapid-step15-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Normalization Calculations - Option 1</summary>

* Trigger Location = Record Details
* Trigger Style = Manual button

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} script:evaluateDynamicExpression -t true -h false -exp 'output.::Molarity (nM):: = input.::Molarity (nM):: ; if (output.::Molarity (nM):: <= step.::Target Normalization (nM)::) {output.::Sample Volume (ul):: = step.::Final Volume (ul):: ; output.::Buffer Volume (ul):: = 0 ; output.::Normalized Molarity (nM):: = output.::Molarity (nM)::} else {output.::Sample Volume (ul):: = (step.::Target Normalization (nM):: * step.::Final Volume (ul):: ) / input.::Molarity (nM):: ; output.::Buffer Volume (ul):: = step.::Final Volume (ul):: - output.::Sample Volume (ul):: ; output.::Normalized Molarity (nM):: = step.::Target Normalization (nM)::}' -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

<details>

<summary>Set Next Step - Remove</summary>

* Trigger Location = Record Details
* Trigger Style = Automatic upon exit

{% code overflow="wrap" %}

```markup
bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} script:evaluateDynamicExpression -t false -h false -exp 'nextStep = ::REMOVE::' -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

<details>

<summary>Routing script - Normalize Libraries</summary>

* Trigger Location = Step
* Trigger Style = Automatic upon exit

{% code overflow="wrap" %}

```markup
bash -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar -u {username} -p {password} -i {stepURI:v2} -l {compoundOutputFileLuid0} script:changeWorkflow \
\
--FIELD_NAME 'Sequencing Instrument' \
--FIELD_VALUE 'MiSeq' \
--WORKFLOW 'MiSeq Sequencing v3.2' \
--STEP 'Library Pooling (MiSeq v3.2)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'Sequencing Instrument' \
--FIELD_VALUE 'NextSeq' \
--WORKFLOW 'NextSeq 500/550 Sequencing v1.2' \
--STEP 'Library Pooling (NextSeq 500/550 v1.2)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'Sequencing Instrument' \
--FIELD_VALUE 'NovaSeq 2.0' \
--WORKFLOW 'NovaSeq 6000 v2.3' \
--STEP 'Define Run Format (NovaSeq 6000 v2.3)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'Sequencing Instrument' \
--FIELD_VALUE 'NovaSeq 3.0' \
--WORKFLOW 'NovaSeq 6000 v3.8' \
--STEP 'Define Run Format (NovaSeq 6000 v3.8)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'Sequencing Instrument' \
--FIELD_VALUE 'NovaSeqDx' \
--WORKFLOW 'NovaSeqDx v1.2' \
--STEP 'Define Run Format (NovaSeqDx v1.2)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'Sequencing Instrument' \
--FIELD_VALUE 'NextSeq 1000/2000' \
--WORKFLOW 'NextSeq 1000/2000 Sequencing v2.4' \
--STEP 'Library Pooling and Dilution (NextSeq 1000/2000 Sequencing v2.4)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'Sequencing Instrument' \
--FIELD_VALUE 'NovaSeq X Series' \
--WORKFLOW 'NovaSeq X Series v1.1' \
--STEP 'Assign Analysis Configuration Template (NovaSeq X Series Sequencing v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'Sequencing Instrument' \
--FIELD_VALUE 'NextSeq 1000/2000 On-Prem' \
--WORKFLOW 'NextSeq 1000/2000 On-Prem Sequencing v1.0' \
--STEP 'Library Pooling and Dilution (NextSeq 1000/2000 On-Prem Sequencing v1.0)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS'"
```

{% endcode %}

> ℹ The field value and actual version of the workflows and steps in the routing automation script may be different depending on the version of IPP installed.

</details>

#### Queue/Ice Bucket

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Row
* Sample Table
  * Column Headers

    | **Category**   | **Field Name** | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | -------------- | -------------- | -------------- | ----------- | ----------------------------------------- |
    | Container      | Container Name | Built-in       |             |                                           |
    | Container      | Well           | Built-in       |             |                                           |
    | Derived Sample | Sample Name    | Built-in       |             |                                           |
    | Derived Sample | Waiting        | Built-in       |             |                                           |
  * Expanded View Fields

    | **Category** | **Field Name**      | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
    | ------------ | ------------------- | -------------- | ----------- | ----------------------------------------- |
    | Container    | LIMS ID (Container) | Built-in       |             |                                           |
    | Project      | Project Name        | Built-in       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**            | **Field Type** | **Options**    | **Additional Options and Dropdown Items**                          |
  | ------------------------- | -------------- | -------------- | ------------------------------------------------------------------ |
  | Comment                   | Multiline Text |                |                                                                    |
  | Final Volume (ul)         | Numeric        | Required Field | <ul><li>Decimal Places Displayed = 2</li></ul>                     |
  | Target Normalization (nM) | Numeric        | Required Field | <ul><li>Default = 2</li><li>Decimal Places Displayed = 2</li></ul> |
* Step File Placeholders
  * Log File - Automatically attached
* Sample Table
  * Sample Display Default = Expand
  * Well Sort Order = Row
  * Table Columns - Global Fields

    | **Category**   | **Field Name**           | **Field Type** | **Options**    | **Additional Options and Dropdown Items**                                                                                                                                                            |
    | -------------- | ------------------------ | -------------- | -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | Container      | Container Name           | Built-in       |                |                                                                                                                                                                                                      |
    | Container      | LIMS ID (Container)      | Built-in       |                |                                                                                                                                                                                                      |
    | Container      | Well                     | Built-in       |                |                                                                                                                                                                                                      |
    | Derived Sample | Buffer Volume (ul)       | Numeric        |                | Decimal Places Displayed = 2                                                                                                                                                                         |
    | Derived Sample | Molarity (nM)            | Numeric        |                | Decimal Places Displayed = 2                                                                                                                                                                         |
    | Derived Sample | Normalized Molarity (nM) | Numeric        |                | Decimal Places Displayed = 2                                                                                                                                                                         |
    | Derived Sample | Sample Name              | Built-in       |                |                                                                                                                                                                                                      |
    | Derived Sample | Sample Volume (ul)       | Numeric        |                | Decimal Places Displayed = 2                                                                                                                                                                         |
    | Derived Sample | Sequencing Instrument    | Text Dropdown  | Required Field | <p>Presets</p><ul><li>MiSeq</li><li>NextSeq</li><li>NextSeq 1000/2000</li><li>NextSeq 1000/2000 On-Prem</li><li>NovaSeq 2.0</li><li>NovaSeq 3.0</li><li>NovaSeq X Series</li><li>NovaSeqDx</li></ul> |
    | Project        | Project Name             | Built-in       |                |                                                                                                                                                                                                      |

    > ℹ The preset options for Derived Sample Sequencing Instrument may vary depending on the version of the IPP.
