From fa7d4d515f26d2bed5e205084694488ba0bc9213 Mon Sep 17 00:00:00 2001 From: Saim Momin Date: Tue, 3 Dec 2024 13:28:47 +0100 Subject: [PATCH 1/4] Output restruction for fastk tool --- tools/fastk/fastk.xml | 38 +++++++++++++----------------- tools/fastk/macros.xml | 2 +- tools/fastk/test-data/test01.hist | Bin 0 -> 262164 bytes tools/fastk/test-data/test02.hist | Bin 0 -> 262164 bytes tools/fastk/test-data/test03.hist | Bin 0 -> 262164 bytes 5 files changed, 18 insertions(+), 22 deletions(-) create mode 100644 tools/fastk/test-data/test01.hist create mode 100644 tools/fastk/test-data/test02.hist create mode 100644 tools/fastk/test-data/test03.hist diff --git a/tools/fastk/fastk.xml b/tools/fastk/fastk.xml index 5adb5fff316..407835ac548 100644 --- a/tools/fastk/fastk.xml +++ b/tools/fastk/fastk.xml @@ -5,7 +5,7 @@ '$tabex_hist' - && cp outfiles/.*.ktab* outfiles/ktabfiles - && cp outfiles/*.ktab outfiles/ktabfiles + && Tabex output.ktab -t${sorted_table.tabex_threshold_for_default} LIST > '$tabex_hist' + && cp .*.ktab* ktabfiles/ + && cp *.ktab ktabfiles/ #elif $sorted_table.sorted_table_option == 'yes_with_custom': - && Tabex outfiles/output.ktab -t${sorted_table.tabex_threshold_for_custom} LIST > '$tabex_hist' - && cp outfiles/.*.ktab* outfiles/ktabfiles - && cp outfiles/*.ktab outfiles/ktabfiles + && Tabex output.ktab -t${sorted_table.tabex_threshold_for_custom} LIST > '$tabex_hist' + && cp *.ktab* ktabfiles/ + && cp *.ktab ktabfiles/ #end if - && tar -c -f fastk.tar ./outfiles/ + && tar -cf fastk.tar ktabfiles/ ]]> @@ -54,8 +54,8 @@ - - + + sorted_table['sorted_table_option'] != 'no' @@ -66,11 +66,8 @@ - - - - - + + @@ -78,10 +75,10 @@ + - - + @@ -93,10 +90,10 @@ + - - + @@ -115,7 +112,6 @@ 3. A tar file comprising of hidden .ktab files that can be used for downstream FASTK tools. - ]]> \ No newline at end of file diff --git a/tools/fastk/macros.xml b/tools/fastk/macros.xml index 156ff7bab2b..a838e7a4ca5 100644 --- a/tools/fastk/macros.xml +++ b/tools/fastk/macros.xml @@ -1,6 +1,6 @@ 1.1.0 - 0 + 1 fastk diff --git a/tools/fastk/test-data/test01.hist b/tools/fastk/test-data/test01.hist new file mode 100644 index 0000000000000000000000000000000000000000..4920a7cfaa828c18935d0a9c89796e51306e1052 GIT binary patch literal 262164 zcmeIuF%5t)5J1rb1~zmsA%PV)SU?355P%UZL6a-N19?p@zrA#NV?;D%?k!^N`f~fu z`#$#EO+)r-vuFLf)Xud+fB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZ zfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&U zAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C7 z2oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N z0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+ z009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBly zK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF z5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk z1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs z0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZ zfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&U zAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C7 z2oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N z0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+ z009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBly zK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF z5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk z1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs z0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZ zfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&U zAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C7 z2oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N T0t5&UAV7cs0RjXF{7>Kk7TpFE literal 0 HcmV?d00001 diff --git a/tools/fastk/test-data/test02.hist b/tools/fastk/test-data/test02.hist new file mode 100644 index 0000000000000000000000000000000000000000..4920a7cfaa828c18935d0a9c89796e51306e1052 GIT binary patch literal 262164 zcmeIuF%5t)5J1rb1~zmsA%PV)SU?355P%UZL6a-N19?p@zrA#NV?;D%?k!^N`f~fu z`#$#EO+)r-vuFLf)Xud+fB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZ zfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&U zAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C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5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&U zAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C7 z2oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N T0t5&UAV7cs0RjXF{7>Kk7TpFE literal 0 HcmV?d00001 diff --git a/tools/fastk/test-data/test03.hist b/tools/fastk/test-data/test03.hist new file mode 100644 index 0000000000000000000000000000000000000000..4920a7cfaa828c18935d0a9c89796e51306e1052 GIT binary patch literal 262164 zcmeIuF%5t)5J1rb1~zmsA%PV)SU?355P%UZL6a-N19?p@zrA#NV?;D%?k!^N`f~fu z`#$#EO+)r-vuFLf)Xud+fB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZ zfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&U zAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C7 z2oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N z0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+ z009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBly zK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF z5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk z1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs z0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZ zfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&U zAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C7 z2oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N z0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+ z009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBly zK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF z5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk z1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs z0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZ zfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&U zAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C7 z2oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N T0t5&UAV7cs0RjXF{7>Kk7TpFE literal 0 HcmV?d00001 From 0da60ea1717154718ed52c20919069c1b5b5607a Mon Sep 17 00:00:00 2001 From: Saim Momin Date: Wed, 4 Dec 2024 09:56:55 +0100 Subject: [PATCH 2/4] Adding asserts --- tools/fastk/fastk.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/fastk/fastk.xml b/tools/fastk/fastk.xml index 407835ac548..6eb6135fdc8 100644 --- a/tools/fastk/fastk.xml +++ b/tools/fastk/fastk.xml @@ -63,11 +63,16 @@ - + + + + + + From c9c0b71d9012117e3a4cede11fdf5b30f887858f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gr=C3=BCning?= Date: Thu, 5 Dec 2024 09:56:02 +0100 Subject: [PATCH 3/4] Update tools/fastk/fastk.xml --- tools/fastk/fastk.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/fastk/fastk.xml b/tools/fastk/fastk.xml index 6eb6135fdc8..bdc08d5d730 100644 --- a/tools/fastk/fastk.xml +++ b/tools/fastk/fastk.xml @@ -24,7 +24,7 @@ -T\${GALAXY_SLOTS:-8} -Noutput -Pktabfiles #if $sorted_table.sorted_table_option == 'yes_with_default': && Tabex output.ktab -t${sorted_table.tabex_threshold_for_default} LIST > '$tabex_hist' - && cp .*.ktab* ktabfiles/ + && cp ".*.ktab*" ktabfiles/ && cp *.ktab ktabfiles/ #elif $sorted_table.sorted_table_option == 'yes_with_custom': && Tabex output.ktab -t${sorted_table.tabex_threshold_for_custom} LIST > '$tabex_hist' From 77633d09a2b70ca17c2de7ee11447dc90ca5223f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gr=C3=BCning?= Date: Thu, 5 Dec 2024 15:17:54 +0100 Subject: [PATCH 4/4] Update fastk.xml --- tools/fastk/fastk.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/fastk/fastk.xml b/tools/fastk/fastk.xml index bdc08d5d730..63551cb3efa 100644 --- a/tools/fastk/fastk.xml +++ b/tools/fastk/fastk.xml @@ -24,7 +24,7 @@ -T\${GALAXY_SLOTS:-8} -Noutput -Pktabfiles #if $sorted_table.sorted_table_option == 'yes_with_default': && Tabex output.ktab -t${sorted_table.tabex_threshold_for_default} LIST > '$tabex_hist' - && cp ".*.ktab*" ktabfiles/ + && cp .*.ktab* ktabfiles/ && cp *.ktab ktabfiles/ #elif $sorted_table.sorted_table_option == 'yes_with_custom': && Tabex output.ktab -t${sorted_table.tabex_threshold_for_custom} LIST > '$tabex_hist' @@ -119,4 +119,4 @@ ]]> - \ No newline at end of file +