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

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

<tool id="convertens" name="convert ensembl">
  <description>to ucsc</description>
  <command interpreter="python"> $input $output $skip  </command>
    <param name="input" format="interval" type="data" label="Original file"/>
    <param name="skip" size="10" type="integer" value="0" label="Number of beginning lines to skip"/>
    <data format="input" name="output" />

**What it does**

This tool convert ensembl based interval file to ucsc format: add 'chr' to chromosome number (column 1), and replace '1' and '-1' with '+' and '-' in column 6, respectively.