annotate dedup.xml @ 2:74df4a44471b draft

planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
author iuc
date Thu, 18 Sep 2025 05:56:33 +0000
parents c99b93043a7f
children e36bce668b44
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
1 <tool id="pairtools_dedup" name="Pairtools dedup" version="@TOOL_VERSION@+galaxy@SUFFIX_VERSION@" profile="@PROFILE_VERSION@" license="MIT">
0
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[
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
8 #if $pairs_path.is_of_type('4dn_pairs.gz') or $pairs_path.is_of_type('4dn_pairsam.gz'):
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
9 #set $input_link = "input.gz"
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
10 #set $output_dedup_pairs_link = "output_dedup_pairs.ga"
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
11 #set $output_dups_pairs_link = "output_dups_pairs.gz"
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
12 #else
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
13 #set $input_link = "input"
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
14 #set $output_dedup_pairs_link = "output_dedup_pairs"
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
15 #set $output_dups_pairs_link = "output_dups_pairs"
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
16 #end if
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
17 ln -s '$pairs_path' '$input_link' &&
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
18 ln -s '$output_dedup_pairs' '$output_dedup_pairs_link' &&
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
19 ln -s '$output_dups_pairs' '$output_dups_pairs_link' &&
0
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
20 pairtools dedup
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
21 '$input_link'
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
22 -o '$output_dedup_pairs_link'
0
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
23 #if $output_dups:
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
24 --output-dups '$output_dups_pairs_link'
0
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
25 #end if
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
26 $mark_dups
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
27 #if $output_stats:
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
28 --output-stats '$dedup_pairs_stats'
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
29 #end if
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
30 #if $output_bytile_stats:
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
31 --keep-parent-id
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
32 --output-bytile-stats '$dedup_bytile_stats'
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
33 #end if
0
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
34 --nproc-in \${GALAXY_SLOTS:-4}
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
35 --nproc-out \${GALAXY_SLOTS:-4}
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
36 --max-mismatch ${max_mismatch}
0
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
37 ]]></command>
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
38 <inputs>
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
39 <param name="pairs_path" type="data" format="4dn_pairs,4dn_pairsam,4dn_pairs.gz,4dn_pairsam.gz" label="Input pairs file" help="Input triu-flipped sorted .pairs or .pairsam file"/>
0
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
40 <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
41 <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
42 <param argument="--output-stats" type="boolean" truevalue="--output-stats" falsevalue="" checked="False" label="Output file for duplicate statistics"/>
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
43 <param argument="--max-mismatch" type="integer" value="3" min="0" label="Maximum number of mismatches. Pairs with both sides mapped within this distance &quot;bp&quot; from each other are considered duplicates."/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
44 <param argument="--output-bytile-stats" type="boolean" truevalue="--output-bytile-stats" falsevalue="" checked="False" label="Output file for optical duplicate statistics for datasets with original Illumina-generated read IDs."/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
45 <param name="compress_output" type="boolean" truevalue=".gz" falsevalue="" checked="false" label="Compress output files" />
0
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
46 </inputs>
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
47 <outputs>
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
48 <data name="output_dedup_pairs" label="${tool.name} on ${on_string}: Deduplicated Pairs" format_source="pairs_path" />
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
49 <data name="output_dups_pairs" label="${tool.name} on ${on_string}: Duplicate Pairs" format_source="pairs_path" >
0
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
50 <filter>output_dups</filter>
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
51 </data>
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
52 <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
53 <filter>output_stats</filter>
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
54 </data>
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
55 <data name="dedup_bytile_stats" format="tabular" label="${tool.name} on ${on_string}: By-tile stats">
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
56 <filter>output_bytile_stats</filter>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
57 </data>
0
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
58 </outputs>
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
59 <tests>
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
60 <!--Test 01 with default parameters-->
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
61 <test expect_num_outputs="1">
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
62 <param name="pairs_path" ftype="4dn_pairsam" value="output_sorted_pairs.pairsam"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
63 <output name="output_dedup_pairs" file="output_dedup_pairs.pairsam" ftype="4dn_pairsam" lines_diff="20" />
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
64 </test>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
65 <!--Test 02 with default parameters and compressed output-->
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
66 <test expect_num_outputs="1">
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
67 <param name="pairs_path" ftype="4dn_pairsam" value="output_sorted_pairs.pairsam"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
68 <param name="compress_output" value="true"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
69 <output name="output_dedup_pairs" file="output_dedup_pairs.pairsam" ftype="4dn_pairsam" decompress="true" lines_diff="20"/>
0
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
70 </test>
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
71 <!--Test 03 with default parameters and compressed iput-->
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
72 <test expect_num_outputs="1">
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
73 <param name="pairs_path" ftype="4dn_pairsam" value="output_sorted_pairs.pairsam.gz"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
74 <output name="output_dedup_pairs" file="output_dedup_pairs.pairsam" ftype="4dn_pairsam" lines_diff="20"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
75 </test>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
76 <!--Test 04 mark_dups enabled and output_dups-->
0
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
77 <test expect_num_outputs="2">
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
78 <param name="pairs_path" ftype="4dn_pairsam" value="output_sorted_pairs.pairsam"/>
0
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
79 <param name="mark_dups" value="true"></param>
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
80 <param name="output_dups" value="true"></param>
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
81 <output name="output_dedup_pairs" file="output_dedup_pairs_markdups.pairsam" ftype="4dn_pairsam" lines_diff="20"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
82 <output name="output_dups_pairs" file="output_dups_pairs_markdups.pairsam" ftype="4dn_pairsam" lines_diff="20"/>
0
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
83 </test>
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
84 <!--Test 05 mark_dups and output_stats enabled-->
0
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
85 <test expect_num_outputs="2">
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
86 <param name="pairs_path" ftype="4dn_pairsam" value="output_sorted_pairs.pairsam"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
87 <param name="mark_dups" value="true"></param>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
88 <param name="output_stats" value="true"></param>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
89 <output name="output_dedup_pairs" file="output_dedup_pairs_markdups.pairsam" ftype="4dn_pairsam" lines_diff="20"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
90 <output name="dedup_pairs_stats" file="output_dedup_pairs.stats" ftype="tabular" lines_diff="20"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
91 </test>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
92 <!--Test 06 mark_dups and output_stats enabled, max_mismatch set to 0-->
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
93 <test expect_num_outputs="2">
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
94 <param name="pairs_path" ftype="4dn_pairsam" value="output_sorted_pairs.pairsam"/>
0
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
95 <param name="mark_dups" value="true"></param>
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
96 <param name="output_stats" value="true"></param>
2
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
97 <param name="max_mismatch" value="0"></param>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
98 <output name="output_dedup_pairs" file="output_dedup_max_mismatch0_sorted.pairsam" ftype="4dn_pairsam" lines_diff="20"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
99 <output name="dedup_pairs_stats" file="output_dedup_max_mismatch0_sorted.stats" ftype="tabular" lines_diff="20"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
100 </test>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
101 <!--Test 07 mark_dups and output_stats + bytile_stats enabled-->
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
102 <test expect_num_outputs="3">
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
103 <param name="pairs_path" ftype="4dn_pairsam" value="output_sorted_pairs.pairsam"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
104 <param name="mark_dups" value="true"></param>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
105 <param name="output_stats" value="true"></param>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
106 <param name="output_bytile_stats" value="true"></param>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
107 <output name="output_dedup_pairs" file="output_dedup_max_parent_id_bytile_sorted.pairsam" ftype="4dn_pairsam" lines_diff="20"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
108 <output name="dedup_pairs_stats" file="output_dedup_max_parent_id_bytile_sorted.stats" ftype="tabular" lines_diff="20"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
109 <output name="dedup_bytile_stats" file="output_dedup_max_parent_id_bytile_sorted_tile_dups.stats" ftype="tabular" lines_diff="20"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
110 </test>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
111 <!--Test 08 mark_dups and output_stats + bytile_stats enabled, compress output-->
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
112 <test expect_num_outputs="3">
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
113 <param name="pairs_path" ftype="4dn_pairsam" value="output_sorted_pairs.pairsam"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
114 <param name="mark_dups" value="true"></param>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
115 <param name="output_stats" value="true"></param>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
116 <param name="compress_output" value="true"></param>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
117 <param name="output_bytile_stats" value="true"></param>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
118 <output name="output_dedup_pairs" file="output_dedup_max_parent_id_bytile_sorted.pairsam" ftype="4dn_pairsam" decompress="true" lines_diff="20"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
119 <output name="dedup_pairs_stats" file="output_dedup_max_parent_id_bytile_sorted.stats" ftype="tabular" decompress="true" lines_diff="20"/>
74df4a44471b planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
120 <output name="dedup_bytile_stats" file="output_dedup_max_parent_id_bytile_sorted_tile_dups.stats" ftype="tabular" decompress="true" lines_diff="20"/>
0
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
121 </test>
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
122 </tests>
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
123 <help><![CDATA[
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
124 **Pairtools dedup**
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
125
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
126 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
127
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
128 ]]></help>
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
129 <expand macro="citations"/>
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
130 <expand macro="creator"/>
c99b93043a7f planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
131 </tool>