Mercurial > repos > iuc > umi_tools_group
annotate umi-tools_group.xml @ 19:a827e3a209fa draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit 11a7415c7f8a44a3f990080533c1de43a41d1e2e
author | iuc |
---|---|
date | Fri, 28 Feb 2025 20:42:09 +0000 |
parents | 428735be9764 |
children |
rev | line source |
---|---|
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
1 <tool id="umi_tools_group" name="UMI-tools group" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
2 <description>Extract UMI from fastq files</description> |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
3 <macros> |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
5 </macros> |
17
428735be9764
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bc1b362f6783d3fc0ed0f42c14687001d7ff5f7a
iuc
parents:
16
diff
changeset
|
6 <expand macro="bio_tools"/> |
19
a827e3a209fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit 11a7415c7f8a44a3f990080533c1de43a41d1e2e
iuc
parents:
17
diff
changeset
|
7 <expand macro="requirements"/> |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
9 @LINK_SAM_BAM_INPUT@ |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
10 |
1
f73f13641bb6
planemo upload commit eea727c3bdfe36d9d16036d5ab79fb8b27c4e82e
iuc
parents:
0
diff
changeset
|
11 umi_tools group |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
12 #if $group_output: |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
13 --group-out '$group_out' |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
14 #end if |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
15 --output-bam |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
16 @GROUPDEDUP_OPTIONS@ |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
17 @BARCODE_OPTIONS@ |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
18 @UMI_GROUPING_OPTIONS@ |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
19 @SAMBAM_OPTIONS@ |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
20 @FULLSC_OPTIONS@ |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
21 -I '$input_file' -S grouped.bam |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
22 @ADVANCED_OPTIONS@ |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
23 @LOG@ |
17
428735be9764
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bc1b362f6783d3fc0ed0f42c14687001d7ff5f7a
iuc
parents:
16
diff
changeset
|
24 ## using samtools sort is a workaround, for the following error that appears when Galaxy |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
25 ## compares the generated file with the one in test-data |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
26 ## `Converting history BAM to SAM failed: 'samtools returned with error 1: stdout=None, stderr=[main_samview] fail to read the header from "/tmp/tmpd8o61jykdedup_out6.bam".\n'. Will compare BAM files` |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
27 ## may be dropped in the future |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
28 --no-sort-output |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
29 && samtools sort --no-PG grouped.bam -@ \${GALAXY_SLOTS:-1} -T "\${TMPDIR:-.}" -o '$output' -O BAM |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
30 ]]></command> |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
31 <inputs> |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
32 <param name="input" type="data" format="sam,bam" label="Reads to group in SAM or BAM format" /> |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
33 <param name="group_output" argument="--group-out" type="boolean" truevalue="--group-out" falsevalue="" label="Output a flatfile describing the read groups" /> |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
34 <expand macro="groupdedup_options_macro"/> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
35 <expand macro="barcode_options_macro"/> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
36 <expand macro="umi_grouping_options_macro"/> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
37 <expand macro="sambam_options_macro"/> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
38 <expand macro="fullsc_options_macro"/> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
39 <expand macro="advanced_options_macro"/> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
40 <expand macro="log_input_macro"/> |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
41 </inputs> |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
42 <outputs> |
17
428735be9764
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bc1b362f6783d3fc0ed0f42c14687001d7ff5f7a
iuc
parents:
16
diff
changeset
|
43 <data format="bam" name="output" label="${tool.name} on ${on_string}: Tagged BAM"/> |
428735be9764
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bc1b362f6783d3fc0ed0f42c14687001d7ff5f7a
iuc
parents:
16
diff
changeset
|
44 <data format="tabular" name="group_out" label="${tool.name} on ${on_string}: Read groups"> |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
45 <filter>group_output</filter> |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
46 </data> |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
47 <expand macro="log_output_macro"/> |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
48 </outputs> |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
49 <tests> |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
50 <test expect_num_outputs="1"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
51 <param name="input" value="group_in2.sam" ftype="sam" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
52 <section name="advanced"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
53 <param name="random_seed" value="0" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
54 </section> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
55 <conditional name="bc"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
56 <param name="extract_umi_method" value="read_id" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
57 </conditional> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
58 <section name="sambam"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
59 <param name="paired" value="true" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
60 </section> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
61 <section name="umi"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
62 <param name="method" value="unique" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
63 </section> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
64 <output name="output" file="group_out2.bam" ftype="bam" /> |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
65 </test> |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
66 <test expect_num_outputs="2"> |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
67 <param name="input" value="group_in3.bam" ftype="bam" /> |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
68 <section name="advanced"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
69 <param name="random_seed" value="0" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
70 </section> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
71 <conditional name="bc"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
72 <param name="extract_umi_method" value="read_id" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
73 </conditional> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
74 <param name="group_output" value="true" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
75 <section name="umi"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
76 <param name="method" value="unique" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
77 </section> |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
78 <output name="group_out" file="group_out3.tab" /> |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
79 <output name="output" file="group_out3.bam" ftype="bam" /> |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
80 </test> |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
81 <test expect_num_outputs="2"> |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
82 <param name="input" value="group_in4.bam" ftype="bam" /> |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
83 <section name="advanced"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
84 <param name="random_seed" value="0" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
85 </section> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
86 <conditional name="bc"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
87 <param name="extract_umi_method" value="tag" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
88 <param name="umi_tag" value="BX" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
89 </conditional> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
90 <param name="group_output" value="true" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
91 <section name="umi"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
92 <param name="method" value="unique" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
93 </section> |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
94 <output name="group_out" file="group_out4.tab" /> |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
95 <output name="output" file="group_out4.bam" ftype="bam" /> |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
96 </test> |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
97 <test expect_num_outputs="1"> |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
98 <param name="input" value="group_in5.bam" ftype="bam" /> |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
99 <section name="advanced"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
100 <param name="random_seed" value="0" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
101 </section> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
102 <conditional name="bc"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
103 <param name="extract_umi_method" value="read_id" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
104 </conditional> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
105 <section name="umi"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
106 <param name="method" value="cluster" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
107 </section> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
108 <output name="output" file="group_out5.bam" ftype="bam"/> |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
109 </test> |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
110 <test expect_num_outputs="1"> |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
111 <param name="input" value="group_in6.bam" ftype="bam" /> |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
112 <section name="advanced"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
113 <param name="random_seed" value="0" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
114 </section> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
115 <conditional name="bc"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
116 <param name="extract_umi_method" value="read_id" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
117 </conditional> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
118 <section name="umi"> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
119 <param name="method" value="directional" /> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
120 </section> |
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
121 <output name="output" file="group_out6.bam" ftype="bam"/> |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
122 </test> |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
123 </tests> |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
124 <help><![CDATA[ |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
125 umi_tools group - Group reads based on their UMI |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
126 ================================================ |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
127 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
128 Purpose |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
129 ------- |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
130 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
131 The purpose of this command is to identify groups of reads based on |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
132 their genomic coordinate and UMI. |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
133 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
134 The group command can be used to create two types of outfile: a tagged |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
135 BAM or a flatfile describing the read groups |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
136 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
137 To generate the tagged-BAM file, use the option --output-bam and |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
138 provide a filename with the -S option. Alternatively, if you do not |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
139 provide a filename, the bam file will be outputted to the stdout. If |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
140 you have provided the --log/-L option to send the logging output |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
141 elsewhere, you can pipe the output from the group command directly to |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
142 e.g samtools sort like so: |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
143 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
144 ``umi_tools group -I inf.bam --group-out=grouped.tsv --output-bam --log=group.log --paired | samtools sort - -o grouped_sorted.bam`` |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
145 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
146 The tagged-BAM file will have two tagged per read: |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
147 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
148 - UG = Unique_id. |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
149 0-indexed unique id number for each group of reads with the same genomic position and UMI or UMIs inferred to be from the same true UMI + errors |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
150 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
151 - BX = Final UMI. |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
152 The inferred true UMI for the group |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
153 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
154 To generate the flatfile describing the read groups, include the |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
155 --group-out=<filename> option. The columns of the read groups file are |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
156 below. The first five columns relate to the read. The final 3 columns |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
157 relate to the group. |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
158 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
159 - read_id |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
160 read identifier |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
161 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
162 - contig |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
163 alignment contig |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
164 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
165 - position |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
166 Alignment position. Note that this position is not the start position of the read in the BAM file but the start of the read taking into account the read strand and cigar |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
167 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
168 - umi |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
169 The read UMI |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
170 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
171 - umi_count |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
172 The number of times this UMI is observed for reads at the same position |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
173 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
174 - final_umi |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
175 The inferred true UMI for the group |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
176 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
177 - final_umi_count |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
178 The total number of reads within the group |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
179 |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
180 - unique_id |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
181 The unique id for the group |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
182 |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
183 @BARCODE_HELP@ |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
184 |
13
cf25b50eff0a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents:
11
diff
changeset
|
185 @UMI_GROUPING_HELP@ |
0
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
186 ]]></help> |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
187 <expand macro="citations" /> |
860bc357b678
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
diff
changeset
|
188 </tool> |