Mercurial > repos > ebi-gxa > scpred_traint_test_split
comparison scpred_train_test_split.xml @ 0:ceb1054d7cce draft
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
| author | ebi-gxa |
|---|---|
| date | Wed, 08 Apr 2020 10:17:53 +0000 |
| parents | |
| children | c48d7623f7f8 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:ceb1054d7cce |
|---|---|
| 1 <tool id="scpred_traint_test_split" name="Scpred train-test split" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@"> | |
| 2 <description>CPM normalise and partition into train/test data</description> | |
| 3 <macros> | |
| 4 <import>scpred_macros.xml</import> | |
| 5 </macros> | |
| 6 <expand macro="requirements" /> | |
| 7 <command detect_errors="exit_code"><![CDATA[ | |
| 8 scpred_train_test_split.R --input-sce-object "${input_sce_object}" --normalised-counts-slot "${norm_counts_slot}" --training-matrix "${training_mat}" --test-matrix "${test_mat}" --cell-types-column "${cell_types_col}" --training-labels "${training_labs}" --test-labels "${test_labs}" --training-ratio "${training_ratio}" ]]></command> | |
| 9 <inputs> | |
| 10 <param type="data" name="input_sce_object" label="SCE object containing expression data" format="rdata" help="File with serialized SingleCellExperiment object that contains expression matrix" /> | |
| 11 <param type="text" name="norm_counts_slot" value="normcounts" label="Normalised counts slot" help="Slot containing normalised counts in input SCE object" /> | |
| 12 <param type="text" name="cell_types_col" label="Column name for assigned cell types" /> | |
| 13 <param type="float" name="training_ratio" label="Train/test split ratio" value="0.7" help="What proportion of the data set (0 to 1) should be used for training" /> | |
| 14 </inputs> | |
| 15 <outputs> | |
| 16 <data name="training_mat" format="rdata" /> | |
| 17 <data name="test_mat" format="rdata" /> | |
| 18 <data name="training_labs" format="txt" /> | |
| 19 <data name="test_labs" format="txt" /> | |
| 20 </outputs> | |
| 21 <tests> | |
| 22 <test> | |
| 23 <param name="input_sce_object" value="pollen_cpm.rds" /> | |
| 24 <param name="cell_types_col" value="cell_type2" /> | |
| 25 <output name="training_mat" file="train_matrix.mtx" compare="sim_size"/> | |
| 26 <output name="test_mat" file="test_matrix.mtx" compare="sim_size"/> | |
| 27 <output name="training_labs" file="train_metadata.txt" compare="sim_size" /> | |
| 28 <output name="test_labs" file="test_metadata.txt" compare="sim_size" /> | |
| 29 </test> | |
| 30 </tests> | |
| 31 <help><![CDATA[ | |
| 32 @HELP@ | |
| 33 | |
| 34 @VERSION_HISTORY@ | |
| 35 ]]></help> | |
| 36 <expand macro="citations" /> | |
| 37 </tool> |
