# DNA Library Prep v1.1

## Overview

The DNA Library Prep AmpliSeq for Illumina TCR beta-SR Panel is part of the AmpliSeq for Illumina TCR beta-SR Panel protocols which include the following functionality:

* Preconfigured AmpliSeq for Illumina TCR beta-SR Panel protocol that supports the preparation of up to 96 uniquely indexed libraries of total RNA using the AmpliSeq™ for Illumina® workflow.
* Automated calculation of sample and buffer volumes.
* Automated calculation or display of reagents at every step in the protocol.
* Automatic step transition when required.Automatic placement of samples when necessary.
* Automated assignment of QC Pass/Fail, based on user-selected threshold values.

## Protocol 1: DNA Library Prep (AmpliSeq for Illumina TCR beta-SR Panel v1.1)

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-be06b9d2bab581a5d53f21ae549e60c5d9d158bc%2Fampliseq-tcr-dna-next-step-config.png?alt=media" alt=""><figcaption></figcaption></figure>

### Step 1: Dilute DNA (AmpliSeq for Illumina TCR beta-SR Panel v1.1)

* Master Step Name = Dilute DNA (AmpliSeq for Illumina v1.1)
* Step Type = Standard
* Derived Sample Generation = Fixed, 1
* Naming Convention = {InputItemName}

#### Automations

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

<details>

<summary>Copy Concentration and Set Sample Volume</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/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} \
script:evaluateDynamicExpression \
-t false \
-h false \
-exp 'output.::Concentration:: = input.::Concentration:: ; output.::Conc. Units:: = input.::Conc. Units:: ; output.::Sample Volume (uL):: = 5' \
-log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

<details>

<summary>Calculate Input Amount</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.::Total Volume (uL):: = (output.::Concentration::/step.::Desired Concentration (ng/uL)::) * output.::Sample Volume (uL):: ; \
output.::Low TE (uL):: = output.::Total Volume (uL):: - output.::Sample Volume (uL):: ; \
output.::Input Amount (ng):: = step.::Desired Concentration (ng/uL):: * output.::Total Volume (uL):: ' \
        -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

<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      | 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       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**                | **Field Type** | **Options** | **Additional Options and Dropdown Items**                                                                      |
  | ----------------------------- | -------------- | ----------- | -------------------------------------------------------------------------------------------------------------- |
  | Desired Concentration (ng/uL) | Numeric        |             | <ul><li>Range = 20 To 50</li><li>Decimal Places Displayed = 0</li></ul>                                        |
  | Directions                    | Multiline Text | Read Only   | <ul><li>Default = If enough DNA is available, dilute to intermediate concentration of \~20-50 ng/uL.</li></ul> |
* Step File Placeholders
  * Log - 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** |
    | -------------- | ------------------ | -------------- | -------------- | ----------------------------------------- |
    | Derived Sample | Concentration      | Numeric        | Required Field | Decimal Places Displayed = 2              |
    | Derived Sample | Conc. Units        | Text           | Required Field |                                           |
    | Derived Sample | Input Amount (ng)  | Numeric        |                | Decimal Places Displayed = 0              |
    | Derived Sample | Low TE (uL)        | Numeric        |                | Decimal Places Displayed = 2              |
    | Derived Sample | Sample Name        | Built-in       |                |                                           |
    | Derived Sample | Sample Volume (uL) | Numeric        |                | Decimal Places Displayed = 2              |
    | Derived Sample | Total Volume (uL)  | Numeric        |                | Decimal Places Displayed = 2              |

### Step 2: Qubit (AmpliSeq for Illumina TCR beta-SR Panel v1.1)

* Master Step Name = Qubit (AmpliSeq for Illumina v1.1)
* Step Type = Standard QC
* Measurement Generation = Fixed, 1
* Naming Convention = {InputItemName}

#### Automations

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

<details>

<summary>Assign QC flags (Qubit QC)</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:assignQC -log {compoundOutputFileLuid1} -qcResult {compoundOutputFileLuid2}"
```

{% endcode %}

</details>

<details>

<summary>Set Next Step and Copy Concentration</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:: ; input.::Concentration:: = output.::Concentration:: ; input.::Conc. Units:: = output.::Conc. Units::' -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      | 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       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**                 | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
  | ------------------------------ | -------------- | ----------- | ----------------------------------------- |
  | Criteria 1 - Operator          | Text           |             | Default = >=                              |
  | Criteria 1 - Source Data Field | Text           |             | Default = Concentration                   |
  | Criteria 1 - Threshold Value   | Numeric        |             |                                           |
  | Criteria 2 - Operator          | Text           |             | Default = <=                              |
  | Criteria 2 - Source Data Field | Text           |             | Default = Concentration                   |
  | Criteria 2 - Threshold Value   | Numeric        |             |                                           |
* Step File Placeholders
  * Log - Automatically attached
  * QC Log File - Automatically attached
  * QC Result File - Automatically attached
  * Upload File - Manually uploaded
* 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** |
    | -------------- | -------------- | -------------- | -------------- | ----------------------------------------- |
    | Derived Sample | Concentration  | Numeric        | Required Field | Decimal Places Displayed = 2              |
    | Derived Sample | Conc. Units    | Text           | Required Field |                                           |
    | Derived Sample | Sample Name    | Built-in       |                |                                           |
    | Measurement    | Concentration  | Numeric        |                | Decimal Places Displayed = 2              |
    | Measurement    | Conc. Units    | Text           |                |                                           |

### Step 3: Dilute DNA to Final Concentration (AmpliSeq for Illumina TCR beta-SR Panel v1.1)

* Master Step Name = Dilute DNA (AmpliSeq for Illumina v1.1)
* Step Type = Standard
* Derived Sample Generation = Fixed, 1
* Naming Convention = {InputItemName}

#### Automations

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

<details>

<summary>Copy Concentration and Set Sample Volume</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/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} \
script:evaluateDynamicExpression \
-t false \
-h false \
-exp 'output.::Concentration:: = input.::Concentration:: ; output.::Conc. Units:: = input.::Conc. Units:: ; output.::Sample Volume (uL):: = 5' \
-log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

<details>

<summary>Calculate Input Amount</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.::Total Volume (uL):: = (output.::Concentration::/step.::Desired Concentration (ng/uL)::) * output.::Sample Volume (uL):: ; \
output.::Low TE (uL):: = output.::Total Volume (uL):: - output.::Sample Volume (uL):: ; \
output.::Input Amount (ng):: = step.::Desired Concentration (ng/uL):: * output.::Total 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>

#### 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       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**                | **Field Type** | **Options** | **Additional Options and Dropdown Items**                                                                      |
  | ----------------------------- | -------------- | ----------- | -------------------------------------------------------------------------------------------------------------- |
  | Desired Concentration (ng/uL) | Numeric        |             | <ul><li>Range = 20 To 50</li><li>Decimal Places Displayed = 0</li></ul>                                        |
  | Directions                    | Multiline Text | Read Only   | <ul><li>Default = If enough DNA is available, dilute to intermediate concentration of \~20-50 ng/uL.</li></ul> |
* Step File Placeholders
  * Log - 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** |
    | -------------- | ------------------ | -------------- | -------------- | ----------------------------------------- |
    | Derived Sample | Concentration      | Numeric        | Required Field | Decimal Places Displayed = 2              |
    | Derived Sample | Conc. Units        | Text           | Required Field |                                           |
    | Derived Sample | Input Amount (ng)  | Numeric        |                | Decimal Places Displayed = 0              |
    | Derived Sample | Low TE (uL)        | Numeric        |                | Decimal Places Displayed = 2              |
    | Derived Sample | Sample Name        | Built-in       |                |                                           |
    | Derived Sample | Sample Volume (uL) | Numeric        |                | Decimal Places Displayed = 2              |
    | Derived Sample | Total Volume (uL)  | Numeric        |                | Decimal Places Displayed = 2              |

### Step 4: Amplify DNA Targets (AmpliSeq for Illumina TCR beta-SR Panel v1.1)

* Master Step Name = Amplify Targets (AmpliSeq for TCRbeta-SR Panel)
* Step Type = Standard
* Derived Sample Generation = Fixed, 1
* Naming Convention = {InputItemName}
* Reagent Kits
  * 5x AmpliSeq TCR beta-SR Panel
    * Supplier = Illumina
    * Catalog Number = 20031675
    * Website = [www.illumina.com](https://www.illumina.com)
  * AmpliSeq Library PLUS for Illumina
    * Supplier = Illumina
    * Catalog Number = 24 - 20019101; 96 - 200191102; 384 - 200191103
    * Website = [www.illumina.com](https://www.illumina.com)

#### Automations

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

<details>

<summary>Concentration,Total Volume and Input Amount - TCRbeta</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/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} \
      script:evaluateDynamicExpression \
        -t false \
        -h false \
        -exp 'output.::Concentration:: = input.::Concentration:: ; output.::Conc. Units:: = input.::Conc. Units:: ; output.::Total Volume (uL):: = input.::Total Volume (uL):: ; output.::Input Amount (ng):: = input.::Input Amount (ng):: ; output.::5X AmpliSeq HiFi Mix (uL):: = 4.0 ; output.::5X AmpliSeq TCR beta-SR Panel (uL):: = 4.0'\
        -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

<details>

<summary>Calculate Prep Input - TCR beta SR</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 false \
        -h false \
        -exp 'output.::Prep Input Volume (uL):: = output.::Prep Input Amount (ng):: / output.::Concentration:: ; \
if (output.::Prep Input Volume (uL):: < 10) {output.::Nuclease-free water (uL):: = 10 - output.::Prep Input 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>

#### 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       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**              | **Field Type** | **Options** | **Additional Options and Dropdown Items**                                                     |
  | --------------------------- | -------------- | ----------- | --------------------------------------------------------------------------------------------- |
  | PCR Cycles                  | Numeric        |             | Decimal Places Displayed = 0                                                                  |
  | Recommended Prep Input (ng) | Multiline Text | Read Only   | Default = This protocol supports 1-1000 ng. The recommended input is 100 ng high-quality DNA. |
  | Thermal Cycler Program      | Text           |             | Default = AMP                                                                                 |
* Step File Placeholders
  * Log - 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 | 5X AmpliSeq HiFi Mix (uL)          | Numeric        |                | <ul><li>Decimal Places Displayed = 1</li></ul>                          |
    | Derived Sample | 5X AmpliSeq TCR beta-SR Panel (uL) | Numeric        |                |                                                                         |
    | Derived Sample | Concentration                      | Numeric        | Required Field | <ul><li>Decimal Places Displayed = 2</li></ul>                          |
    | Derived Sample | Conc. Units                        | Text           | Required Field |                                                                         |
    | Derived Sample | Input Amount (ng)                  | Numeric        |                | <ul><li>Decimal Places Displayed = 0</li></ul>                          |
    | Derived Sample | Nuclease-free water (uL)           | Numeric        |                | <ul><li>Decimal Places Displayed = 2</li></ul>                          |
    | Derived Sample | Prep Input Amount (ng)             | Numeric        | Required Field | <ul><li>Range = 2 To 200</li><li>Decimal Places Displayed = 0</li></ul> |
    | Derived Sample | Prep Input Volume (uL)             | Numeric        |                | <ul><li>Decimal Places Displayed = 2</li></ul>                          |
    | Derived Sample | Sample Name                        | Built-in       |                |                                                                         |
    | Derived Sample | Total Volume (uL)                  | Numeric        |                | <ul><li>Decimal Places Displayed = 2</li></ul>                          |
    | Project        | Project Name                       | Built-in       |                |                                                                         |

### Step 5: Transfer RNA and DNA Amplicons (AmpliSeq for Illumina TCR beta-SR Panel v1.1)

* Master Step Name = Transfer RNA and DNA Amplicons (AmpliSeq for Illumina)
* Step Type = Standard
* Derived Sample Generation = Fixed, 1
* Naming Convention = {InputItemName}

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-92641ff163ef5d85df4e01f97507eea54d69ae74%2Fampliseq-tcr-dna-step5-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      | 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 = Row
  * Placement Pattern = Row
* Destination Containers
  * 96 well plate

#### Record Details

* Step File Placeholders
  * Log - 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: Partially Digested Amplicons (AmpliSeq for Illumina TCR beta-SR Panel v1.1)

* Master Step Name = Partially Digested Amplicons (AmpliSeq for Illumina v1.1)
* Step Type = No Outputs

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-fc0f28f7f1be69f75f380d268a4b730f1a4eee2c%2Fampliseq-tcr-dna-step6-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      | 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       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**         | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
  | ---------------------- | -------------- | ----------- | ----------------------------------------- |
  | Thermal Cycler Program | Text           |             | Default = FUPA                            |
* Step File Placeholders
  * Log - 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 7: Ligate Indexes (AmpliSeq for Illumina TCR beta-SR Panel v1.1)

* Master Step Name = Ligate Indexes (AmpliSeq for Illumina v1.1)
* Step Type = Add Labels
* Derived Sample Generation = Fixed, 1
* Naming Convention = {InputItemName}
* Reagent Kits
  * AmpliSeq Library PLUS for Illumina
    * Supplier = Illumina
    * Catalog Number = 24 - 20019101; 96 - 200191102; 384 - 200191103
    * Website = [www.illumina.com](https://www.illumina.com)

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-5084fb432198005dcd5f6a2ae72bf6b88b21c2ca%2Fampliseq-tcr-dna-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>

<details>

<summary>Route AmpliSeq Samples - Immune Repertoire Panel</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 -u {username} -p {password} -i {stepURI:v2} -l {compoundOutputFileLuid0} script:changeWorkflow \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Standard Workflow' \
--WORKFLOW 'Standard Workflow AmpliSeq for Illumina Immune Repertoire Panel v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Immune Repertoire Panel v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Equalizer Workflow' \
--WORKFLOW 'Equalizer Workflow AmpliSeq for Illumina Immune Repertoire Panel v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Immune Repertoire Panel v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS'"
```

{% endcode %}

> ℹ The workflow version and step version for the routing script may vary depending on the version of the IPP.

</details>

<details>

<summary>Route AmpliSeq Samples - BRCA</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 -u {username} -p {password} -i {stepURI:v2} -l {compoundOutputFileLuid0} script:changeWorkflow \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Standard Workflow' \
--WORKFLOW 'Standard Workflow AmpliSeq for Illumina BRCA Panel v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina BRCA Panel v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Equalizer Workflow' \
--WORKFLOW 'Equalizer Workflow AmpliSeq for Illumina BRCA Panel v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina BRCA Panel v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS'"
```

{% endcode %}

> ℹ The workflow version and step version for the routing script may vary depending on the version of the IPP.

</details>

<details>

<summary>Route AmpliSeq Samples - Childhood Cancer Panel</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 -u {username} -p {password} -i {stepURI:v2} -l {compoundOutputFileLuid0} script:changeWorkflow \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Standard Workflow' \
--WORKFLOW 'Standard Workflow AmpliSeq for Illumina Childhood Cancer Panel v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Childhood Cancer Panel v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Equalizer Workflow' \
--WORKFLOW 'Equalizer Workflow AmpliSeq for Illumina Childhood Cancer Panel v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Childhood Cancer Panel v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS'"
```

{% endcode %}

> ℹ The workflow version and step version for the routing script may vary depending on the version of the IPP.

</details>

<details>

<summary>Route AmpliSeq Samples - CHP v2</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 -u {username} -p {password} -i {stepURI:v2} -l {compoundOutputFileLuid0} script:changeWorkflow \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Standard Workflow' \
--WORKFLOW 'Standard Workflow AmpliSeq for Illumina Cancer HotSpot Panel V2 v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Cancer HotSpot Panel V2 v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Equalizer Workflow' \
--WORKFLOW 'Equalizer Workflow AmpliSeq for Illumina Cancer HotSpot Panel V2 v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Cancer HotSpot Panel V2 v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS'"
```

{% endcode %}

> ℹ The workflow version and step version for the routing script may vary depending on the version of the IPP.

</details>

<details>

<summary>Route AmpliSeq Samples - CP</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 -u {username} -p {password} -i {stepURI:v2} -l {compoundOutputFileLuid0} script:changeWorkflow \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Standard Workflow' \
--WORKFLOW 'Standard Workflow AmpliSeq for Illumina Comprehensive Panel v3 v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Comprehensive Panel v3 v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Equalizer Workflow' \
--WORKFLOW 'Equalizer Workflow AmpliSeq for Illumina Comprehensive Panel v3 v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Comprehensive Panel v3 v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS'"
```

{% endcode %}

> ℹ The workflow version and step version for the routing script may vary depending on the version of the IPP.

</details>

<details>

<summary>Route AmpliSeq Samples - Custom DNA Panel</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 -u {username} -p {password} -i {stepURI:v2} -l {compoundOutputFileLuid0} script:changeWorkflow \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Standard Workflow' \
--WORKFLOW 'Standard Workflow AmpliSeq for Illumina Custom DNA Panel v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Custom DNA Panel v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Equalizer Workflow' \
--WORKFLOW 'Equalizer Workflow AmpliSeq for Illumina Custom DNA Panel v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Custom DNA Panel v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS'"
```

{% endcode %}

> ℹ The workflow version and step version for the routing script may vary depending on the version of the IPP.

</details>

<details>

<summary>Route AmpliSeq Samples - Focus Panel</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 -u {username} -p {password} -i {stepURI:v2} -l {compoundOutputFileLuid0} script:changeWorkflow \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Standard Workflow' \
--WORKFLOW 'Standard Workflow AmpliSeq for Illumina Focus Panel v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Focus Panel v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Equalizer Workflow' \
--WORKFLOW 'Equalizer Workflow AmpliSeq for Illumina Focus Panel v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Focus Panel v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS'"
```

{% endcode %}

> ℹ The workflow version and step version for the routing script may vary depending on the version of the IPP.

</details>

<details>

<summary>Route AmpliSeq Samples - Immune Response Panel</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 -u {username} -p {password} -i {stepURI:v2} -l {compoundOutputFileLuid0} script:changeWorkflow \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Standard Workflow' \
--WORKFLOW 'Standard Workflow AmpliSeq for Illumina Immune Response Panel v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Immune Response Panel v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Equalizer Workflow' \
--WORKFLOW 'Equalizer Workflow AmpliSeq for Illumina Immune Response Panel v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Immune Response Panel v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS'"
```

{% endcode %}

> ℹ The workflow version and step version for the routing script may vary depending on the version of the IPP.

</details>

<details>

<summary>Route AmpliSeq Samples - Myeloid Panel</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 -u {username} -p {password} -i {stepURI:v2} -l {compoundOutputFileLuid0} script:changeWorkflow \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Standard Workflow' \
--WORKFLOW 'Standard Workflow AmpliSeq for Illumina Myeloid Panel v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Myeloid Panel v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Equalizer Workflow' \
--WORKFLOW 'Equalizer Workflow AmpliSeq for Illumina Myeloid Panel v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Myeloid Panel v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS'"
```

{% endcode %}

> ℹ The workflow version and step version for the routing script may vary depending on the version of the IPP.

</details>

<details>

<summary>Route AmpliSeq Samples -Transcriptome Human GEx Panel</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 -u {username} -p {password} -i {stepURI:v2} -l {compoundOutputFileLuid0} script:changeWorkflow \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Standard Workflow' \
--WORKFLOW 'Standard Workflow AmpliSeq for Illumina Transcriptome Human Gene Expression Panel v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Transcriptome Human Gene Expression Panel v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS' \
\
--FIELD_NAME 'AmpliSeq Workflow' \
--FIELD_VALUE 'Equalizer Workflow' \
--WORKFLOW 'Equalizer Workflow AmpliSeq for Illumina Transcriptome Human Gene Expression Panel v1.1' \
--STEP 'Clean Up Library (AmpliSeq for Illumina Transcriptome Human Gene Expression Panel v1.1)' \
--INPUTS_OR_OUTPUTS 'OUTPUTS'"
```

{% endcode %}

> ℹ The workflow version and step version for the routing script may vary depending on the version of the IPP.

</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 = Row
  * Placement Pattern = Row
* Destination Containers
  * 96 well plate

#### Add Labels

* Label Groups
  * AmpliSeq CD Indexes Set A for Illumina
  * AmpliSeq CD Indexes Set B for Illumina
  * AmpliSeq CD Indexes Set C for Illumina
  * AmpliSeq CD Indexes Set D for Illumina
  * AmpliSeq UD Indexes for Illumina (24 Indexes)

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**         | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
  | ---------------------- | -------------- | ----------- | ----------------------------------------- |
  | Thermal Cycler Program | Text           |             | Default = LIGATE                          |
* Step File Placeholders
  * Log - 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**                                   |
    | -------------- | ----------------- | -------------- | -------------- | --------------------------------------------------------------------------- |
    | Derived Sample | AmpliSeq Workflow | Text Dropdown  | Required Field | <p>Preset</p><ul><li>Standard Workflow</li><li>Equalizer Workflow</li></ul> |
    | Derived Sample | Sample Name       | Built-in       |                |                                                                             |

### Step 8: Clean Up Library (AmpliSeq for Illumina TCR beta-SR Panel v1.1)

* Master Step Name = Clean Up Library (AmpliSeq for Illumina v1.1)
* Step Type = No Outputs
* Reagent Kits
  * Agencourt AMPure XP Beads
    * Supplier = Thermo
    * Catalog Number = NC9959336; NC9933872

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-719d548f91f4cbaacb07044ae7cfacff0fb6e97f%2Fampliseq-tcr-dna-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>

#### 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       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**     | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
  | ------------------ | -------------- | ----------- | ----------------------------------------- |
  | 70% EtOH Prep Date | Date           |             |                                           |
* Step File Placeholders
  * Log - 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: Amplify Library (AmpliSeq for Illumina TCR beta-SR Panel v1.1)

* Master Step Name = Amplify Library (AmpliSeq for Illumina v1.1)
* Step Type = No Outputs

#### Automations

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

<details>

<summary>Count Samples and Calculate Master Mix</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/ngs-extensions.jar -i {stepURI:v2} -u {username} -p {password} \
      script:evaluateDynamicExpression \
      -t false \
      -h false \
      -exp 'step.::Total Samples:: = step.::Total Samples:: + 1' \
      -log {compoundOutputFileLuid0} && /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 'step.::1X Lib AMP Mix (uL):: = step.::Total Samples:: * 1.1 * 45 ; \
step.::10X Library Amp Primers (uL):: = step.::Total Samples:: * 1.1 * 5' \
      -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>Calculate Total Samples and 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} -u {username} -p {password} \ script:evaluateDynamicExpression \ -t false \ -h false \ -exp 'step.::Total Samples:: = step.::Total Samples:: + 1' \ -log {compoundOutputFileLuid0} && /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 'step.::1X Lib Amp Mix:: = step.::Total Samples:: * 1.1 * 45 ; \ step.::10X Library Amp Primers:: = step.::Total Samples:: * 1.1 * 5' \ -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      | 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       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**               | **Field Type** | **Options**    | **Additional Options and Dropdown Items**                        |
  | ---------------------------- | -------------- | -------------- | ---------------------------------------------------------------- |
  | 1X Lib AMP Mix (uL)          | Numeric        |                | Decimal Places Displayed = 2                                     |
  | 10X Library Amp Primers (uL) | Numeric        |                | Decimal Places Displayed = 2                                     |
  | Thermal Cycler Program       | Text Dropdown  | Custom Entries | <p>Presets</p><ul><li>AMP\_7</li><li>EQUAL</li><li>AMP</li></ul> |
  | Total Samples                | Numeric        |                | Default = 0                                                      |
* Step File Placeholders
  * Log - 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 Clean Up (AmpliSeq for Illumina TCR beta-SR Panel v1.1)

* Master Step Name = Perform Second Clean Up (AmpliSeq for Illumina v1.1)
* Step Type = Standard
* Derived Sample Generation = Fixed, 1
* Naming Convention = {InputItemName}

#### Automations

<figure><img src="https://2084401275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfjuebS41N49G1Eh55hP7%2Fuploads%2Fgit-blob-d3257d5d58f5d4e800ebc34381260b017ae40fa5%2Fampliseq-tcr-dna-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      | 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       |             |                                           |

#### Record Details

* Step Data (Master Step Fields)

  | **Field Name**     | **Field Type** | **Options** | **Additional Options and Dropdown Items** |
  | ------------------ | -------------- | ----------- | ----------------------------------------- |
  | 70% EtOH Prep Date | Date           |             |                                           |
* Step File Placeholders
  * Log - Automatically attached
* Sample Table
  * Sample Display Default = Collapse
  * 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       |             |                                           |
