annotate test-data/biosample.source @ 6:696ed5c6d1f0 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4c950508328589b5215b6c96868659a03f9dead8"
author iuc
date Tue, 08 Dec 2020 14:40:37 +0000
parents 7bfd66707e6f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
1 if (package == "soil") {
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
2 out << "#MIMARKS.survey.soil.4.0" << endl;
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
3 if (requiredonly) {
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
4 out << "#{sample name} {description of sample} {sample title} {description of library_construction_protocol} {http://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Undef&id=408169&lvl=3&keep=1&srchmode=1&unlock}" << endl;
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
5 out << "#{text} {text} {text} {text} {controlled vacabulary}" << endl;
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
6 out << "*sample_name *description *sample_title *seq_methods *organism" << endl;
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
7 }else {
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
8 out << "#{sample name} {description of sample} {sample title} {description of library_construction_protocol} {http://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Undef&id=408169&lvl=3&keep=1&srchmode=1&unlock} {soil classification from the FAO World Reference Database for Soil Resources}" << endl;
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
9 out << "#{text} {text} {text} {text} {controlled vacabulary} {{term}}" << endl;
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
10 out << "*sample_name *description *sample_title *seq_methods *organism fao_class" << endl;
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
11 }
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
12 }
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
13
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
14 if ((package == "soil") ) {}
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
15
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
16 vector<string> requiredFieldsForPackage;
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
17 requiredFieldsForPackage.push_back("sample_name");
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
18 requiredFieldsForPackage.push_back("description");
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
19 requiredFieldsForPackage.push_back("sample_title");
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
20 requiredFieldsForPackage.push_back("seq_methods");
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
21 requiredFieldsForPackage.push_back("organism");
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
22
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
23
7bfd66707e6f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff changeset
24 if (packageType == "MIMARKS.survey.soil.4.0") {}