1
|
1 <tool id="bedClip" name="bedClip">
|
|
2 <description> Remove lines from bed file that refer to off-chromosome places.</description>
|
|
3 <command interpreter="bash">
|
|
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 bedClip.sh $input $Genome $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">
|
|
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
|
|
38 </inputs>
|
|
39
|
|
40 <outputs>
|
|
41 <data format="input" name="output"/>
|
|
42 </outputs>
|
|
43 <help>
|
|
44 **What it does**
|
|
45 bedClip - Remove lines from bed file that refer to off-chromosome places.
|
|
46
|
|
47 **Usage**
|
|
48
|
|
49 bedClip input.bed chrom.sizes output.bed
|
|
50
|
|
51 </help>
|
|
52 </tool>
|
|
53
|