0
|
1 <tool id="pscan_chip" name="PscanChIP" version="1.0.0">
|
|
2 <description>PscanChIP</description>
|
|
3 <requirements>
|
|
4 <requirement type="binary">twoBitToFa</requirement>
|
|
5 <requirement type="binary">pscan_chip_g</requirement>
|
|
6 </requirements>
|
|
7
|
|
8 <!--command>
|
|
9 read_distrib $input_map_file $input_pos_file $region_size $bin_size $shift_size '$output_freq' '$output_freq_all'
|
|
10 </command-->
|
|
11 <command>
|
|
12 #if $profile_type.profiles == "/home/galaxy/galaxy-dist/tools/ngs_beacon/pscan_chip/jaspar_vertebrates.wil"
|
|
13 #if $profile_type.BG_Jaspar.value == "none"
|
|
14 #if $selected.value == ""
|
|
15 pscan_chip_g -r $input_bed_file -M $profile_type.profiles -g $genomeSource -go $main_output -2bit -quiet
|
|
16 #else
|
|
17 pscan_chip_g -r $input_bed_file -M $profile_type.profiles -g $genomeSource -go $main_output -2bit -quiet -m $selected
|
|
18 #end if
|
|
19 #else
|
|
20 #if $selected.value == ""
|
|
21 pscan_chip_g -r $input_bed_file -M $profile_type.profiles -g $genomeSource -go $main_output -2bit -quiet -bg /home/galaxy/galaxy-dist/tools/ngs_beacon/pscan_chip/BG/$profile_type.BG_Jaspar
|
|
22 #else
|
|
23 pscan_chip_g -r $input_bed_file -M $profile_type.profiles -g $genomeSource -go $main_output -2bit -quiet -bg /home/galaxy/galaxy-dist/tools/ngs_beacon/pscan_chip/BG/$profile_type.BG_Jaspar -m $selected
|
|
24 #end if
|
|
25 #end if
|
|
26 #else if $profile_type.profiles == "/home/galaxy/galaxy-dist/tools/ngs_beacon/pscan_chip/transfac_vertebrates.wil"
|
|
27 #if $profile_type.BG_Transfac.value == "none"
|
|
28 #if $selected.value == ""
|
|
29 pscan_chip_g -r $input_bed_file -M $profile_type.profiles -g $genomeSource -go $main_output -2bit -quiet
|
|
30 #else
|
|
31 pscan_chip_g -r $input_bed_file -M $profile_type.profiles -g $genomeSource -go $main_output -2bit -quiet -m '$selected'
|
|
32 #end if
|
|
33 #else
|
|
34 #if $selected.value == ""
|
|
35 pscan_chip_g -r $input_bed_file -M $profile_type.profiles -g $genomeSource -go $main_output -2bit -quiet -bg /home/galaxy/galaxy-dist/tools/ngs_beacon/pscan_chip/BG/$profile_type.BG_Transfac
|
|
36 #else
|
|
37 pscan_chip_g -r $input_bed_file -M $profile_type.profiles -g $genomeSource -go $main_output -2bit -quiet -bg /home/galaxy/galaxy-dist/tools/ngs_beacon/pscan_chip/BG/$profile_type.BG_Transfac -m '$selected'
|
|
38 #end if
|
|
39 #end if
|
|
40 #else
|
|
41 #if $selected.value == ""
|
|
42 pscan_chip_g -r $input_bed_file -M $profile_type.custom_matrix_file -g $genomeSource -go $main_output -2bit -quiet
|
|
43 #else
|
|
44 pscan_chip_g -r $input_bed_file -M $profile_type.custom_matrix_file -g $genomeSource -go $main_output -2bit -quiet -m $selected
|
|
45 #end if
|
|
46 #end if
|
|
47 </command>
|
|
48
|
|
49
|
|
50 <inputs>
|
|
51 <param name="input_bed_file" type="data" format="bed" label="ChIP-Seq Peaks File" />
|
|
52 <param name="genomeSource" type="select" label="Use a built in reference genome.">
|
|
53 <options from_data_table="2bit_genomes">
|
|
54 <validator type="no_options" message="No genomes are available for the selected input dataset"/>
|
|
55 </options>
|
|
56 </param>
|
|
57 <conditional name="profile_type">
|
|
58 <param name="profiles" type="select" label="Select binding profiles descriptors">
|
|
59 <option value="/home/galaxy/galaxy-dist/tools/ngs_beacon/pscan_chip/jaspar_vertebrates.wil" selected="true">Jaspar (vertebrates)</option>
|
|
60 <option value="/home/galaxy/galaxy-dist/tools/ngs_beacon/pscan_chip/transfac_vertebrates.wil">Transfac (vertebrates)</option>
|
|
61 <option value="data">From file</option>
|
|
62 </param>
|
|
63
|
|
64 <when value="/home/galaxy/galaxy-dist/tools/ngs_beacon/pscan_chip/jaspar_vertebrates.wil">
|
|
65 <param name="BG_Jaspar" type="select" label="Select background">
|
|
66 <options from_data_table="jaspar_pchip_bg">
|
|
67 </options>
|
|
68 </param>
|
|
69 </when>
|
|
70
|
|
71 <when value="/home/galaxy/galaxy-dist/tools/ngs_beacon/pscan_chip/transfac_vertebrates.wil">
|
|
72 <param name="BG_Transfac" type="select" label="Select Background">
|
|
73 <options from_data_table="transfac_pchip_bg">
|
|
74 </options>
|
|
75 </param>
|
|
76 </when>
|
|
77
|
|
78 <when value="data">
|
|
79 <param name="custom_matrix_file" type="data" label="Select dataset"/>
|
|
80 </when>
|
|
81 </conditional>
|
|
82 <param name="selected" type="text" size="16" value="" label="Matrix ID (leave blank to perform standard run)" >
|
|
83 <sanitizer sanitize="false"/>
|
|
84 </param>
|
|
85 </inputs>
|
|
86 <outputs>
|
|
87 <data name="main_output" metadata_source="input_bed_file" format="tabular" label="${tool.name} on ${on_string} results"/>
|
|
88 </outputs>
|
|
89
|
|
90
|
|
91 <help>
|
|
92 PscanChIP Galaxy plug-in. Visit Pscan-ChIP home page at http://www.beaconlab.it/pscan_chip_dev to learn more on Pscan-ChIP.
|
|
93 </help>
|
|
94 </tool>
|