annotate mashmap.xml @ 0:a3a6b0b31f2d draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
author iuc
date Mon, 26 Feb 2024 11:41:43 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
1 <tool name="mashmap" id="mashmap" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
2 <description>Fast local alignment boundaries</description>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
3 <macros>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
4 <token name="@TOOL_VERSION@">3.1.3</token>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
6 </macros>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
7 <requirements>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
8 <requirement version="@TOOL_VERSION@" type="package">mashmap</requirement>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
9 </requirements>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
10 <version_command>mashmap --version</version_command>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
11 <command><![CDATA[
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
12 #if len($reflist) > 1:
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
13 #for $r in $reflist:
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
14 echo '$r' >> ./reflist &&
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
15 #end for
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
16 cat ./reflist &&
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
17 #end if
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
18 #if len($query) > 1:
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
19 #for $q in $query:
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
20 echo '$q' >> ./query &&
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
21 #end for
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
22 cat ./query &&
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
23 #end if
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
24 mashmap
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
25 --threads \${GALAXY_SLOTS:-1}
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
26 --perc_identity $perc_identity
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
27 --segLength $seqLength
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
28 --filter_mode $filter_mode
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
29 $reportPercentage
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
30 $dense
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
31 $noMerge
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
32 $noHgFilter
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
33 #if $kmerThreshold:
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
34 --kmerThreshold $kmerThreshold
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
35 #end if
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
36 #if $kmerComplexity
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
37 --kmerComplexity $kmerComplexity
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
38 #end if
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
39 #if int($sketchSize) > 0:
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
40 -J $sketchSize
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
41 #end if
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
42 #if len($reflist) == 1:
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
43 -r '$reflist'
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
44 #else
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
45 --rl ./reflist
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
46 #end if
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
47 #if len($query) == 1:
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
48 -q '$query'
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
49 #else
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
50 --ql ./query
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
51 #end if
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
52
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
53 ]]> </command>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
54 <inputs>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
55 <param name="query" type="data" format="fasta,fasta.gz,fastq,fastq.gz" multiple="true"
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
56 label="Query sequences to mash against the references supplied below"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
57 <param name="reflist" type="data" format="fasta,fasta.gz,fastq,fastq.gz" multiple="true"
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
58 label="Reference or references to mash the query sequences on"
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
59 help="Choose one or more reference sequences to mash the query sequences against."/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
60 <param argument="--perc_identity" type="float" value="85.0" label="Identity threshold"
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
61 help="By default, it is set to 85, implying mappings with 85 or more identity should be reported. For example, it can be set to 80to account for more noisy long-read datasets or 95 for mapping human genome assembly to human reference."/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
62 <param argument="--seqLength" type="integer" value="5000" min="1" label="Minimum segment length"
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
63 help="Default is 5,000 bp. Sequences below this length are ignored. Mashmap provides guarantees on reporting local alignments of length twice this value."/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
64 <param argument="--sketchSize" type="integer" value="0" label="Sketch size - leave 0 for automatic setting based"
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
65 help="This parameter sets the seed density of the winnowing scheme, gauranteeing that the minhash will be calculated from a sample of sketchSize k-mers for each segment. It is set automatically based on --pi but can be manually set as well."/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
66 <param argument="dense" type="boolean" truevalue="--dense" falsevalue="" label="Dense sketching"
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
67 help="This flag will increase the seed density substantially, resulting in a density of roughly 0.02 * (1 + (1 - pi) / .05) where pi is the perc_identity threshold. This leads to longer runtimes and higher RAM usage, but significantly more accurate estimates of ANI."/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
68 <param argument="--kmerThreshold" type="float" min="0.0" max="0.0" optional="true" label="Ignore the top % most-frequent kmer window" />
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
69 <param argument="--kmerComplexity" type="float" min="0.0" max="1.0" optional="true" label="Threshold for kmer complexity" />
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
70 <param argument="filter_mode" type="select" label="Filter mode" help="Mashmap implements a plane-sweep based algorithm to perform the alignment filtering. Similar to delta-filter in nucmer, different filtering options are provided that are suitable for long read or assembly mapping. Option -f map is suitable for reporting the best mappings for long reads, whereas -f one-to-one is suitable for reporting orthologous mappings among all computed assembly to genome mappings.">
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
71 <option value="map" selected="true">map - best mapping for long reads</option>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
72 <option value="one-to-one">one-to-one - best for mapping orthologous reads</option>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
73 <option value="none">None</option>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
74 </param>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
75 <param argument="--reportPercentage" type="boolean" truevalue="--reportPercentage" falsevalue="" checked="false"
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
76 label="Report predicted ANI values in [0, 100]"
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
77 help="instead of [0,1]" />
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
78 <param argument="--noMerge" type="boolean" truevalue="--noMerge" falsevalue="" checked="false"
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
79 label="Don't merge consecutive segment-level mappings" />
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
80 <param argument="--noHgFilter" type="boolean" truevalue="--noHgFilter" falsevalue="" checked="false" label="Use MashMap2 first pass filtering"
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
81 help="Don't use the hypergeometric filtering and instead use the MashMap2 first pass filtering." />
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
82 </inputs>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
83 <outputs>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
84 <data name="mashout" format="paf" from_work_dir="mashmap.out" />
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
85 </outputs>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
86 <tests>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
87 <test expect_num_outputs="1">
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
88 <param name="query" value="query_sample.fasta" ftype="fasta"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
89 <param name="reflist" value="reflist_sample.fasta" ftype="fasta"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
90 <param name="perc_identity" value="85.0"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
91 <param name="seqLength" value="5000"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
92 <param name="sketchSize" value="0"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
93 <param name="dense" value="true"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
94 <param name="filter_mode" value="map"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
95 <output name="mashout" value="mashout_sample.paf" ftype="paf"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
96 </test>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
97 <test expect_num_outputs="1">
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
98 <param name="query" value="query_sample.fasta.gz" ftype="fasta.gz"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
99 <param name="reflist" value="reflist_sample.fasta.gz" ftype="fasta.gz"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
100 <param name="perc_identity" value="85.0"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
101 <param name="seqLength" value="5000"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
102 <param name="sketchSize" value="0"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
103 <param name="dense" value="true"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
104 <param name="filter_mode" value="map"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
105 <output name="mashout" value="mashout_sample.paf" ftype="paf"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
106 </test>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
107 <test expect_num_outputs="1">
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
108 <param name="query" value="query_sample.fasta.gz,query_sample.fasta.gz" ftype="fasta.gz"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
109 <param name="reflist" value="reflist_1_sample.fasta.gz,reflist_2_sample.fasta.gz" ftype="fasta.gz"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
110 <param name="perc_identity" value="85.0"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
111 <param name="seqLength" value="5000"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
112 <param name="sketchSize" value="0"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
113 <param name="dense" value="true"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
114 <param name="filter_mode" value="map"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
115 <output name="mashout" value="mashout_multi_sample.paf" ftype="paf"/>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
116 </test>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
117 </tests>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
118 <help><![CDATA[
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
119 *MashMap* implements a fast and approximate algorithm for computing local alignment boundaries between long DNA sequences.
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
120 It can be useful for mapping genome assembly or long reads (PacBio/ONT) to reference genome(s).
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
121 Given a minimum alignment length and an identity threshold for the desired local alignments,
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
122
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
123 Mashmap computes alignment boundaries and identity estimates using k-mers. It does not compute the alignments explicitly,
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
124 but rather estimates an unbiased k-mer based Jaccard similarity using a combination of minmers (a novel winnowing scheme) and MinHash.
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
125 This is then converted to an estimate of sequence identity using the Mash distance. An appropriate k-mer sampling rate
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
126 is automatically determined using the given minimum local alignment length and identity thresholds.
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
127
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
128 As an example, Mashmap can map a human genome assembly to the human reference genome in about one minute total execution
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
129 time and < 4 GB memory using just 8 CPU threads, achieving more than an order of magnitude improvement in both runtime and
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
130 memory over alternative methods. We describe the algorithms associated with Mashmap, and report on speed, scalability, and
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
131 accuracy of the software in the publications listed below. Unlike traditional mappers, MashMap does not compute exact sequence alignments.
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
132 In future, we plan to add an optional alignment support to generate base-to-base alignments.
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
133
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
134 The output is space-delimited with each line consisting of query name, length, 0-based start, end, strand, target name,
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
135 length, start, end and mapping nucleotide identity.
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
136
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
137 ]]></help>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
138 <citations>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
139 <citation type="doi">10.1093/bioinformatics/btad512</citation>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
140 <citation type="doi">10.1093/bioinformatics/bts573</citation>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
141 </citations>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
142 </tool>
a3a6b0b31f2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mashmap commit 4d07f324b25c62ef0b56b22dfff84af87d54d142
iuc
parents:
diff changeset
143