comparison iscc_sum.xml @ 0:b9caa783059f draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/iscc-sum commit e2d8293c17c87553b267747c6a7b10b9b3ddd0d2
author imgteam
date Thu, 06 Nov 2025 10:22:47 +0000
parents
children 7d2c95a58897
comparison
equal deleted inserted replaced
-1:000000000000 0:b9caa783059f
1 <tool id="iscc_sum" name="Generate ISCC hash" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.1">
2 <description>with ISCC-SUM</description>
3
4 <macros>
5 <import>macros.xml</import>
6 <import>creators.xml</import>
7 </macros>
8 <expand macro="requirements" />
9 <expand macro="version_command" />
10 <creator>
11 <expand macro="creators/iscc" />
12 <expand macro="creators/lco" />
13 <expand macro="creators/maartenpaul" />
14 <expand macro="creators/etzm" />
15 </creator>
16
17 <command detect_errors="exit_code"><![CDATA[
18 iscc-sum '$input_file' | cut -d':' -f2 | cut -d' ' -f1 > '${output_file}'
19 ]]></command>
20
21 <inputs>
22 <param name="input_file" type="data" format="data" label="Input File"
23 help="Any file type - ISCC-SUM will generate a checksum and similarity hash"/>
24 </inputs>
25
26 <outputs>
27 <data name="output_file" format="txt" label="${tool.name} on ${on_string}"/>
28 </outputs>
29
30 <tests>
31 <test expect_num_outputs="1">
32 <param name="input_file" value="test1.png"/>
33 <output name="output_file">
34 <assert_contents>
35 <has_line line="K4AOMGOGQJA4Y46PAC4YPPA63GKD5RVFPR7FU3I4OOEW44TYXNYOTMY" />
36 </assert_contents>
37 </output>
38 </test>
39 <test expect_num_outputs="1">
40 <param name="input_file" value="test2.tiff"/>
41 <output name="output_file">
42 <assert_contents>
43 <has_line line="K4AGSPOSB5SS2X427WZ27QASTSBVTS55DXLMFDF7WOJKEOSTDEI3OXQ" />
44 </assert_contents>
45 </output>
46 </test>
47 <test expect_num_outputs="1">
48 <param name="input_file" value="test3.fasta"/>
49 <output name="output_file">
50 <assert_contents>
51 <has_line line="K4AKF7PTZ7JTAAYZ7YZHZPR5RETKYXXE7RTBTJA4JX5GQQMSLZRC6QQ" />
52 </assert_contents>
53 </output>
54 </test>
55 </tests>
56
57 <help><![CDATA[
58 **What it does**
59
60 Generates an International Standard Content Code (ISCC) based checksum and similarity hash from any input file.
61
62 The ISCC-SUM is a content-derived identifier that:
63 - Creates a unique checksum based on file content
64 - Generates a similarity hash for content comparison
65 - Works with any file format
66
67 **Input**
68
69 Any file format is accepted as input.
70
71 **Output**
72
73 A text file containing the ISCC-SUM code for the input file.
74
75 **More Information**
76
77 For more details about ISCC, visit: https://iscc.codes/
78 ]]></help>
79
80 <expand macro="citations" />
81
82 </tool>