Mercurial > repos > ebi-gxa > garnett_train_classifier
comparison garnett_train_classifier.xml @ 1:2067ebe66b55 draft
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
author | ebi-gxa |
---|---|
date | Fri, 24 Apr 2020 11:22:40 -0400 |
parents | 24a22971dd44 |
children | 9be21507358d |
comparison
equal
deleted
inserted
replaced
0:24a22971dd44 | 1:2067ebe66b55 |
---|---|
3 <macros> | 3 <macros> |
4 <import>garnett_macros.xml</import> | 4 <import>garnett_macros.xml</import> |
5 </macros> | 5 </macros> |
6 <expand macro="requirements" /> | 6 <expand macro="requirements" /> |
7 <command detect_errors="exit_code"><![CDATA[ | 7 <command detect_errors="exit_code"><![CDATA[ |
8 garnett_train_classifier.R --cds-object '${cds_object}' --marker-file-path '${marker_file_path}' --database '${database}' --cds-gene-id-type '${cds_gene_id_type}' --marker-file-gene-id-type '${marker_file_gene_id_type}' --num-unknown '${num_unknown}' --min-observations '${min_observations}' --max-training-samples '${max_training_samples}' --propogate-markers '${propogate_markers}' --cores '${cores}' --classifier-gene-id-type '${classifier_gene_id_type}' --output-path '${output_classifier_path}' | 8 garnett_train_classifier.R --cds-object '${cds_object}' --marker-file-path '${marker_file_path}' --database '${database}' --cores \${GALAXY_SLOTS:-1} --output-path '${output_classifier_path}' |
9 #if $train_id | |
10 --train-id '${train_id}' | |
11 #end if | |
12 #if $cds_gene_id_type | |
13 --cds-gene-id-type '${cds_gene_id_type}' | |
14 #end if | |
15 #if $marker_file_gene_id_type | |
16 --marker-file-gene-id-type '${marker_file_gene_id_type}' | |
17 #end if | |
18 #if $num_unknown | |
19 --num-unknown '${num_unknown}' | |
20 #end if | |
21 #if $min_observations | |
22 --min-observations '${min_observations}' | |
23 #end if | |
24 #if $max_training_samples | |
25 --max-training-samples '${max_training_samples}' | |
26 #end if | |
27 #if $propogate_markers | |
28 --propogate-markers '${propogate_markers}' | |
29 #end if | |
30 #if $classifier_gene_id_type | |
31 --classifier-gene-id-type '${classifier_gene_id_type}' | |
32 #end if | |
9 ]]></command> | 33 ]]></command> |
10 <inputs> | 34 <inputs> |
11 <param type="data" name="cds_object" label="CDS object" format="rdata" help="CDS object with expression data for training" /> | 35 <param type="data" name="cds_object" label="CDS object" format="rdata" help="CDS object with expression data for training" /> |
12 <param type="data" name="marker_file_path" format="txt" label="Marker file path" help="File with marker genes specifying cell types. | 36 <param type="data" name="marker_file_path" format="txt" label="Marker file path" help="File with marker genes specifying cell types. |
13 See https://cole-trapnell-lab.github.io/garnett/docs/#constructing-a-marker-file for specification of the file format" /> | 37 See https://cole-trapnell-lab.github.io/garnett/docs/#constructing-a-marker-file for specification of the file format" /> |
38 <param type="text" name="train_id" label="Dataset ID" help="ID of the training dataset" /> | |
14 <param type="text" name="database" label="gene database" value="org.Hs.eg.db" help="argument for Bioconductor AnnotationDb-class package used for converting gene IDs" /> | 39 <param type="text" name="database" label="gene database" value="org.Hs.eg.db" help="argument for Bioconductor AnnotationDb-class package used for converting gene IDs" /> |
15 <param type="text" name="cds_gene_id_type" label="CDS gene id type" value="ENSEMBL" help="Format of the gene IDs in your CDS object" /> | 40 <param type="text" name="cds_gene_id_type" label="CDS gene id type" value="ENSEMBL" help="Format of the gene IDs in your CDS object" /> |
16 <param type="text" name="marker_file_gene_id_type" label="Marker gene id type" value="ENSEMBL" help="Format of the gene IDs in your marker file" /> | 41 <param type="text" name="marker_file_gene_id_type" label="Marker gene id type" value="ENSEMBL" help="Format of the gene IDs in your marker file" /> |
17 <param type="integer" name="num_unknown" value='500' label="number of outputs" help="Number of outgroups to compare against" /> | 42 <param type="integer" name="num_unknown" value='500' label="number of outputs" help="Number of outgroups to compare against" /> |
18 <param type="integer" name="min_observations" value='8' label="Min num of observations" help="The minimum number of representative cells per | 43 <param type="integer" name="min_observations" value='8' label="Min num of observations" help="The minimum number of representative cells per |
20 <param type="integer" name="max_training_samples" value='500' label="Max num of training samples" help="The maximum number of representative cells per cell | 45 <param type="integer" name="max_training_samples" value='500' label="Max num of training samples" help="The maximum number of representative cells per cell |
21 type to be included in the model training. Decreasing this number | 46 type to be included in the model training. Decreasing this number |
22 increases speed, but may hurt performance of the model." /> | 47 increases speed, but may hurt performance of the model." /> |
23 <param type="boolean" name="propogate_markers" checked="true" label="propogate markers" help="Should markers from child nodes of a cell type be used | 48 <param type="boolean" name="propogate_markers" checked="true" label="propogate markers" help="Should markers from child nodes of a cell type be used |
24 in finding representatives of the parent type?" /> | 49 in finding representatives of the parent type?" /> |
25 <param type="integer" name="cores" label="cores" value="1" help="The number of cores to use for computation" /> | |
26 <param type="text" name="classifier_gene_id_type" label="Classifier gene ID type" value="ENSEMBL" help="The type of gene ID that will be used in the classifier. If possible for your organism, this should be 'ENSEMBL', which is the default." /> | 50 <param type="text" name="classifier_gene_id_type" label="Classifier gene ID type" value="ENSEMBL" help="The type of gene ID that will be used in the classifier. If possible for your organism, this should be 'ENSEMBL', which is the default." /> |
27 </inputs> | 51 </inputs> |
28 <outputs> | 52 <outputs> |
29 <data name="output_classifier_path" format="rdata" /> | 53 <data name="output_classifier_path" format="rdata" /> |
30 </outputs> | 54 </outputs> |
40 | 64 |
41 @VERSION_HISTORY@ | 65 @VERSION_HISTORY@ |
42 ]]></help> | 66 ]]></help> |
43 <expand macro="citations" /> | 67 <expand macro="citations" /> |
44 </tool> | 68 </tool> |
45 | |
46 |