comparison hal_halValidate.xml @ 0:13917eec61b1 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/haltools commit 6244b9d15a5ad97ae20191e2f8fbafe2050c3cac
author iuc
date Fri, 06 Feb 2026 10:34:22 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:13917eec61b1
1 <tool id="hal_halvalidate" name="halValidate" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
2 <description>checks if a HAL file is valid</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements"/>
7 <expand macro="stdio"/>
8 <command detect_errors="aggressive"><![CDATA[
9 halValidate
10 #if $genome:
11 --genome '$genome'
12 #end if
13 '$input_hal' > '$out_file'
14 ]]></command>
15 <inputs>
16 <expand macro="input_hal"/>
17 <param argument="--genome" type="text" value="" optional="true" label="Specific genome" help="Specific genome to validate instead of entire file">
18 <expand macro="sanitizer_default"/>
19 <expand macro="validator_trim"/>
20 </param>
21 </inputs>
22 <outputs>
23 <data name="out_file" format="txt" label="${tool.name} on ${on_string}: Validation ${genome}"/>
24 </outputs>
25 <tests>
26 <test expect_num_outputs="1">
27 <param name="input_hal" value="halTest.hal"/>
28 <output name="out_file" ftype="txt">
29 <assert_contents>
30 <has_line line="File valid"/>
31 <has_n_lines n="2"/>
32 </assert_contents>
33 </output>
34 </test>
35 <test expect_num_outputs="1">
36 <param name="input_hal" value="halTest.hal"/>
37 <param name="genome" value="Genome_0"/>
38 <output name="out_file" ftype="txt">
39 <assert_contents>
40 <has_line line="File valid"/>
41 <has_n_lines n="2"/>
42 </assert_contents>
43 </output>
44 </test>
45 </tests>
46 <help><![CDATA[
47 halValidate checks the structural and metadata integrity of a HAL file.
48 A HAL file is needed as input, and the tool reports a simple text message indicating whether the file is valid or not.
49 It can run a full file scan or limit the check to a single genome.
50
51 Use it to confirm that a HAL database is readable, consistent, and not corrupted before running downstream analyses.
52 ]]></help>
53 <expand macro="citation"/>
54 <expand macro="creator"/>
55 </tool>