> For the complete documentation index, see [llms.txt](https://help.connected.illumina.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.connected.illumina.com/clarity-lims/library-prep/truseq/truseq-stranded-mrna-v2.1.md).

# TruSeq Stranded mRNA v2.0

## Overview

TruSeq Stranded mRNA v2.1 includes the following functionality:

* Preconfigured TruSeq Stranded mRNA v2.1.
* Protocol explaining how to convert the mRNA in total RNA into a library of template molecules of known strand origin. The library is suitable for subsequent cluster generation and DNA sequencing.
* 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. A routing script that allows sequencing of libraries using any Illumina sequencing instrument.

## Protocol 1: TruSeq Stranded mRNA v2.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-3179495ba36a5375774e6114f3cb0ef955075d04%2Ftruseq-stranded-mrna-next-step-config.png?alt=media" alt=""><figcaption></figcaption></figure>

### Step 1: Purify and Fragment mRNA (TruSeq Stranded mRNA v2.1)

* Master Step Name = Clean Up v2.0
* Step Type = Standard
* Derived Sample Generation = Fixed, 1
* Naming Convention = {InputItemName}
* Reagent Kits
  * TruSeq Stranded mRNA Sample Prep Kit - Set A, B or Core Box
    * Supplier = Illumina
    * Catalog Number = Core: 15032620, Set A: 15032612 or Set B: 15032613
    * Website = <https://support.illumina.com>
  * TruSeq Stranded mRNA Sample Prep Kit Box 1 of 2
    * Supplier = Illumina
    * Catalog Number = HT: 15032624 or LT: 15027078
    * Website = <https://support.illumina.com>
  * TruSeq Stranded mRNA Sample Prep Kit Box 2 of 2
    * Supplier = Illumina
    * Catalog Number = HT: 15032623 or LT: 15032614
    * Website = <https://support.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-d87ce7e563b1c0390075e4c0b1c57fbdf60e2aab%2Ftruseq-stranded-mrna-step1-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 = Column
* 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 1 | Text           |             | Default = mRNA Denaturation               |
  | Thermal Cycler Program 2 | Text           |             | Default = mRNA Elution 1                  |
  | Thermal Cycler Program 3 | Text           |             | Default = Elution 2 - Frag - Prime        |
* Step File Placeholders
  * Log File - Automatically attached
* Sample Table
  * Sample Display Default = Expand
  * Well Sort Order = Column
  * 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 2: Synthesize First Strand cDNA (TruSeq Stranded mRNA v2.1)

* Master Step Name = First Strand cDNA Synthesis v2.0
* Step Type = No Outputs
* Reagent Kits
  * TruSeq Stranded mRNA cDNA Synthesis PCR Box
    * Supplier = Illumina
    * Catalog Number = HT: 15032621 or LT: 15032611
    * Website = <https://support.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-61fb3bd1a077f2e468f44ddf6d482f70003c62f7%2Ftruseq-stranded-mrna-step2-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 = Column
* 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  | Custom Entries | <ul><li><p>Presets</p><ul><li>Synthesize 1st Strand</li><li>1stSS</li></ul></li><li>Default = mRNA Denaturation</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 3: Synthesize Second Strand cDNA (TruSeq Stranded mRNA v2.1)

* Master Step Name = Second Strand cDNA Synthesis v2.0
* Step Type = Standard
* Derived Sample Generation = Fixed, 1
* Naming Convention = {SubmittedSampleName}
* Reagent Kits
  * AMPure XP Beads
    * Supplier = Beckman Coulter Genomics
    * Catalog Number = A63881
    * Website = <https://www.beckmancoulter.com/wsrportal/wsr/research-and-discovery/products-and-services/nucleic-acid-sample-preparation/agencourt-ampure-xp-pcr-purification/index.htm>
  * TruSeq Stranded mRNA cDNA Synthesis PCR Box
    * Supplier = Illumina
    * Catalog Number = HT: 15032621 or LT: 15032611
    * Website = <https://support.illumina.com>
  * TruSeq Stranded mRNA Sample Prep Kit - Set A, B or Core Box
    * Supplier = Illumina
    * Catalog Number = Core: 15032620, Set A: 15032612 or Set B: 15032613
    * Website = <https://support.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-7a006e7c6cb0f73392ef373e801ac1300cb2cacc%2Ftruseq-stranded-mrna-step3-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 = Column
* 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 = Column
  * 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 4: Adenylate 3' Ends (TruSeq Stranded mRNA v2.1)

* Master Step Name = Adenylate 3' Ends v2.0
* Step Type = No Outputs
* Reagent Kits
  * TruSeq Stranded mRNA Sample Prep Kit - Set A, B or Core Box
    * Supplier = Illumina
    * Catalog Number = Core: 15032620, Set A: 15032612 or Set B: 15032613
    * Website = <https://support.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-76dc03dbc9bab4fe59840920ebf27153fa141c4b%2Ftruseq-stranded-mrna-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 = Column
* 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 = ATAIL70                         |
* Step File Placeholders
  * Log File - Automatically attached
* Sample Table
  * Sample Display Default = Expand
  * Well Sort Order = Column
  * 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 5: Ligate Adapters (TruSeq Stranded mRNA v2.1)

* Master Step Name = Ligate Adapters v2.0
* Step Type = Add Labels
* Derived Sample Generation = Fixed, 1
* Naming Convention = {SubmittedSampleName}
* Reagent Kits
  * AMPure XP Beads
    * Supplier = Beckman Coulter Genomics
    * Catalog Number = A63881
    * Website = <https://www.beckmancoulter.com/wsrportal/wsr/research-and-discovery/products-and-services/nucleic-acid-sample-preparation/agencourt-ampure-xp-pcr-purification/index.htm>
  * TruSeq Stranded mRNA Sample Prep Kit - Set A, B or Core Box
    * Supplier = Illumina
    * Catalog Number = Core: 15032620, Set A: 15032612 or Set B: 15032613
    * Website = <https://support.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-a650d3ff3f9512610f33f58efe91fe72d549e49b%2Ftruseq-stranded-mrna-step5-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Set Next Step - Advance</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 'nextStep = ::ADVANCE::' \
      -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

<details>

<summary>Copy to Output</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 'output.::Target Insert Size (bp):: = input.::Target Insert Size (bp)::' -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

<details>

<summary>Set Next Step &#x26; 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 false -h false -exp 'nextStep = ::ADVANCE:: ; output.::Target Insert Size (bp):: = input.::Target Insert Size (bp)::'  -log {compoundOutputFileLuid0}"
```

{% endcode %}

</details>

#### Queue/Ice Bucket

* Defaults
  * Sample Grouping = Group by Containers
  * Well Sort Order = Column
* 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
  * TruSeq Stranded mRNA HT
  * TruSeq Stranded mRNA LT

#### 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 = LIG                             |
  | 80% EtOH Prep Date     | Date           |             |                                           |
* Step File Placeholders
  * Log File - Automatically attached
* Sample Table
  * Sample Display Default = Expand
  * Well Sort Order = Column
  * 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 6: Enrich DNA Fragments (TruSeq Stranded mRNA v2.1)

* Master Step Name = PCR Amplification v2.0
* Step Type = Standard
* Derived Sample Generation = Fixed, 1
* Naming Convention = {SubmittedSampleName}
* Reagent Kits
  * AMPure XP Beads
    * Supplier = Beckman Coulter Genomics
    * Catalog Number = A63881
    * Website = <https://www.beckmancoulter.com/wsrportal/wsr/research-and-discovery/products-and-services/nucleic-acid-sample-preparation/agencourt-ampure-xp-pcr-purification/index.htm>
  * TruSeq Stranded mRNA cDNA Synthesis PCR Box
    * Supplier = Illumina
    * Catalog Number = HT: 15032621 or LT: 15032611
    * Website = <https://support.illumina.com>
  * TruSeq Stranded mRNA Sample Prep Kit - Set A, B or Core Box
    * Supplier = Illumina
    * Catalog Number = Core: 15032620, Set A: 15032612 or Set B: 15032613
    * Website = <https://support.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-c53414c6af563fdd62f04ee75aa65bed808a7f97%2Ftruseq-stranded-mrna-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 = Column
* 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

**Group of Defaults**

<details>

<summary>NIPT 16 Manual v1.0</summary>

* Thermal Cycler Program = cfDNA

</details>

<details>

<summary>TruSeq Stranded mRNA v1.0</summary>

* Thermal Cycler Program = PCR

</details>

<details>

<summary>TruSeq Stranded RNA v1.0</summary>

* Thermal Cycler Program = PCR

</details>

<details>

<summary>TruSeq Stranded Total RNA v1.0</summary>

* Thermal Cycler Program = PCR

</details>

* Step Data
  * Group of Defaults = TruSeq Stranded mRNA v1.0
  * 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>cfDNA</li><li>PCR</li></ul> |
    | 70% EtOH Prep Date     | Date           |                |                                                   |
* Step File Placeholders
  * Log File - Automatically attached
* Sample Table
  * Sample Display Default = Expand
  * Well Sort Order = Column
  * 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: Bioanalyzer QC (Library Validation) (TruSeq Stranded mRNA v2.1)

* 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-610532f7c524e54ac3e943e3d0569d1a9322167c%2Ftruseq-stranded-mrna-step7-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 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, 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, 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

**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 = TruSeq Stranded mRNA 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 8: Normalize Libraries (TruSeq Stranded mRNA v2.1)

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

{% hint style="info" %}
The version of Normalized Libraries 2 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-87e4fe6f3cd8b3d18c61f4f1b2c893964a098925%2Ftruseq-stranded-mrna-step8-automation.png?alt=media" alt=""><figcaption></figcaption></figure>

<details>

<summary>Normalization Calculations - Option 2</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:http} -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.::Sample Volume (ul):: ; output.::Buffer Volume (ul):: = 0 ; output.::Normalized Molarity (nM):: = output.::Molarity (nM)::} else {output.::Sample Volume (ul):: = step.::Sample Volume (ul):: ; output.::Buffer Volume (ul):: = ((output.::Molarity (nM):: * step.::Sample Volume (ul)::) / step.::Target Normalization (nM)::) - step.::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      | 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**                           |
  | ------------------------- | -------------- | -------------- | ------------------------------------------------------------------- |
  | Comment                   | Multiline Text |                |                                                                     |
  | Sample Volume (ul)        | Numeric        | Required Field | <ul><li>Default = 10</li><li>Decimal Places Displayed = 0</li></ul> |
  | Target Normalization (nM) | Numeric        | Required Field | <ul><li>Default = 10</li><li>Decimal Places Displayed = 0</li></ul> |
* Step File Placeholders
  * Log File - 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 | 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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.connected.illumina.com/clarity-lims/library-prep/truseq/truseq-stranded-mrna-v2.1.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
