Mercurial > repos > iuc > hal_halalignedextract
view hal_halAlignedExtract.xml @ 1:c673d68da17b draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/haltools commit f46096b336bf460424143fc9d633b5e7c20bf1cf
| author | iuc |
|---|---|
| date | Thu, 05 Mar 2026 11:32:27 +0000 |
| parents | e12212eccc06 |
| children |
line wrap: on
line source
<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>
