ngmlr | read mapper designed to align PacBio | Genomics library
kandi X-RAY | ngmlr Summary
kandi X-RAY | ngmlr Summary
CoNvex Gap-cost alignMents for Long Reads (ngmlr) is a long-read mapper designed to sensitively align PacBilo or Oxford Nanopore to (large) reference genomes. It was designed to quickly and correctly align the reads, including those spanning (complex) structural variations. Ngmlr uses an SV aware k-mer search to find approximate mapping locations for a read and then a banded Smith-Waterman alignment algorithm to compute the final alignment. Ngmlr uses a convex gap cost model that penalizes gap extensions for longer gaps less than for shorter ones to compute precise alignments. The gap model allows ngmlr to account for both the sequencing error and real genomic variations at the same time and makes it especially effective at more precisely identifying the position of breakpoints stemming from structural variations. The k-mer search helps to detect and split reads that cannot be aligned linearly, enabling ngmlr to reliably align reads to a wide range of different structural variations including nested SVs (e.g. inversions flanked by deletions). With 10 cores (AMD Opteron 6348), ngmlr currently takes about 90 minutes and 10 GB RAM for aligning 3Gbp (~ 1x human data) of Pacbio reads.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ngmlr
ngmlr Key Features
ngmlr Examples and Code Snippets
Community Discussions
Trending Discussions on ngmlr
QUESTION
I am trying to edit and run a snakemake pipeline. In a nutshell, the snakemake pipeline calls a default genome aligner (minimap
) and produces output files with this name. I am trying to add a variable aligner
to config.yaml
to specify the aligner I want to call. Also (where I am actually stuck), the output files should have the name of the aligner specified in config.yaml
.
My config.yaml
looks like this:
ANSWER
Answered 2019-Oct-24 at 14:48You are close!
The way wildcards work in snakemake is they get interpreted 'last', while f-strings get interpreted first. To not interpret a curly brace in an f-string you can escape it with another curly brace, like so:
QUESTION
It has been years since I worked in C++
, and I've never used CMake
before. I'm trying to compile a program called ngmlr, which uses CMake
. It worked seamlessly on other systems I tried to build it on. This time around, CMake
finds ZLIB
(Found ZLIB: /usr/lib64/libz.so (found version "1.2.3")
), as required by ngmlr
, but the subsequent make
fails with ld: cannot find -lz
.
I think I know what's happening: CMake
found the dynamic ZLIB
library (libz.so
), but the CMakeLists.txt
file requires static
(I found the following option in the file: option(STATIC "Build static binary" ON)
). As far as I can tell, the static library (libz.a
) is missing on this machine. It's not in the same /usr/lib64
directory as libz.so
. locate
is not available.
Questions:
- Does that seem correct?
- For education, assuming this is the problem, can you force
CMake
to look specifically forstatic
ZLIB
? e.g., since the developer requiredstatic
, it would have been nice to immediately know the missingstatic
library was the problem, rather than the embarrassingly long amount of time it took me to figure it out.
I've looked extensively for a clear answer to both, but didn't find anything conclusive (e.g., Force cmake to use static libraries).
UPDATE
I did confirm that the problem is that ld
could not find the static library. Now I'm particularly interested to know if the developer can tell CMake
to throw an error if the static
libraries are not present, and save someone else.
cmake version 2.8.8
ANSWER
Answered 2017-Jun-24 at 03:11Your CMakeLists.txt
probably has this somewhere:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ngmlr
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page