annotate velvet_macro.xml @ 4:34ea8f113018 draft default tip

Uploaded
author stheil
date Thu, 24 Sep 2015 10:53:51 -0400
parents 1bb80c25b379
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
1 <macros>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
2
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
3 <xml name="paired_library_options">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
4 <param name="ins_length" type="integer" optional="true" label="Expected distance between two paired end reads"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
5 <param name="ins_length_sd" type="integer" optional="true" label="Standard deviation for paired end reads length (default: 10% of corresponding length)"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
6 <repeat min="1" name="files" title="Input files">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
7 <conditional name="fileFormat">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
8 <param name="format" type="select" label="File format">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
9 <option value="-fasta">fasta</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
10 <option value="-fastq">fastq</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
11 <option value="-fasta_gz">fasta.gz</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
12 <option value="-fastq_gz">fastq.gz</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
13 </param>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
14 <when value="-fasta">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
15 <conditional name="fileLayout">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
16 <param name="layout" type="select" label="File layout">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
17 <option value="-interleaved">interleaved</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
18 <option value="-separate">separate</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
19 </param>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
20 <when value="-interleaved">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
21 <param name="sequence" type="data" format="fasta" label="Interleaved sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
22 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
23 <when value="-separate">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
24 <param name="sequence" type="data" format="fasta" label="Forward sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
25 <param name="sequencePair" type="data" format="fasta" optional="true" label="Reverse sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
26 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
27 </conditional>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
28 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
29 <when value="-fasta_gz">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
30 <conditional name="fileLayout">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
31 <param name="layout" type="select" label="File layout">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
32 <option value="-interleaved">interleaved</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
33 <option value="-separate">separate</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
34 </param>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
35 <when value="-interleaved">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
36 <param name="sequence" type="data" format="fasta.gz" label="Interleaved sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
37 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
38 <when value="-separate">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
39 <param name="sequence" type="data" format="fasta.gz" label="Forward sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
40 <param name="sequencePair" type="data" format="fasta.gz" optional="true" label="Reverse sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
41 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
42 </conditional>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
43 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
44 <when value="-fastq">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
45 <conditional name="fileLayout">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
46 <param name="layout" type="select" label="File layout">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
47 <option value="-interleaved">interleaved</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
48 <option value="-separate">separate</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
49 </param>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
50 <when value="-interleaved">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
51 <param name="sequence" type="data" format="fastq" label="Interleaved sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
52 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
53 <when value="-separate">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
54 <param name="sequence" type="data" format="fastq" label="Forward sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
55 <param name="sequencePair" type="data" format="fastq" optional="true" label="Reverse sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
56 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
57 </conditional>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
58 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
59 <when value="-fastq_gz">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
60 <conditional name="fileLayout">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
61 <param name="layout" type="select" label="File layout">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
62 <option value="-interleaved">interleaved</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
63 <option value="-separate">separate</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
64 </param>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
65 <when value="-interleaved">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
66 <param name="sequence" type="data" format="fastq.gz" label="Interleaved sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
67 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
68 <when value="-separate">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
69 <param name="sequence" type="data" format="fastq.gz" label="Forward sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
70 <param name="sequencePair" type="data" format="fastq.gz" optional="true" label="Reverse sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
71 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
72 </conditional>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
73 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
74 </conditional>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
75 </repeat>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
76 </xml>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
77
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
78 <token name="@PAIRED_FILES_OPTIONS@">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
79
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
80 #for $j, $file in enumerate( $library.files )
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
81
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
82 $file.fileFormat.format
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
83
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
84 #if $file.fileFormat.fileLayout.layout == "-separate"
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
85 -separate $file.fileFormat.fileLayout.sequence $file.fileFormat.fileLayout.sequencePair
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
86 #else
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
87 -interleaved $file.fileFormat.fileLayout.sequence
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
88 #end if
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
89
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
90 #end for
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
91
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
92 </token>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
93
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
94 <xml name="unpaired_library_options">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
95 <repeat min="1" name="files" title="Input files">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
96 <conditional name="fileFormat">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
97 <param name="format" type="select" label="File format">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
98 <option value="-fasta">fasta</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
99 <option value="-fastq">fastq</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
100 <option value="-raw">raw</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
101 <option value="-fasta_gz">fasta.gz</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
102 <option value="-fastq_gz">fastq.gz</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
103 <option value="-raw_gz">raw.gz</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
104 <option value="-sam">sam</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
105 <option value="-bam">bam</option>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
106 </param>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
107 <when value="-fasta">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
108 <param name="sequence" type="data" format="fasta" label="Sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
109 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
110 <when value="-fasta_gz">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
111 <param name="sequence" type="data" format="fasta.gz" label="Sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
112 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
113 <when value="-fastq">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
114 <param name="sequence" type="data" format="fastq" label="Sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
115 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
116 <when value="-fastq_gz">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
117 <param name="sequence" type="data" format="fastq.gz" label="Sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
118 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
119 <when value="-raw">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
120 <param name="sequence" type="data" format="txt" label="Sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
121 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
122 <when value="-raw_gz">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
123 <param name="sequence" type="data" format="txt" label="Sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
124 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
125 <when value="-sam">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
126 <param name="sequence" type="data" format="sam" label="Sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
127 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
128 <when value="-bam">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
129 <param name="sequence" type="data" format="bam" label="Sequence file"/>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
130 </when>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
131 </conditional>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
132 </repeat>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
133 </xml>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
134
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
135 <token name="@UNPAIRED_FILES_OPTIONS@">
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
136
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
137 #for $j, $file in enumerate( $library.files )
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
138
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
139 $file.fileFormat.format
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
140
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
141 $file.fileFormat.sequence
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
142
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
143 #end for
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
144
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
145 </token>
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
146
1bb80c25b379 Uploaded
stheil
parents:
diff changeset
147 </macros>