Mercurial > repos > iuc > hal_halindels
comparison hal_halIndels.xml @ 0:e76cf92f5f72 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:53 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:e76cf92f5f72 |
|---|---|
| 1 <tool id="hal_halindels" name="halIndels" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> | |
| 2 <description>counts indels in the branch above the genome</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 halIndels | |
| 10 --adjacentBases $adjacentBases | |
| 11 $onlyExtantTargets | |
| 12 '$input_hal' '$genome' > '$out_file' | |
| 13 ]]></command> | |
| 14 <inputs> | |
| 15 <expand macro="input_hal"/> | |
| 16 <expand macro="params_genomeNoRoot"/> | |
| 17 <param argument="--adjacentBases" type="integer" min="1" value="5" label="Adjacent bases" help="Number of adjacent bases to examine while filtering"/> | |
| 18 <param argument="--onlyExtantTargets" type="boolean" truevalue="--onlyExtantTargets" falsevalue="" checked="false" label="Only extant targets" help="Use only extant genomes for 'sibling'/outgroup"/> | |
| 19 </inputs> | |
| 20 <outputs> | |
| 21 <data name="out_file" format="bed" label="${tool.name} on ${on_string}: Indel count"/> | |
| 22 </outputs> | |
| 23 <tests> | |
| 24 <test expect_num_outputs="1"> | |
| 25 <param name="input_hal" value="halTestIndels.hal"/> | |
| 26 <param name="genome" value="Ref"/> | |
| 27 <output name="out_file" ftype="bed"> | |
| 28 <assert_contents> | |
| 29 <has_n_lines n="2"/> | |
| 30 <has_line line="chr1	10	10	D	5"/> | |
| 31 <has_line line="# num sites possible: 25"/> | |
| 32 </assert_contents> | |
| 33 </output> | |
| 34 </test> | |
| 35 <test expect_num_outputs="1"> | |
| 36 <param name="input_hal" value="halTestIndels.hal"/> | |
| 37 <param name="genome" value="Ref"/> | |
| 38 <param name="onlyExtantTargets" value="true"/> | |
| 39 <output name="out_file" ftype="bed"> | |
| 40 <assert_contents> | |
| 41 <has_n_lines n="2"/> | |
| 42 <has_line line="chr1	10	10	D	5"/> | |
| 43 <has_line line="# num sites possible: 25"/> | |
| 44 </assert_contents> | |
| 45 </output> | |
| 46 </test> | |
| 47 <test expect_num_outputs="1"> | |
| 48 <param name="input_hal" value="halTestIndels.hal"/> | |
| 49 <param name="genome" value="Ref"/> | |
| 50 <param name="adjacentBases" value="10"/> | |
| 51 <output name="out_file" ftype="bed"> | |
| 52 <assert_contents> | |
| 53 <has_n_lines n="2"/> | |
| 54 <has_line line="chr1	10	10	D	5"/> | |
| 55 <has_line line="# num sites possible: 20"/> | |
| 56 </assert_contents> | |
| 57 </output> | |
| 58 </test> | |
| 59 </tests> | |
| 60 <help><![CDATA[ | |
| 61 halIndels counts insertion and deletions on the branch above a given reference genome of an input HAL file and outputs the result as a BED file. | |
| 62 The reference genome must not be the root of the alignment. | |
| 63 Filtering can applied using a configurable number of adjacent bases to reduce noise. | |
| 64 ]]></help> | |
| 65 <expand macro="citation"/> | |
| 66 <expand macro="creator"/> | |
| 67 </tool> |
