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