Mercurial > repos > iuc > umi_tools_extract
annotate umi-tools_extract.xml @ 6:6417d5ed05c6 draft
planemo upload commit c79a5f4a05156bb2a6035a844aa9ad8f0e59ecb5
author | iuc |
---|---|
date | Thu, 21 Jun 2018 15:20:02 -0400 |
parents | f77bc14eba31 |
children | 3cfd8e1073d7 |
rev | line source |
---|---|
4
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
1 <tool id="umi_tools_extract" name="UMI-tools extract" version="@VERSION@.1"> |
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> |
79436b3019e9
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
0
diff
changeset
|
6 <expand macro="requirements" /> |
0
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
4
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
8 @COMMAND_LINK@ |
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
9 |
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
10 umi_tools extract |
5
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
11 --extract-method='$extract_method.value' |
0
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
12 --bc-pattern='$bc_pattern' |
5
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
13 |
0
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
14 #if $input_type.type == 'single': |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
15 #if $gz: |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
16 --stdin=input_single.gz |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
17 --stdout out.gz |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
18 #else |
5
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
19 --stdin=input_single.txt |
0
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
20 --stdout '$out' |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
21 #end if |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
22 #else: |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
23 #if $gz: |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
24 --stdin=input_read1.gz |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
25 --read2-in=input_read2.gz |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
26 --stdout out1.gz |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
27 --read2-out=out2.gz |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
28 #else: |
5
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
29 --stdin=input_read1.txt |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
30 --read2-in=input_read2.txt |
0
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
31 --stdout '$out1' |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
32 --read2-out='$out2' |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
33 #end if |
4
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
34 #if $input_type.barcode.barcode_select == "both_reads": |
0
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
35 --split-barcode |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
36 --bc-pattern2='$input_type.barcode.bc_pattern2' |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
37 #end if |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
38 #end if |
5
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
39 |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
40 #if $barcodes.use_barcodes.value == 'yes': |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
41 --filter-cell-barcode |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
42 --whitelist='$barcodes.filter_barcode_file' |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
43 '$barcodes.filter_correct.value' |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
44 #end if |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
45 |
0
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
46 #if not $prime3: |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
47 --3prime |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
48 #end if |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
49 #if $quality.quality_selector =='true': |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
50 --quality-filter-threshold '$quality.quality_filter_threshold' |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
51 --quality-encoding '$quality.quality_encoding' |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
52 #end if |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
53 #if $print_log == "1": |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
54 --log='$out_log' |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
55 #else |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
56 --supress-stats |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
57 #end if |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
58 #if $gz: |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
59 #if $input_type.type == 'single': |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
60 && mv out.gz '$out' |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
61 #else |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
62 && mv out1.gz '$out1' |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
63 && mv out2.gz '$out2' |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
64 #end if |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
65 #end if |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
66 ]]></command> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
67 <inputs> |
4
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
68 <expand macro="input_types" /> |
5
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
69 |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
70 <conditional name="barcodes" > |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
71 <param name="use_barcodes" argument="--filter-cell-barcode" type="select" label="Use Known Barcodes?" > |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
72 <option value="yes">Yes</option> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
73 <option value="no" selected="true" >No</option> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
74 </param> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
75 <when value="no" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
76 <when value="yes" > |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
77 <param name="filter_barcode_file" type="data" format="tsv" label="Barcode File" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
78 <param name="filter_correct" 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." /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
79 </when> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
80 </conditional> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
81 |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
82 <param name="extract_method" type="select" label="Method to extract barcodes" > |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
83 <option value="regex">Regular Expressions</option> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
84 <option value="string" selected="true">String</option> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
85 </param> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
86 |
0
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
87 <param name="bc_pattern" argument="--bc-pattern" type="text" label="Barcode pattern for first read" |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
88 help="Use this option to specify the format of the UMI/barcode. Use Ns to |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
89 represent the random positions and Xs to indicate the bc positions. |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
90 Bases with Ns will be extracted and added to the read name. Remaining |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
91 bases, marked with an X will be reattached to the read."> |
5
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
92 <sanitizer invalid_char=""> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
93 <valid initial="string.letters,string.digits"> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
94 <add value="!="/> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
95 <add value="-"/> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
96 <add value="_"/> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
97 <add value="."/> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
98 <add value="?"/> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
99 <add value="<"/><!-- left triangle bracket --> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
100 <add value=">"/><!-- right triangle bracket --> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
101 <add value="["/> <!-- left square bracket --> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
102 <add value="]"/> <!-- right square bracket --> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
103 <add value="^"/> <!-- caret --> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
104 <add value="{"/> <!-- left curly --> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
105 <add value="}"/> <!-- right curly --> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
106 <add value="("/> <!-- left parenthesis --> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
107 <add value=")"/> <!-- right parenthesis --> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
108 </valid> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
109 </sanitizer> |
0
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
110 </param> |
5
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
111 |
0
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
112 <param name="prime3" argument="--3prime" type="boolean" label="Is the barcode at the 5' end?" |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
113 truevalue="1" falsevalue="0" checked="true" |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
114 help="By default the barcode is assumed to be on the 5' end of the read, but |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
115 use this option to sepecify that it is on the 3' end instead." /> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
116 <param name="print_log" argument="-L" type="boolean" label="Output log?" |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
117 truevalue="1" falsevalue="0" checked="true" |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
118 help="Choose if you want to generate a text file containing logging information." /> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
119 <conditional name="quality"> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
120 <param name="quality_selector" type="select" label="Enable quality filter?" > |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
121 <option value="false">No</option> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
122 <option value="true">Yes</option> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
123 </param> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
124 <when value="false"> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
125 </when> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
126 <when value="true"> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
127 <param name="quality_filter_threshold" label="Phred score threshold" |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
128 type="integer" value="20" argument="--quality-filter-threshold" |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
129 help="Remove reads where any UMI base quality score falls below this threshold." /> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
130 <param name="quality_encoding" argument="--quality-encoding" type="select" label="Library type" |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
131 help="Quality score encoding. Choose from phred33 [33-77], phred64 [64-106] or solexa [59-106]."> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
132 <option value="phred33">phred33 [33-77]</option> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
133 <option value="phred64">phred64 [64-106]</option> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
134 <option value="solexa">solexa [59-106]</option> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
135 </param> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
136 </when> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
137 </conditional> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
138 </inputs> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
139 <outputs> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
140 <data name="out" format_source="input_single"> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
141 <filter>input_type['type'] == "single"</filter> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
142 </data> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
143 <data name="out1" format_source="input_read1"> |
4
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
144 <filter>input_type['type'] !== "single"</filter> |
0
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
145 </data> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
146 <data name="out2" format_source="input_read2"> |
4
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
147 <filter>input_type['type'] !== "single"</filter> |
0
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
148 </data> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
149 <data name="out_log" format="txt"> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
150 <filter>print_log == True</filter> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
151 </data> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
152 </outputs> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
153 <tests> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
154 <test> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
155 <param name="type" value="single" /> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
156 <param name="input_single" value="t_R1.fastq" ftype="fastq" /> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
157 <param name="bc_pattern" value="XXXNNN" /> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
158 <param name="prime3" value="0" /> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
159 <param name="quality_selector" value="true" /> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
160 <param name="quality_filter_threshold" value="10" /> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
161 <param name="quality_encoding" value="phred33" /> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
162 <output name="out" file="out_SE.fastq" /> |
1
79436b3019e9
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
0
diff
changeset
|
163 <output name="out_log" file="out_single.log" lines_diff="22"/> |
0
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
164 </test> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
165 <test> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
166 <param name="type" value="paired" /> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
167 <param name="input_read1" value="t_R1.fastq.gz" ftype="fastq.gz" /> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
168 <param name="input_read2" value="t_R2.fastq.gz" ftype="fastq.gz" /> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
169 <param name="bc_pattern" value="NNNXXX" /> |
1
79436b3019e9
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
0
diff
changeset
|
170 <output name="out1" file="out_R1.fastq.gz" decompress="true" lines_diff="2" /> |
79436b3019e9
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
0
diff
changeset
|
171 <output name="out2" file="out_R2.fastq.gz" decompress="true" lines_diff="2" /> |
79436b3019e9
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
0
diff
changeset
|
172 <output name="out_log" file="out_paired.log" lines_diff="16"/> |
0
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
173 </test> |
4
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
174 <test> |
5
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
175 <param name="type" value="paired_collection" /> <!-- same as before, but uncompressed --> |
4
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
176 <param name="input_readpair" > |
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
177 <collection type="paired"> |
5
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
178 <element name="forward" ftype="fastq" value="t_R1.fastq" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
179 <element name="reverse" ftype="fastq" value="t_R2.fastq" /> |
4
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
180 </collection> |
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
181 </param> |
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
182 <param name="bc_pattern" value="NNNXXX" /> |
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
183 <output name="out1" file="out_R1.fastq.gz" decompress="true" lines_diff="2" /> |
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
184 <output name="out2" file="out_R2.fastq.gz" decompress="true" lines_diff="2" /> |
5
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
185 <output name="out_log" file="out_paired.log" lines_diff="25" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
186 </test> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
187 <test> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
188 <param name="type" value="paired" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
189 <param name="input_read1" value="scrb_seq_fastq.1.gz" ftype="fastq.gz" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
190 <param name="input_read2" value="scrb_seq_fastq.2.gz" ftype="fastq.gz" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
191 <param name="extract_method" value="string" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
192 <param name="bc_pattern" value="CCCCCCNNNNNNNNNN" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
193 <param name="use_barcodes" value="yes" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
194 <param name="filter_barcode_file" value="scrb_seq_barcodes" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
195 <output name="out2" file="scrb_extract.fastq.gz" decompress="true" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
196 </test> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
197 <test><!-- same as above but with regex barcode--> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
198 <param name="type" value="paired" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
199 <param name="input_read1" value="scrb_seq_fastq.1.gz" ftype="fastq.gz" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
200 <param name="input_read2" value="scrb_seq_fastq.2.gz" ftype="fastq.gz" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
201 <param name="extract_method" value="regex" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
202 <param name="bc_pattern" value="^(?P<cell_1>.{6})(?P<umi_1>.{10})" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
203 <param name="use_barcodes" value="yes" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
204 <param name="filter_barcode_file" value="scrb_seq_barcodes" /> |
f77bc14eba31
planemo upload commit 57e3e460a740aa7aad217c8365527c49e88c9a30
iuc
parents:
4
diff
changeset
|
205 <output name="out2" file="scrb_extract.fastq.gz" decompress="true" /> |
4
e73a22ff585c
planemo upload commit 76cbd559320d2a639e35ed10cb2d9522a5a77ae0
iuc
parents:
1
diff
changeset
|
206 </test> |
0
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
207 </tests> |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
208 <help><![CDATA[ |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
209 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
210 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
211 UMI-tools extract.py - Extract UMI from fastq |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
212 ============================================= |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
213 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
214 Purpose |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
215 ------- |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
216 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
217 Extract UMI barcode from a read and add it to the read name, leaving |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
218 any sample barcode in place. Can deal with paired end reads and UMIs |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
219 split across the paired ends |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
220 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
221 Options |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
222 ------- |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
223 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
224 --split-barcode |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
225 By default the UMI is assumed to be on the first read. Use this |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
226 option if the UMI is contained on both reads and specify the |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
227 pattern of the barcode/UMI on the second read using the option |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
228 ``--bc-pattern2`` |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
229 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
230 --bc-pattern |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
231 Use this option to specify the format of the UMI/barcode. Use Ns to |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
232 represent the random positions and Xs to indicate the bc positions. |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
233 Bases with Ns will be extracted and added to the read name. Remaining |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
234 bases, marked with an X will be reattached to the read. |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
235 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
236 E.g. If the pattern is NNXXNN, |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
237 Then the read: |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
238 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
239 @HISEQ:87:00000000 read1 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
240 AAGGTTGCTGATTGGATGGGCTAG |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
241 DA1AEBFGGCG01DFH00B1FF0B |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
242 + |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
243 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
244 will become: |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
245 @HISEQ:87:00000000_AATT read1 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
246 GGGCTGATTGGATGGGCTAG |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
247 1AFGGCG01DFH00B1FF0B |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
248 + |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
249 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
250 --bc-pattern2 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
251 Use this option to specify the format of the UMI/barcode for |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
252 the second read pair if required. If --bc-pattern2 is not |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
253 supplied, this defaults to the same pattern as --bc-pattern |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
254 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
255 --3prime |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
256 By default the barcode is assumed to be on the 5' end of the read, but |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
257 use this option to sepecify that it is on the 3' end instead |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
258 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
259 -L |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
260 Specify a log file to retain logging information and final statistics |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
261 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
262 --split-barcode |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
263 barcode is split across read pair |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
264 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
265 --quality-filter-threshold=QUALITY_FILTER_THRESHOLD |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
266 Remove reads where any UMI base quality score falls |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
267 below this threshold |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
268 --quality-encoding=QUALITY_ENCODING |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
269 Quality score encoding. Choose from phred33[33-77] |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
270 phred64 [64-106] or solexa [59-106] |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
271 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
272 Usage: |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
273 ------ |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
274 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
275 For single ended reads: |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
276 umi_tools extract --bc-pattern=[PATTERN] -L extract.log [OPTIONS] |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
277 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
278 reads from stdin and outputs to stdout. |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
279 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
280 For paired end reads: |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
281 umi_tools extract --bc-pattern=[PATTERN] --read2-in=[FASTQIN] --read2-out=[FASTQOUT] -L extract.log [OPTIONS] |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
282 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
283 reads end one from stdin and end two from FASTQIN and outputs end one to stdin |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
284 and end two to FASTQOUT. |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
285 |
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
286 ]]></help> |
1
79436b3019e9
planemo upload commit c8e46ecad0b1473097517e582ed6c43eb0635b36
iuc
parents:
0
diff
changeset
|
287 <expand macro="citations" /> |
0
418b961e0576
planemo upload commit 453bb3b44d9f27908cbe2677378da88b9f77b5cf
iuc
parents:
diff
changeset
|
288 </tool> |