view tools/mytools/closestBed.xml @ 1:cdcb0ce84a1b

author xuebing
date Fri, 09 Mar 2012 19:45:15 -0500
parents 9071e359b9a3
line wrap: on
line source

<tool id="closestbed" name="closestBed">
  <description>find closest features</description>
  <command>closestBed -a $inputa -b $inputb $strandness -d $no -t $tie> $output_data
      <param name="inputa" type="data" format="interval,bam,bed,gff,vcf" label="Input A (-a)"/>
      <param name="inputb" type="data" format="interval,bam,bed,gff,vcf" label="Input B (-b)"/>          
      <param name="strandness" type="select" label="Strand requirement" >
		<option value="" selected="true"> none </option>
        <option value="-s" > -s: closest feature on the same strand</option>
        <option value="-S" > -S: closest feature on the opposite strand </option>
    <param name="no" label="Only look for non-overlaping features" type="boolean" truevalue="-no" falsevalue="" checked="False"/>
              <param name="tie" type="select" label="Strand requirement" >
		<option value="all" selected="true"> report all ties </option>
        <option value="first" > report the first that occurred</option>
        <option value="last" > report the last that occurred </option>
    <data format="input" name="output_data"/> 

**What it does**

This is a wrapper for closestBed.