view region_motif_compare.xml @ 5:4803f5186f1a draft default tip

Uploaded
author jeremyjliu
date Tue, 26 May 2015 12:44:08 -0400
parents cab2db9d058b
children
line wrap: on
line source

<tool id="region_motif_compare" name="Region Motif Count Compare">
  <description>for comparing the motif counts in different region sets</description>
  <requirements>
    <requirement type="set_environment">RMOTIF_PATH</requirement>
  </requirements>
  <command interpreter="Rscript">
    region_motif_compare.r --args \$RMOTIF_PATH $pwm_file.fields.path $in_tab_a $in_tab_b 
    $out_enriched_a 
    $out_enriched_b
    $out_plots
  </command>
  <inputs>
    <param name="in_tab_a" type="data" format="tabular" label="Region Set A Motif Count File"/>
    <param name="in_tab_b" type="data" format="tabular" label="Region Set B Motif Count File"/>

    <param name="pwm_file" type="select" label="Using motif database PWM file">
      <options from_data_table="motif_databases"/>
    </param>
  </inputs>

  <outputs>
    <data name="out_enriched_a" format="tabular" label="Enriched Motifs in Region Set A"/>
    <data name="out_enriched_b" format="tabular" label="Enriched Motifs in Region Set B"/>
    <data name="out_plots" format="png" label="Motif Count Comparison Plots"/>
  </outputs>

<!--
  <tests>
    <test>
      <param name="in_tab_1" value="XXX.tab" />
      <param name="in_tab_2" value="XXX.tab" />
      <param name="pwm_file" value="XXX.meme.txt" />
      <output name="out_enriched" file="XXX.tab" />
      <output name="out_depleted" file="XXX.tab" />     
      <output name="out_plots" file="XXX.png" />          
    </test>
  </tests>
-->

  <help>
    This tools reads in two counts file and determines enriched and depleted
    motifs in two different region sets based on poisson calculation with
    gc correction.
  </help>
 
</tool>