galaxy-central / tools / rgenetics / rgTDT.xml

Full commit
<tool id="rgTDT1" name="Transmission Distortion:">
    <requirements><requirement type="package">plink</requirement></requirements>

    <description>for family data</description>

    <command interpreter="python"> -i '$i.extra_files_path/$i.metadata.base_name' -o '$title'
        -r '$out_file1' -l '$logf'  -g '$gffout'

       <param name="i"  type="data" label="Genotypes for analysis from your current history datasets"
          size="132" format="pbed" />
       <param name='title' type='text' value='rgTDT'  label="Title for the output to remind you what you did" size="80"/>

       <data format="tabular" name="out_file1" label="${title}_rgTDT.xls"/>
       <data format="gff" name="gffout" label="${title}_rgTDT.gff"/>
       <data format="txt" name="logf" label="${title}_rgTDTlog.txt"/>

 <param name='i' value='tinywga' ftype='pbed' >
   <metadata name='base_name' value='tinywga' />
   <composite_data value='tinywga.bim' />
   <composite_data value='tinywga.bed' />
   <composite_data value='tinywga.fam' />
   <edit_attributes type='name' value='tinywga' /> 
 <param name='title' value='rgTDTtest1' />
 <output name='out_file1' file='rgTDTtest1_TDT.xls' ftype='tabular' compare="diff"/>
 <output name='gffout' file='rgTDTtest1_TDT_topTable.gff' ftype='gff' compare="diff" />
 <output name='logf' file='rgTDTtest1_TDT_log.txt' ftype='txt' lines_diff='79'/>


.. class:: infomark


This tool relies on the work of many people. It uses Plink for
analysis, and the R for graphics respectively.

This implementation is a Galaxy tool wrapper around these third party applications.
It was originally designed and written for family based data from the CAMP Illumina run of 2007 by
ross lazarus ( and incorporated into the rgenetics toolkit.

Rgenetics merely exposes them, wrapping Plink so you can use it in Galaxy.


.. class:: infomark


- **Genotype file** is the input family data chosen from available library compressed files
- **Format** determines how your data will be returned to your Galaxy workspace - the gg format is strongly recommended


.. class:: infomark


This tool will perform the standard transmission distortion analyses suitable for
nuclear families and a simple binary "affected" phenotype

If you don't see the genotype data set you want here, it can be imported using one of the methods available from
the Galaxy Get Data tool page.

Outputs will include a GFF toptable with a link to view at UCSC if you want to see your
results as a fully fledged UCSC track.

Finally, if you can't live without
spreadsheet data, choose the .xls tab delimited format. It's not a stupid binary excel file. Just a plain old tab delimited
one with a header. Fortunately excel is dumb enough to open these without much protest.


.. class:: infomark


This Galaxy tool relies on Plink (see Plinksrc_) to test TDT models. 

So, we rely on the author (Shaun Purcell) for the documentation you need specific to those settings - they are very nicely documented - see

Tool and Galaxy datatypes originally designed and written for the Rgenetics
series of whole genome scale statistical genetics tools by ross lazarus (

Copyright Ross Lazarus March 2007
This Galaxy wrapper is released licensed under the LGPL_ but is about as useful as a chocolate teapot without Plink which is GPL.

I'm no lawyer, but it looks like you got GPL if you use this software. Good luck.

.. _Plinksrc: 

.. _LGPL:

.. _DOC: