Skip to content

Commit

Permalink
aggregation options are now in a macro
Browse files Browse the repository at this point in the history
  • Loading branch information
KristinaGomoryova committed Jan 8, 2025
1 parent 5276c78 commit f0a6929
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions tools/scp/macros.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@
</creator>
</xml>

<xml name="aggregation_options">
<option value="colMedians" selected="true">colMedians()</option>
<option value="MsCoreUtils::medianPolish">medianPolish()</option>
<option value="colMeans">colMeans()</option>
<option value="colSums">colSums()</option>
<option value="MsCoreUtils::robustSummary">robustSummary()</option>
</xml>

<xml name="scp_param">
<param name="input_data" type="data" format="tabular" label="Input evidence table"
help= "Input file is the evidence.txt table from MaxQuant"/>
Expand Down Expand Up @@ -62,11 +70,7 @@

<section name="peptide_aggregation" title="Aggregation to peptides" expanded="true">
<param name="aggregation_peptides" type="select" label="Which function to use for the aggregation?" help= "How to aggregate PSMs to peptides?">
<option value="colMedians" selected="true">colMedians()</option>
<option value="MsCoreUtils::medianPolish">medianPolish()</option>
<option value="colMeans">colMeans()</option>
<option value="colSums">colSums()</option>
<option value="MsCoreUtils::robustSummary">robustSummary()</option>
<expand macro="aggregation_options"/>
</param>
<param name="column_aggregation_peptides" type="text" value="Modified.sequence" label="Which column should be used for the PSM to peptide aggregation?" optional="false" help="Which column should be used for the PSM to peptide aggregation."/>
</section>
Expand Down Expand Up @@ -151,12 +155,8 @@
</section>

<section name="protein_aggregation" title="Aggregation to proteins" expanded="true">
<param name = "aggregation_proteins" type="select" label="Which function to use for the aggregation?" help= "How to aggregate PSMs to proteins?">
<option value="colMedians" selected="true">colMedians()</option>
<option value="MsCoreUtils::medianPolish">medianPolish()</option>
<option value="colMeans">colMeans()</option>
<option value="colSums">colSums()</option>
<option value="MsCoreUtils::robustSummary">robustSummary()</option>
<param name = "aggregation_proteins" type="select" label="Which function to use for the aggregation?" help= "How to aggregate peptides to proteins?">
<expand macro="aggregation_options"/>
</param>
<param name="column_aggregation_proteins" type="text" value="Leading.razor.protein" label="Which column should be used for the peptide to protein aggregation?" optional="false" help="Which column should be used for the peptide to protein aggregation."/>
</section>
Expand Down

0 comments on commit f0a6929

Please sign in to comment.