ngmlr-0.2.7+git20210816.a2a31fb/ 0000775 0000000 0000000 00000000000 14106361503 0015357 5 ustar 00root root 0000000 0000000 ngmlr-0.2.7+git20210816.a2a31fb/.gitignore 0000664 0000000 0000000 00000000236 14106361503 0017350 0 ustar 00root root 0000000 0000000 /bin
/build
/.settings
.project
.cproject
/ngm-0.4.4
/.kdev4
.pydevproject
lib/libgff
/docs/
.DS_Store
/cibiv.sh
/cshl.sh
/Release/
/build-linux/
test_env.sh
ngmlr-0.2.7+git20210816.a2a31fb/.travis.yml 0000664 0000000 0000000 00000000505 14106361503 0017470 0 ustar 00root root 0000000 0000000 language: cpp
sudo: false
dist: trusty
cache:
apt: true
addons:
apt:
packages:
- vim
- bedtools
- samtools
compiler: g++
before_script:
- mkdir build
- cd build
- cmake ..
script:
- make && cd ..
# - bin/ngmlr*/ngmlr -h
- test/test_travis.sh
ngmlr-0.2.7+git20210816.a2a31fb/.vscode/ 0000775 0000000 0000000 00000000000 14106361503 0016720 5 ustar 00root root 0000000 0000000 ngmlr-0.2.7+git20210816.a2a31fb/.vscode/.gitignore 0000664 0000000 0000000 00000000027 14106361503 0020707 0 ustar 00root root 0000000 0000000 /c_cpp_properties.json
ngmlr-0.2.7+git20210816.a2a31fb/CMakeLists.txt 0000664 0000000 0000000 00000002530 14106361503 0020117 0 ustar 00root root 0000000 0000000 cmake_minimum_required(VERSION 2.8)
project(ngmlr)
include(CheckCXXCompilerFlag)
option(STATIC "Build static binary" OFF)
set( NGM_VERSION_MAJOR 0 )
set( NGM_VERSION_MINOR 2 )
IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
message(STATUS "Building in debug mode!")
set( NGM_VERSION_BUILD 8-debug )
else()
set( NGM_VERSION_BUILD 8 )
ENDIF()
find_package( ZLIB REQUIRED )
find_package ( Threads REQUIRED )
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
if(COMPILER_SUPPORTS_CXX11)
IF(NOT APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
ELSE()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -stdlib=libc++")
ENDIF()
else()
message(FATAL_ERROR "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. Please use a different C++ compiler.")
endif()
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin/ngmlr-${NGM_VERSION_MAJOR}.${NGM_VERSION_MINOR}.${NGM_VERSION_BUILD}/)
file(MAKE_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})
# Set a default build type for single-configuration
# CMake generators if no build type is set.
# RELEASE, RELWITHDEBINFO, DEBUG
IF(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
message(STATUS "No build type specified. Using 'RELWITHDEBINFO'")
SET(CMAKE_BUILD_TYPE RELWITHDEBINFO)
ENDIF(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
add_subdirectory(src) ngmlr-0.2.7+git20210816.a2a31fb/LICENSE 0000664 0000000 0000000 00000002075 14106361503 0016370 0 ustar 00root root 0000000 0000000 The MIT License (MIT)
Copyright (c) 2017 Philipp Rescheneder
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. ngmlr-0.2.7+git20210816.a2a31fb/README.md 0000664 0000000 0000000 00000017471 14106361503 0016650 0 ustar 00root root 0000000 0000000 ### Quick start
Download [binary](https://github.com/philres/ngmlr/releases/tag/v0.2.6) from github and unzip or [](http://bioconda.github.io/recipes/ngmlr/README.html) or pull docker [](https://hub.docker.com/r/philres/ngmlr/). For updates follow [](https://twitter.com/philres1)
Download precompiled version:
```bash
wget https://github.com/philres/ngmlr/releases/download/v0.2.7/ngmlr-0.2.7-linux-x86_64.tar.gz
tar xvzf ngmlr-0.2.7-linux-x86_64.tar.gz
cd ngmlr-0.2.7/
```
For PacBio data run:
```bash
ngmlr -t 4 -r reference.fasta -q reads.fastq -o test.sam
```
For Oxford Nanopore run:
```bash
ngmlr -t 4 -r reference.fasta -q reads.fastq -o test.sam -x ont
```
### Introduction
CoNvex Gap-cost alignMents for Long Reads (ngmlr) is a long-read mapper designed to sensitively align PacBio 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.
### Citation:
Please see and cite our paper:
https://www.nature.com/articles/s41592-018-0001-7
**Poster & Talks:**
[Accurate and fast detection of complex and nested structural variations using long read technologies](http://schatzlab.cshl.edu/presentations/2016/2016.10.28.BIODATA.PacBioSV.pdf)
Biological Data Science, Cold Spring Harbor Laboratory, Cold Spring Harbor, NY, 26 - 29.10.2016
[NGMLR: Highly accurate read mapping of third generation sequencing reads for improved structural variation analysis](http://www.cibiv.at/~philipp_/files/gi2016_poster_phr.pdf)
Genome Informatics 2016, Wellcome Genome Campus Conference Centre, Hinxton, Cambridge, UK, 19.09.-2.09.2016
### Parameters
```
Usage: ngmlr [options] -r -q [-o