annotate cooler_cload_tabix.xml @ 0:8745321ccc3e draft

planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
author lldelisle
date Mon, 24 Oct 2022 15:19:04 +0000
parents
children 3ff6eeca667e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
1 <tool id="cooler_cload_tabix" name="cooler_cload_tabix" version="@VERSION@+galaxy0" profile="18.01">
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
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
10 ln -s '$input_pairs' pairs.tabix &&
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
11 #if str( $input_pairs.metadata.tabix_index ) != "None":
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
12 ln -s '$input_pairs.metadata.tabix_index' pairs.tabix.tbi &&
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
13 #else:
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
14 tabix -s $pairs_advanced.c1 -b $pairs_advanced.p1 -e $pairs_advanced.p1 pairs.tabix &&
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
15 #end if
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
16 cooler cload tabix --assembly '$assembly' -c2 $c2 -p2 $p2 '$input_bed' pairs.tabix '$output'
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
17 ]]>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
18 </command>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
19 <inputs>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
20 <param name="input_pairs" multiple="false" type="data" format="bgzip,tabix" label="Select the output of csort_tabix."/>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
21 <section name="pairs_advanced" title="If your input is not already indexed" expanded="False">
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
22 <param name="c1" type="integer" value="1" label="field number in the input file (starting from 1) of the chromosome of mate 1.">
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
23 <validator type="in_range" min="1" />
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
24 </param>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
25 <param name="p1" type="integer" value="2" label="field number in the input file (starting from 1) of the position of mate 1.">
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
26 <validator type="in_range" min="1" />
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
27 </param>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
28 </section>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
29 <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).">
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
30 <validator type="in_range" min="1" />
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
31 </param>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
32 <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).">
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
33 <validator type="in_range" min="1" />
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
34 </param>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
35 <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
36 <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
37 </inputs>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
38
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
39 <outputs>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
40 <data format="cool" name="output" label="cool file from $input_pairs.name and $input_bed.name"/>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
41 </outputs>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
42
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
43 <tests>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
44 <!-- For the moment I cannot test this tool -->
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
45 <!-- <test>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
46 <param name="input_pairs" value="input.validPairs.tabix" ftype="bgzip"/>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
47 <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
48 <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
49 <section name="pairs_advanced">
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
50 <param name="c1" value="3"/>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
51 <param name="p1" value="4"/>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
52 </section>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
53 <param name="c2" value="7"/>
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="p2" value="8"/>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
55 <output name="output" file="input.cool" compare="sim_size"/>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
56 </test> -->
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
57 </tests>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
58
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
59 <help>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
60 **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
61 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
62 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
63 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
64
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
65 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
66
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
67 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
68
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
69 </help>
8745321ccc3e planemo upload for repository https://github.com/lldelisle/tools-lldelisle/blob/master/tools/cooler/.shed.yml commit 67c1d2510db398d4f942bb59aca520fdf9cbe296
lldelisle
parents:
diff changeset
70 <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
71 </tool>