annotate show-coords.xml @ 3:b4124df98b26 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit bacb32814054404587451948b3a6682cf0d1a33a"
author iuc
date Sat, 27 Nov 2021 10:00:07 +0000
parents b8e2c2f95d26
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
b4124df98b26 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit bacb32814054404587451948b3a6682cf0d1a33a"
iuc
parents: 1
diff changeset
1 <tool id="mummer_show_coords" name="Show-Coords" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
0
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
2 <description>Parse delta file and report coordinates and other information</description>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
3 <macros>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
4 <import>macros.xml</import>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
5 </macros>
3
b4124df98b26 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit bacb32814054404587451948b3a6682cf0d1a33a"
iuc
parents: 1
diff changeset
6 <expand macro="bio_tools"/>
0
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
7 <expand macro="requirements" />
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
8 <command detect_errors="exit_code">
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
9 <![CDATA[
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
10 show-coords
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
11 $merge
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
12 -c
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
13 -H
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
14 -I '$identity'
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
15 -l
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
16 -L '$min_alignment_length'
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
17 $annotate
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
18 $sort
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
19 -T
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
20 '${delta}' > '${output}'
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
21 ]]>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
22 </command>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
23 <inputs>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
24 <param name="delta" type="data" format="tabular" label="Match file from Nucmer" />
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
25 <param name="merge" type="boolean" argument="-b" truevalue="-b" falsevalue="" label="Merge"
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
26 help="Merges overlapping alignments regardless of match dir or frame and does not display any idenitity information. (-b)" />
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
27 <param name="identity" type="float" argument="-I" value="75.0" label="Identity" help="Set minimum percent identity to display (-I)" />
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
28 <param name="min_alignment_length" type="integer" argument="-L" value="100" label="Minimum Alignment Length" help="Set minimum alignment length to display (-L)" />
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
29 <param name="annotate" type="boolean" argument="-o" truevalue="-o" falsevalue="" label="Annotate"
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
30 help="Annotate maximal alignments between two sequences, i.e. overlaps between reference and query sequences (-o)" />
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
31 <param name="sort" type="select" label="Sorting strategy for output" >
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
32 <option value="-q">Sort output by query IDs and coordinates (-q)</option>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
33 <option value="-r">Sort output by reference IDs and coordinates (-r)</option>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
34 </param>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
35 </inputs>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
36 <outputs>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
37 <data name="output" format="tabular" from_work_dir="show-coords.txt" >
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
38 <actions>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
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]" />
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
40 </actions>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
41 </data>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
42 </outputs>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
43 <tests>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
44 <test>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
45 <param name="delta" ftype="tabular" value="nucmer.txt" />
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
46 <output name="output" ftype="tabular" compare="diff" value="show-coords.txt" />
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
47 </test>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
48 </tests>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
49 <help><![CDATA[
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
50 This program parses the delta alignment output of nucmer and displays the coordinates, and other useful information about the alignments.
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
51
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
52 Output is tabular. Below is a description of each column:
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
53 * **[S1]** Start of the alignment region in the reference sequence
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
54 * **[E1]** End of the alignment region in the reference sequence
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
55 * **[S2]** Start of the alignment region in the query sequence
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
56 * **[E2]** End of the alignment region in the query sequence
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
57 * **[LEN 1]** Length of the alignment region in the reference sequence, measured in nucleotides
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
58 * **[LEN 2]** Length of the alignment region in the query sequence, measured in nucleotides
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
59 * **[% IDY]** Percent identity of the alignment, calculated as (number of exact matches) / ([LEN 1] + insertions in the query)
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
60 * **[LEN R]** Length of the reference sequence
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
61 * **[LEN Q]** Length of the query sequence
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
62 * **[COV R]** Percent coverage of the alignment on the reference sequence, calculated as [LEN 1] / [LEN R]
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
63 * **[COV Q]** Percent coverage of the alignment on the query sequence, calculated as [LEN 2] / [LEN Q]
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
64 * **[REF TAG]** The reference FastA ID
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
65 * **[QUERY TAG]** The query FastA ID
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
66
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
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.
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
68
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
69 The Percent Coverage and Sequence Length options are useful when comparing two sets of assembly contigs, in that these options help determine if an alignment spans an entire contig, or is just a partial hit to a different read. The Merge option is useful when the user wishes to identify sytenic regions between two genomes, but is not particularly interested in the actual alignment similarity or appearance. This option also disregards match orientation, so should not be used if this information is needed.
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
70
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
71 **Options:**::
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
72
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
73 -b Merges overlapping alignments regardless of match dir or frame and does not display any
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
74 identity information.
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
75
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
76 -I Set minimum percent identity to display
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
77
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
78 -L Set minimum alignment length to display
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
79
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
80 -o Annotate maximal alignments between two sequences, i.e. overlaps between reference and query
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
81 sequences
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
82
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
83 -q Sort output lines by query IDs and coordinates
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
84
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
85 -r Sort output lines by reference IDs and coordinates
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
86
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
87 ]]></help>
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
88 <expand macro="citation" />
f8734af48332 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff changeset
89 </tool>