Mercurial > repos > iuc > stacks_populations
diff stacks_populations.xml @ 3:2ac5c9616748 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
author | iuc |
---|---|
date | Sat, 25 Jun 2016 17:28:14 -0400 |
parents | c1faa67441e9 |
children | d0b325dfe508 |
line wrap: on
line diff
--- a/stacks_populations.xml Wed Jun 15 06:24:07 2016 -0400 +++ b/stacks_populations.xml Sat Jun 25 17:28:14 2016 -0400 @@ -1,4 +1,4 @@ -<tool id="stacks_populations" name="Stacks: populations" version="@WRAPPER_VERSION@.0"> +<tool id="stacks_populations" name="Stacks: populations" version="@WRAPPER_VERSION@.1"> <description>analyze a population of individual samples ('populations' program)</description> <macros> <import>macros.xml</import> @@ -6,17 +6,20 @@ <expand macro="requirements"/> <expand macro="stdio"/> <command><![CDATA[ + #import re mkdir stacks_outputs && #for $input_file in $options_usage.input_col: - #set $ext = "" - #if not str($input_file.name).endswith('.tsv'): - #set $ext = ".tsv" + #set $filename = str($input_file.element_identifier) + #if not $filename.endswith('.tsv'): + #set $filename = $filename + ".tsv" #end if - ln -s "${input_file}" "stacks_outputs/${input_file.name}${ext}" && + #if re.search('\.(tags|snps|alleles|matches)(\.tsv)?$', $filename): + ln -s "${input_file}" "stacks_outputs/${filename}" && + #end if #end for populations