Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
-exp 'if (input.QC == true) { nextStep = ::ADVANCE:: } else { nextStep = ::ESCALATE:: }'-exp 'if (!step.hasValue( ::Batch ID:: )) { fail(::Batch ID step UDF is required::) }'bash -l -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar \
-i {stepURI:v2:http} \
-u {username} \
-p {password} \
script:evaluateDynamicExpression \
-t <false/true> \
-h <false/true> \
-exp 'INSERT EXPRESSION HERE' \
-log {logFileLIMSID}"-exp 'submittedSamples.each { sample -> sample.::My Sample-Level UDF:: = 123 }'-exp 'input.::Total Origin Sample Volume:: = submittedSamples.sum { sample -> sample.::Volume:: }'-exp 'input.QC = input.::Concentration:: >= step.::minConcentration:: && input.::Concentration:: <= step.::maxConcentration::' -exp 'output.QC = input.QC'-exp 'if(Step.::Concentration:: >= 1) { input.QC = true } else { input.QC = false }'input.::container::.::name::output.::container::.::example udf1:: = input.::container::.::example udf1::-exp 'output.container.::containerUDF:: = ::This is a string::'
-exp 'input.::container::.::containerUDF:: = ::This is a string::'
-exp 'submittedSample.container.::containerUDF:: = ::This is a string::'String.format(::%.0f::, step.::counter::)String.format(::%.2f::, Concentration::).-exp 'output.::NTP Uses:: = Math.floor((input.::NTP Volume (uL):: - step.::NTP Dead Volume (uL)::)/ step.::NTP Volume Per Lane (uL)::)'-exp 'output.::DNA Concentration:: = (step.::Ideal Volume:: * step.::Ideal Concentration::) / input.::Volume::-exp 'destination = (step.::Ideal Volume:: * step.::Ideal Concentration::) / input.::Volume::'-exp 'destination = source value'-exp 'output.::PCR Cycles:: = step.::PCR Cycles::'-exp 'output.::Concentration:: = input.::Concentration::'-exp 'output.::Conc. Units:: = ::nM::'-exp 'input.::QC:: = input.hasValue( ::Concentration:: ) && input.::Concentration:: > 1'-exp 'if (step.hasValue(::Toggle UDF::) && step.::Toggle UDF::)'nextStep = <next step value>-exp 'nextStep = ::ADVANCE::'-exp 'if (input.QC == true) { nextStep = ::ADVANCE:: } else { nextStep = ::ESCALATE:: }'-exp 'if (output.QC == true) { nextStep = ::ADVANCE:: } else { nextStep = ::ESCALATE:: }'-exp 'if (input.::QC:: == true) { nextStep = ::TP53 Make Master Mix Deep Well Plate:: } else { nextStep = ::Dilute/Concentrate:: }'-exp ‘if (step.::Concentration:: >= 25) { input.QC = true } else {input.QC = false }'-exp 'if ( step.::Visual QC Result:: == ::Passed Visual QC:: ) { nextStep = ::SEMI-AUTOMATED - Make DNA Quant and Eval Standard Quant:: } else { nextStep = ::REMOVE:: }'-exp 'if (input.::Avg Concentration:: > 25) { nextStep = ::Cluster Generation (LLT):: } else { nextStep = ::ESCALATE:: }'-exp 'if (input.name.contains( ::No Template Control::)) { nextStep = ::REMOVE:: }'
-exp 'if (input.name.contains( ::CTLl::)) { nextStep = ::REMOVE:: }’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 -exp 'step.::Formulation:: = new Date().getDateTimeString()' -log {compoundOutputFileLuid0}"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
-exp 'step.::Incubation Hours:: = (Date.parse(::yyyy-mm-dd H:m::, step.::Incubation Stop yyyy-mm-dd hh24:mi::).getTime() - Date.parse(::yyyy-mm-dd H:m::, step.::Incubation Start yyyy-mm-dd hh24:mi::).getTime()) / (1000*60*60)' -log {compoundOutputFileLuid0}"-exp 'submittedSample.::Run Name:: = step.::Source:: + ::_:: + step.::Numeric ID::'-exp '(step.::Total samples:: = step.::Total samples:: + 1)'-exp 'if(step.hasValue(::Total samples::)) { step.::Total samples:: = step.::Total samples:: + 1 }
else { step.::Total samples:: = 1 }'-exp 'output.::Concentration (nM):: = (input.::Concentration:: * step.::Dilution Factor::)'-exp 'output.::Diluent Needed:: = step.::Desired Volume:: - output.::Sample Volume::'-exp 'submittedSample.::Sample Volume:: = submittedSample.::Sample Volume:: - output.::VolumeUsed::'-exp ‘(step.::Component1:: = step.::NumberofSamples:: * 1.5) ;
(step.::Component2:: = step.::NumberofSamples:: * 0.5) ;
(step.::Component3:: = step.::NumberofSamples:: * 5)’ -log {compoundOutputFileLuid0}"-exp 'output.::Concentration (nM):: = (input.::Concentration:: / input.::Average length (bp)::)
* 1540.832'-exp 'output.::Sample Needed (uL):: = step.::Input Amount (ng):: / input.::Library Concentration:: ;
if ( output.::Sample Needed (uL):: > step.::Final Volume (uL):: ) { output.::Sample Needed (uL):: =
step.::Final Volume (uL):: } ; if (output.::Sample Needed (uL):: < 1.0 )
{ output.::Sample Needed (uL):: == 1.0 } ; output.::Diluent Volume (uL):: =
step.::Final Volume (uL):: - output.::Sample Needed (uL):: ; output.::Final Amount (ng):: =
output.::Sample Needed (uL):: * input.::Library Concentration::'-exp 'output.::Concentration::=input.Concentration ;
if(!step.hasValue(::No. of samples::)) { step.::No. of samples:: = 0 } else { step.::No. of samples:: += 1 };
if(!step.hasValue(::Total Conc.::)) { step.::Total Conc.:: = 0 } else { step.::Total Conc.:: += output.Concentration };
if(!step.hasValue(::Average Conc.::)) { step.::Average Conc.:: = 0 }
else { step.::Average Conc.:: = step.::Total Conc.:: / step.::No. of samples:: };' -exp 'if (output.container.name == output.container.node.@limsid) { fail(::Invalid Barcode.
Please verify and try again.::) }'submittedSamples.each { it.::Workflow Progress:: = ::Sequencing Finished:: };
if (!input.hasValue(::Lane Failed?::) || !input.::Lane Failed?::) { def acquiredYield = 0;
if (input.hasValue(::Yield PF (Gb) R1::)) { acquiredYield += input.::Yield PF (Gb) R1:: };
if (input.hasValue(::Yield PF (Gb) R2::)) { acquiredYield += input.::Yield PF (Gb) R2:: };
acquiredYield = acquiredYield / submittedSamples.size(); submittedSamples.each { currentSample ->
def currentSampleAcquiredYield = acquiredYield;
if (currentSample.hasValue(::Acquired Yield (Gb)::)) { currentSampleAcquiredYield +=
currentSample.::Acquired Yield (Gb):: }; currentSample.::Acquired Yield (Gb):: =
currentSampleAcquiredYield; currentSample.::Missing Yield (Gb):: =
currentSample.::Required Yield (Gb):: - currentSampleAcquiredYield }submittedSample.::Lab Comments:: = output.::Sample Comment::.toString() + ::; ::
+ submittedSample.::Lab Comments::.toString()-exp 'if ( !output.container.name.matches( ::LP[0-9]{7}-QSTD:: ))
{fail ( ::Invalid QSTD Plate Barcode. Please verify and try again.:: ) }'-exp 'if(!output.container.name.matches(::^[Hh][0-9A-Za-z]{4}([Bb][Bb]|[Cc][Cc]|[Aa][Ll])[Xx][Xx]$::))
{ fail(::Invalid Patterned Flowcell Barcode. Please verify and try again.::) }'-exp 'if ( !output.container.name.matches( ::LP[0-9]{7}-QNT:: ) &&
!output.container.name.matches( ::LP[0-9]{7}-SQNT:: ) )
{fail ( ::Invalid QNT & SQNT Plate Barcodes. Please verify and try again.:: ) }'-exp 'step.::Timestamp:: = new Date().toString()'-exp 'step.::Timestamp:: = new Date().format(::yyyy-MM-dd::)'-exp 'output.::Pool Volume (uL):: = output.::Pool Volume (uL):: + input.::Volume (uL)::'-exp 'if(output.hasValue(::Pool Volume (uL)::)) { output.::Pool Volume (uL):: = output.::Pool Volume (uL)::
+ input.::Volume (uL):: } else { output.::Pool Volume (uL):: = input.::Volume (uL):: }'-exp 'output.::Position:: = (((output.well.split(:: : ::.trim())[0].toString().toUpperCase() as char)
- (::A:: as char)) * (int) Math.pow(26, 0)*12) + output.well.split(:: : ::.trim())[1].toInteger()'-exp 'if (output.container.name.matches(::.*[\u0022\u0027?()\\[\\]/\\\\ ].*::))
{ fail(::The following characters are not allowed in the Container Name: ? ( ) [ ] / \ and quotes or spaces.::) }'output.container.name.matches(::.*[\u0022\u0027?()\\[\\]/\\\\ ].*::).*[\u0022\u0027?()\\[\\]/\\\\ ].*.^$*+?()[{|-]\-exp 'input.::Latest Step:: = step.name'-exp 'submittedSample.::Current Workflow:: = input.workflowName'
-exp 'if(input.workflowName.contains(::TruSeq Nano DNA Sample Prep::)) { submittedSample.::Status:: = ::Prep:: }'
-exp 'output.::Active Workflow Count:: = input.workflowName.split(::, ::).size()'-exp 'input.::Replicate Count UDF:: = input.replicateCount'
-exp 'step.::Total Replicates:: = step.::Total Replicates:: + input.replicateCount'-exp 'output.::Count:: = input.pooledInputsCount'input.node.@limsid
step.node.@limsid
output.container.node.@limsid-exp 'output.::Input well:: = input.well'