Mercurial > repos > miller-lab > genome_diversity
diff 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 |
line wrap: on
line diff
--- a/restore_attributes.xml Wed May 29 13:49:19 2013 -0400 +++ b/restore_attributes.xml Mon Jun 03 12:29:29 2013 -0400 @@ -1,26 +1,40 @@ -<tool id="gd_restore_attributes" name="Restore Attributes" version="1.0.0"> - <description>: Fill in missing properties for a gd_snp dataset</description> +<tool id="gd_restore_attributes" name="Restore Attributes" version="1.1.0"> + <description>: Fill in missing properties for a gd_snp or gd_genotype dataset</description> <command interpreter="python"> cp.py "$dst" "$output" </command> <inputs> - <param name="src" type="data" format="gd_snp" label="SNP dataset to copy attributes from" /> - <param name="dst" type="data" format="gd_snp" label="SNP dataset to receive attributes" /> + <conditional name="input_type"> + <param name="choice" type="select" format="integer" label="Input format"> + <option value="0" selected="true">gd_snp</option> + <option value="1">gd_genotype</option> + </param> + + <when value="0"> + <param name="input" type="data" format="gd_snp" label="SNP dataset to copy attributes from" /> + <param name="dst" type="data" format="gd_snp" label="SNP dataset to receive attributes" /> + </when> + <when value="1"> + <param name="input" type="data" format="gd_genotype" label="Genotype dataset to copy attributes from" /> + <param name="dst" type="data" format="gd_genotype" label="Genotype dataset to receive attributes" /> + </when> + </conditional> </inputs> <outputs> - <data name="output" format="gd_snp" metadata_source="src" /> + <data name="output" format="input" format_source="input" metadata_source="input" /> </outputs> <help> **Dataset formats** -All of the input and output datasets are in gd_snp_ format. (`Dataset missing?`_) +All of the input and output datasets are in gd_snp_ or gd_genotype_ format. (`Dataset missing?`_) .. _gd_snp: ./static/formatHelp.html#gd_snp +.. _gd_genotype: ./static/formatHelp.html#gd_genotype .. _Dataset missing?: ./static/formatHelp.html -----