annotate macros.xml.bak @ 1:cb58d1961fd3 draft

"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
author jjohnson
date Wed, 24 Feb 2021 13:02:43 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
1 <macros>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
2 <token name="@TOOL_VERSION@">1.3.0</token>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
3 <token name="@VERSION_SUFFIX@">0</token>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
4 <xml name="requirements">
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
5 <requirements>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
6 <requirement type="package" version="@TOOL_VERSION@">fgbio</requirement>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
7 <yield/>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
8 </requirements>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
9 </xml>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
10 <token name="@READ_STRUCTURE_PATTERN@">(([1-9][0-9]*[TBMS])*([+]|[1-9][0-9]*)[TBMS])</token>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
11 <token name="@READ_STRUCTURES_PATTERN@">@READ_STRUCTURE_PATTERN@(\s@READ_STRUCTURE_PATTERN@)*</token>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
12 <xml name="read_structures_validator">
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
13 <validator type="regex" message="">^@READ_STRUCTURES_PATTERN@$</validator>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
14 </xml>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
15 <xml name="sam_tag_validator">
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
16 <validator type="regex" message="">^[A-Za-z][A-Za-z]$</validator>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
17 </xml>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
18 <xml name="sam_sort_order">
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
19 <param argument="--sort-order" type="select" optional="true" label="Sort BAM by">
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
20 <option value="Coordinate">Coordinate</option>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
21 <option value="Queryname">Queryname</option>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
22 <option value="Random">Random</option>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
23 <option value="RandomQuery">RandomQuery</option>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
24 </param>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
25 </xml>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
26
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
27 <token name="@READ_STRUCTURES_HELP@"><![CDATA[
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
28 **Read Structures**
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
29
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
30 Read structures are made up of <number><operator> pairs much like the CIGAR string in BAM files. Four kinds of operators are recognized:
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
31
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
32 - T identifies a template read
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
33 - B identifies a sample barcode read
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
34 - M identifies a unique molecular index read
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
35 - S identifies a set of bases that should be skipped or ignored
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
36
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
37 The last <number><operator> pair may be specified using a + sign instead of number to denote “all remaining bases”. This is useful if, e.g., fastqs have been trimmed and contain reads of varying length. For example to convert a paired-end run with an index read and where the first 5 bases of R1 are a UMI and the second five bases are monotemplate you might specify:
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
38
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
39 ::
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
40
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
41 --input r1.fq r2.fq i1.fq --read-structures 5M5S+T +T +B
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
42
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
43 Alternative if you know your reads are of fixed length you could specify:
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
44
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
45 ::
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
46
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
47 --input r1.fq r2.fq i1.fq --read-structures 5M5S65T 75T 8B
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
48
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
49
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
50 ]]></token>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
51 <xml name="citations">
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
52 <citations>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
53 <yield />
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
54 </citations>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
55 </xml>
cb58d1961fd3 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
diff changeset
56 </macros>