comparison dotPrep.xml @ 0:cdc44fcca48f draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/dotprep commit 6db87bb19217d256b13cd66810043b667d1c7638
author bgruening
date Wed, 03 Dec 2025 16:17:17 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:cdc44fcca48f
1 <tool id="dotprep" name="dotPrep" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@" license="MIT">
2 <description>Apply unique anchor filtering and prepare Dot coordinates</description>
3 <macros>
4 <token name="@TOOL_VERSION@">1.0</token>
5 <token name="@VERSION_SUFFIX@">0</token>
6 <token name="@PROFILE@">25.0</token>
7 </macros>
8 <command detect_errors="exit_code"><![CDATA[
9 ln -s '$delta' input.delta.gz &&
10 python3 '$__tool_directory__/dotPrep.py'
11 --delta input.delta.gz
12 --out result
13 --unique-length $unique_length
14 --overview $overview
15 ]]></command>
16 <inputs>
17 <param name="delta" type="data" format="tabular" label="Delta file" help="Input delta file from alignment tool (e.g., MUMmer)"/>
18 <param name="unique_length" type="integer" value="10000" min="0" label="Unique sequence length threshold" help="The total length of unique sequence an alignment must have on the query side to be retained"/>
19 <param name="overview" type="integer" value="1000" min="1" label="Number of alignments for overview" help="The number of alignments to include in the coords.idx output file for Dot overview"/>
20 </inputs>
21 <outputs>
22 <data name="result" format="tabular" label="${tool.name} on ${on_string}: Output delta file" from_work_dir="result.uniqueAnchorFiltered*"/>
23 <data name="coords" format="tabular" label="${tool.name} on ${on_string}: filtered coords" from_work_dir="result.coords"/>
24 <data name="coords_idx" format="tabular" label="${tool.name} on ${on_string}: coords.idx" from_work_dir="result.coords.idx"/>
25 </outputs>
26 <tests>
27 <test expect_num_outputs="3">
28 <param name="delta" location="https://zenodo.org/records/17592326/files/input.res.uniqueAnchorFiltered_l10000.delta.gz"/>
29 <param name="unique_length" value="10000"/>
30 <param name="overview" value="1000"/>
31 <output name="result" location="https://zenodo.org/records/17592326/files/test_output.delta.gz" compare="sim_size"/>
32 <output name="coords" ftype="tabular">
33 <assert_contents>
34 <has_n_lines n="21848"/>
35 <has_line line="28999,29316,9912,10233,h1tg000718l"/>
36 <has_line line="32087,32264,16943,17122,h1tg000718l"/>
37 <has_line line="41139,41490,26157,26508,h1tg000718l"/>
38 </assert_contents>
39 </output>
40 <output name="coords_idx" ftype="tabular">
41 <assert_contents>
42 <has_n_lines n="1840"/>
43 </assert_contents>
44 </output>
45 </test>
46 </tests>
47 <help><![CDATA[
48 **What it does**
49
50 This tool takes a delta file from genome alignment tools (such as MUMmer's nucmer), applies unique anchor filtering, and prepares coordinate input files for visualization with Dot.
51
52 **Inputs**
53
54 - **Delta file**: Output from alignment programs like MUMmer's nucmer
55 - **Unique sequence length threshold**: Minimum total length of unique sequence an alignment must have on the query side to be retained (Default: 10000 bp)
56 - **Number of alignments for overview**: Number of top alignments to include in the coords.idx file for Dot overview visualization (Default: 1000)
57
58 **Outputs**
59
60 - **Filtered coords file**: Coordinate file with unique anchor filtering applied
61 - **coords.idx file**: Index file containing top alignments for Dot visualization overview
62
63 **About Unique Anchor Filtering**
64
65 The unique anchor filtering strategy identifies high-quality alignments by requiring a minimum amount of unique sequence. This helps filter out repetitive regions and focus on reliable anchoring points between sequences.
66
67 **Aknowledgements**
68
69 dotPrep is part of Assemblytics, developed by Maria Nattestad. For more information, please visit the [Assemblytics GitHub repository](https://github.com/MariaNattestad/dot/tree/master)
70
71 ]]></help>
72 <citations>
73 <citation type="bibtex">
74 @misc{githubdotprep,
75 author = {MariaNattestad},
76 year = {2023},
77 title = {dotPrep},
78 publisher = {GitHub},
79 journal = {GitHub repository},
80 url = {https://github.com/MariaNattestad/dot/blob/master/DotPrep.py},
81 }</citation>
82 </citations>
83 <creator>
84 <person givenName="Saim" familyName="Momin" url="https://github.com/SaimMomin12" identifier="https://orcid.org/0009-0003-9935-828X"/>
85 <organization name="Galaxy Europe" url="https://galaxyproject.org/eu/"/>
86 </creator>
87 </tool>