Mercurial > repos > jjohnson > fgbio_group_reads_by_umi
annotate macros.xml @ 2:9efbd847e5d1 draft default tip
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
author | jjohnson |
---|---|
date | Thu, 19 Aug 2021 15:11:30 +0000 |
parents | 568816308859 |
children |
rev | line source |
---|---|
0
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
1 <macros> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
2 <token name="@TOOL_VERSION@">1.3.0</token> |
2
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
3 <token name="@VERSION_SUFFIX@">1</token> |
0
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
4 <xml name="requirements"> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
5 <requirements> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
6 <requirement type="package" version="@TOOL_VERSION@">fgbio</requirement> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
7 <yield/> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
8 </requirements> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
9 </xml> |
2
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
10 <xml name="citations"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
11 <citations> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
12 <citation type="bibtex">@online{fgbio, |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
13 author = {Tim Fennell, Nils Homer}, |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
14 title = {fgbio}, |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
15 year = 2015, |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
16 url = {https://github.com/fulcrumgenomics/fgbio}, |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
17 urldate = {2021-03-01} |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
18 }</citation> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
19 </citations> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
20 </xml> |
0
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
21 <token name="@READ_STRUCTURE_PATTERN@">(([1-9][0-9]*[TBMS])*([+]|[1-9][0-9]*)[TBMS])</token> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
22 <token name="@READ_STRUCTURES_PATTERN@">@READ_STRUCTURE_PATTERN@(\s@READ_STRUCTURE_PATTERN@)*</token> |
2
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
23 <xml name="read_structures_validator" token_pattern="@READ_STRUCTURES_PATTERN@"> |
0
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
24 <validator type="regex" message="">^@READ_STRUCTURES_PATTERN@$</validator> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
25 </xml> |
2
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
26 <xml name="read_structures" token_pattern="@READ_STRUCTURES_PATTERN@"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
27 <param argument="--read-structures" type="text" value="" optional="true" label="Read structures, one for each of the FASTQ"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
28 <expand macro="read_structures_validator" pattern="@READ_STRUCTURE_PATTERN@" /> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
29 </param> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
30 </xml> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
31 |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
32 <xml name="fastq_input" token_fastqtype="reads" token_defaultpaired="True" token_defaultnone="False"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
33 <conditional name="@FASTQTYPE@"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
34 <param name="type" type="select" label="Library type of FASTQ @FASTQTYPE@"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
35 <option value="none" selected="@DEFAULTNONE@">NO fastq @FASTQTYPE@</option> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
36 <option value="single">Single-end</option> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
37 <option value="paired" selected="@DEFAULTPAIRED@">Paired-end</option> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
38 <option value="paired_collection">Paired-end Dataset Collection</option> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
39 </param> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
40 <when value="none"/> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
41 <when value="single"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
42 <param name="input_single" type="data" format="fastq,fastq.gz" label="Reads in FASTQ format" /> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
43 <expand macro="read_structures" pattern="@READ_STRUCTURE_PATTERN@" /> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
44 </when> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
45 <when value="paired"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
46 <param name="input_read1" type="data" format="fastq,fastq.gz" label="Reads #1 in FASTQ format" /> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
47 <param name="input_read2" type="data" format="fastq,fastq.gz" label="Reads #2 in FASTQ format" /> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
48 <expand macro="read_structures" pattern="@READ_STRUCTURES_PATTERN@" /> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
49 </when> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
50 <when value="paired_collection"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
51 <param name="input_readpair" type="data_collection" collection_type="paired" format="fastq,fastq.gz" label="Paired Reads in FASTQ format" /> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
52 <expand macro="read_structures" pattern="@READ_STRUCTURES_PATTERN@" /> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
53 </when> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
54 </conditional> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
55 </xml> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
56 <xml name="fastq_reads"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
57 <expand macro="fastq_input" fastqtype="reads" defaultpaired="True" defaultnone="False"/> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
58 </xml> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
59 <xml name="fastq_inputs"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
60 <expand macro="fastq_input" fastqtype="reads" defaultpaired="True" defaultnone="False"/> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
61 <expand macro="fastq_input" fastqtype="indices" defaultpaired="False" defaultnone="True"/> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
62 </xml> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
63 <token name="@FASTQ_READS@"><![CDATA[ |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
64 #set $fastqs = [] |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
65 #set $read_structs = [] |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
66 #if $reads.type == 'single': |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
67 $fastqs.append($reads.input_single) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
68 #elif $reads.type == 'paired': |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
69 $fastqs.append($reads.input_read1) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
70 $fastqs.append($reads.input_read2) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
71 #elif $reads.type == 'paired_collection': |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
72 $fastqs.append($reads.input_readpair.forward) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
73 $fastqs.append($reads.input_readpair.reverse) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
74 #end if |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
75 #if $reads.type !='none' and $reads.read_structures: |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
76 $read_structs.append(str($reads.read_structures)) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
77 #end if |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
78 #set $read_structures = "%s" % (' '.join($read_structs)) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
79 #if $read_structs: |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
80 --read-structures $read_structures |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
81 #end if |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
82 ]]></token> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
83 <token name="@LINK_FASTQ_INPUTS@"><![CDATA[ |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
84 #import re |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
85 #def identifier_or_name($input1) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
86 #if hasattr($input1, 'element_identifier') |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
87 #return $input1.element_identifier |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
88 #else |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
89 #return $input1.name |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
90 #end if |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
91 #end def |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
92 #def clean($name1) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
93 #set $name_clean = $re.sub('[^\w\-_]', '_', $re.sub('(?i)[.](fq|fastq)$','', $re.sub('.*/','', $name1.rstrip('.gz')))) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
94 #return $name_clean |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
95 #end def |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
96 #def ln_name($ds) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
97 #set $ext = '' |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
98 #if $ds.is_of_type('mzml') or $ds.is_of_type('fastq.gz') |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
99 #set $ext = ".fastq.gz" |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
100 #else if $ds.is_of_type('fastq') |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
101 #set $ext = ".fastq" |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
102 #end if |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
103 #set $name = "%s%s" % ($clean($identifier_or_name($ds)),$ext) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
104 #return $name |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
105 #end def |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
106 #set $fastqs = [] |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
107 #set $read_structs = [] |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
108 #if $reads.type == 'single': |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
109 #set $i_name = $ln_name($reads.input_single) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
110 #silent $fastqs.append($i_name) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
111 ln -s '$reads.input_single' '$i_name' && |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
112 #elif $reads.type == 'paired': |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
113 #set $f_name = $ln_name($reads.input_read1) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
114 #silent $fastqs.append($f_name) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
115 ln -s '$reads.input_read1' '$f_name' && |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
116 #set $r_name = $ln_name($reads.input_read2) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
117 #silent $fastqs.append($r_name) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
118 ln -s '$reads.input_read2' '$r_name' && |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
119 #elif $reads.type == 'paired_collection': |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
120 #set $f_name = $ln_name($reads.input_readpair.forward) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
121 #silent $fastqs.append($f_name) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
122 ln -s '$reads.input_readpair.forward' '$f_name' && |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
123 #set $r_name = $ln_name($reads.input_readpair.reverse) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
124 #silent $fastqs.append($r_name) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
125 ln -s '$reads.input_readpair.reverse' '$r_name' && |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
126 #end if |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
127 #if $reads.type !='none' and $reads.read_structures: |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
128 $read_structs.append(str($reads.read_structures)) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
129 #end if |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
130 #if $indices.type == 'single': |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
131 #set $i_name = $ln_name($indices.input_single) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
132 #silent $fastqs.append($i_name) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
133 ln -s '$indices.input_single' '$i_name' && |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
134 #elif $indices.type == 'paired': |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
135 #set $f_name = $ln_name($indices.input_read1) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
136 #silent $fastqs.append($f_name) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
137 ln -s '$indices.input_read1' '$f_name' && |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
138 #set $r_name = $ln_name($indices.input_read2) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
139 #silent $fastqs.append($r_name) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
140 ln -s '$indices.input_read2' '$r_name' && |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
141 #elif $indices.type == 'paired_collection': |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
142 #set $f_name = $ln_name($indices.input_readpair.forward) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
143 #silent $fastqs.append($f_name) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
144 ln -s '$indices.input_readpair.forward' '$f_name' && |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
145 #set $r_name = $ln_name($indices.input_readpair.reverse) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
146 #silent $fastqs.append($r_name) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
147 ln -s '$indices.input_readpair.reverse' '$r_name' && |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
148 #end if |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
149 #if $indices.type != 'none' and $indices.read_structures: |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
150 $read_structs.append(str($indices.read_structures)) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
151 #end if |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
152 ]]></token> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
153 <token name="@FASTQ_INPUTS@"><![CDATA[ |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
154 --input |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
155 #for $input in $fastqs |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
156 '$input' |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
157 #end for |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
158 #set $read_structures = "%s" % (' '.join($read_structs)) |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
159 #if $read_structs: |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
160 --read-structures $read_structures |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
161 #end if |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
162 ]]></token> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
163 <xml name="inherit_format_1"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
164 <actions> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
165 <conditional name="library.type"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
166 <when value="single"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
167 <action type="format"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
168 <option type="from_param" name="library.input_1" param_attribute="ext" /> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
169 </action> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
170 </when> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
171 <when value="paired"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
172 <action type="format"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
173 <option type="from_param" name="library.input_1" param_attribute="ext" /> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
174 </action> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
175 </when> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
176 <when value="paired_collection"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
177 <action type="format"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
178 <option type="from_param" name="library.input_1" param_attribute="forward.ext" /> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
179 </action> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
180 </when> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
181 </conditional> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
182 </actions> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
183 </xml> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
184 |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
185 <xml name="inherit_format_2"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
186 <actions> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
187 <conditional name="library.type"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
188 <when value="paired"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
189 <action type="format"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
190 <option type="from_param" name="library.input_2" param_attribute="ext" /> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
191 </action> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
192 </when> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
193 <when value="paired_collection"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
194 <action type="format"> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
195 <option type="from_param" name="library.input_1" param_attribute="reverse.ext" /> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
196 </action> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
197 </when> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
198 </conditional> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
199 </actions> |
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
200 </xml> |
0
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
201 <xml name="sam_tag_validator"> |
2
9efbd847e5d1
"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents:
1
diff
changeset
|
202 |
0
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
203 <validator type="regex" message="">^[A-Za-z][A-Za-z]$</validator> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
204 </xml> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
205 <xml name="sam_sort_order"> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
206 <param argument="--sort-order" type="select" optional="true" label="Sort BAM by"> |
1
568816308859
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
207 <option value="TemplateCoordinate">TemplateCoordinate</option> |
0
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
208 <option value="Coordinate">Coordinate</option> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
209 <option value="Queryname">Queryname</option> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
210 <option value="Random">Random</option> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
211 <option value="RandomQuery">RandomQuery</option> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
212 </param> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
213 </xml> |
1
568816308859
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
214 |
568816308859
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
215 <xml name="sort_order_change_format"> |
568816308859
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
216 <change_format> |
568816308859
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
217 <when input="sort_order" value="Coordinate" format="bam" /> |
568816308859
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
218 <when input="sort_order" value="TemplateCoordinate" format="bam" /> |
568816308859
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
219 <when input="sort_order" value="QueryName" format="unsorted.bam" /> |
568816308859
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
220 <when input="sort_order" value="Random" format="unsorted.bam" /> |
568816308859
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
221 <when input="sort_order" value="RandomQuery" format="unsorted.bam" /> |
568816308859
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
222 </change_format> |
568816308859
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
223 </xml> |
0
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
224 |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
225 <token name="@READ_STRUCTURES_HELP@"><![CDATA[ |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
226 **Read Structures** |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
227 |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
228 Read structures are made up of <number><operator> pairs much like the CIGAR string in BAM files. Four kinds of operators are recognized: |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
229 |
1
568816308859
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
230 - T identifies a template read |
568816308859
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
231 - B identifies a sample barcode read |
568816308859
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
232 - M identifies a unique molecular index read |
568816308859
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
233 - S identifies a set of bases that should be skipped or ignored |
0
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
234 |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
235 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: |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
236 |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
237 :: |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
238 |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
239 --input r1.fq r2.fq i1.fq --read-structures 5M5S+T +T +B |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
240 |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
241 Alternative if you know your reads are of fixed length you could specify: |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
242 |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
243 :: |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
244 |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
245 --input r1.fq r2.fq i1.fq --read-structures 5M5S65T 75T 8B |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
246 |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
247 |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
248 ]]></token> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
249 <xml name="citations"> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
250 <citations> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
251 <yield /> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
252 </citations> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
253 </xml> |
900cd2865768
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
254 </macros> |