annotate sort.xml @ 3:d392cfd963f4 draft

planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
author iuc
date Fri, 05 Apr 2024 10:33:24 +0000
parents 9179bf8f4ae1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
1 <tool id="pairtools_sort" name="Pairtools sort" version="@TOOL_VERSION@+galaxy@SUFFIX_VERSION@" profile="23.2" license="MIT">
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
2 <description>Sort a 4dn pairs/pairsam file</description>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
3 <macros>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
4 <import>macros.xml</import>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
5 </macros>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
8 pairtools sort
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
9 '$pairs_path'
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
10 -o '$output_sorted_pairs'
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
11 --nproc-in \${GALAXY_SLOTS:-4}
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
12 --nproc-out \${GALAXY_SLOTS:-4}
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
13 ]]></command>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
14 <inputs>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
15 <param name="pairs_path" type="data" format="4dn_pairs,4dn_pairsam" label="Input file" help="Input a 4dn pairs or pairsam file"/>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
16 </inputs>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
17 <outputs>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
18 <data name="output_sorted_pairs" format_source="pairs_path" label="${tool.name} on ${on_string}">
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
19 </data>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
20 </outputs>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
21 <tests>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
22 <!--Test default parameters with pairs file-->
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
23 <test expect_num_outputs="1">
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
24 <param name="pairs_path" value="output_parsed_pairs_bam.pairs"/>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
25 <output name="output_sorted_pairs" file="output_sorted_pairs.pairs" lines_diff="10"/>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
26 </test>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
27 <!--Test default parameters with pairsam file-->
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
28 <test expect_num_outputs="1">
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
29 <param name="pairs_path" value="output_dedup_pairs_markdups.pairsam"/>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
30 <output name="output_sorted_pairs" file="output_dedup_sorted.pairsam" lines_diff="10"/>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
31 </test>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
32
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
33 </tests>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
34 <help><![CDATA[
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
35 **Pairtools sort**
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
36
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
37 Sort pairs in the lexicographic order along chrom1 and chrom2, in the numeric order along pos1 and pos2 and in the lexicographic order along pair_type.
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
38
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
39 ]]></help>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
40 <expand macro="citations"/>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
41 <expand macro="creator"/>
9179bf8f4ae1 planemo upload for repository https://github.com/open2c/pairtools commit 1f0df318ae3438067b5f96b1ad408c9fe63a6551
iuc
parents:
diff changeset
42 </tool>