Mercurial > repos > iuc > mothur_rename_seqs
annotate test-data/biosample.source @ 8:02a42e3fa758 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 7599ef16dc8b83ee49236ed5bb229260c969b0ab
author | iuc |
---|---|
date | Mon, 17 Jun 2024 12:03:36 +0000 |
parents | 1ac1d3e02088 |
children |
rev | line source |
---|---|
0
1ac1d3e02088
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
1 if (package == "soil") { |
1ac1d3e02088
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; |
1ac1d3e02088
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
3 if (requiredonly) { |
1ac1d3e02088
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; |
1ac1d3e02088
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; |
1ac1d3e02088
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; |
1ac1d3e02088
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
7 }else { |
1ac1d3e02088
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; |
1ac1d3e02088
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; |
1ac1d3e02088
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; |
1ac1d3e02088
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
11 } |
1ac1d3e02088
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
12 } |
1ac1d3e02088
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
13 |
1ac1d3e02088
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
14 if ((package == "soil") ) {} |
1ac1d3e02088
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
15 |
1ac1d3e02088
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
16 vector<string> requiredFieldsForPackage; |
1ac1d3e02088
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"); |
1ac1d3e02088
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"); |
1ac1d3e02088
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"); |
1ac1d3e02088
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"); |
1ac1d3e02088
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"); |
1ac1d3e02088
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
22 |
1ac1d3e02088
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
23 |
1ac1d3e02088
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") {} |