PageRenderTime 24ms CodeModel.GetById 19ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/tools/filters/secure_hash_message_digest.xml

https://bitbucket.org/cistrome/cistrome-harvard/
XML | 45 lines | 39 code | 6 blank | 0 comment | 0 complexity | b28f1ebcdb98ad4d9c92a2a5724a29d6 MD5 | raw file
 1<tool id="secure_hash_message_digest" name="Secure Hash / Message Digest" version="0.0.1">
 2    <description>on a dataset</description>
 3    <command interpreter="python">secure_hash_message_digest.py --input "${input1}" --output "${out_file1}"
 4        #if $algorithms.value:
 5            #for $algorithm in str( $algorithms ).split( "," ):
 6                --algorithm "${algorithm}"
 7            #end for
 8        #end if
 9    </command>
10    <inputs>
11        <param format="data" name="input1" type="data" label="Text file"/>
12        <param name="algorithms" type="select" multiple="True" display="checkboxes" label="Choose the algorithms">
13          <option value="md5"/>
14          <option value="sha1"/>
15          <option value="sha224"/>
16          <option value="sha256"/>
17          <option value="sha384"/>
18          <option value="sha512"/>
19          <validator type="no_options" message="You must select at least one algorithm." />
20        </param>
21    </inputs>
22    <outputs>
23        <data format="tabular" name="out_file1"/>
24    </outputs>
25    <tests>
26        <test>
27          <param name="input1" value="1.bed"/>
28          <param name="algorithms" value="md5,sha1,sha224,sha384,sha512"/>
29          <output name="out_file1" file="secure_hash_message_digest_out1.tabular" />
30        </test>
31    </tests>
32    <help>
33
34**What it does**
35
36This tool outputs Secure Hashes / Message Digests of a dataset using the user selected algorithms.
37
38------
39
40**Citation**
41
42If you use this tool in Galaxy, please cite Blankenberg D, et al. *In preparation.*
43
44    </help>
45</tool>