Mercurial > repos > nikos > ucsc_tools
comparison bedExtendRanges.xml @ 2:e6502d9fe0dd draft
Uploaded
| author | nikos |
|---|---|
| date | Tue, 15 Jul 2014 07:18:55 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:37da191c7760 | 2:e6502d9fe0dd |
|---|---|
| 1 <tool id="bedExtendRanges" name="bedExtendRanges"> | |
| 2 <description> Extend length of entries in bed 6+. </description> | |
| 3 <command> | |
| 4 ## Set genome assembly | |
| 5 | |
| 6 #set $Genome = str( $genome_cond.genome ) | |
| 7 #if str( $genome_cond ) == 'OTHER': | |
| 8 #set $Genome = str( $genome_cond.genome_other ) | |
| 9 #end if | |
| 10 | |
| 11 bedExtendRanges -user=genome -host=genome-mysql.cse.ucsc.edu $Genome $length $input 2> /dev/null > $output | |
| 12 </command> | |
| 13 <inputs> | |
| 14 <param name="input" type="data" format="bed" label="Input"/> | |
| 15 <conditional name="genome_cond"> | |
| 16 <param name="genome" type="select" label="Genome Assembly (-g)"> | |
| 17 <option value="hg19">Human (Homo sapiens): hg19</option> | |
| 18 <option value="hg18">Human (Homo sapiens): hg18</option> | |
| 19 <option value="mm10">Mouse (Mus musculus): mm10</option> | |
| 20 <option value="mm9">Mouse (Mus musculus): mm9</option> | |
| 21 <option value="ce10">C. elegans: ce10</option> | |
| 22 <option value="ce6">C. elegans: ce6</option> | |
| 23 <option value="dm3">D. melanogaster: dm3</option> | |
| 24 <option value="OTHER">Other</option> | |
| 25 </param> | |
| 26 <when value="OTHER"> | |
| 27 <param name="genome_other" type="text" label="Other genome assemly"/> | |
| 28 </when> | |
| 29 <when value="hg19" type="text" /> | |
| 30 <when value="hg18" type="text" /> | |
| 31 <when value="mm10" type="text" /> | |
| 32 <when value="mm9" type="text" /> | |
| 33 <when value="ce10" type="text" /> | |
| 34 <when value="ce6" type="text" /> | |
| 35 <when value="dm3" type="text" /> | |
| 36 </conditional> | |
| 37 <param name="length" type="integer" value="0" label="Length extension (base-pairs)" /> | |
| 38 | |
| 39 </inputs> | |
| 40 | |
| 41 <outputs> | |
| 42 <data format="input" name="output"/> | |
| 43 </outputs> | |
| 44 <help> | |
| 45 | |
| 46 **What it does** | |
| 47 | |
| 48 bedExtendRanges - extend length of entries in bed 6+ data to be at least the given length, | |
| 49 taking strand directionality into account. | |
| 50 | |
| 51 **Usage** | |
| 52 | |
| 53 bedExtendRanges database length files(s) | |
| 54 | |
| 55 **Example** | |
| 56 | |
| 57 * bedExtendRanges -user=genome -host=genome-mysql.cse.ucsc.edu hg18 250 stdin | |
| 58 | |
| 59 will transform: | |
| 60 chr1 500 525 . 100 + | |
| 61 chr1 1000 1025 . 100 - | |
| 62 to: | |
| 63 chr1 500 750 . 100 + | |
| 64 chr1 775 1025 . 100 - | |
| 65 | |
| 66 </help> | |
| 67 </tool> | |
| 68 |
