| 
0
 | 
     1 <tool id="ks_distribution" name="KsDistribution" version="1.0.0">
 | 
| 
 | 
     2     <description>plots the distribution of synonymous substitution (Ks) rates and fits significant componets(s)</description>
 | 
| 
 | 
     3     <macros>
 | 
| 
 | 
     4         <import>macros.xml</import>
 | 
| 
 | 
     5     </macros>
 | 
| 
 | 
     6     <expand macro="requirements_ks_distribution" />
 | 
| 
2
 | 
     7     <command detect_errors="exit_code">
 | 
| 
0
 | 
     8         <![CDATA[
 | 
| 
 | 
     9             Rscript $__tool_directory__/ks_distribution.R
 | 
| 
 | 
    10             -k '${kaks}'
 | 
| 
 | 
    11             -c '${components}'
 | 
| 
 | 
    12             -o '$output'
 | 
| 
 | 
    13         ]]>
 | 
| 
 | 
    14     </command>
 | 
| 
 | 
    15     <inputs>
 | 
| 
 | 
    16         <param name="rates" format="tabular" type="data" label="Synonymous substitution rates" />
 | 
| 
 | 
    17         <param name="components" format="tabular" type="data" label="Significant components" />
 | 
| 
 | 
    18     </inputs>
 | 
| 
 | 
    19     <outputs>
 | 
| 
 | 
    20         <data name="output" format="pdf"/>
 | 
| 
 | 
    21     </outputs>
 | 
| 
 | 
    22     <tests>
 | 
| 
 | 
    23         <test>
 | 
| 
 | 
    24             <param name="rates" value="rates.tabular" ftype="tabular" />
 | 
| 
 | 
    25             <param name="components" value="components.tabular" ftype="tabular" />
 | 
| 
 | 
    26             <output name="output" file="output.pdf" ftype="pdf" compare="contains" />
 | 
| 
 | 
    27         </test>
 | 
| 
 | 
    28     </tests>
 | 
| 
 | 
    29     <help>
 | 
| 
 | 
    30 **What it does**
 | 
| 
 | 
    31  
 | 
| 
 | 
    32 This tool is one of the PlantTribes collection of automated modular analysis pipelines for comparative and evolutionary analyses of
 | 
| 
 | 
    33 genome-scale gene families and transcriptomes.  This tool uses the analysis results produced by the KaKsAnalysis tool to plot the
 | 
| 
 | 
    34 distribution of synonymous substitution (Ks) rates and fit the estimated significant normal mixtures component(s) onto the distribution.
 | 
| 
 | 
    35 
 | 
| 
 | 
    36 -----
 | 
| 
 | 
    37 
 | 
| 
 | 
    38 **Options**
 | 
| 
 | 
    39 
 | 
| 
1
 | 
    40  * **Synonymous substitution rates** - estimated synonymous substitution (Ks) rates output file produced by the KaKsAnalysis tool selected from your history.
 | 
| 
 | 
    41  * **Synonymous components** - estimated significant component(s) output file produced by the KaKsAnalysis tool selected from your history.
 | 
| 
0
 | 
    42     </help>
 | 
| 
 | 
    43     <citations>
 | 
| 
 | 
    44         <expand macro="citation1" />
 | 
| 
 | 
    45         <citation type="bibtex">
 | 
| 
 | 
    46             @article{Wall2008,
 | 
| 
 | 
    47             journal = {Nucleic Acids Research},
 | 
| 
 | 
    48             author = {2. Wall PK, Leebens-Mack J, Muller KF, Field D, Altman NS},
 | 
| 
 | 
    49             title = {PlantTribes: a gene and gene family resource for comparative genomics in plants},
 | 
| 
 | 
    50             year = {2008},
 | 
| 
 | 
    51             volume = {36},
 | 
| 
 | 
    52             number = {suppl 1},
 | 
| 
 | 
    53             pages = {D970-D976},}
 | 
| 
 | 
    54         </citation>
 | 
| 
 | 
    55         <citation type="bibtex">
 | 
| 
 | 
    56             @article{Altschul1990,
 | 
| 
 | 
    57             journal = {Journal of molecular biology}
 | 
| 
 | 
    58             author = {3. Altschul SF, Gish W, Miller W, Myers EW, Lipman DJ},
 | 
| 
 | 
    59             title = {Basic local alignment search tool},
 | 
| 
 | 
    60             year = {1990},
 | 
| 
 | 
    61             volume = {215},
 | 
| 
 | 
    62             number = {3},
 | 
| 
 | 
    63             pages = {403-410},}
 | 
| 
 | 
    64         </citation>
 | 
| 
 | 
    65         <citation type="bibtex">
 | 
| 
 | 
    66             @article{Katoh2013,
 | 
| 
 | 
    67             journal = {Molecular biology and evolution},
 | 
| 
 | 
    68             author = {4. Katoh K, Standley DM},
 | 
| 
 | 
    69             title = {MAFFT multiple sequence alignment software version 7: improvements in performance and usability},
 | 
| 
 | 
    70             year = {2013},
 | 
| 
 | 
    71             volume = {30},
 | 
| 
 | 
    72             number = {4},
 | 
| 
 | 
    73             pages = {772-780},}
 | 
| 
 | 
    74         </citation>
 | 
| 
 | 
    75         <citation type="bibtex">
 | 
| 
 | 
    76             @article{Yang2007,
 | 
| 
 | 
    77             journal = {Molecular biology and evolution},
 | 
| 
 | 
    78             author = {5. Yang Z},
 | 
| 
 | 
    79             title = {PAML 4: phylogenetic analysis by maximum likelihood},
 | 
| 
 | 
    80             year = {2007},
 | 
| 
 | 
    81             volume = {24},
 | 
| 
 | 
    82             number = {8},
 | 
| 
 | 
    83             pages = {1586-1591},}
 | 
| 
 | 
    84         </citation>
 | 
| 
 | 
    85         <citation type="bibtex">
 | 
| 
 | 
    86             @article{Cui2006,
 | 
| 
 | 
    87             journal = {Genome Research},
 | 
| 
 | 
    88             author = {6. Cui L, Wall PK, Leebens-Mack JH, Lindsay BG, Soltis DE, Doyle JJ, Soltis PS, Carlson JE, Arumuganathan K, Barakat A, Albert VA},
 | 
| 
 | 
    89             title = {Widespread genome duplications throughout the history of flowering plants},
 | 
| 
 | 
    90             year = {2006},
 | 
| 
 | 
    91             volume = {16},
 | 
| 
 | 
    92             number = {6},
 | 
| 
 | 
    93             pages = {738-749},}
 | 
| 
 | 
    94         </citation>
 | 
| 
 | 
    95         <citation type="bibtex">
 | 
| 
 | 
    96             @article{McLachlan1999,
 | 
| 
 | 
    97             journal = {Journal of Statistical Software},
 | 
| 
 | 
    98             author = {7. McLachlan GJ, Peel D, Basford KE, Adams P},
 | 
| 
 | 
    99             title = {The EMMIX software for the fitting of mixtures of normal and t-components},
 | 
| 
 | 
   100             year = {1999},
 | 
| 
 | 
   101             volume = {4},
 | 
| 
 | 
   102             number = {2},
 | 
| 
 | 
   103             pages = {1-14},}
 | 
| 
 | 
   104         </citation>
 | 
| 
 | 
   105     </citations>
 | 
| 
 | 
   106 </tool>
 | 
| 
 | 
   107 
 |