Mercurial > repos > fubar > mashmap
changeset 8:9ba0184870ef draft
planemo upload
author | fubar |
---|---|
date | Sat, 24 Feb 2024 06:58:16 +0000 |
parents | 53f601fb8664 |
children | dc53eb4354a6 |
files | mashmap.bash.txt mashmap.xml |
diffstat | 2 files changed, 8 insertions(+), 28 deletions(-) [+] |
line wrap: on
line diff
--- a/mashmap.bash.txt Sat Feb 24 04:32:36 2024 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -#raw -rm -rf 'reflist' -#for i, mash in enumerate($reflist): - #if i == 0: - echo $mash > 'reflist' - #else: - echo $mash >> 'reflist' - #end if -#end for -mashmap -rl 'reflist' -q '$query' > $mashout -#end raw
--- a/mashmap.xml Sat Feb 24 04:32:36 2024 +0000 +++ b/mashmap.xml Sat Feb 24 06:58:16 2024 +0000 @@ -1,6 +1,6 @@ <tool name="mashmap" id="mashmap" version="1.19.2" profile="22.05"> <!--Source in git at: https://github.com/fubar2/galaxy_tf_overlay--> - <!--Created by toolfactory@galaxy.org at 24/02/2024 15:30:44 using the Galaxy Tool Factory.--> + <!--Created by toolfactory@galaxy.org at 24/02/2024 15:58:22 using the Galaxy Tool Factory.--> <description>Fast local alignment boundaries</description> <requirements> <requirement version="3.1.3" type="package">mashmap</requirement> @@ -65,22 +65,13 @@ *MashMap* implements a fast and approximate algorithm for computing local alignment boundaries between long DNA sequences. It can be useful for mapping genome assembly or long reads (PacBio/ONT) to reference genome(s). Given a minimum alignment length and an identity threshold for the desired local alignments, Mashmap computes alignment boundaries and identity estimates using k-mers. It does not compute the alignments explicitly, but rather estimates an unbiased k-mer based Jaccard similarity using a combination of minmers (a novel winnowing scheme) and MinHash. This is then converted to an estimate of sequence identity using the Mash distance. An appropriate k-mer sampling rate is automatically determined using the given minimum local alignment length and identity thresholds. - - As an example, Mashmap can map a human genome assembly to the human reference genome in about one minute total execution time and < 4 GB memory using just 8 CPU threads, achieving more than an order of magnitude improvement in both runtime and memory over alternative methods. We describe the algorithms associated with Mashmap, and report on speed, scalability, and accuracy of the software in the publications listed below. Unlike traditional mappers, MashMap does not compute exact sequence alignments. In future, we plan to add an optional alignment support to generate base-to-base alignments. - - Map set of query sequences against a reference genome: - - mashmap -r reference.fna -q query.fa - - The output is space-delimited with each line consisting of query name, length, 0-based start, end, strand, target name, length, start, end and mapping nucleotide identity. - - Map set of query seqences against a list of reference genomes: - - mashmap --rl referenceList.txt -q query.fa - - File 'referenceList.txt' containing the list of reference genomes should contain path to the reference genomes, one per line. - - Source code: https://github.com/marbl/MashMap + + Output is in *paf* format + This is space-delimited, with each line consisting of query name, length, 0-based start, end, strand, target name, length, start, end and mapping nucleotide identity. + Details at https://github.com/lh3/miniasm/blob/master/PAF.md + + More details at the Mashmap github repository https://github.com/marbl/MashMap + ]]></help> <citations> <citation type="doi">10.1093/bioinformatics/btad512</citation>