comparison show-coords.xml @ 6:4c89814871e8 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 980f7472892817697208792e4443fa579625b696
author iuc
date Tue, 04 Feb 2025 09:18:17 +0000
parents b4124df98b26
children
comparison
equal deleted inserted replaced
5:e832875e5d5a 6:4c89814871e8
7 <expand macro="requirements" /> 7 <expand macro="requirements" />
8 <command detect_errors="exit_code"> 8 <command detect_errors="exit_code">
9 <![CDATA[ 9 <![CDATA[
10 show-coords 10 show-coords
11 $merge 11 $merge
12 $direction
12 -c 13 -c
13 -H 14 -H
14 -I '$identity' 15 -I '$identity'
15 -l 16 -l
16 -L '$min_alignment_length' 17 -L '$min_alignment_length'
17 $annotate 18 $annotate
18 $sort 19 $sort
19 -T 20 -T
20 '${delta}' > '${output}' 21 '${delta}'
22 #if $direction:
23 > '${output_extend}'
24 #else:
25 > '${output}'
26 #end if
21 ]]> 27 ]]>
22 </command> 28 </command>
23 <inputs> 29 <inputs>
24 <param name="delta" type="data" format="tabular" label="Match file from Nucmer" /> 30 <param name="delta" type="data" format="tabular" label="Match file from Nucmer" />
25 <param name="merge" type="boolean" argument="-b" truevalue="-b" falsevalue="" label="Merge" 31 <param name="merge" type="boolean" argument="-b" truevalue="-b" falsevalue="" label="Merge"
26 help="Merges overlapping alignments regardless of match dir or frame and does not display any idenitity information. (-b)" /> 32 help="Merges overlapping alignments regardless of match dir or frame and does not display any idenitity information. (-b)" />
27 <param name="identity" type="float" argument="-I" value="75.0" label="Identity" help="Set minimum percent identity to display (-I)" /> 33 <param name="identity" type="float" argument="-I" value="75.0" label="Identity" help="Set minimum percent identity to display (-I)" />
34
35 <param name="direction" type="boolean" argument="-d" truevalue="-d" falsevalue="" label="Direction" help="Display the alignment direction in the additional FRM columns (-d)" />
28 <param name="min_alignment_length" type="integer" argument="-L" value="100" label="Minimum Alignment Length" help="Set minimum alignment length to display (-L)" /> 36 <param name="min_alignment_length" type="integer" argument="-L" value="100" label="Minimum Alignment Length" help="Set minimum alignment length to display (-L)" />
29 <param name="annotate" type="boolean" argument="-o" truevalue="-o" falsevalue="" label="Annotate" 37 <param name="annotate" type="boolean" argument="-o" truevalue="-o" falsevalue="" label="Annotate"
30 help="Annotate maximal alignments between two sequences, i.e. overlaps between reference and query sequences (-o)" /> 38 help="Annotate maximal alignments between two sequences, i.e. overlaps between reference and query sequences (-o)" />
31 <param name="sort" type="select" label="Sorting strategy for output" > 39 <param name="sort" type="select" label="Sorting strategy for output" >
32 <option value="-q">Sort output by query IDs and coordinates (-q)</option> 40 <option value="-q">Sort output by query IDs and coordinates (-q)</option>
33 <option value="-r">Sort output by reference IDs and coordinates (-r)</option> 41 <option value="-r">Sort output by reference IDs and coordinates (-r)</option>
34 </param> 42 </param>
43
35 </inputs> 44 </inputs>
36 <outputs> 45 <outputs>
37 <data name="output" format="tabular" from_work_dir="show-coords.txt" > 46 <data name="output" format="tabular" from_work_dir="show-coords.txt" label="${tool.name} on ${on_string} default format)">
47 <filter>direction is False</filter>
38 <actions> 48 <actions>
39 <action name="column_names" type="metadata" default="[S1], [E1], [S2], [E2], [LEN 1], [LEN 2], [% IDY], [LEN R], [LEN Q], [COV R], [COV Q], [REF TAG], [QUERY TAG]" /> 49 <action name="column_names" type="metadata" default="[S1], [E1], [S2], [E2], [LEN 1], [LEN 2], [% IDY], [LEN R], [LEN Q], [COV R], [COV Q], [REF TAG], [QUERY TAG]" />
40 </actions> 50 </actions>
41 </data> 51 </data>
52 <data name="output_extend" format="tabular" from_work_dir="show-coords_extend.txt" label="${tool.name} on ${on_string} extend format)" >
53 <filter>direction is True</filter>
54 <actions>
55 <action name="column_names" type="metadata" default="[S1], [E1], [S2], [E2], [LEN 1], [LEN 2], [% IDY], [LEN R], [LEN Q], [COV R], [COV Q], [FRM R], [FRM Q], [REF TAG], [QUERY TAG]" />
56 </actions>
57 </data>
42 </outputs> 58 </outputs>
43 <tests> 59 <tests>
44 <test> 60 <test expect_num_outputs="1">
45 <param name="delta" ftype="tabular" value="nucmer.txt" /> 61 <param name="delta" ftype="tabular" value="nucmer.txt" />
62 <param name="direction" value="False" />
46 <output name="output" ftype="tabular" compare="diff" value="show-coords.txt" /> 63 <output name="output" ftype="tabular" compare="diff" value="show-coords.txt" />
64 </test>
65 <test expect_num_outputs="1">
66 <param name="delta" ftype="tabular" value="nucmer.txt" />
67 <param name="direction" value="True" />
68 <output name="output_extend" ftype="tabular" compare="diff" value="show-coords_extend.txt" />
47 </test> 69 </test>
48 </tests> 70 </tests>
49 <help><![CDATA[ 71 <help><![CDATA[
50 This program parses the delta alignment output of nucmer and displays the coordinates, and other useful information about the alignments. 72 This program parses the delta alignment output of nucmer and displays the coordinates, and other useful information about the alignments.
51 73
52 Output is tabular. Below is a description of each column: 74 Output is tabular. Below is a description of each column (Default):
53 * **[S1]** Start of the alignment region in the reference sequence 75 * **[S1]** Start of the alignment region in the reference sequence
54 * **[E1]** End of the alignment region in the reference sequence 76 * **[E1]** End of the alignment region in the reference sequence
55 * **[S2]** Start of the alignment region in the query sequence 77 * **[S2]** Start of the alignment region in the query sequence
56 * **[E2]** End of the alignment region in the query sequence 78 * **[E2]** End of the alignment region in the query sequence
57 * **[LEN 1]** Length of the alignment region in the reference sequence, measured in nucleotides 79 * **[LEN 1]** Length of the alignment region in the reference sequence, measured in nucleotides
59 * **[% IDY]** Percent identity of the alignment, calculated as (number of exact matches) / ([LEN 1] + insertions in the query) 81 * **[% IDY]** Percent identity of the alignment, calculated as (number of exact matches) / ([LEN 1] + insertions in the query)
60 * **[LEN R]** Length of the reference sequence 82 * **[LEN R]** Length of the reference sequence
61 * **[LEN Q]** Length of the query sequence 83 * **[LEN Q]** Length of the query sequence
62 * **[COV R]** Percent coverage of the alignment on the reference sequence, calculated as [LEN 1] / [LEN R] 84 * **[COV R]** Percent coverage of the alignment on the reference sequence, calculated as [LEN 1] / [LEN R]
63 * **[COV Q]** Percent coverage of the alignment on the query sequence, calculated as [LEN 2] / [LEN Q] 85 * **[COV Q]** Percent coverage of the alignment on the query sequence, calculated as [LEN 2] / [LEN Q]
86 * **[FRM R]** Reading frame for the reference sequence (only with -d)
87 * **[FRM Q]** Reading frame for the query sequence (only with -d)
64 * **[REF TAG]** The reference FastA ID 88 * **[REF TAG]** The reference FastA ID
65 * **[QUERY TAG]** The query FastA ID 89 * **[QUERY TAG]** The query FastA ID
66 90
67 There is also an optional final column (turned on with the "Annotate" parameter) that will contain some 'annotations'. The Annotate option will annotate alignments that represent overlaps between two sequences. Sometimes, nucmer will extend adjacent clusters past one another, thus causing a somewhat redundant output, this option will notify users of such rare occurrences. 91 There is also an optional final column (turned on with the "Annotate" parameter) that will contain some 'annotations'. The Annotate option will annotate alignments that represent overlaps between two sequences. Sometimes, nucmer will extend adjacent clusters past one another, thus causing a somewhat redundant output, this option will notify users of such rare occurrences.
68 92
70 94
71 **Options:**:: 95 **Options:**::
72 96
73 -b Merges overlapping alignments regardless of match dir or frame and does not display any 97 -b Merges overlapping alignments regardless of match dir or frame and does not display any
74 identity information. 98 identity information.
75 99 -d Display the alignment direction in the additional FRM columns
76 -I Set minimum percent identity to display 100 -I Set minimum percent identity to display
77 101
78 -L Set minimum alignment length to display 102 -L Set minimum alignment length to display
79 103
80 -o Annotate maximal alignments between two sequences, i.e. overlaps between reference and query 104 -o Annotate maximal alignments between two sequences, i.e. overlaps between reference and query