Mercurial > repos > iuc > umi_tools_dedup
annotate macros.xml @ 14:f1d33e4c7bd8 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit 31bad8c5bf75981eafcd19ec6b00593f184fdeb8"
author | iuc |
---|---|
date | Thu, 18 Nov 2021 08:25:56 +0000 |
parents | aa9a4233c641 |
children | 04e09969d376 |
rev | line source |
---|---|
0
a6477bafd522
planemo upload commit eea727c3bdfe36d9d16036d5ab79fb8b27c4e82e
iuc
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
a6477bafd522
planemo upload commit eea727c3bdfe36d9d16036d5ab79fb8b27c4e82e
iuc
parents:
diff
changeset
|
2 <macros> |
12
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
3 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
4 <!-- macros applying to all umi_tools --> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
5 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
6 <token name="@TOOL_VERSION@">1.1.2</token> |
14
f1d33e4c7bd8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit 31bad8c5bf75981eafcd19ec6b00593f184fdeb8"
iuc
parents:
13
diff
changeset
|
7 <token name="@VERSION_SUFFIX@">2</token> |
12
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
8 <token name="@PROFILE@">21.01</token> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
9 <xml name="requirements"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
10 <requirements> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
11 <requirement type="package" version="@TOOL_VERSION@">umi_tools</requirement> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
12 <yield /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
13 </requirements> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
14 </xml> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
15 <xml name="citations"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
16 <citations> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
17 <citation type="doi">10.1101/gr.209601.116</citation> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
18 <citation type="bibtex"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
19 @misc{githubUMI-tools, |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
20 title = {UMI-tools}, |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
21 publisher = {GitHub}, |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
22 journal = {GitHub repository}, |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
23 url = {https://github.com/CGATOxford/UMI-tools}, |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
24 } |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
25 </citation> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
26 </citations> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
27 </xml> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
28 <xml name="advanced_options_macro"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
29 <section name="advanced" title="Extra parameters" expanded="false"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
30 <param argument="--random-seed" type="integer" min="0" optional="true" label="Random Seed" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
31 </section> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
32 </xml> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
33 <token name="@ADVANCED_OPTIONS@"><![CDATA[ |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
34 #if str($advanced.random_seed) != '' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
35 --random-seed='$advanced.random_seed' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
36 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
37 ]]></token> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
38 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
39 <!-- macros for extract and whitelist--> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
40 |
8
983ec27dce7c
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
iuc
parents:
2
diff
changeset
|
41 <macro name="barcode_sanitizer" > |
983ec27dce7c
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
iuc
parents:
2
diff
changeset
|
42 <sanitizer invalid_char=""> |
983ec27dce7c
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
iuc
parents:
2
diff
changeset
|
43 <valid initial="string.letters,string.digits"> |
983ec27dce7c
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
iuc
parents:
2
diff
changeset
|
44 <add value="*" /><!-- asterisk --> |
983ec27dce7c
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
iuc
parents:
2
diff
changeset
|
45 <add value="," /><!-- comma --> |
983ec27dce7c
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
iuc
parents:
2
diff
changeset
|
46 <add value="." /><!-- period --> |
983ec27dce7c
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
iuc
parents:
2
diff
changeset
|
47 <add value="<" /><!-- less than --> |
983ec27dce7c
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
iuc
parents:
2
diff
changeset
|
48 <add value="=" /><!-- equals sign --> |
983ec27dce7c
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
iuc
parents:
2
diff
changeset
|
49 <add value=">" /><!-- greater than --> |
983ec27dce7c
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
iuc
parents:
2
diff
changeset
|
50 <add value="?" /><!-- question mark --> |
983ec27dce7c
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
iuc
parents:
2
diff
changeset
|
51 <add value="_" /><!-- underscore --> |
9
1692b1acebfd
"planemo upload commit 5d3fc4232e0e036ac1ed9e2c36adc41d6af4987f"
iuc
parents:
8
diff
changeset
|
52 <add value="(" /><!-- left bracket --> |
1692b1acebfd
"planemo upload commit 5d3fc4232e0e036ac1ed9e2c36adc41d6af4987f"
iuc
parents:
8
diff
changeset
|
53 <add value=")" /><!-- right bracket --> |
1692b1acebfd
"planemo upload commit 5d3fc4232e0e036ac1ed9e2c36adc41d6af4987f"
iuc
parents:
8
diff
changeset
|
54 <add value="["/> <!-- left square bracket --> |
1692b1acebfd
"planemo upload commit 5d3fc4232e0e036ac1ed9e2c36adc41d6af4987f"
iuc
parents:
8
diff
changeset
|
55 <add value="]"/> <!-- right square bracket --> |
8
983ec27dce7c
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
iuc
parents:
2
diff
changeset
|
56 <add value="{"/><!-- left brace --> |
983ec27dce7c
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
iuc
parents:
2
diff
changeset
|
57 <add value="}"/><!-- right brace --> |
9
1692b1acebfd
"planemo upload commit 5d3fc4232e0e036ac1ed9e2c36adc41d6af4987f"
iuc
parents:
8
diff
changeset
|
58 <add value="^"/> <!-- caret --> |
14
f1d33e4c7bd8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit 31bad8c5bf75981eafcd19ec6b00593f184fdeb8"
iuc
parents:
13
diff
changeset
|
59 <add value="$"/> <!-- dollar sign--> |
f1d33e4c7bd8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit 31bad8c5bf75981eafcd19ec6b00593f184fdeb8"
iuc
parents:
13
diff
changeset
|
60 <add value="+" /><!-- plus sign --> |
9
1692b1acebfd
"planemo upload commit 5d3fc4232e0e036ac1ed9e2c36adc41d6af4987f"
iuc
parents:
8
diff
changeset
|
61 <add value="-"/> |
1692b1acebfd
"planemo upload commit 5d3fc4232e0e036ac1ed9e2c36adc41d6af4987f"
iuc
parents:
8
diff
changeset
|
62 <add value="!"/> |
8
983ec27dce7c
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
iuc
parents:
2
diff
changeset
|
63 </valid> |
983ec27dce7c
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
iuc
parents:
2
diff
changeset
|
64 </sanitizer> |
983ec27dce7c
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
iuc
parents:
2
diff
changeset
|
65 </macro> |
12
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
66 <xml name="sanitize_tag" > |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
67 <sanitizer invalid_char=""> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
68 <valid initial="string.letters,string.digits" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
69 </sanitizer> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
70 </xml> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
71 <macro name="barcode1_macro" > |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
72 <param argument="--bc-pattern" type="text" label="Barcode pattern for first read" |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
73 help="Use this option to specify the format of the UMI/barcode. Use Ns to |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
74 represent the random positions and Xs to indicate the bc positions. |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
75 Bases with Ns will be extracted and added to the read name. Remaining |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
76 bases, marked with an X will be reattached to the read"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
77 <validator type="empty_field" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
78 <expand macro="barcode_sanitizer" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
79 </param> |
2
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
80 </macro> |
12
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
81 <macro name="barcode2_macro" > |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
82 <param argument="--bc-pattern2" type="text" value="" label="Barcode pattern for second read" |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
83 help="Use this option to specify the format of the UMI/barcode for |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
84 the second read pair if required" > |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
85 <expand macro="barcode_sanitizer" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
86 </param> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
87 </macro> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
88 <!-- not just fastq because this would allow also fastqcsanger --> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
89 <token name="@FASTQ_FORMATS@">fastqsanger,fastqsanger.gz,fastqillumina,fastqillumina.gz,fastqsolexa,fastqsolexa.gz</token> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
90 <xml name="bio_tools"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
91 <xrefs> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
92 <xref type="bio.tools">umi-tools</xref> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
93 </xrefs> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
94 </xml> |
2
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
95 <xml name="input_types"> |
12
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
96 <conditional name="input_type_cond"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
97 <param name="input_type" type="select" label="Library type"> |
2
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
98 <option value="single">Single-end</option> |
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
99 <option value="paired">Paired-end</option> |
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
100 <option value="paired_collection">Paired-end Dataset Collection</option> |
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
101 </param> |
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
102 <when value="single"> |
12
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
103 <param name="input_read1" type="data" format="@FASTQ_FORMATS@" label="Reads in FASTQ format" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
104 <expand macro="barcode1_macro"/> |
2
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
105 </when> |
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
106 <when value="paired"> |
12
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
107 <param name="input_read1" type="data" format="@FASTQ_FORMATS@" label="Reads in FASTQ format" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
108 <param name="input_read2" type="data" format="@FASTQ_FORMATS@" label="Reads in FASTQ format" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
109 <expand macro="barcode1_macro"/> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
110 <expand macro="barcode2_macro"/> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
111 <yield/> |
2
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
112 </when> |
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
113 <when value="paired_collection"> |
12
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
114 <param name="input_readpair" type="data_collection" collection_type="paired" format="@FASTQ_FORMATS@" label="Reads in FASTQ format" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
115 <expand macro="barcode1_macro"/> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
116 <expand macro="barcode2_macro"/> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
117 <yield/> |
2
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
118 </when> |
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
119 </conditional> |
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
120 </xml> |
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
121 <token name="@COMMAND_LINK@"><![CDATA[ |
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
122 #set $gz = False |
12
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
123 #if $input_type_cond.input_type == 'single': |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
124 #if $input_type_cond.input_read1.is_of_type("fastq.gz", "fastqsanger.gz"): |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
125 ln -s '$input_type_cond.input_read1' input_single.gz && |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
126 #set $gz = True |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
127 #else |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
128 ln -s '$input_type_cond.input_read1' input_single.txt && |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
129 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
130 #elif $input_type_cond.input_type == 'paired': |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
131 #if $input_type_cond.input_read1.is_of_type("fastq.gz", "fastqsanger.gz"): |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
132 ln -s '$input_type_cond.input_read1' input_read1.gz && |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
133 ln -s '$input_type_cond.input_read2' input_read2.gz && |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
134 #set $gz = True |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
135 #else |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
136 ln -s '$input_type_cond.input_read1' input_read1.txt && |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
137 ln -s '$input_type_cond.input_read2' input_read2.txt && |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
138 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
139 #else ## paired_collection |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
140 #if $input_type_cond.input_readpair.forward.is_of_type("fastq.gz", "fastqsanger.gz"): |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
141 ln -s '$input_type_cond.input_readpair.forward' input_read1.gz && |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
142 ln -s '$input_type_cond.input_readpair.reverse' input_read2.gz && |
2
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
143 #set $gz = True |
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
144 #else |
12
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
145 ln -s '$input_type_cond.input_readpair.forward' input_read1.txt && |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
146 ln -s '$input_type_cond.input_readpair.reverse' input_read2.txt && |
2
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
147 #end if |
12
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
148 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
149 ]]></token> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
150 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
151 <!-- macros for count, dedup, and group --> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
152 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
153 <token name="@LINK_SAM_BAM_INPUT@"><![CDATA[ |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
154 #if $input.is_of_type("sam"): |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
155 ## TODO dedup has problems with SAM input in some cases |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
156 ## https://github.com/CGATOxford/UMI-tools/issues/483 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
157 ## so convert it to sorted BAM for now |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
158 ## #set $input_file = $input |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
159 samtools sort --no-PG '$input' > 'input.bam' && |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
160 samtools index -b 'input.bam' && |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
161 #set $input_file = 'input.bam' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
162 #else: |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
163 ln -sf '${input}' 'input.bam' && |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
164 ln -sf '$input.metadata.bam_index' 'input.bam.bai' && |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
165 #set $input_file = 'input.bam' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
166 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
167 ]]></token> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
168 <token name="@SET_INPUT_TYPE@"><![CDATA[ |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
169 ## TODO see comment in LINK_SAM_BAM_INPUT |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
170 ## #if $input.is_of_type("sam"): |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
171 ## --in-sam |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
172 ## #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
173 ]]></token> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
174 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
175 <xml name="fastq_barcode_extraction_options_macro"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
176 <conditional name="extract_method_cond"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
177 <param argument="--extract-method" type="select" label="Barcode Extraction Method" |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
178 help="If bracketed expressions are used in the above barcode pattern, then set this to 'regex'. Otherwise leave as 'string'" > |
14
f1d33e4c7bd8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit 31bad8c5bf75981eafcd19ec6b00593f184fdeb8"
iuc
parents:
13
diff
changeset
|
179 <option value="string" selected="true">String</option> |
f1d33e4c7bd8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit 31bad8c5bf75981eafcd19ec6b00593f184fdeb8"
iuc
parents:
13
diff
changeset
|
180 <option value="regex">Regex</option> |
12
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
181 </param> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
182 <when value="string"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
183 <param argument="--3prime" name="prime3" type="boolean" label="Is barcode on 3' end of the read?" |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
184 truevalue="--3prime" falsevalue="" |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
185 help="By default the barcode is assumed to be on the 5' end of the read, but |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
186 use this option to specify that it is on the 3' end instead. |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
187 This option only works with ``--extract-method=string`` |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
188 since 3' encoding can be specified explicitly with a regex, e.g |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
189 ``.*(?P<umi_1>.{5})$``" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
190 </when> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
191 <when value="regex"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
192 <param name="filtered_out_bool" type="boolean" label="Write out reads not matching regex pattern"/> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
193 </when> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
194 </conditional> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
195 <param argument="--ignore-read-pair-suffixes" type="boolean" truevalue="--ignore-read-pair-suffixes" falsevalue="" label="Ignore '\1' and '\2' read name suffixes"/> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
196 </xml> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
197 <token name="@FASTQ_BARCODE_EXTRACTION_OPTIONS@"><![CDATA[ |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
198 ## fastq barcode extraction options: |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
199 --extract-method='$extract_method_cond.extract_method' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
200 --bc-pattern='$input_type_cond.bc_pattern' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
201 #if $input_type_cond.input_type != 'single' and $input_type_cond.bc_pattern2 != '' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
202 --bc-pattern2='$input_type_cond.bc_pattern2' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
203 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
204 #if $extract_method_cond.extract_method == 'string' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
205 $extract_method_cond.prime3 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
206 #else if $extract_method_cond.filtered_out_bool |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
207 #if $input_type_cond.input_type == 'single': |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
208 --filtered-out='$filtered_out' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
209 #else if $input_type_cond.input_type == 'paired': |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
210 --filtered-out='$filtered_out' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
211 --filtered-out2='$filtered_out_paired' |
2
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
212 #else |
12
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
213 --filtered-out='$filtered_out_paired_collection.forward' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
214 --filtered-out2='$filtered_out_paired_collection.reverse' |
2
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
215 #end if |
12
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
216 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
217 $ignore_read_pair_suffixes |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
218 ]]></token> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
219 <token name="@FASTQ_BARCODE_EXTRACTION_HELP@"><![CDATA[ |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
220 There are two methods enabled to extract the umi barcode (+/- |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
221 cell barcode). For both methods, the patterns should be provided |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
222 using the ``--bc-pattern`` and ``--bc-pattern2`` options.x |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
223 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
224 - ``string`` |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
225 This should be used where the barcodes are always in the same |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
226 place in the read. |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
227 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
228 - N = UMI position (required) |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
229 - C = cell barcode position (optional) |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
230 - X = sample position (optional) |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
231 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
232 Bases with Ns and Cs will be extracted and added to the read |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
233 name. The corresponding sequence qualities will be removed from |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
234 the read. Bases with an X will be reattached to the read. |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
235 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
236 E.g. If the pattern is `NNNNCC`, |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
237 Then the read:: |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
238 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
239 @HISEQ:87:00000000 read1 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
240 AAGGTTGCTGATTGGATGGGCTAG |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
241 + |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
242 DA1AEBFGGCG01DFH00B1FF0B |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
243 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
244 will become:: |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
245 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
246 @HISEQ:87:00000000_TT_AAGG read1 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
247 GCTGATTGGATGGGCTAG |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
248 + |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
249 1AFGGCG01DFH00B1FF0B |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
250 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
251 where 'TT' is the cell barcode and 'AAGG' is the UMI. |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
252 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
253 - ``regex`` |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
254 This method allows for more flexible barcode extraction and |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
255 should be used where the cell barcodes are variable in |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
256 length. Alternatively, the regex option can also be used to |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
257 filter out reads which do not contain an expected adapter |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
258 sequence. UMI-tools uses the regex module rather than the more |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
259 standard re module since the former also enables fuzzy matching |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
260 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
261 The regex must contain groups to define how the barcodes are |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
262 encoded in the read. The expected groups in the regex are: |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
263 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
264 umi_n = UMI positions, where n can be any value (required) |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
265 cell_n = cell barcode positions, where n can be any value (optional) |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
266 discard_n = positions to discard, where n can be any value (optional) |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
267 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
268 UMI positions and cell barcode positions will be extracted and |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
269 added to the read name. The corresponding sequence qualities |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
270 will be removed from the read. |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
271 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
272 Discard bases and the corresponding quality scores will be |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
273 removed from the read. All bases matched by other groups or |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
274 components of the regex will be reattached to the read sequence |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
275 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
276 For example, the following regex can be used to extract reads |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
277 from the Klein et al inDrop data:: |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
278 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
279 (?P<cell_1>.{8,12})(?P<discard_1>GAGTGATTGCTTGTGACGCCTT)(?P<cell_2>.{8})(?P<umi_1>.{6})T{3}.* |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
280 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
281 Where only reads with a 3' T-tail and `GAGTGATTGCTTGTGACGCCTT` in |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
282 the correct position to yield two cell barcodes of 8-12 and 8bp |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
283 respectively, and a 6bp UMI will be retained. |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
284 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
285 You can also specify fuzzy matching to allow errors. For example if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
286 the discard group above was specified as below this would enable |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
287 matches with up to 2 errors in the discard_1 group. |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
288 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
289 :: |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
290 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
291 (?P<discard_1>GAGTGATTGCTTGTGACGCCTT){s<=2} |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
292 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
293 Note that all UMIs must be the same length for downstream |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
294 processing with dedup, group or count commands]]></token> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
295 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
296 <xml name="barcode_options_macro"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
297 <conditional name="bc" > |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
298 <param argument="--extract-umi-method" type="select" label="Umi Extract Method" help="How are the barcodes encoded in the read?" > |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
299 <option value="read_id" selected="true">Barcodes are contained at the end of the read seperated by a delimiter</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
300 <option value="tag" >Barcodes are contained in tags</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
301 <option value="umis" >Barcodes were extracted using umis</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
302 </param> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
303 <when value="read_id" > |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
304 <param argument="--umi-separator" type="text" label="Delimiter between read id and the UMI" value="_" > |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
305 <sanitizer invalid_char="" > |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
306 <valid initial="string.punctuation" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
307 </sanitizer> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
308 </param> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
309 </when> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
310 <when value="tag" > |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
311 <param argument="--umi-tag" type="text" label="Tag which contains the UMI" value="RX" > |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
312 <expand macro="sanitize_tag" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
313 </param> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
314 <param argument="--umi-tag-split" type="text" label="Separate the UMI in tag by SPLIT" help="and take the first element"/> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
315 <param argument="--umi-tag-delimiter" type="text" label="Separate the UMI in tag by DELIMITER" help="and concatenate the elements"/> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
316 <param argument="--cell-tag" type="text" label="Tag which contains the cell barcode" > |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
317 <expand macro="sanitize_tag" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
318 </param> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
319 <param argument="--cell-tag-split" type="text" label="Separate the cell barcode in tag by SPLIT" help="and take the first element"/> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
320 <param argument="--cell-tag-delimiter" type="text" label="Separate the cell barcode in tag by DELIMITER" help="and concatenate the elements"/> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
321 </when> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
322 <when value="umis"/> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
323 </conditional> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
324 </xml> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
325 <token name="@BARCODE_OPTIONS@"><![CDATA[ |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
326 --extract-umi-method $bc.extract_umi_method |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
327 #if str($bc.extract_umi_method) == 'read_id': |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
328 --umi-separator '$bc.umi_separator' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
329 #else if str($bc.extract_umi_method) == 'tag': |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
330 --umi-tag '$bc.umi_tag' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
331 #if $bc.umi_tag_split != '' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
332 --umi-tag-split '$bc.umi_tag_split' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
333 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
334 #if $bc.umi_tag_delimiter != '' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
335 --umi-tag-delimiter '$bc.umi_tag_delimiter' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
336 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
337 --cell-tag '$bc.cell_tag' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
338 #if $bc.cell_tag_split != '' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
339 --cell-tag-split '$bc.cell_tag_split' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
340 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
341 #if $bc.cell_tag_delimiter != '' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
342 --cell-tag-delimiter '$bc.cell_tag_delimiter' |
2
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
343 #end if |
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
344 #end if |
2ee290d6c24d
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
0
diff
changeset
|
345 ]]></token> |
12
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
346 <token name="@BARCODE_HELP@"><![CDATA[ |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
347 Extracting barcodes |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
348 ------------------- |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
349 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
350 It is assumed that the FASTQ files were processed with ``umi_tools |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
351 extract`` before mapping and thus the UMI is the last word of the read |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
352 name. e.g: |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
353 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
354 @HISEQ:87:00000000_AATT |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
355 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
356 where ``AATT`` is the UMI sequeuence. |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
357 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
358 If you have used an alternative method which does not separate the |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
359 read id and UMI with a "_", such as bcl2fastq which uses ":", you can |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
360 specify the separator with the option ``--umi-separator=<sep>``, |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
361 replacing <sep> with e.g ":". |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
362 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
363 Alternatively, if your UMIs are encoded in a tag, you can specify this |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
364 by setting the option --extract-umi-method=tag and set the tag name |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
365 with the --umi-tag option. For example, if your UMIs are encoded in |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
366 the 'UM' tag, provide the following options: |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
367 ``--extract-umi-method=tag`` ``--umi-tag=UM`` |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
368 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
369 Finally, if you have used umis to extract the UMI +/- cell barcode, |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
370 you can specify ``--extract-umi-method=umis`` |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
371 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
372 The start position of a read is considered to be the start of its alignment |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
373 minus any soft clipped bases. A read aligned at position 500 with |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
374 cigar 2S98M will be assumed to start at position 498.]]></token> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
375 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
376 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
377 <xml name="umi_grouping_options_macro"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
378 <section name="umi" title="UMI grouping options"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
379 <param argument="--method" type="select" label="Method used to identify PCR duplicates within reads" help="All methods start by identifying the reads with the same mapping position"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
380 <option value="unique">Reads group share the exact same UMI</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
381 <option value="percentile">Reads group share the exact same UMI. UMIs with counts less than 1% of the median counts for UMIs at the same position are ignored</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
382 <option value="cluster">Identify clusters based on hamming distance</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
383 <option value="adjacency">Identify clusters based on hamming distance and resolve networks by using the node counts</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
384 <option value="directional">Identify clusters based on distance and counts, restrict network expansion by threshold</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
385 </param> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
386 <param argument="--edit-distance-threshold" type="integer" value="1" label="Edit distance threshold" help="For the adjacency and cluster methods the threshold for the edit distance to connect two UMIs in the network can be increased. The default value of 1 works best unless the UMI is very long (>14bp)" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
387 <param argument="--spliced-is-unique" type="boolean" truevalue="--spliced-is-unique" falsevalue="" label="Spliced reads are unique" help="Causes two reads that start in the same position on the same strand and having the same UMI to be considered unique if one is spliced and the other is not. (Uses the 'N' cigar operation to test for splicing)" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
388 <param argument="--soft-clip-threshold" type="integer" value="4" label="Soft clip threshold" help="Mappers that soft clip, will sometimes do so rather than mapping a spliced read if there is only a small overhang over the exon junction. By setting this option, you can treat reads with at least this many bases soft-clipped at the 3' end as spliced" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
389 <param argument="--read-length" type="boolean" truevalue="--read-length" falsevalue="" label="Use the read length as as a criterion when deduping" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
390 </section> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
391 </xml> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
392 <token name="@UMI_GROUPING_OPTIONS@"><![CDATA[ |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
393 --method $umi.method |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
394 --edit-distance-threshold $umi.edit_distance_threshold |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
395 $umi.spliced_is_unique |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
396 --soft-clip-threshold $umi.soft_clip_threshold |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
397 $umi.read_length |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
398 ]]></token> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
399 <token name="@UMI_GROUPING_HELP@"><![CDATA[ |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
400 UMI grouping options |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
401 -------------------- |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
402 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
403 Grouping Method |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
404 ............... |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
405 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
406 What method to use to identify group of reads with the same (or |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
407 similar) UMI(s)? |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
408 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
409 All methods start by identifying the reads with the same mapping position. |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
410 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
411 The simplest methods, unique and percentile, group reads with |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
412 the exact same UMI. The network-based methods, cluster, adjacency and |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
413 directional, build networks where nodes are UMIs and edges connect UMIs |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
414 with an edit distance <= threshold (usually 1). The groups of reads |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
415 are then defined from the network in a method-specific manner. For all |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
416 the network-based methods, each read group is equivalent to one read |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
417 count for the gene. |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
418 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
419 - unique |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
420 Reads group share the exact same UMI |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
421 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
422 - percentile |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
423 Reads group share the exact same UMI. UMIs with counts < 1% of the |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
424 median counts for UMIs at the same position are ignored. |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
425 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
426 - cluster |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
427 Identify clusters of connected UMIs (based on hamming distance |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
428 threshold). Each network is a read group |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
429 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
430 - adjacency |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
431 Cluster UMIs as above. For each cluster, select the node (UMI) |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
432 with the highest counts. Visit all nodes one edge away. If all |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
433 nodes have been visited, stop. Otherwise, repeat with remaining |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
434 nodes until all nodes have been visted. Each step |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
435 defines a read group. |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
436 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
437 - directional (default) |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
438 Identify clusters of connected UMIs (based on hamming distance |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
439 threshold) and umi A counts >= (2* umi B counts) - 1. Each |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
440 network is a read group. |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
441 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
442 ]]></token> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
443 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
444 <xml name="sambam_options_macro"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
445 <section name="sambam" title="SAM/BAM options"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
446 <param argument="--mapping-quality" type="integer" value="0" label="Minimum mapping quality for a read to be retained"/> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
447 <param argument="--unmapped-reads" type="select" label="How to handle unmapped reads"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
448 <option value="discard">discard</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
449 <option value="use">use</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
450 <option value="correct">correct</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
451 </param> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
452 <param argument="--chimeric-pairs" type="select" optional="true" label="How to handle chimeric read pairs (default: use)"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
453 <option value="discard">discard</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
454 <option value="use">use</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
455 <option value="correct">correct</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
456 </param> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
457 <param argument="--unpaired-reads" type="select" optional="true" label="How to handle unpaired reads (default: use)"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
458 <option value="discard">discard</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
459 <option value="use">use</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
460 <option value="correct">correct</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
461 </param> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
462 <param argument="--ignore-umi" type="boolean" truevalue="--ignore-umi" falsevalue="" label="Ignore UMI and dedup only on position"/> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
463 <param argument="--ignore-tlen" type="boolean" truevalue="--ignore-tlen" falsevalue="" label="Dedup paired end reads based solely on read1" help="whether or not the template length is the same"/> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
464 <param argument="--chrom" type="text" value="" label="Consider only chromosome" help="If a value is given only a single chromosome with the given name is considered"/> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
465 <param argument="--subset" type="float" min="0.0" max="1.0" value="1.0" label="Only consider a random selection of the reads" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
466 <!--in-sam is set automatically--> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
467 <param argument="--paired" type="boolean" truevalue="--paired" falsevalue="" label="BAM is paired end" help="This will also force the use of the template length to determine reads with the same mapping coordinates" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
468 </section> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
469 </xml> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
470 <token name="@SAMBAM_OPTIONS@"><![CDATA[ |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
471 --mapping-quality $sambam.mapping_quality |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
472 --unmapped-reads $sambam.unmapped_reads |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
473 #if $sambam.chimeric_pairs |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
474 --chimeric-pairs $sambam.chimeric_pairs |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
475 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
476 #if $sambam.unpaired_reads |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
477 --unpaired-reads $sambam.unpaired_reads |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
478 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
479 $sambam.ignore_umi |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
480 $sambam.ignore_tlen |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
481 #if str($sambam.chrom) != '' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
482 --chrom '$sambam.chrom' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
483 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
484 --subset $sambam.subset |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
485 $sambam.paired |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
486 @SET_INPUT_TYPE@ |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
487 ]]></token> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
488 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
489 <!-- per-gene is hard coded in count https://github.com/CGATOxford/UMI-tools/blob/c3ead0792ad590822ca72239ef01b8e559802da9/umi_tools/count.py#L92 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
490 hence we need a specialized macro here |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
491 TODO count used XF as default for gene-tag now I set it explicitly for the tests but we could as well parametrize the macro and set tool specific defaults |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
492 --> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
493 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
494 <xml name="fullsc_options_macro"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
495 <expand macro="sc_options_macro"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
496 <param argument="--per-gene" type="boolean" truevalue="--per-gene" falsevalue="" label="Deduplicate per gene" |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
497 help="Must combine with either --gene-tag or --per-contig. As for --per-contig except with this option you can align to a reference transcriptome with more than one transcript per gene. You need to also provide a map of genes to transcripts. This will also add a metacontig ('MC') tag to the output BAM file" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
498 </expand> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
499 </xml> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
500 <token name="@FULLSC_OPTIONS@"><![CDATA[ |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
501 $sc.per_gene |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
502 @SC_OPTIONS@ |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
503 ]]></token> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
504 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
505 <xml name="sc_options_macro"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
506 <section name="sc" title="Single-cell RNA-Seq options"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
507 <yield/> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
508 <param argument="--gene-tag" type="text" optional="true" label="Deduplicate by this gene tag" help="As --per-gene except here the gene information is encoded in the bam read tag specified so you do not need to supply the mapping file"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
509 <expand macro="sanitize_tag" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
510 </param> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
511 <param argument="--assigned-status-tag" type="text" optional="true" label="Bam tag describing whether read is assigned to a gene" help="By default, this is set as the same tag as --gene-tag"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
512 <expand macro="sanitize_tag" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
513 </param> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
514 <param argument="--skip-tags-regex" name="skip_tags_regex" type="text" label="Skip any reads where the gene matches this tag" value="" > |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
515 <expand macro="barcode_sanitizer" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
516 </param> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
517 <param argument="--per-contig" type="boolean" truevalue="--per-contig" falsevalue="" label="Deduplicate per contig" help="Field 3 in BAM; RNAME. All reads with the same contig will be considered to have the same alignment position. This is useful if your library prep generates PCR duplicates with non identical alignment positions such as CEL-Seq. In this case, you would align to a reference transcriptome with one transcript per gene" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
518 <param argument="--gene-transcript-map" type="data" format="tabular" optional="true" label="Tabular file mapping genes to transripts" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
519 <param argument="--per-cell" name="per_cell" type="boolean" truevalue="--per-cell" falsevalue="" label="Group reads only if they have the same cell barcode" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
520 </section> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
521 </xml> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
522 <token name="@SC_OPTIONS@"><![CDATA[ |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
523 #if str($sc.gene_tag) != "": |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
524 --gene-tag '$sc.gene_tag' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
525 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
526 #if str($sc.assigned_status_tag) != "": |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
527 --assigned-status-tag '$sc.assigned_status_tag' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
528 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
529 #if str($sc.skip_tags_regex) != "": |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
530 --skip-tags-regex '$sc.skip_tags_regex' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
531 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
532 $sc.per_contig |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
533 #if $sc.gene_transcript_map: |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
534 --gene-transcript-map '$sc.gene_transcript_map' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
535 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
536 $sc.per_cell |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
537 ]]></token> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
538 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
539 <xml name="groupdedup_options_macro"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
540 <section name="gd" title="group/dedup specific options"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
541 <param argument="--buffer-whole-contig" type="boolean" truevalue="--buffer-whole-contig" falsevalue="" label="Read whole contig before outputting bundles" help="Guarantees that no reads are missed, but increases memory usage" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
542 <!-- TODO this option is hidden on the CLI. Should we expose it? --> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
543 <param argument="--whole-contig" type="boolean" truevalue="--whole-contig" falsevalue="" label="Consider all alignments to a single contig together" help="This is useful if you have aligned to a transcriptome multi-fasta" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
544 <param argument="--multimapping-detection-method" type="select" optional="true" label="BAM Tag indicating multimapping " help="Some aligners identify multimapping using bam tags. Setting this option to NH, X0 or XT will use these tags when selecting the best read amongst reads with the same position and umi"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
545 <option value="NH">NH</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
546 <option value="X0">X0</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
547 <option value="XT">XT</option> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
548 </param> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
549 </section> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
550 </xml> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
551 <token name="@GROUPDEDUP_OPTIONS@"><![CDATA[ |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
552 $gd.buffer_whole_contig |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
553 $gd.whole_contig |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
554 $gd.multimapping_detection_method |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
555 ]]></token> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
556 |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
557 <xml name="log_input_macro"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
558 <param argument="--log" type="boolean" label="Output log?" truevalue="--log" falsevalue="" help="Choose if you want to generate a text file containing logging information" /> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
559 </xml> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
560 <xml name="log_output_macro"> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
561 <data name="out_log" format="txt" label="${tool.name} on ${on_string}: logfile" > |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
562 <filter>log</filter> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
563 </data> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
564 </xml> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
565 <token name="@LOG@"><![CDATA[ |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
566 #if $log: |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
567 --log='$out_log' |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
568 #end if |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
569 --log2stderr |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
570 ]]></token> |
4098ab380097
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
9
diff
changeset
|
571 |
0
a6477bafd522
planemo upload commit eea727c3bdfe36d9d16036d5ab79fb8b27c4e82e
iuc
parents:
diff
changeset
|
572 </macros> |