view chipsequtil/map_to_known_genes.xml @ 10:a92644537c7d draft

author alenail
date Mon, 04 Apr 2016 15:05:42 -0400
parents a30aa2806375
line wrap: on
line source

<tool id="chipsequtil_maptoknowngenes" name="Map Peaks to Known Genes" version="0.1">
    Map the peaks in &lt;peaks file&gt; to genes in &lt;knownGene file&gt;.  &lt;knownGene file&gt; isformat is as specified in;peaks file&gt; format is as produced by MACS.  If *auto* is chosen (default) file extension is examined for *.xls* for default MACS format or *.bed* for BED format.  If the --detail option is provided, the following extra fields are appended to each row:
    peak loc, dist from feature, map type, map subtype
  <parallelism method="basic"></parallelism>
    <requirement type="package" version="1.0">chipsequtil</requirement>
  <command interpreter="python">
      $knownGeneFile $knownGeneRef $macsPeaksFile

    <param name="knownGeneFile" type="data" label="knownGene file" help="" optional="false" />
    <param name="knownGeneRef" type="data" label="knownGene xRef file" help="" optional="false" />
    <param name="macsPeaksFile" type="data" label="Peaks File" help="" optional="false" />

    <param name="upst_win" type="integer" label="Upstream Window" help="Window width in base pairs to consider promoter region [default: %default]" optional="false" value="5500" />
    <param name="dnst_win" type="integer" label="Downstream Window" help="Window width in base pairs to consider downstream region [default: %default]" optional="false" value="2500" />

    <param name="tss" checked="true" label="Calculate downstream window from transcription start site instead of transcription end site" type="boolean" truevalue="--tss" falsevalue="" help="" />

    <param name="peaks_fmt" type="select" label="Peaks Format" help="Format of peaks input file" optional="false">
        <option value="MACS">MACS</option>
        <option selected="true" value="BED">BED</option>

    <param name="detail" checked="true" label="Append the following fields to each row: peak loc, dist from feature, map type, map subtype" type="boolean" truevalue="--detail" falsevalue="" help="" />
    <param name="intergenic" checked="false" label="Write intergenic peaks to the gene file as well with None as gene ID" type="boolean" truevalue="--intergenic" falsevalue="" help="" />
    <data name="peaksOutput" format="txt" hidden="false" />