Mercurial > repos > wolma > mimodd_snpeff
diff macros.xml @ 1:99dfde12ee53 draft
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 24cc567ad105450d1c554f09a3467eff671d9864
author | wolma |
---|---|
date | Mon, 18 Dec 2017 03:41:24 -0500 |
parents | 01e09a4cacf7 |
children | b6da1066b2fd |
line wrap: on
line diff
--- a/macros.xml Sat Nov 11 18:20:20 2017 -0500 +++ b/macros.xml Mon Dec 18 03:41:24 2017 -0500 @@ -1,7 +1,7 @@ <macros> <token name="@MIMODD_VERSION_REQUIRED@">0.1.8</token> <token name="@MIMODD_REAL_VERSION@">0.1.8</token> - <token name="@MIMODD_WRAPPER_VERSION@">0.1.8_0</token> + <token name="@MIMODD_WRAPPER_VERSION@">0.1.8_1</token> <token name="@HELP_FOOTER@"><![CDATA[ ---- @@ -9,7 +9,7 @@ For **additional help** see these resources: -- The complete `MiModD User Guide <http://mimodd.readthedocs.io/en/v0.1.8/usage_toc.html>`__ +- The complete `MiModD User Guide <http://mimodd.readthedocs.io/en/doc0.1.8/usage_toc.html>`__ - The `MiModD help forum <https://groups.google.com/forum/#!forum/mimodd>`__ reachable also via `email <mailto:mimodd@googlegroups.com>`__ @@ -41,6 +41,34 @@ </citation> </citations> </xml> + <macro name="YYYY-MM-DD_format_validator"> + <validator type="expression" message="YYYY-MM-DD date format required">not value or (len(value.split('-')) == 3 and all(part.isdigit() and len(part)==expect_len for part, expect_len in zip(value.split('-'), [4,2,2])))</validator> + </macro> + <macro name="known_sequencing_platform options"> + <option value="ILLUMINA">ILLUMINA</option> + <option value="PACBIO">PACBIO</option> + <option value="IONTORRENT">IONTORRENT</option> + <option value="ONT">ONT</option> + <option value="LS454">LS454</option> + <option value="SOLID">SOLID</option> + <option value="HELICOS">HELICOS</option> + <option value="CAPILLARY">CAPILLARY</option> + </macro> + <macro name="lex_sam_header" token_message="SAM header data may not contain non-ASCII characters."> + <validator type="expression" message="@MESSAGE@">not value or all(ord(c) < 127 for c in value)</validator> + <sanitizer invalid_char=""> + <valid initial="string.printable"> + <remove preset="string.whitespace" value="'" /> + <add value=" " /> + </valid> + <mapping initial="none"> + <add source="'" target="'"'"'" /> + <add source="	" target=" " /> + <add source=" " target=" " /> + <add source=" " target=" " /> + </mapping> + </sanitizer> + </macro> </macros>