# HG changeset patch # User jjohnson # Date 1509039158 14400 # Node ID f6254e4e155e45f5839030616726295434341dde planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/split_to_collection commit b2ce04dd96d8b00103c23b58a4c6539a6b30809a-dirty diff -r 000000000000 -r f6254e4e155e split_tabular_to_collection.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/split_tabular_to_collection.xml Thu Oct 26 13:32:38 2017 -0400 @@ -0,0 +1,47 @@ + + by lines + $skip{ print \$0 > (sprintf("%s_%.${width}d","${input.name}",int((NR-${offset})/${lines})*${lines}) ) }' $input + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 000000000000 -r f6254e4e155e test-data/input.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/input.tsv Thu Oct 26 13:32:38 2017 -0400 @@ -0,0 +1,28 @@ +#First comment line +#col1 col2 col3 +1 a A +2 b B +3 c C +4 d D +5 e E +6 f F +7 g G +8 h H +9 i I +10 j J +11 k K +12 l L +13 m M +14 n N +15 o O +16 p P +17 q Q +18 r R +19 s S +20 t T +21 u U +22 v V +23 w W +24 x X +25 y Y +26 z Z