Mercurial > repos > iuc > hal_halalignedextract
diff hal_halAlignedExtract.xml @ 0:4638a5ff6186 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:36:30 +0000 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hal_halAlignedExtract.xml Fri Feb 06 10:36:30 2026 +0000 @@ -0,0 +1,57 @@ +<tool id="hal_halalignedextract" name="halAlignedExtract" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> + <description>extracts aligned regions of a genome with its parent</description> + <macros> + <import>macros.xml</import> + </macros> + <expand macro="requirements"/> + <expand macro="stdio"/> + <command detect_errors="aggressive"><![CDATA[ + halAlignedExtract + $complement + $viewParentCoords + '$input_hal' '$genome' > '$out_file' + ]]></command> + <inputs> + <expand macro="input_hal"/> + <expand macro="params_genomeNoRoot"/> + <param argument="--viewParentCoords" type="boolean" truevalue="--viewParentCoords" falsevalue="" checked="false" label="View parent coordinates" help="View the corresponding parent coordinates for aligned regions"/> + <param argument="--complement" type="boolean" truevalue="--complement" falsevalue="" checked="false" label="Complement regions" help="Extract the regions of the genome that are *unaligned* to the parent. i.e. all intervals that are not returned with the default setting"/> + </inputs> + <outputs> + <data name="out_file" format="bed" label="${tool.name} on ${on_string}"/> + </outputs> + <tests> + <test expect_num_outputs="1"> + <param name="input_hal" value="halTest.hal"/> + <param name="genome" value="Genome_1"/> + <param name="viewParentCoords" value="true"/> + <output name="out_file" ftype="bed"> + <assert_contents> + <has_line line="Genome_1_seq	0	293	Genome_0_seq	0	293	+"/> + <has_line line="Genome_1_seq	2637	2930	Genome_0_seq	293	586	+"/> + <has_line line="Genome_1_seq	5135	5274	Genome_0_seq	1033	1172	+"/> + <has_n_lines n="26"/> + </assert_contents> + </output> + </test> + <test expect_num_outputs="1"> + <param name="input_hal" value="halTest.hal"/> + <param name="genome" value="Genome_1"/> + <param name="complement" value="true"/> + <output name="out_file" ftype="bed"> + <assert_contents> + <has_line line="Genome_1_seq	1465	1758"/> + <has_line line="Genome_1_seq	5274	5472"/> + <has_n_lines n="4"/> + </assert_contents> + </output> + </test> + </tests> + <help><![CDATA[ +halAlignedExtract scans a given genome from an input HAL file and extracts regions that are aligned to its direct parent genome. +The tool reports all aligned blocks by default. Optionally, it can report the complementary set of regions that are not aligned to the parent. +The output is written as BED intervals. + ]]></help> + <expand macro="citation"/> + <expand macro="creator"/> +</tool> \ No newline at end of file
