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