annotate picard_MarkDuplicates.xml @ 33:3f254c5ced1d draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
author iuc
date Sun, 03 Mar 2024 16:06:11 +0000
parents f9242e01365a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
1 <tool name="MarkDuplicates" id="picard_MarkDuplicates" version="@TOOL_VERSION@.@WRAPPER_VERSION@" profile="@PROFILE@">
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
2 <description>examine aligned records in BAM datasets to locate duplicate molecules</description>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
3 <macros>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
4 <import>picard_macros.xml</import>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
5 <token name="@WRAPPER_VERSION@">0</token>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
6 </macros>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
7 <expand macro="requirements"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
9 @java_options@
13
7e6fd3d0f16e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents: 12
diff changeset
10 @symlink_element_identifier@
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
11 picard MarkDuplicates
12
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
12
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
13 --INPUT '$escaped_element_identifier'
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
14 --OUTPUT '${outFile}'
12
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
15
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
16 --METRICS_FILE '${metrics_file}'
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
17 #for $element in $comments:
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
18 --COMMENT '${element.comment}'
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
19 #end for
12
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
20
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
21 --REMOVE_DUPLICATES '${remove_duplicates}'
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
22 --ASSUME_SORTED '${assume_sorted}'
17
fc288950c3b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit a55cff7dfc145ed17ec2ee9f6a70d51c6f9d74b6
iuc
parents: 14
diff changeset
23
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
24 --DUPLICATE_SCORING_STRATEGY ${duplicate_scoring_strategy}
12
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
25
18
7615ac66c6e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 3ce5dea3af8f4816b4a83914b53402aa84e08fca
iuc
parents: 17
diff changeset
26 #if $read_name_regex:
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
27 --READ_NAME_REGEX '${ str( $read_name_regex ) }'
18
7615ac66c6e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 3ce5dea3af8f4816b4a83914b53402aa84e08fca
iuc
parents: 17
diff changeset
28 #end if
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
29 --OPTICAL_DUPLICATE_PIXEL_DISTANCE '${optical_duplicate_pixel_distance}'
12
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
30
17
fc288950c3b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit a55cff7dfc145ed17ec2ee9f6a70d51c6f9d74b6
iuc
parents: 14
diff changeset
31 #if $barcode_tag:
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
32 --BARCODE_TAG '${barcode_tag}'
17
fc288950c3b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit a55cff7dfc145ed17ec2ee9f6a70d51c6f9d74b6
iuc
parents: 14
diff changeset
33 #end if
fc288950c3b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit a55cff7dfc145ed17ec2ee9f6a70d51c6f9d74b6
iuc
parents: 14
diff changeset
34
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
35 --VALIDATION_STRINGENCY '${validation_stringency}'
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
36 --TAGGING_POLICY All
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
37 --QUIET true
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
38 --VERBOSITY ERROR
12
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
39
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
40 ]]></command>
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
41 <inputs>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
42 <param format="bam" name="inputFile" type="data" label="Select SAM/BAM dataset or dataset collection" help="If empty, upload or import a SAM/BAM dataset"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
43 <repeat name="comments" title="Comment" min="0" help="You can provide multiple comments">
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
44 <param name="comment" type="text" label="Add this comment to BAM dataset"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
45 </repeat>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
46 <param name="remove_duplicates" type="boolean" label="If true do not write duplicates to the output file instead of writing them with appropriate flags set" help="REMOVE_DUPLICATES; default=False"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
47 <param name="assume_sorted" type="boolean" label="Assume the input file is already sorted" checked="true" truevalue="true" falsevalue="false" help="ASSUME_SORTED; default=True"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
48 <param name="duplicate_scoring_strategy" type="select" label="The scoring strategy for choosing the non-duplicate among candidates" help="DUPLICATE_SCORING_STRATEGY; default=SUM_OF_BASE_QUALITIES">
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
49 <option value="SUM_OF_BASE_QUALITIES" selected="true">SUM_OF_BASE_QUALITIES</option>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
50 <option value="TOTAL_MAPPED_REFERENCE_LENGTH">TOTAL_MAPPED_REFERENCE_LENGTH</option>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
51 <option value="RANDOM">RANDOM</option>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
52 </param>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
53 <param name="read_name_regex" type="text" value="" label="Regular expression that can be used in unusual situations to parse non-standard read names in the incoming SAM/BAM dataset" help="READ_NAME_REGEX; Read names are parsed to extract three variables: tile/region, x coordinate and y coordinate. These values are used to estimate the rate of optical duplication in order to give a more accurate estimated library size. See help below for more info; default='' (uses : separation)">
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
54 <expand macro="sanitize_query"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
55 </param>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
56 <param name="optical_duplicate_pixel_distance" type="integer" value="100" min="0" max="5000" label="The maximum offset between two duplicte clusters in order to consider them optical duplicates" help="OPTICAL_DUPLICATE_PIXEL_DISTANCE; default=100"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
57 <param name="barcode_tag" type="text" optional="True" label="Barcode Tag" help="Barcode SAM tag. This tag can be utilized when you have data from an assay that includes Unique Molecular Indices. Typically 'RX' "/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
58 <expand macro="VS"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
59 </inputs>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
60 <outputs>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
61 <data format="txt" name="metrics_file" label="${tool.name} on ${on_string}: tabular"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
62 <data format="bam" name="outFile" label="${tool.name} on ${on_string}: BAM"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
63 </outputs>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
64 <tests>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
65 <test>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
66 <param name="inputFile" value="picard_MarkDuplicates.bam" ftype="bam"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
67 <param name="comment" value="test-run"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
68 <param name="assume_sorted" value="True"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
69 <param name="remove_duplicates" value="True"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
70 <param name="read_name_regex" value=".*[a-zA-Z0-9]+:[0-9]:([0-9]+):([0-9]+):([0-9]+).*"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
71 <param name="optical_duplicate_pixel_distance" value="100"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
72 <param name="duplicate_scoring_strategy" value="SUM_OF_BASE_QUALITIES"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
73 <param name="validation_stringency" value="LENIENT"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
74 <output name="outFile" file="picard_MarkDuplicates_test1.bam" ftype="bam" lines_diff="4"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
75 </test>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
76 <test>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
77 <param name="inputFile" value="picard_MarkDuplicates.bam" ftype="bam"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
78 <param name="comment" value="test-run"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
79 <param name="assume_sorted" value="True"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
80 <param name="remove_duplicates" value="False"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
81 <param name="read_name_regex" value=""/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
82 <param name="optical_duplicate_pixel_distance" value="100"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
83 <param name="duplicate_scoring_strategy" value="SUM_OF_BASE_QUALITIES"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
84 <param name="validation_stringency" value="LENIENT"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
85 <output name="outFile" file="picard_MarkDuplicates_test2.bam" ftype="bam" lines_diff="4"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
86 </test>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
87 <test>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
88 <param name="inputFile" value="picard_MarkDuplicates.bam" ftype="bam"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
89 <param name="comment" value="test-run"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
90 <param name="assume_sorted" value="True"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
91 <param name="remove_duplicates" value="False"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
92 <param name="read_name_regex" value=""/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
93 <param name="optical_duplicate_pixel_distance" value="100"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
94 <param name="duplicate_scoring_strategy" value="SUM_OF_BASE_QUALITIES"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
95 <param name="validation_stringency" value="LENIENT"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
96 <param name="barcode_tag" value="RX"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
97 <output name="outFile" file="picard_MarkDuplicates_test2.bam" ftype="bam" lines_diff="4"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
98 </test>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
99 </tests>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
100 <help>
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
101
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
102 **Purpose**
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
103
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
104 Examines aligned records in the supplied SAM or BAM dataset to locate duplicate molecules. All records are then written to the output file with the duplicate records flagged.
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
105
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
106 @dataset_collections@
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
107
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
108 @description@
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
109
12
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
110 COMMENT=String
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
111 CO=String Comment(s) to include in the output file's header. This option may be specified 0 or
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
112 more times.
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
113
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
114 REMOVE_DUPLICATES=Boolean If true do not write duplicates to the output file instead of writing them with
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
115 appropriate flags set. Default value: false.
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
116
18
7615ac66c6e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 3ce5dea3af8f4816b4a83914b53402aa84e08fca
iuc
parents: 17
diff changeset
117 READ_NAME_REGEX=String This option is only needed if your read names do not follow a standard illumina convention
7615ac66c6e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 3ce5dea3af8f4816b4a83914b53402aa84e08fca
iuc
parents: 17
diff changeset
118 of colon separation but do contain tile, x, and y coordinates (unusual).
7615ac66c6e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 3ce5dea3af8f4816b4a83914b53402aa84e08fca
iuc
parents: 17
diff changeset
119 A regular expression that can be used to parse read names in the incoming SAM file. Read
12
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
120 names are parsed to extract three variables: tile/region, x coordinate and y coordinate.
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
121 These values are used to estimate the rate of optical duplication in order to give a more
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
122 accurate estimated library size. Set this option to null to disable optical duplicate
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
123 detection. The regular expression should contain three capture groups for the three
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
124 variables, in order. It must match the entire read name. Note that if the default regex
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
125 is specified, a regex match is not actually done, but instead the read name is split on
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
126 colon character. For 5 element names, the 3rd, 4th and 5th elements are assumed to be
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
127 tile, x and y values. For 7 element names (CASAVA 1.8), the 5th, 6th, and 7th elements
18
7615ac66c6e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 3ce5dea3af8f4816b4a83914b53402aa84e08fca
iuc
parents: 17
diff changeset
128 are assumed to be tile, x and y values. Default value: ''
19
5053a18d9bc8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 7036343b9ac0a0ffc2ce4f6db465b9298ef05e73
iuc
parents: 18
diff changeset
129
12
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
130
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
131 DUPLICATE_SCORING_STRATEGY=ScoringStrategy
12
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
132 DS=ScoringStrategy The scoring strategy for choosing the non-duplicate among candidates. Default value:
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
133 SUM_OF_BASE_QUALITIES. Possible values: {SUM_OF_BASE_QUALITIES, TOTAL_MAPPED_REFERENCE_LENGTH}
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
134
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
135 OPTICAL_DUPLICATE_PIXEL_DISTANCE=Integer
18
7615ac66c6e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 3ce5dea3af8f4816b4a83914b53402aa84e08fca
iuc
parents: 17
diff changeset
136 The maximum offset between two duplicate clusters in order to consider them optical
7615ac66c6e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 3ce5dea3af8f4816b4a83914b53402aa84e08fca
iuc
parents: 17
diff changeset
137 duplicates. This should be set to 100 for (circa 2011+) read names and typical flowcells.
19
5053a18d9bc8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 7036343b9ac0a0ffc2ce4f6db465b9298ef05e73
iuc
parents: 18
diff changeset
138 Structured flow cells (NovaSeq, HiSeq 4000, X) should use ~2500.
18
7615ac66c6e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 3ce5dea3af8f4816b4a83914b53402aa84e08fca
iuc
parents: 17
diff changeset
139 For older conventions, distances could be to some fairly small number (e.g. 5-10 pixels)
7615ac66c6e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 3ce5dea3af8f4816b4a83914b53402aa84e08fca
iuc
parents: 17
diff changeset
140 Default value: 100.
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
141
17
fc288950c3b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit a55cff7dfc145ed17ec2ee9f6a70d51c6f9d74b6
iuc
parents: 14
diff changeset
142 BARCODE_TAG=String Barcode SAM tag (ex. BC for 10X Genomics) Default value: null.
fc288950c3b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit a55cff7dfc145ed17ec2ee9f6a70d51c6f9d74b6
iuc
parents: 14
diff changeset
143
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
144 @more_info@
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
145
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
146 </help>
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
147 <expand macro="citations"/>
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
148 </tool>