# HG changeset patch # User fubar # Date 1708757896 0 # Node ID 9ba0184870ef9b8114347c51fd63205546feb5cf # Parent 53f601fb8664dc445115ca450e5605e17c6ccbc3 planemo upload diff -r 53f601fb8664 -r 9ba0184870ef mashmap.bash.txt --- 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 diff -r 53f601fb8664 -r 9ba0184870ef mashmap.xml --- 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 @@ - + Fast local alignment boundaries mashmap @@ -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 + ]]> 10.1093/bioinformatics/btad512