Mercurial > repos > iuc > ampvis2_merge_ampvis2
comparison macros.xml @ 4:a14326f1e7df draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
author | iuc |
---|---|
date | Fri, 16 Aug 2024 08:59:54 +0000 |
parents | d8334b328618 |
children |
comparison
equal
deleted
inserted
replaced
3:d8334b328618 | 4:a14326f1e7df |
---|---|
1 <macros> | 1 <macros> |
2 <token name="@TOOL_VERSION@">2.8.6</token> | 2 <token name="@TOOL_VERSION@">2.8.6</token> |
3 <token name="@VERSION_SUFFIX@">1</token> | 3 <token name="@VERSION_SUFFIX@">2</token> |
4 <token name="@PROFILE@">22.01</token> | 4 <token name="@PROFILE@">22.01</token> |
5 <xml name="header"> | 5 <xml name="header"> |
6 <xrefs> | 6 <xrefs> |
7 <xref type="bio.tools">ampvis</xref> | 7 <xref type="bio.tools">ampvis</xref> |
8 </xrefs> | 8 </xrefs> |
42 } | 42 } |
43 ]]></token> | 43 ]]></token> |
44 | 44 |
45 <token name="@SAVE_METADATA_LIST@"><![CDATA[ | 45 <token name="@SAVE_METADATA_LIST@"><![CDATA[ |
46 classes <- sapply(data\$metadata, class) | 46 classes <- sapply(data\$metadata, class) |
47 data\$metadata[is.na(data\$metadata)] <- "NA" ##the comparison below fails if NA values are present, see https://stackoverflow.com/questions/7355187/error-in-if-while-condition-missing-value-where-true-false-needed | |
47 for(name in names(data\$metadata)){ | 48 for(name in names(data\$metadata)){ |
48 ## check if it is the column containing the sample names | 49 ## check if it is the column containing the sample names |
49 ## the additional column in the ist file can the be used | 50 ## the additional column in the ist file can the be used |
50 ## to filter SampleIDs from select inputs | 51 ## to filter SampleIDs from select inputs |
51 ## (check for character columns only .. since data in the column is otherwise converted to the corresponding type .. which fails) | 52 ## (check for character columns only .. since data in the column is otherwise converted to the corresponding type .. which fails) |