view nucleotide_diversity_pi.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 8997f2ca8c7a
line wrap: on
line source

<tool id="gd_nucleotide_diversity_pi" name="Nucleotide Diversity" version="1.0.0">
  <description>: &amp;pi; and &amp;theta;</description>

  <command interpreter="python">
    nucleotide_diversity_pi.py "$saps" "$snps" "$intervals" "$indivs" "$output"
    #for $individual_name, $individual_col in zip($snps.dataset.metadata.individual_names, $snps.dataset.metadata.individual_columns)
      #set $arg = '%s:%s' % ($individual_col, $individual_name)
      "$arg"
    #end for
  </command>

  <inputs>
    <param name="saps" type="data" format="gd_sap" label="SAP Dataset" />
    <param name="snps" type="data" format="gd_snp" label="SNP Dataset" />
    <param name="intervals" type="data" format="gd_covered_cds" label="Covered intervals" />
    <param name="indivs" type="data" format="gd_indivs" label="Population individuals" />
  </inputs>

  <outputs>
    <data name="output" format="txt" />
  </outputs>

  <help>
**What it does**

This tool computes values that estimate some basic parameters.

**Output**

the number of nonsyn SNPs, total number of nonsynon sites, piNon,
the number of synon SNPs, total number of synon sites, piSyn, plus
total length of covered intervals, thetaNon, thetaSyn
  </help>
</tool>