This is an old revision of the document!
This mode has no user interface. The automatic mode allow to execute a set of operations, defined in a script file, on a specific Mascot® identification result. The script file is the same as the one used in batch mode. See IRMa batch documentation.
An exemple is done in the runautoIRMa.bat file under <IRMa_HOME>
To run the autoIRMa on a Mascot® identification result :
java -Djava.library.path=./lib -Xms256m -Xmx512m -cp IRMa-<version>.jar cea.irma.autoIRMa <resultURL> <mascotDatPath> -s <scriptFile>
Where
The main purpose of this mode is that it permits IRMa integration into existing, automatic, workflows such as Mascot Daemon®.
IRMa comes with three Visual Basic scripts (<IRMa_HOME>/VBscripts) to allow to run autoIRMa using wscript so from Mascot Daemon® :
resultfile
(specifying with .dat file to validate) and script
(specifying which script file to use) are mandatory.
This VBScript defines a variable indicating the <IRMa_HOME> directory and an other variable indicating where Mascot® .dat files are stored. This latest directory should be accessible from the Mascot Daemon® Service Owner.
-Xms argument should NOT be specified in the VBScript !!
peakfile
is mandatoryIRMa can be invoked, as an external process, by the Mascot Daemon® software, which controls raw data pre-processing and Mascot® searches. When defining a new Mascot Daemon® task, you can invoke a script provided in IRMa distribution.
Actions
groupAfter each search
section, in order to be able to validate each Mascot® search result.wscript "[Path\To\IRMaVBScripts]\master.vbs" /peakfile:"<cachedpeaklist>" /resultfile:"<resultfilename>" /script:"[Path\To\IRMaScripts]\script_TEST_DB.xml"
<delete.Proteins> <parameters> <parameter name="is.freeze.fp.analysis"> <value class="boolean">true</value> </parameter> <parameter name="peptides.count"> <value class="int">1</value> </parameter> <parameter name="peptides.score"> <value class="int">20</value> </parameter> <parameter name="peptides.unicity"> <value class="boolean">true</value> </parameter> </parameters> </delete.Proteins>
Nota : The “filter.master.rule.operation” parameter can be :
<filter.Master> <parameters> <parameter name="filter.master.rule.map"> <!-- FIRST Parameter : A collection of rule --> <value class="map"> <entry> <string>R1</string> <cea.irma.model.validation.MasterProteinFilterRule> <properties> <entry> <string>filter.master.rule.name</string> <parameter name="filter.master.rule.name"> <value class="string">R1</value> </parameter> </entry> <entry> <string>filter.master.rule.operation</string> <parameter name="filter.master.rule.operation"> <value class="cea.irma.model.validation.MasterProteinFilterRule$RuleOperation">CONTAINS_RULE</value> </parameter> </entry> <entry> <string>filter.master.applies.accession</string> <parameter name="filter.master.applies.accession"> <value class="boolean">true</value> </parameter> </entry> <entry> <string>filter.master.applies.description</string> <parameter name="filter.master.applies.description"> <value class="boolean">false</value> </parameter> </entry> <entry> <string>filter.master.searched.string</string> <parameter name="filter.master.searched.string"> <value class="string">_HUMAN</value> </parameter> </entry> </properties> </cea.irma.model.validation.MasterProteinFilterRule> </entry> </value> </parameter> <!-- END of FIRST Parameter --> <parameter name="filter.master.rules.composition"> <!-- SECOND Parameter : The composition of rules previously set --> <value class="string">R1</value> </parameter> </parameters> <!-- END of SECOND Parameter --> </filter.Master>