view findPeaks.xml @ 2:7268cbc535e5 draft

findpeaks and maketagdirectory
author kevyin
date Fri, 23 Nov 2012 00:30:27 -0500
parents
children
line wrap: on
line source

<tool id="homer_findPeaks" name="homer_findPeaks" version="0.0.7">
    <requirements>
        <requirement type="package">homer</requirement>
    </requirements>
    <description></description>
    <!--<version_command></version_command>-->
    <command>
        findPeaks $tagDir.extra_files_path $options -o $outputPeakFile

    #if $control_tagDir:
        -i $control_tagDir.extra_files_path
    #end if

        2&gt; $out_log || echo "Error running findPeaks." >&amp;2
    </command>
    <inputs>
        <param format="homerTagDirectory" name="tagDir" type="data" label="tag directory" />
        <param format="homerTagDirectory" name="control_tagDir" type="data" optional="True" label="Control tag directory" />
        <param type="text" name="options" label="Extra options" value="" >
          <sanitizer>
            <valid initial="string.printable">
             <remove value="&apos;"/>
            </valid>
            <mapping initial="none">
              <add source="&apos;" target="__sq__"/>
            </mapping>
          </sanitizer>
        </param>
    </inputs>
    <outputs>
        <!--<data format="html" name="html_outfile" label="index" />-->
        <!--<data format="html" hidden="True" name="html_outfile" label="index.html" />-->
        <data format="txt" name="outputPeakFile" label="${tool.name} on #echo os.path.splitext(str($tagDir.name))[0]#.txt" />
        <data format="txt" name="out_log" label="${tool.name} on #echo os.path.splitext(str($tagDir.name))[0]#.log" />
    </outputs>
    <tests>
        <test>
            <!--<param name="input_file" value="extract_genomic_dna.fa" />-->
            <!--<output name="html_file" file="sample_output.html" ftype="html" />-->
        </test>
    </tests>

    <help>

  .. class:: infomark

  **Homer findPeaks**
  http://biowhat.ucsd.edu/homer/ngs/peaks.html

    </help>
</tool>