When I have used repeats in the passed, I have used Cheetah templating in either a <configfile> or in the <command>. The cheetah manual is at http://www.cheetahtemplate.org/. In my case, I usually loop over the items in the repeat as shown below: <repeat name="my_repeat"> #for $i, $my_repeat in enumerate( $my_repeats ) $my_repeat.repeated_value #end for On Thu, Jul 8, 2010 at 10:43 AM, Pei, Bing <Pei.Bing@mayo.edu> wrote:
Hi,
I was wondering if I could get some more information on how the <repeat> tag works. If I am repeating an argument, say "$samplename," would the xml file just pass extra arguments to my command line, or do I have to do some extra configuration? If it is passing extra arguments, are they lumped together? For example if I want to repeat both $samplename and $lane using the same tag, is it sending to the command line $samplename1 $samplename2 $samplename3 $lane1 $lane2 $lane3 or $samplename1 $lane1 $samplename2 $lane2 $samplename3 $lane3? What types are supported by the <repeat> tag? Currently I am using type="text" but this does not seem to be working.
Thanks!
_______________________________________________ galaxy-dev mailing list galaxy-dev@lists.bx.psu.edu http://lists.bx.psu.edu/listinfo/galaxy-dev
-- Jesse Erdmann Bioinformatics Analyst Masonic Cancer Center University of Minnesota jerdmann@umn.edu 612-626-3123 jesse@jesseerdmann.com Twitter: http://twitter.com/jesseerdmann