comparison restore_attributes.xml @ 26:91e835060ad2

Updates to Admixture, Aggregate Individuals, and Restore Attributes to support gd_genotype
author Richard Burhans <burhans@bx.psu.edu>
date Mon, 03 Jun 2013 12:29:29 -0400
parents 95a05c1ef5d5
children
comparison
equal deleted inserted replaced
25:cba0d7a63b82 26:91e835060ad2
1 <tool id="gd_restore_attributes" name="Restore Attributes" version="1.0.0"> 1 <tool id="gd_restore_attributes" name="Restore Attributes" version="1.1.0">
2 <description>: Fill in missing properties for a gd_snp dataset</description> 2 <description>: Fill in missing properties for a gd_snp or gd_genotype dataset</description>
3 3
4 <command interpreter="python"> 4 <command interpreter="python">
5 cp.py "$dst" "$output" 5 cp.py "$dst" "$output"
6 </command> 6 </command>
7 7
8 <inputs> 8 <inputs>
9 <param name="src" type="data" format="gd_snp" label="SNP dataset to copy attributes from" /> 9 <conditional name="input_type">
10 <param name="dst" type="data" format="gd_snp" label="SNP dataset to receive attributes" /> 10 <param name="choice" type="select" format="integer" label="Input format">
11 <option value="0" selected="true">gd_snp</option>
12 <option value="1">gd_genotype</option>
13 </param>
14
15 <when value="0">
16 <param name="input" type="data" format="gd_snp" label="SNP dataset to copy attributes from" />
17 <param name="dst" type="data" format="gd_snp" label="SNP dataset to receive attributes" />
18 </when>
19 <when value="1">
20 <param name="input" type="data" format="gd_genotype" label="Genotype dataset to copy attributes from" />
21 <param name="dst" type="data" format="gd_genotype" label="Genotype dataset to receive attributes" />
22 </when>
23 </conditional>
11 </inputs> 24 </inputs>
12 25
13 <outputs> 26 <outputs>
14 <data name="output" format="gd_snp" metadata_source="src" /> 27 <data name="output" format="input" format_source="input" metadata_source="input" />
15 </outputs> 28 </outputs>
16 29
17 <help> 30 <help>
18 31
19 **Dataset formats** 32 **Dataset formats**
20 33
21 All of the input and output datasets are in gd_snp_ format. (`Dataset missing?`_) 34 All of the input and output datasets are in gd_snp_ or gd_genotype_ format. (`Dataset missing?`_)
22 35
23 .. _gd_snp: ./static/formatHelp.html#gd_snp 36 .. _gd_snp: ./static/formatHelp.html#gd_snp
37 .. _gd_genotype: ./static/formatHelp.html#gd_genotype
24 .. _Dataset missing?: ./static/formatHelp.html 38 .. _Dataset missing?: ./static/formatHelp.html
25 39
26 ----- 40 -----
27 41
28 **What it does** 42 **What it does**