Mercurial > repos > ebi-gxa > scpred_eigen_decompose
annotate scpred_eigen_decomp.xml @ 4:18397dae3a15 draft default tip
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit e2e8344bd707659bcb2bdfcfdda648179884bd53"
author | ebi-gxa |
---|---|
date | Fri, 14 Aug 2020 10:59:21 -0400 |
parents | 9ccb6e5d6781 |
children |
rev | line source |
---|---|
3
9ccb6e5d6781
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit bb88d0eb9c193518eb0d05321e3458a10212d3ab"
ebi-gxa
parents:
2
diff
changeset
|
1 <tool id="scpred_eigen_decompose" name="Scpred eigen-decompose" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@"> |
0
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
2 <description>Perform matrix eigen-decomposition; initialize object of scPred class</description> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
3 <macros> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
4 <import>scpred_macros.xml</import> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
5 </macros> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
1
3867289e6c1a
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
8 scpred_eigen_decomp.R --training-matrix "${training_matrix}" --training-labels "${training_labels}" --output-path "${output_object_path}" |
3867289e6c1a
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
9 |
3867289e6c1a
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
10 #if $log_transform |
3867289e6c1a
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
11 --log-transform "${log_transform}" |
3867289e6c1a
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
12 #end if |
3867289e6c1a
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
13 #if $principal_components |
3867289e6c1a
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
14 --principal-comps "${principal_components}" |
3867289e6c1a
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
15 #end if |
3867289e6c1a
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
16 ]]></command> |
0
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
17 <inputs> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
18 <param type="data" name="training_matrix" label="Training matrix" format="rdata" help="Training matrix obtained from train/test split step" /> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
19 <param type="boolean" name="log_transform" label="log-transform" checked="True" help="Should log-transform be performed on training data?" /> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
20 <param type="data" name="training_labels" label="training labels file" format="txt" help="Path to training labels in text format" /> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
21 <param type="integer" name="principal_components" label="Number of pincipal components" value="10" help="Number of principal components" /> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
22 </inputs> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
23 <outputs> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
24 <data name="output_object_path" format="rdata" /> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
25 </outputs> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
26 <tests> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
27 <test> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
28 <param name="training_matrix" value="train_matrix.mtx" /> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
29 <param name="training_labels" value="train_metadata.txt" /> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
30 <output name="output_object_path" file="scPred_object.rds" compare="sim_size" /> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
31 </test> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
32 </tests> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
33 <help><![CDATA[ |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
34 @HELP@ |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
35 |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
36 @VERSION_HISTORY@ |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
37 ]]></help> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
38 <expand macro="citations" /> |
c6fd7cbaf247
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
39 </tool> |