# HG changeset patch # User petr-novak # Date 1690981169 0 # Node ID eefed7a82001fd1e4bc30f1de41e60c035f7ed9a # Parent 93595f42a04d66b89a5fb6fc126ee255abf15ae7 planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty diff -r 93595f42a04d -r eefed7a82001 extract_files_from_re_archive.xml --- a/extract_files_from_re_archive.xml Wed Aug 02 12:45:16 2023 +0000 +++ b/extract_files_from_re_archive.xml Wed Aug 02 12:59:29 2023 +0000 @@ -1,49 +1,68 @@ - - + + + ${cluster_table} + rm -r tempdir ; #end if #if $sf == "COMPARATIVE_ANALYSIS_COUNTS.csv" - unzip -p -j ${RepeatExplorer_archive} ${sf} > ${comparative_analysis_count} + mkdir -p tempdir + unzip ${RepeatExplorer_archive} ${sf} -d tempdir + find tempdir -type f -name "${sf}" -exec cat {} + > ${comparative_analysis_count} + rm -r tempdir ; #end if #if $sf == "SUPERCLUSTER_TABLE.csv" - unzip -p -j ${RepeatExplorer_archive} ${sf} > ${supercluster_table} - ; + mkdir -p tempdir + unzip ${RepeatExplorer_archive} ${sf} -d tempdir + find tempdir -type f -name "${sf}" -exec cat {} + > ${supercluster_table} + rm -r tempdir #end if #end for +]]> - - - - + - - - - - - + + - - - "CLUSTER_TABLE.csv" in file - - - "SUPERCLUSTER_TABLE.csv" in file - - - "COMPARATIVE_ANALYSIS_COUNTS.csv" in file - - + + + + + + + + + + "CLUSTER_TABLE.csv" in file + + + "SUPERCLUSTER_TABLE.csv" in file + + + "COMPARATIVE_ANALYSIS_COUNTS.csv" in file + +