Mercurial > repos > iuc > mummer_delta_filter
annotate delta-filter.xml @ 3:4c3ecbde6a92 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
| author | iuc |
|---|---|
| date | Wed, 01 Sep 2021 07:44:59 +0000 |
| parents | 553dc3ec5159 |
| children | cb4745408716 |
| rev | line source |
|---|---|
|
1
553dc3ec5159
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 96608e94742d17cb73d57201099ff5f5abbef276"
iuc
parents:
0
diff
changeset
|
1 <tool id="mummer_delta_filter" name="Delta-Filter" version="@MUMMER_VERSION@@WRAPPER_VERSION@"> |
|
0
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
2 <description>Filters alignment (delta) file from nucmer</description> |
|
3
4c3ecbde6a92
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
3 <expand macro="bio_tools"/> |
|
0
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
4 <macros> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
5 <import>macros.xml</import> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
6 </macros> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
7 <expand macro="requirements" /> |
|
6548ca168e9f
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"> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
9 <![CDATA[ |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
10 delta-filter |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
11 $alignment |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
12 -i '$min_identity' |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
13 -l '$min_length' |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
14 $overlap |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
15 -u '$min_uniqueness' |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
16 -o '$max_overlap' |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
17 '$delta' > '$output' |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
18 ]]> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
19 </command> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
20 <inputs> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
21 <param name="delta" type="data" format="tabular" label="Match file from nucmer" /> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
22 <param name="alignment" type="select" label="Alignment Strategy" > |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
23 <option value="-m">Use default [Many-to-many alignment allowing for rearrangements] (-m)</option> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
24 <option value="-1">1-to-1 alignment allowing for rearrangements (-1)</option> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
25 <option value="-g">1-to-1 global alignment not allowing rearrangements (-g)</option> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
26 </param> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
27 <param name="min_identity" type="float" argument="-i" value="0" min="0" max="100" label="Minimum Identity" help="Set the minimum alignment identity. (-i)" /> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
28 <param name="min_length" type="integer" argument="-l" value="0" label="Minumum Legnth" help="Set the minimum alignment length. (-l)" /> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
29 <param name="overlap" type="select" label="Overlaps" |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
30 help=" Maps each position of each query/reference to its best hit in the reference/query, allowing for reference/query overlaps." > |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
31 <option value="-q">Reference overlaps (-q)</option> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
32 <option value="-r">Query overlaps (-r)</option> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
33 </param> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
34 <param name="min_uniqueness" type="float" argument="-u" value="0" min="0" max="100" label="Minimum Alignment Uniqueness" |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
35 help="Set the minimum alignment uniqueness, i.e. percent of the alignment matching to unique reference AND query sequence. (-u)" /> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
36 <param name="max_overlap" type="float" argument="-o" value="100" min="0" max="100" label="Maximum Alignment Overlap" |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
37 help="Set the maximum alignment overlap for overlap options as a percent of the alignment length. (-o)" /> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
38 </inputs> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
39 <outputs> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
40 <data name="output" format="tabular" from_work_dir="delta-filter.txt"/> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
41 </outputs> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
42 <tests> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
43 <test> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
44 <param name="delta" ftype="tabular" value="nucmer.txt" /> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
45 <output name="output" ftype="tabular" compare="diff" lines_diff="2" value="delta-filter.txt" /> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
46 </test> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
47 </tests> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
48 <help><![CDATA[ |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
49 This program filters the alignment file produced by nucmer, leaving only the desired alignments. Its primary function is the LIS algorithm which calculates the longest increasing subset of alignments. This allows for the calculation of a global set of alignments (i.e. 1-to-1 and mutually consistent order) with the 1-1 global option or locally consistent with 1-1 with rearrangements or many-to-many alignment. Reference sequences can be mapped to query sequences with the reference option of the Overlaps parameter, or queries to references with the Query option. This allows the user to exclude chance and repeat induced alignments, leaving only the "best" alignments between the two data sets. Filtering can also be performed on length, identity, and uniqueness. |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
50 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
51 An important distinction between the alignment options is that 1-1 global requires the alignments to be mutually consistent in their order, while the other options are not required to be mutually consistent and therefore tolerate translocations, inversions, etc. |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
52 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
53 In general cases, the many-to-many option is the best choice, however 1-1 alignment allowing for rearrangements can be handy for applications such as SNP finding which require a 1-to-1 mapping. |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
54 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
55 Finally, for mapping query contigs, or sequencing reads, to a reference genome, use the query option for the Overlaps parameter. |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
56 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
57 **Options**:: |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
58 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
59 -m Many-to-many alignment allowing for rearrangements |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
60 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
61 -1 1-to-1 alignment allowing for rearrangements |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
62 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
63 -g 1-to-1 global alignment not allowing rearrangements |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
64 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
65 -i Set the minimum alignment identity [0, 100], default 0 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
66 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
67 -l Set the minimum alignment length, default 0 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
68 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
69 -q Maps each position of each query to its best hit in the reference, allowing for reference |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
70 overlaps |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
71 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
72 -r Maps each position of each reference to its best hit in the query, allowing for query overlaps |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
73 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
74 -u Set the minimum alignment uniqueness, i.e. percent of the alignment matching to unique reference |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
75 AND query sequence [0,100], default 0 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
76 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
77 -o Set the maximum alignment overlap for -r and -q options as a percent of the alignment length |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
78 [0, 100], default 100 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
79 |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
80 ]]></help> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
81 <expand macro="citation" /> |
|
6548ca168e9f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mummer4 commit 8133565adbfc012fa54b96449c2a18d044049107
iuc
parents:
diff
changeset
|
82 </tool> |
