Mercurial > repos > iuc > pairtools_dedup
annotate dedup.xml @ 3:5412142130ad draft
planemo upload for repository https://github.com/open2c/pairtools commit edb9fd7a6734203070b623876e76ce4a0a164ed9
author | iuc |
---|---|
date | Tue, 16 Apr 2024 12:51:21 +0000 |
parents | f8c1d2a93d43 |
children | 55a53b5e308d |
rev | line source |
---|---|
0
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
1 <tool id="pairtools_dedup" name="Pairtools dedup" version="@TOOL_VERSION@+galaxy@SUFFIX_VERSION@" profile="23.2" license="MIT"> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
2 <description>Find and remove PCR/optical duplicates</description> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
3 <macros> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
5 </macros> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
8 pairtools dedup |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
9 '$pairs_path' |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
10 -o '$output_dedup_pairs' |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
11 #if $output_dups: |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
12 --output-dups '$output_dups_pairs' |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
13 #end if |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
14 $mark_dups |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
15 #if $output_stats: |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
16 --output-stats '$dedup_pairs_stats' |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
17 #end if |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
18 --nproc-in \${GALAXY_SLOTS:-4} |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
19 --nproc-out \${GALAXY_SLOTS:-4} |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
20 ]]></command> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
21 <inputs> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
22 <param name="pairs_path" type="data" format="4dn_pairs,4dn_pairsam" label="Input pairs file" help="Input triu-flipped sorted .pairs or .pairsam file"/> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
23 <param argument="--mark-dups" type="boolean" truevalue="--mark-dups" falsevalue="" checked="False" label="Duplicate pairs are marked as DD in pair_type and as a duplicate in the SAM entries"/> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
24 <param argument="--output-dups" type="boolean" truevalue="--output-dups" falsevalue="" checked="False" label="Output file for duplicate pairs"/> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
25 <param argument="--output-stats" type="boolean" truevalue="--output-stats" falsevalue="" checked="False" label="Output file for duplicate statistics"/> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
26 </inputs> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
27 <outputs> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
28 <data name="output_dedup_pairs" format_source="pairs_path" label="${tool.name} on ${on_string}: Deduplicated Pairs"/> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
29 <data name="output_dups_pairs" format_source="pairs_path" label="${tool.name} on ${on_string}: Duplicate Pairs"> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
30 <filter>output_dups</filter> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
31 </data> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
32 <data name="dedup_pairs_stats" format="tabular" label="${tool.name} on ${on_string}: Deduplicated stats"> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
33 <filter>output_stats</filter> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
34 </data> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
35 </outputs> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
36 <tests> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
37 <!--Test 01 with default parameters--> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
38 <test expect_num_outputs="1"> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
39 <param name="pairs_path" value="output_sorted_pairs.pairsam"/> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
40 <output name="output_dedup_pairs" file="output_dedup_pairs.pairsam" lines_diff="20"/> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
41 </test> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
42 <!--Test 02 mark_dups enabled and output_dups--> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
43 <test expect_num_outputs="2"> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
44 <param name="pairs_path" value="output_sorted_pairs.pairsam"/> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
45 <param name="mark_dups" value="true"></param> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
46 <param name="output_dups" value="true"></param> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
47 <output name="output_dedup_pairs" file="output_dedup_pairs_markdups.pairsam" lines_diff="20"/> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
48 <output name="output_dups_pairs" file="output_dups_pairs_markdups.pairsam" lines_diff="20"/> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
49 </test> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
50 <!--Test 03 mark_dups and output_stats enabled--> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
51 <test expect_num_outputs="2"> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
52 <param name="pairs_path" value="output_sorted_pairs.pairsam"/> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
53 <param name="mark_dups" value="true"></param> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
54 <param name="output_stats" value="true"></param> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
55 <output name="output_dedup_pairs" file="output_dedup_pairs_markdups.pairsam" lines_diff="20"/> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
56 <output name="dedup_pairs_stats" file="output_dedup_pairs.stats" lines_diff="20"/> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
57 </test> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
58 </tests> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
59 <help><![CDATA[ |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
60 **Pairtools dedup** |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
61 |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
62 Find PCR/optical duplicates in an upper-triangular flipped sorted pairs/pairsam file. Allow for a +/-N bp mismatch at each side of duplicated molecules. |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
63 |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
64 ]]></help> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
65 <expand macro="citations"/> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
66 <expand macro="creator"/> |
f8c1d2a93d43
planemo upload for repository https://github.com/open2c/pairtools commit e9ebcf7ac032fafaa445e654b245df679a4bbf18
iuc
parents:
diff
changeset
|
67 </tool> |