comparison datamash-transpose.xml @ 6:a513e3fbb4c5 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 2214890e6a31af0d1157373e81fc93c4626cb415
author iuc
date Thu, 09 Nov 2023 12:01:09 +0000
parents 374cb875d38a
children
comparison
equal deleted inserted replaced
5:374cb875d38a 6:a513e3fbb4c5
1 <tool id="datamash_transpose" name="Transpose" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> 1 <tool id="datamash_transpose" name="Transpose" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
2 <description>rows/columns in a tabular file</description> 2 <description>rows/columns in a tabular file</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 <token name="@VERSION_SUFFIX@">1</token>
5 </macros> 6 </macros>
6 <edam_topics> 7 <edam_topics>
7 <edam_topic>topic_3570</edam_topic> <!-- Pure math / linear algebra --> 8 <edam_topic>topic_3570</edam_topic> <!-- Pure math / linear algebra -->
8 </edam_topics> 9 </edam_topics>
9 <edam_operations> 10 <edam_operations>
11 </edam_operations> 12 </edam_operations>
12 <expand macro="requirements"/> 13 <expand macro="requirements"/>
13 <expand macro="stdio"/> 14 <expand macro="stdio"/>
14 <command><![CDATA[ 15 <command><![CDATA[
15 #import os 16 #import os
16 #set file_size_MB = os.path.getsize(str($in_file)) / (1024 * 1024) 17 #set file_size_MB = $in_file.get_size() / (1024 * 1024)
17 #set size_threshold_MB = 1024 18 #set size_threshold_MB = 1024
18 #if $file_size_MB <= $size_threshold_MB: 19 #if $file_size_MB <= $size_threshold_MB:
19 datamash transpose @FIELD_SEPARATOR@ < $in_file > $out_file 20 datamash transpose @FIELD_SEPARATOR@ < $in_file > $out_file
20 #else: 21 #else:
21 ## Input matrix is very big: divide and conquer 22 ## Input matrix is very big: divide and conquer