|
9 | 9 | --sm_resultPth='$sm_resultPth'
|
10 | 10 | --metfrag_resultPth='$metfrag_resultPth'
|
11 | 11 | --sirius_csi_resultPth='$sirius_csi_resultPth'
|
12 |
| - --probmetab_resultPth='$probmetab_resultPth' |
| 12 | +
|
| 13 | + #if $probmetabCond.probmetabChoice == 'probmetab' |
| 14 | + --probmetab_resultPth='$probmetabCond.probmetab_resultPth' |
| 15 | + #end if |
| 16 | +
|
13 | 17 | --ms1_lookup_resultPth='$ms1_lookup_resultPth'
|
14 | 18 |
|
15 | 19 | #if $ms1_lookup_checkAdducts:
|
|
25 | 29 | --probmetab_weight=$probmetab_weight
|
26 | 30 | --ms1_lookup_weight=$ms1_lookup_weight
|
27 | 31 | --biosim_weight=$biosim_weight
|
28 |
| -
|
29 |
| -
|
| 32 | + |
| 33 | + |
30 | 34 | #if $create_new_database:
|
31 | 35 | --create_new_database
|
32 | 36 | #end if
|
|
37 | 41 | --compoundDbPth='$compoundDbTypeCond.compoundDbPth'
|
38 | 42 | #end if
|
39 | 43 |
|
| 44 | + #if $summaryOutput: |
| 45 | + --summaryOutput |
| 46 | + #end if |
| 47 | +
|
40 | 48 |
|
41 | 49 | ]]></command>
|
42 | 50 | <inputs>
|
|
48 | 56 | help="The result of the MetFrag analysis (requires a column indicating the XCMS group ID)"/>
|
49 | 57 | <param argument="--sirius_csi_resultPth" type="data" label="Sirius CSI:FingerID result" format="tsv,tabular" optional="true"
|
50 | 58 | help="The result of the CSI:FingerID analysis (requires a column indicating the XCMS group ID)"/>
|
51 |
| - <param argument="--probmetab_resultPth" type="data" label="Probmetab result" format="tsv,tabular" optional="true" |
52 |
| - help="The result of the Probmetab analysis (requires a column indicating the XCMS group ID)"/> |
| 59 | + <conditional name="probmetabCond"> |
| 60 | + <param name="probmetabChoice" type="select" label="Use probmetab data" help="The result of the Probmetab analysis" > |
| 61 | + <option value="no_probmetab" selected="true" >Do not include probmetab results</option> |
| 62 | + <option value="probmetab" >Include probmetab results</option> |
| 63 | + </param> |
| 64 | + <when value="probmetab"> |
| 65 | + <param argument="--probmetab_resultPth" type="data" label="Probmetab result" format="tsv,tabular" optional="true" |
| 66 | + help="The result of the Probmetab analysis (requires a column indicating the XCMS group ID). Alternatively any ms1 annotation tool can be used |
| 67 | + instead of probmetab"/> |
| 68 | + </when> |
| 69 | + <when value="no_probmetab"> |
| 70 | + </when> |
| 71 | + </conditional> |
53 | 72 | <param argument="--ms1_lookup_resultPth" type="data" label="MS1 Lookup result" format="tsv,tabular" optional="true"
|
54 | 73 | help="The result of the a generic MS1 lookup annotation software (e.g. BEAMS can be used)"/>
|
55 | 74 | <param argument="--ms1_lookup_keepAdducts" type="text" label="MS1 lookup adducts to keep" optional="true"
|
|
67 | 86 | <param argument="--probmetab_weight" type="float" min="0.0" max="1.0" value="0.0" label="Probmetab weight" help="all weights need to sum to 1" />
|
68 | 87 | <param argument="--ms1_lookup_weight" type="float" min="0.0" max="1.0" value="0.05" label="MS1 Lookup weight" help="all weights need to sum to 1" />
|
69 | 88 | <param argument="--biosim_weight" type="float" min="0.0" max="1.0" value="0.25" label="Biological similarity weight" help="all weights need to sum to 1" />
|
| 89 | + <param argument="--summaryOutput" type="boolean" checked="true" label="Create summary output" help="Create tab separated file of all annotations and features"/> |
70 | 90 | <param argument="--create_new_database" type="boolean" checked="true" label="Create a new database for the results?"
|
71 | 91 | help="A copy will be made of the input SQLite spectral matching database and the results will be added to this copy.
|
72 | 92 | When False, the input SQLite database will be updated the results. Use False
|
|
93 | 113 | <test>
|
94 | 114 | <param name="sm_resultPth" value="combinedAnnotation_input_spectralMatching.sqlite" />
|
95 | 115 | <param name="metfrag_resultPth" value="combineAnnotations_input_metfrag.tsv" />
|
96 |
| - <param name="sirius_csi_resultPth" value="combineAnnotations_input_sirus_csifingerid.tsv" /> |
97 |
| - <param name="probmetab_resultPth" value="combineAnnotations_input_probmetab.tsv" /> |
| 116 | + <param name="sirius_csi_resultPth" value="combineAnnotations_input_sirus_csifingerid.tsv" /> |
| 117 | + <param name="compoundDbTypeCond|compoundDbPth" value="metab_compound_subset.sqlite" /> |
98 | 118 | <param name="beams_resultPth" value="combineAnnotations_input_beams.tsv" />
|
99 | 119 | <param name="compoundDbTypeCond|compoundDbPth" value="metab_compound_subset.sqlite" />
|
100 | 120 | <output name="combined_annotations_tsv" file="combineAnnotations_combined_annotations.tsv" ftype="tsv" />
|
|
0 commit comments