Mercurial > repos > devteam > bowtie2
diff bowtie2_macros.xml @ 27:a6d65b0c67af draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d142d9cd5a8db8a87184c4b7622ea8de8355894f"
author | iuc |
---|---|
date | Sat, 10 Jul 2021 07:45:14 +0000 |
parents | 09b2cdb7ace5 |
children | cd659e8cc5fa |
line wrap: on
line diff
--- a/bowtie2_macros.xml Tue Jan 12 16:58:26 2021 +0000 +++ b/bowtie2_macros.xml Sat Jul 10 07:45:14 2021 +0000 @@ -24,7 +24,7 @@ #import itertools #set $input_name1 = $clean($identifier_or_name($input1)) #set $input_name2 = $clean($identifier_or_name($input2)) - #set $common_prefix = ''.join([c[0] for c in itertools.takewhile(lambda x: all(x[0] == y for y in x), itertools.izip(*[$input_name1, $input_name2]))]) + #set $common_prefix = ''.join([c[0] for c in itertools.takewhile(lambda x: all(x[0] == y for y in x), zip(*[$input_name1, $input_name2]))]) #if len($common_prefix) > 3 #return $common_prefix #else