Mercurial > repos > gaelcge > r_signac_galaxy
annotate signac_createAssayObject.xml @ 0:6e0b320d8b6a draft default tip
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
author | gaelcge |
---|---|
date | Tue, 02 Aug 2022 19:11:27 +0000 |
parents | |
children |
rev | line source |
---|---|
0
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
1 <tool id="signac_createAssayObject" name="Create Assay Object" version="0.1.0" python_template_version="3.5"> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
2 <description> Create Assay Object and Normalize Data</description> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
3 <macros> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
4 <import>signac_macros.xml</import> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
5 </macros> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
7 <stdio> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
8 <exit_code range="1:" /> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
9 </stdio> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
10 <command><![CDATA[ |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
11 Rscript '${__tool_directory__}'/signac-createAssayObject.R --signac-object $signac_object --counts $counts --name $name --min-cells $min_cells --min-features $min_features --method $method --scale-factor $scale_factor --margin $margin --output-object-file $rds_signac_seurat_file |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
12 ]]></command> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
13 <inputs> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
14 <param type="data" name="signac_object" label="Signac object." format="rdata" multiple="false" optional="false"/> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
15 <param type="data" name="counts" label="Counts Matrix (Output of Gene Activity)" format="rdata" multiple="false" optional="true"/> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
16 <param type="text" name="name" label="Assay Name." multiple="false" optional="true" value="RNA"/> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
17 <param type="integer" name="min_cells" label="Min Cells." multiple="false" optional="false" value="0"/> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
18 <param type="integer" name="min_features" label="Min Features." multiple="false" optional="false" value="0"/> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
19 <param type="select" name="method" label="Method for normalization." value="LogNormalize"> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
20 <option value="LogNormalize">LogNormalize</option> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
21 <option value="CLR">CLR</option> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
22 <option value="RC">RC</option> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
23 </param> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
24 <param type="float" name="scale_factor" value='10000' label="Sets the scale factor for cell-level normalization."/> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
25 <param type="select" name="margin" label="If performing CLR normalization, normalize across features (1) or cells (2)." value="1"> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
26 <option value="1">1</option> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
27 <option value="2">2</option> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
28 </param> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
29 </inputs> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
30 <outputs> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
31 <data name="rds_signac_seurat_file" format="rdata" label="Signac Object RDS (Create Assay Object - Normalized)"/> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
32 </outputs> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
33 <help><![CDATA[ |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
34 This tool creates a new assay and runs the NormalizeData function. |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
35 ]]></help> |
6e0b320d8b6a
"planemo upload commit dc808171975d0012e25bd7b32adc7a5a5c56a145-dirty"
gaelcge
parents:
diff
changeset
|
36 </tool> |