annotate cooler_cload_tabix.xml @ 4:168e86e96afa draft default tip

planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit bee0809b51b16e750353b19fad34bfcf5e93ab13
author lldelisle
date Tue, 02 Apr 2024 07:30:20 +0000
parents 3ff6eeca667e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
1 <tool id="cooler_cload_tabix" name="cooler_cload_tabix" version="@VERSION@+galaxy1" profile="22.05">
0
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
2 <description> Create a cool file from a tabix-indexed contact file and a list of genomic bins.</description>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
3 <macros>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
4 <import>macros.xml</import>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
5 </macros>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
6 <expand macro="requirements" />
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
7 <expand macro="stdio" />
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
9 ##set up input files
1
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
10 ln -s '$format_sel.input_pairs' pairs.tabix &&
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
11 ln -s '$format_sel.input_pairs.metadata.tabix_index' pairs.tabix.tbi &&
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
12 cooler cload tabix --assembly '$assembly'
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
13 #if $format_sel.format == "juicer_medium":
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
14 -c2 7 -p2 8
0
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
15 #else:
1
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
16 -c2 $format_sel.c2 -p2 $format_sel.p2
0
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
17 #end if
1
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
18 '$input_bed' pairs.tabix '$output'
0
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
19 ]]>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
20 </command>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
21 <inputs>
1
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
22 <conditional name="format_sel">
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
23 <param name="format" type="select" label="Format of your input file">
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
24 <option value="juicer_medium">Juicer Medium Format</option>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
25 <option value="other">Other</option>
0
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
26 </param>
1
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
27 <when value="juicer_medium">
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
28 <param name="input_pairs" multiple="false" type="data" format="juicer_medium_tabix.gz" label="Select the output of csort_tabix."/>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
29 </when>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
30 <when value="other">
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
31 <param name="input_pairs" multiple="false" type="data" format="interval_tabix.gz" label="Select the output of csort_tabix."/>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
32 <param name="c2" type="integer" value="3" label="field number in the input file (starting from 1) of the chromosome of mate 2 (same as in csort).">
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
33 <validator type="in_range" min="1" />
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
34 </param>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
35 <param name="p2" type="integer" value="4" label="field number in the input file (starting from 1) of the position of mate 2 (same as in csort).">
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
36 <validator type="in_range" min="1" />
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
37 </param>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
38 </when>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
39 </conditional>
0
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
40 <param name="assembly" type="text" label="name of genome assembly"/>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
41 <param name="input_bed" multiple="false" type="data" format="bed" label="Select the output of makebins."/>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
42 </inputs>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
43
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
44 <outputs>
1
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
45 <data format="cool" name="output" label="cool file from $format_sel.input_pairs.name and $input_bed.name"/>
0
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
46 </outputs>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
47
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
48 <tests>
1
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
49 <test>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
50 <conditional name="format_sel">
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
51 <param name="format" value="juicer_medium"/>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
52 <param name="input_pairs" value="input.validPairs.tabix" ftype="juicer_medium_tabix.gz"/>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
53 </conditional>
0
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
54 <param name="input_bed" value="chr19.1M.bins"/>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
55 <param name="assembly" value="chr19"/>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
56 <output name="output" file="input.cool" compare="sim_size"/>
1
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
57 </test>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
58 <test>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
59 <conditional name="format_sel">
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
60 <param name="format" value="other"/>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
61 <param name="input_pairs" value="input.validPairs.tabix" ftype="juicer_medium_tabix.gz"/>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
62 <param name="c2" value="7"/>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
63 <param name="p2" value="8"/>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
64 </conditional>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
65 <param name="input_bed" value="chr19.1M.bins"/>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
66 <param name="assembly" value="chr19"/>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
67 <output name="output" file="input.cool" compare="sim_size"/>
3ff6eeca667e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit f7ba0eeedb7768690962c0538df0507110605f43
lldelisle
parents: 0
diff changeset
68 </test>
0
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
69 </tests>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
70
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
71 <help>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
72 **cooler cload**
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
73 tool developped by mirnylab
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
74 see https://github.com/open2c/cooler
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
75 and https://cooler.readthedocs.io/en/latest/cli.html#cooler-cload-tabix
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
76
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
77 command-line::
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
78
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
79 cooler cload tabix --assembly assembly -c2 c2 -p2 p2 input_bed input_pairs output
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
80
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
81 </help>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
82 <expand macro="citation_cooler" />
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
83 </tool>