Mercurial > repos > iuc > snippy
comparison snippy-core.xml @ 4:9bccc8404a3c draft
planemo upload commit b5890b40c257a093ebf358294544aa69087da51e
author | iuc |
---|---|
date | Thu, 11 Jul 2019 09:41:13 -0400 |
parents | 776ebd1239da |
children | 0aa87d97847f |
comparison
equal
deleted
inserted
replaced
3:feb7e635c6af | 4:9bccc8404a3c |
---|---|
10 <command detect_errors="exit_code"><![CDATA[ | 10 <command detect_errors="exit_code"><![CDATA[ |
11 #for $indir in $indirs | 11 #for $indir in $indirs |
12 #set $sample_name = os.path.splitext(os.path.basename(str($indir.name)))[0] | 12 #set $sample_name = os.path.splitext(os.path.basename(str($indir.name)))[0] |
13 mkdir '$sample_name' && tar -xf '$indir' -C '$sample_name' --strip-components=1 && | 13 mkdir '$sample_name' && tar -xf '$indir' -C '$sample_name' --strip-components=1 && |
14 #end for | 14 #end for |
15 #set snippy_dirs = ' '.join([os.path.splitext(os.path.basename(str($indir.name)))[0] for $indir in $indirs]) | 15 #set snippy_dirs = " ".join(["'{0}'".format(os.path.splitext(os.path.basename(str($indir.name)))[0]) for $indir in $indirs]) |
16 snippy-core | 16 snippy-core |
17 --ref '$ref' | 17 --ref '$ref' |
18 ${snippy_dirs} | 18 ${snippy_dirs} |
19 ]]></command> | 19 ]]></command> |
20 | 20 |