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