Mercurial > repos > ieguinoa > ena_upload
comparison samples_macros.xml @ 0:5d59238cd3f4 draft
Uploaded
author | ieguinoa |
---|---|
date | Wed, 02 Feb 2022 17:16:15 +0000 |
parents | |
children | 2f7a70c0d3ab |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:5d59238cd3f4 |
---|---|
1 <macros> | |
2 <xml name="checklist_input_macro"> | |
3 <param type="select" name="checklist_id" label="Select the metadata checklist" help="You can find metadata templates for each checklist at: https://github.com/ELIXIR-Belgium/ENA-metadata-templates"> | |
4 <option value="ERC000011">ENA default sample checklist (ERC000011)</option> | |
5 <option value="ERC000012">GSC MIxS air (ERC000012)</option> | |
6 <option value="ERC000013">GSC MIxS host associated (ERC000013)</option> | |
7 <option value="ERC000014">GSC MIxS human associated (ERC000014)</option> | |
8 <option value="ERC000015">GSC MIxS human gut (ERC000015)</option> | |
9 <option value="ERC000016">GSC MIxS human oral (ERC000016)</option> | |
10 <option value="ERC000017">GSC MIxS human skin (ERC000017)</option> | |
11 <option value="ERC000018">GSC MIxS human vaginal (ERC000018)</option> | |
12 <option value="ERC000019">GSC MIxS microbial mat biolfilm (ERC000019)</option> | |
13 <option value="ERC000020">GSC MIxS plant associated (ERC000020)</option> | |
14 <option value="ERC000021">GSC MIxS sediment (ERC000021)</option> | |
15 <option value="ERC000022">GSC MIxS soil (ERC000022)</option> | |
16 <option value="ERC000023">GSC MIxS wastewater sludge (ERC000023)</option> | |
17 <option value="ERC000024">GSC MIxS water (ERC000024)</option> | |
18 <option value="ERC000025">GSC MIxS miscellaneous natural or artificial environment (ERC000025)</option> | |
19 <option value="ERC000027">ENA Micro B3 (ERC000027)</option> | |
20 <option value="ERC000028">ENA prokaryotic pathogen minimal sample checklist (ERC000028)</option> | |
21 <option value="ERC000029">ENA Global Microbial Identifier reporting standard checklist GMI_MDM:1.1 (ERC000029)</option> | |
22 <option value="ERC000030">ENA Tara Oceans (ERC000030)</option> | |
23 <option value="ERC000031">GSC MIxS built environment (ERC000031)</option> | |
24 <option value="ERC000032">ENA Influenza virus reporting standard checklist (ERC000032)</option> | |
25 <option value="ERC000033">ENA virus pathogen reporting standard checklist (ERC000033)</option> | |
26 <option value="ERC000034">ENA mutagenesis by carcinogen treatment checklist (ERC000034)</option> | |
27 <option value="ERC000035">ENA Crop Plant sample enhanced annotation checklist (ERC000035)</option> | |
28 <option value="ERC000036">ENA sewage checklist (ERC000036)</option> | |
29 <option value="ERC000037">ENA Plant Sample Checklist (ERC000037)</option> | |
30 <option value="ERC000038">ENA Shellfish Checklist (ERC000038)</option> | |
31 <option value="ERC000039">ENA parasite sample checklist (ERC000039)</option> | |
32 <option value="ERC000040">ENA UniEuk_EukBank Checklist (ERC000040)</option> | |
33 <option value="ERC000041">ENA Global Microbial Identifier Proficiency Test (GMI PT) checklist (ERC000041)</option> | |
34 <option value="ERC000043">ENA Marine Microalgae Checklist (ERC000043)</option> | |
35 <option value="ERC000044">COMPARE-ECDC-EFSA pilot human-associated reporting standard (ERC000044)</option> | |
36 <option value="ERC000045">COMPARE-ECDC-EFSA pilot food-associated reporting standard (ERC000045)</option> | |
37 <option value="ERC000047">GSC MIMAGS (ERC000047)</option> | |
38 <option value="ERC000048">GSC MISAGS (ERC000048)</option> | |
39 <option value="ERC000049">GSC MIUVIGS (ERC000049)</option> | |
40 <option value="ERC000050">ENA binned metagenome (ERC000050)</option> | |
41 <option value="ERC000051">PDX Checklist (ERC000051)</option> | |
42 <option value="ERC000052">HoloFood Checklist (ERC000052)</option> | |
43 <option value="ERC000053">Tree of Life Checklist (ERC000053)</option> | |
44 </param> | |
45 </xml> | |
46 <xml name="test_submit_section"> | |
47 <section name="test_submit_parameters" expanded="true" title="Testing options"> | |
48 <param name="submit_dev" type="boolean" truevalue="true" falsevalue="false" label="Submit to test ENA server?" help="By selecting yes the reads will be submitted to the ENA test server. Uploads to test platform will not be public and will be removed in 24hrs. Performing a preliminary test upload is advised to check for errors with metadata structure. You can find the uploads to the test platform at https://wwwdev.ebi.ac.uk/ena/" /> | |
49 <param name="dry_run" type="boolean" truevalue="true" falsevalue="false" label="Print the tables but do not submit the datasets" help="If yes is selected then NO submission will be performed."/> | |
50 </section> | |
51 </xml> | |
52 <xml name="run_inputs_macro"> | |
53 <conditional name="run_input_format_conditional"> | |
54 <param name="run_input_format" type="select" label="Select runs input format"> | |
55 <option value="multiple_selection_list" selected="True">Select individual datasets or datasets collection</option> | |
56 <option value="paired_list" selected="False">Input from a paired collection</option> | |
57 </param> | |
58 <when value="multiple_selection_list"> | |
59 <param name="add_extension" type="boolean" checked="False" label="Add .fastq.(gz,.bz2) extension to the Galaxy dataset names to match the ones described in the input tables?"/> | |
60 <param name="data" type="data" format="fastq,fastqsanger,fastqsanger.gz,fastqsanger.bz2,fastq.gz,fastq.bz2" multiple="true" label="Select individual datasets or a dataset collection" help="Names should match the compressed run's files names defined in the metadata"/> | |
61 </when> | |
62 <when value="paired_list"> | |
63 <param name="paired_end_collection" collection_type="list:paired" type="data_collection" format="fastq,fastqsanger,fastqsanger.gz,fastqsanger.bz2,fastq.gz,fastq.bz2" label="List of paired-end runs files" help="Names should match the compressed run's files names defined in the metadata" /> | |
64 </when> | |
65 </conditional> | |
66 </xml> | |
67 <xml name="table_inputs_macro"> | |
68 <conditional name="input_format_conditional"> | |
69 <param name="input_format" type="select" label="Would you like to submit pregenerated table files or interactively define the input structures?"> | |
70 <option value="excel_tables" selected="True">User generated metadata tables based on Excel templates</option> | |
71 <option value="build_tables" selected="False">Interactive generation of the study structure (recommended for small studies)</option> | |
72 <option value="user_generated_tables" selected="False">User generated tabular files (studies - samples - experiments - runs) </option> | |
73 </param> | |
74 <when value="excel_tables"> | |
75 <!--<param name="viral_submission" type="boolean" label="Does your submission data belong to a viral sample?" help="If you select yes then your data will be submitted using the ENA virus pathogen reporting standard checklist (see: https://ena-browser-docs.readthedocs.io/en/latest/help_and_guides/sars-cov-2-submissions.html)" />--> | |
76 <expand macro="checklist_input_macro"/> | |
77 <param name="xlsx_file" type="data" format="xlsx" label="Select Excel (xlsx) file based on templates" /> | |
78 <expand macro="run_inputs_macro" /> | |
79 </when> | |
80 <when value="user_generated_tables"> | |
81 <!--<param name="viral_submission" type="boolean" label="Does your submission data belong to a viral sample?" help="If you select yes then your data will be submitted using the ENA virus pathogen reporting standard checklist (see: https://ena-browser-docs.readthedocs.io/en/latest/help_and_guides/sars-cov-2-submissions.html)" />--> | |
82 <expand macro="checklist_input_macro"/> | |
83 <expand macro="run_inputs_macro" /> | |
84 <param name="studies_users_table" type="data" format="tabular" multiple="false" label="Studies table" help="Studies metadata file"/> | |
85 <param name="samples_users_table" type="data" format="tabular" multiple="false" label="Samples table" help="Samples metadata file"/> | |
86 <param name="experiments_users_table" type="data" format="tabular" multiple="false" label="Experiments table" help="Experiments metadata file"/> | |
87 <param name="runs_users_table" type="data" format="tabular" multiple="false" label="Runs table" help="Runs metadata file"/> | |
88 </when> | |
89 <when value="build_tables"> | |
90 <param name="add_extension" type="boolean" checked="false" label="Add .fastq.(gz.bz2) extension to the Galaxy dataset names to match the ones described in the input tables?"/> | |
91 <conditional name="conditional_viral_metadata"> | |
92 <param name="viral_sample" type="boolean" truevalue="true" falsevalue="false" label="Does your submission contains viral samples?" /> | |
93 <when value="true"> | |
94 <expand macro="viral_samples" /> | |
95 </when> | |
96 <when value="false"> | |
97 <expand macro="nonviral_samples" /> | |
98 </when> | |
99 </conditional> | |
100 </when> | |
101 </conditional> | |
102 <param name="center" type="text" optional="False" label="Affiliation center"/> | |
103 </xml> | |
104 <xml name="viral_samples"> | |
105 <repeat name="rep_study" title="Study" min="1"> | |
106 <param name="study_title" type="text" optional="False" label="Please provide a short descriptive title for the study"/> | |
107 <param name="study_abstract" type="text" optional="True" label="Please provide an abstract to describe the study in detail"/> | |
108 <param name="study_type" type="select" label="Please select the type of study"> | |
109 <options from_data_table="study_type"> | |
110 <column name="value" index="0"/> | |
111 </options> | |
112 </param> | |
113 <param name="study_pubmed_id" type="text" optional="True" value="" label="Please provide the PubMed id if exists (or leave it blank)"/> | |
114 <repeat name="rep_sample" title="Samples associated with this study" min="1" > | |
115 <param name="sample_title" type="text" label="Sample title"/> | |
116 <param name="sample_description" type="text" help="e.g: liver cells" label="Describe the type of sample"/> | |
117 <param name="scientific_name" type="text" label="Enter the species of the sample" help="e.g Severe acute respiratory syndrome coronavirus 2"/> | |
118 <param name="tax_id" type="text" label="Enter the taxonomic ID corresponding to the sample species" /> | |
119 <param name="collection_date" type="text" label="Collection date" optional="True" help="options are: YYYY, YYYY-MM, YYYY-MM-DD, not collected, restricted access or not provided"> | |
120 <option value="not collected">not collected</option> | |
121 <option value="restricted access">restricted access</option> | |
122 <option value="not provided">not provided</option> | |
123 <validator type="regex" message="Data format is not valid">(^[0-9]{4}(-[0-9]{2}(-[0-9]{2}(T[0-9]{2}:[0-9]{2}(:[0-9]{2})?Z?([+-][0-9]{1,2})?)?)?)?(/[0-9]{4}(-[0-9]{2}(-[0-9]{2}(T[0-9]{2}:[0-9]{2}(:[0-9]{2})?Z?([+-][0-9]{1,2})?)?)?)?)?$)|(^not collected$)|(^not provided$)|(^restricted access$)</validator> | |
124 </param> | |
125 <param name="geo_location_country" type="select" label="Select the country where the sample was obtained"> | |
126 <options from_data_table="geographic_location_1"> | |
127 <column name="value" index="0"/> | |
128 </options> | |
129 </param> | |
130 <param name="host_common_name" type="text" label="Host common name" help="e.g human"/> | |
131 <param name="host_subject_id" type="text" label="Host subject id"/> | |
132 <param name="host_health_state" type="select" label="Host health state"> | |
133 <options from_data_table="host_health_state_1"> | |
134 <column name="value" index="0"/> | |
135 </options> | |
136 </param> | |
137 <param name="host_sex" type="select" label="Host sex"> | |
138 <options from_data_table="host_sex_1"> | |
139 <column name="value" index="0"/> | |
140 </options> | |
141 </param> | |
142 <param name="host_scientific_name" type="text" label="Host scientific name" help="e.g Homo sapiens"/> | |
143 <param name="collector_name" type="text" label="Collector name" help="Leave blank if unknown"/> | |
144 <param name="collecting_institution" type="text" label="Collecting institution"/> | |
145 <param name="isolate" type="text" label="Isolate"/> | |
146 <repeat name="rep_experiment" title="Sequencing experiments performed with this sample" min="1" > | |
147 <param name="experiment_title" type="text" label="Specify an experiment title" /> | |
148 <param name="experiment_design" type="text" label="Describe the experiment design" /> | |
149 <param name="library_strategy" type="select" label="Library strategy" help="The library strategy specifies the sequencing technique intended for this library"> | |
150 <options from_data_table="library_strategy"> | |
151 <column name="value" index="0"/> | |
152 </options> | |
153 </param> | |
154 <param name="library_source" type="select" label="Select library source" help="The library source specifies the type of source material that is being sequenced"> | |
155 <options from_data_table="library_source"> | |
156 <column name="value" index="0"/> | |
157 </options> | |
158 </param> | |
159 <param name="library_selection" type="select" label="Library selection" help="The library selection specifies whether any method was used to select for or against, enrich, or screen the material being sequenced"> | |
160 <options from_data_table="library_selection"> | |
161 <column name="value" index="0"/> | |
162 </options> | |
163 </param> | |
164 <param name="library_layout" type="select" label="Library layout"> | |
165 <options from_data_table="library_layout"> | |
166 <column name="value" index="0"/> | |
167 </options> | |
168 </param> | |
169 <param name="insert_size" type="integer" value="0" label="Specify the insert size"/> | |
170 <param name="library_construction_protocol" type="text" label="Please describe the library construction protocol"/> | |
171 <param name="platform" type="select" label="Select the sequencing platform used"> | |
172 <option value="LS454">LS454</option> | |
173 <option value="ILLUMINA">Illumina</option> | |
174 <option value="HELICOS">Helicos</option> | |
175 <option value="ABI_SOLID">ABI Solid</option> | |
176 <option value="COMPLETE_GENOMICS">Complete Genomics</option> | |
177 <option value="BGISEQ">BGI Seq</option> | |
178 <option value="OXFORD_NANOPORE">Oxford Nanopore</option> | |
179 <option value="PACBIO_SMRT">PacBio</option> | |
180 <option value="ION_TORRENT">Ion Torrent</option> | |
181 <option value="CAPILLARY">Capillary sequencing</option> | |
182 </param> | |
183 <param name="instrument_model" type="select" label="Instrument model"> | |
184 <options from_data_table="instrument_model"> | |
185 <column name="value" index="0"/> | |
186 </options> | |
187 </param> | |
188 <repeat name="rep_runs" title="Runs executed within this experiment" min="1" > | |
189 <param name="run_base_name" type="text" optional="False" value="" label="Run alias" help="If an alias is not provided it will be generated combining the sample and experiment indexes"/> | |
190 <param name="upload_files" type="data" format="fastq,fastqsanger,fastqsanger.gz,fastqsanger.bz2,fastq.gz,fastq.bz2" multiple="true" label="File(s) associated with this run"/> | |
191 </repeat> | |
192 </repeat> | |
193 </repeat> | |
194 </repeat> | |
195 </xml> | |
196 <xml name="nonviral_samples"> | |
197 <repeat name="rep_study" title="Study" min="1"> | |
198 <param name="study_title" type="text" optional="False" label="Please provide a short descriptive title for the study"/> | |
199 <param name="study_abstract" type="text" optional="True" label="Please provide an abstract to describe the study in detail"/> | |
200 <param name="study_type" type="select" label="Please select the type of study"> | |
201 <options from_data_table="study_type"> | |
202 <column name="value" index="0"/> | |
203 </options> | |
204 </param> | |
205 <param name="study_pubmed_id" type="text" optional="True" value="" label="Please provide the PubMed id if exists (or leave it blank)"/> | |
206 <repeat name="rep_sample" title="Samples associated with this study" min="1" > | |
207 <param name="sample_title" type="text" label="Sample title"/> | |
208 <param name="sample_description" type="text" help="e.g: liver cells" label="Describe the type of sample"/> | |
209 <param name="scientific_name" type="text" label="Enter the species of the sample" help="e.g Severe acute respiratory syndrome coronavirus 2"/> | |
210 <param name="tax_id" type="text" label="Enter the taxonomic ID corresponding to the sample species" /> | |
211 <repeat name="rep_experiment" title="Sequencing experiments performed with this sample" min="1" > | |
212 <param name="experiment_title" type="text" label="Specify an experiment title" /> | |
213 <param name="experiment_design" type="text" label="Describe the experiment design" /> | |
214 <param name="library_strategy" type="select" label="Library strategy" help="The library strategy specifies the sequencing technique intended for this library"> | |
215 <options from_data_table="library_strategy"> | |
216 <column name="value" index="0"/> | |
217 </options> | |
218 </param> | |
219 <param name="library_source" type="select" label="Select library source" help="The library source specifies the type of source material that is being sequenced"> | |
220 <options from_data_table="library_source"> | |
221 <column name="value" index="0"/> | |
222 </options> | |
223 </param> | |
224 <param name="library_selection" type="select" label="Library selection" help="The library selection specifies whether any method was used to select for or against, enrich, or screen the material being sequenced"> | |
225 <options from_data_table="library_selection"> | |
226 <column name="value" index="0"/> | |
227 </options> | |
228 </param> | |
229 <param name="library_layout" type="select" label="Library layout"> | |
230 <options from_data_table="library_layout"> | |
231 <column name="value" index="0"/> | |
232 </options> | |
233 </param> | |
234 <param name="insert_size" type="integer" value="0" label="Specify the insert size"/> | |
235 <param name="library_construction_protocol" type="text" label="Please describe the library construction protocol"/> | |
236 <param name="platform" type="select" label="Select the sequencing platform used"> | |
237 <option value="LS454">LS454</option> | |
238 <option value="ILLUMINA" selected="True">Illumina</option> | |
239 <option value="HELICOS">Helicos</option> | |
240 <option value="ABI_SOLID">ABI Solid</option> | |
241 <option value="COMPLETE_GENOMICS">Complete Genomics</option> | |
242 <option value="BGISEQ">BGI Seq</option> | |
243 <option value="OXFORD_NANOPORE">Oxford Nanopore</option> | |
244 <option value="PACBIO_SMRT">PacBio</option> | |
245 <option value="ION_TORRENT">Ion Torrent</option> | |
246 <option value="CAPILLARY">Capillary sequencing</option> | |
247 </param> | |
248 <param name="instrument_model" type="select" label="Instrument model"> | |
249 <options from_data_table="instrument_model"> | |
250 <column name="value" index="0"/> | |
251 </options> | |
252 </param> | |
253 <repeat name="rep_runs" title="Runs executed within this experiment" min="1" > | |
254 <param name="run_base_name" type="text" optional="False" value="" label="Run alias" help="If an alias is not provided it will be generated combining the sample and experiment indexes"/> | |
255 <param name="upload_files" type="data" format="fastq,fastqsanger,fastqsanger.gz,fastqsanger.bz2,fastq.gz,fastq.bz2" multiple="true" label="File(s) associated with this run"/> | |
256 </repeat> | |
257 </repeat> | |
258 </repeat> | |
259 </repeat> | |
260 </xml> | |
261 </macros> |