annotate umi-tools_extract.xml @ 19:7a7e33d28f62 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bc1b362f6783d3fc0ed0f42c14687001d7ff5f7a
author iuc
date Sat, 05 Oct 2024 13:07:19 +0000
parents 7accf7407811
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
1 <tool id="umi_tools_extract" name="UMI-tools extract" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
2 <description>Extract UMI from fastq files</description>
1
79436b3019e9 planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents: 0
diff changeset
3 <macros>
79436b3019e9 planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents: 0
diff changeset
4 <import>macros.xml</import>
79436b3019e9 planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents: 0
diff changeset
5 </macros>
19
7a7e33d28f62 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"/>
1
79436b3019e9 planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents: 0
diff changeset
7 <expand macro="requirements" />
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
4
e73a22ff585c planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents: 1
diff changeset
9 @COMMAND_LINK@
e73a22ff585c planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents: 1
diff changeset
10
e73a22ff585c planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents: 1
diff changeset
11 umi_tools extract
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
12
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
13 @FASTQ_BARCODE_EXTRACTION_OPTIONS@
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
14 #if $input_type_cond.input_type == 'single':
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
15 #if $gz:
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
16 --stdin=input_single.gz
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
17 --stdout out.gz
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
18 #else
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
19 --stdin=input_single.txt
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
20 --stdout '$out'
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
21 #end if
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
22 #else:
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
23 #if $gz:
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
24 --stdin=input_read1.gz
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
25 --read2-in=input_read2.gz
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
26 --stdout out1.gz
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
27 --read2-out=out2.gz
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
28 #else:
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
29 --stdin=input_read1.txt
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
30 --read2-in=input_read2.txt
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
31 #if $input_type_cond.input_type == 'paired'
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
32 --stdout '$out'
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
33 --read2-out='$out2'
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
34 #else
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
35 --stdout '$out_paired_collection.forward'
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
36 --read2-out='$out_paired_collection.reverse'
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
37 #end if
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
38 #end if
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
39 $input_type_cond.reconcile_pairs
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
40 #end if
5
f77bc14eba31 planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents: 4
diff changeset
41
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
42 #if $whitelist
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
43 --whitelist='$whitelist'
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
44 #end if
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
45 #if $blacklist
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
46 --blacklist='$blacklist'
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
47 #end if
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
48 $error_correct_cell.value
5
f77bc14eba31 planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents: 4
diff changeset
49
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
50 #if $quality.quality_selector =='true':
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
51 #if str($quality.quality_filter_threshold) != ''
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
52 --quality-filter-threshold '$quality.quality_filter_threshold'
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
53 #end if
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
54 #if str($quality.quality_filter_mask) != ''
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
55 --quality-filter-mask '$quality.quality_filter_mask'
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
56 #end if
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
57 #if $input_type_cond.input_type != 'paired_collection'
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
58 #set input=$input_type_cond.input_read1
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
59 #else
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
60 #set input=$input_type_cond.input_readpair.forward
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
61 #end if
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
62 --quality-encoding
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
63 #if $input.ext.startswith("fastqillumina")
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
64 phred64
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
65 #else if $input.ext.startswith("fastqsolexa")
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
66 solexa
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
67 #else
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
68 phred33
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
69 #end if
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
70 #end if
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
71 @LOG@
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
72 #if $gz:
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
73 #if $input_type_cond.input_type == 'single':
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
74 && mv out.gz '$out'
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
75 #else if $input_type_cond.input_type == 'paired'
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
76 && mv out1.gz '$out'
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
77 && mv out2.gz '$out2'
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
78 #else
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
79 && mv out1.gz '$out_paired_collection.forward'
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
80 && mv out2.gz '$out_paired_collection.reverse'
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
81 #end if
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
82 #end if
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
83 ]]></command>
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
84 <inputs>
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
85 <expand macro="input_types">
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
86 <param argument="--reconcile-pairs" type="boolean" truevalue="--reconcile-pairs" falsevalue="" checked="false" label="Allow unpaired reads" help="Allow the presences of reads in read2 input that are not present in read1 input. This allows cell barcode filtering of read1s without considering read2s" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
87 </expand>
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
88 <expand macro="fastq_barcode_extraction_options_macro"/>
5
f77bc14eba31 planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents: 4
diff changeset
89
16
7accf7407811 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit b5b83fd1cf0a44edcd9a6cc7562a3add2f47bd3f"
iuc
parents: 15
diff changeset
90 <param argument="--whitelist" type="data" optional="true" format="txt,tabular,tsv" label="Allowlist of accepted barcodes" />
7accf7407811 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit b5b83fd1cf0a44edcd9a6cc7562a3add2f47bd3f"
iuc
parents: 15
diff changeset
91 <param argument="--blacklist" type="data" optional="true" format="txt,tabular,tsv" label="Denylist of accepted barcodes" />
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
92 <param argument="--error-correct-cell" type="boolean" truevalue="--error-correct-cell" falsevalue="" checked="false" label="Apply correction to cell barcodes?" help="This only applies if your barcode file has two columns output from the umi_tools whitelist command" />
5
f77bc14eba31 planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents: 4
diff changeset
93
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
94 <conditional name="quality">
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
95 <param name="quality_selector" type="select" label="Enable quality filter?" >
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
96 <option value="false">No</option>
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
97 <option value="true">Yes</option>
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
98 </param>
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
99 <when value="false">
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
100 </when>
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
101 <when value="true">
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
102 <param argument="--quality-filter-threshold" label="Phred score threshold"
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
103 type="integer" value="" optional="true"
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
104 help="Remove reads where any UMI base quality score falls below this threshold" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
105 <param argument="--quality-filter-mask" label="Mask UMI bases below threshold"
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
106 type="integer" value="" optional="true"
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
107 help="If a UMI base has a quality below this threshold,
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
108 replace the base with 'N'" />
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
109 </when>
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
110 </conditional>
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
111 <expand macro="log_input_macro"/>
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
112 </inputs>
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
113 <outputs>
19
7a7e33d28f62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bc1b362f6783d3fc0ed0f42c14687001d7ff5f7a
iuc
parents: 16
diff changeset
114 <data name="out" format_source="input_read1" label="${tool.name} on ${on_string}: Forward reads" >
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
115 <filter>input_type_cond['input_type'] in ['single', 'paired']</filter>
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
116 </data>
19
7a7e33d28f62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bc1b362f6783d3fc0ed0f42c14687001d7ff5f7a
iuc
parents: 16
diff changeset
117 <data name="out2" format_source="input_read2" label="${tool.name} on ${on_string}: Reverse reads" >
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
118 <filter>input_type_cond['input_type'] == 'paired'</filter>
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
119 </data>
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
120 <collection name="out_paired_collection" type="paired" label="${tool.name} on ${on_string}: Reads">
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
121 <data name="forward" format_source="input_readpair" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
122 <data name="reverse" format_source="input_readpair" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
123 <filter>input_type_cond['input_type'] == 'paired_collection'</filter>
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
124 </collection>
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
125 <expand macro="log_output_macro"/>
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
126 </outputs>
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
127 <tests>
14
9fa7803d1c51 "planemo upload commit 59c614a9dda4b9f49bd3349fbde968ee5eca1db6"
iuc
parents: 12
diff changeset
128 <test expect_num_outputs="2">
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
129 <conditional name="input_type_cond">
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
130 <param name="input_type" value="single" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
131 <param name="input_read1" value="t_R1.fastq" ftype="fastqsanger" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
132 <param name="bc_pattern" value="XXXNNN" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
133 </conditional>
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
134 <conditional name="extract_method_cond">
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
135 <param name="prime3" value="true" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
136 </conditional>
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
137 <param name="quality_selector" value="true" />
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
138 <param name="quality_filter_threshold" value="10" />
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
139 <param name="log" value="true"/>
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
140 <output name="out" file="out_SE.fastq" ftype="fastqsanger" />
8
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
141 <output name="out_log" >
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
142 <assert_contents>
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
143 <has_text text="Input Reads: 100" />
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
144 <has_text text="umi quality: 28" />
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
145 <has_text text="Reads output: 72" />
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
146 </assert_contents>
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
147 </output>
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
148 </test>
14
9fa7803d1c51 "planemo upload commit 59c614a9dda4b9f49bd3349fbde968ee5eca1db6"
iuc
parents: 12
diff changeset
149 <test expect_num_outputs="3">
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
150 <conditional name="input_type_cond">
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
151 <param name="input_type" value="paired" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
152 <param name="input_read1" value="t_R1.fastq.gz" ftype="fastqsanger.gz" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
153 <param name="input_read2" value="t_R2.fastq.gz" ftype="fastqsanger.gz" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
154 <param name="bc_pattern" value="NNNXXX" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
155 </conditional>
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
156 <param name="log" value="true"/>
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
157 <output name="out" file="out_R1.fastq.gz" decompress="true" lines_diff="2" ftype="fastqsanger.gz" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
158 <output name="out2" file="out_R2.fastq.gz" decompress="true" lines_diff="2" ftype="fastqsanger.gz" />
8
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
159 <output name="out_log" >
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
160 <assert_contents>
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
161 <has_text text="Input Reads: 100" />
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
162 <has_text text="Reads output: 100" />
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
163 </assert_contents>
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
164 </output>
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
165 </test>
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
166 <test expect_num_outputs="4">
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
167 <conditional name="input_type_cond">
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
168 <param name="input_type" value="paired_collection" /> <!-- same as before, but uncompressed -->
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
169 <param name="paired_type" value="no" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
170 <param name="input_readpair">
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
171 <collection type="paired" >
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
172 <element name="forward" ftype="fastqsanger" value="t_R1.fastq" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
173 <element name="reverse" ftype="fastqsanger" value="t_R2.fastq" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
174 </collection>
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
175 </param>
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
176 <param name="bc_pattern" value="NNNXXX" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
177 </conditional>
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
178 <param name="log" value="true"/>
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
179 <output_collection name="out_paired_collection" type="paired">
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
180 <element name="forward" file="out_R1.fastq" ftype="fastqsanger" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
181 <element name="reverse" file="out_R2.fastq" ftype="fastqsanger" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
182 </output_collection>
8
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
183 <output name="out_log" >
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
184 <assert_contents>
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
185 <has_text text="Input Reads: 100" />
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
186 <has_text text="Reads output: 100" />
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
187 </assert_contents>
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
188 </output>
5
f77bc14eba31 planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents: 4
diff changeset
189 </test>
14
9fa7803d1c51 "planemo upload commit 59c614a9dda4b9f49bd3349fbde968ee5eca1db6"
iuc
parents: 12
diff changeset
190 <test expect_num_outputs="3">
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
191 <conditional name="input_type_cond">
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
192 <param name="input_type" value="paired" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
193 <param name="input_read1" value="scrb_seq_fastq.1.gz" ftype="fastqsanger.gz" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
194 <param name="input_read2" value="scrb_seq_fastq.2.gz" ftype="fastqsanger.gz" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
195 <param name="bc_pattern" value="CCCCCCNNNNNNNNNN" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
196 </conditional>
5
f77bc14eba31 planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents: 4
diff changeset
197 <param name="extract_method" value="string" />
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
198 <param name="whitelist" value="scrb_seq_barcodes" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
199 <param name="log" value="true"/>
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
200 <output name="out2" file="scrb_extract.fastq.gz" decompress="true" ftype="fastqsanger.gz" />
5
f77bc14eba31 planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents: 4
diff changeset
201 </test>
14
9fa7803d1c51 "planemo upload commit 59c614a9dda4b9f49bd3349fbde968ee5eca1db6"
iuc
parents: 12
diff changeset
202 <test expect_num_outputs="3"><!-- same as above but with regex barcode-->
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
203 <conditional name="input_type_cond">
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
204 <param name="input_type" value="paired" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
205 <param name="input_read1" value="scrb_seq_fastq.1.gz" ftype="fastqsanger.gz" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
206 <param name="input_read2" value="scrb_seq_fastq.2.gz" ftype="fastqsanger.gz" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
207 <param name="bc_pattern" value="^(?P&lt;cell_1&gt;.{6})(?P&lt;umi_1&gt;.{10})" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
208 </conditional>
5
f77bc14eba31 planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents: 4
diff changeset
209 <param name="extract_method" value="regex" />
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
210 <param name="whitelist" value="scrb_seq_barcodes" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
211 <param name="log" value="true"/>
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
212 <output name="out2" file="scrb_extract.fastq.gz" decompress="true" ftype="fastqsanger.gz" />
8
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
213 </test>
14
9fa7803d1c51 "planemo upload commit 59c614a9dda4b9f49bd3349fbde968ee5eca1db6"
iuc
parents: 12
diff changeset
214 <test expect_num_outputs="2"><!-- CelSeq2 example -->
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
215 <conditional name="input_type_cond">
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
216 <param name="input_type" value="paired" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
217 <param name="input_read1" value="read_R1.200.gz" ftype="fastqsanger.gz" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
218 <param name="input_read2" value="read_R2.200.gz" ftype="fastqsanger.gz" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
219 <param name="bc_pattern" value="NNNNNNCCCCCC" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
220 </conditional>
8
3cfd8e1073d7 planemo upload commit f6178c9e071a2158a35b82a3607f6dc8a767675c
iuc
parents: 5
diff changeset
221 <param name="extract_method" value="string" />
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
222 <output name="out" file="read_R1.200_extracted.fastq.gz" ftype="fastqsanger.gz" decompress="true" lines_diff="1" />
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
223 <output name="out2" file="read_R2.200_extracted.fastq.gz" ftype="fastqsanger.gz" decompress="true" lines_diff="1" />
4
e73a22ff585c planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents: 1
diff changeset
224 </test>
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
225 </tests>
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
226 <help><![CDATA[
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
227
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
228 extract - Extract UMI from fastq
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
229 ================================
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
230
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
231 Extract UMI barcode from a read and add it to the read name, leaving
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
232 any sample barcode in place
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
233
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
234 Can deal with paired end reads and UMIs
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
235 split across the paired ends. Can also optionally extract cell
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
236 barcodes and append these to the read name also. See the section below
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
237 for an explanation for how to encode the barcode pattern(s) to
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
238 specficy the position of the UMI +/- cell barcode.
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
239
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
240
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
241 Filtering and correcting cell barcodes
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
242 --------------------------------------
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
243
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
244 ``umi_tools extract`` can optionally filter cell barcodes against a user-supplied
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
245 whitelist (``--whitelist``). If a whitelist is not available for your data,
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
246 e.g
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
247 if you have performed droplet-based scRNA-Seq, you can use the
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
248 whitelist tool.
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
249
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
250 Cell barcodes which do not match the whitelist (user-generated or
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
251 automatically generated) can also be optionally corrected using the
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
252 ``--error-correct-cell`` option.
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
253
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
254 The whitelist should be in the following format (tab-separated)::
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
255
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
256 AAAAAA AGAAAA
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
257 AAAATC
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
258 AAACAT
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
259 AAACTA AAACTN,GAACTA
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
260 AAATAC
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
261 AAATCA GAATCA
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
262 AAATGT AAAGGT,CAATGT
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
263
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
264 Where column 1 is the whitelisted cell barcodes and column 2 is
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
265 the list (comma-separated) of other cell barcodes which should be
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
266 corrected to the barcode in column 1. If the ``--error-correct-cell``
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
267 option is not used, this column will be ignored. Any additional columns
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
268 in the whitelist input, such as the counts columns from the output of
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
269 umi_tools whitelist, will be ignored.
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
270
15
27ac32a22ad2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/umi_tools commit bf6a3aa532e8f9d122da4c1e39f3e256ae587b79"
iuc
parents: 14
diff changeset
271 @FASTQ_BARCODE_EXTRACTION_HELP@
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
272
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
273 ]]></help>
1
79436b3019e9 planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents: 0
diff changeset
274 <expand macro="citations" />
0
418b961e0576 planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff changeset
275 </tool>