All Projects → ngless-toolkit → Ngless

ngless-toolkit / Ngless

Licence: other
NGLess: NGS with less work

Programming Languages

haskell
3896 projects

Projects that are alternatives of or similar to Ngless

Gatk
Official code repository for GATK versions 4 and up
Stars: ✭ 1,002 (+771.3%)
Mutual labels:  bioinformatics, science, genomics, ngs
Galaxy
Data intensive science for everyone.
Stars: ✭ 812 (+606.09%)
Mutual labels:  bioinformatics, science, genomics, ngs
Jvarkit
Java utilities for Bioinformatics
Stars: ✭ 313 (+172.17%)
Mutual labels:  bioinformatics, science, genomics, ngs
Deepvariant
DeepVariant is an analysis pipeline that uses a deep neural network to call genetic variants from next-generation DNA sequencing data.
Stars: ✭ 2,404 (+1990.43%)
Mutual labels:  bioinformatics, science, genomics, ngs
catch
A package for designing compact and comprehensive capture probe sets.
Stars: ✭ 55 (-52.17%)
Mutual labels:  science, bioinformatics, genomics, ngs
Ugene
UGENE is free open-source cross-platform bioinformatics software
Stars: ✭ 112 (-2.61%)
Mutual labels:  bioinformatics, science, ngs
bac-genomics-scripts
Collection of scripts for bacterial genomics
Stars: ✭ 39 (-66.09%)
Mutual labels:  science, genomics, ngs
Deeptools
Tools to process and analyze deep sequencing data.
Stars: ✭ 448 (+289.57%)
Mutual labels:  bioinformatics, genomics, ngs
reg-gen
Regulatory Genomics Toolbox: Python library and set of tools for the integrative analysis of high throughput regulatory genomics data.
Stars: ✭ 64 (-44.35%)
Mutual labels:  bioinformatics, genomics, ngs
Genomics
A collection of scripts and notes related to genomics and bioinformatics
Stars: ✭ 101 (-12.17%)
Mutual labels:  bioinformatics, science, genomics
Bgt
Flexible genotype query among 30,000+ samples whole-genome
Stars: ✭ 72 (-37.39%)
Mutual labels:  bioinformatics, genomics
Arcs
🌈Scaffold genome sequence assemblies using linked read sequencing data
Stars: ✭ 67 (-41.74%)
Mutual labels:  bioinformatics, science
Gubbins
Rapid phylogenetic analysis of large samples of recombinant bacterial whole genome sequences using Gubbins
Stars: ✭ 67 (-41.74%)
Mutual labels:  bioinformatics, genomics
Dna Nn
Model and predict short DNA sequence features with neural networks
Stars: ✭ 59 (-48.7%)
Mutual labels:  bioinformatics, genomics
Sibeliaz
A fast whole-genome aligner based on de Bruijn graphs
Stars: ✭ 76 (-33.91%)
Mutual labels:  bioinformatics, genomics
Fastq.bio
An interactive web tool for quality control of DNA sequencing data
Stars: ✭ 76 (-33.91%)
Mutual labels:  bioinformatics, genomics
Bioconvert
Bioconvert is a collaborative project to facilitate the interconversion of life science data from one format to another.
Stars: ✭ 112 (-2.61%)
Mutual labels:  bioinformatics, ngs
Awesome 10x Genomics
List of tools and resources related to the 10x Genomics GEMCode/Chromium system
Stars: ✭ 82 (-28.7%)
Mutual labels:  bioinformatics, genomics
Genomicsqlite
Genomics Extension for SQLite
Stars: ✭ 90 (-21.74%)
Mutual labels:  bioinformatics, genomics
Dram
Distilled and Refined Annotation of Metabolism: A tool for the annotation and curation of function for microbial and viral genomes
Stars: ✭ 47 (-59.13%)
Mutual labels:  bioinformatics, genomics

NGLess: NGS Processing with Less Work

NGLess logo Ngless is a domain-specific language for NGS (next-generation sequencing data) processing.

Build Status MIT licensed Install with Bioconda Install with Bioconda Citation for NGLess Join the chat at https://gitter.im/ngless-toolkit

For questions and discussions, please use the ngless mailing list.

If you are using NGLess, please cite:

NG-meta-profiler: fast processing of metagenomes using NGLess, a domain-specific language by Luis Pedro Coelho, Renato Alves, Paulo Monteiro, Jaime Huerta-Cepas, Ana Teresa Freitas, Peer Bork, Microbiome (2019) https://doi.org/10.1186/s40168-019-0684-8

NGLess cartoon

Example

ngless "1.3"
input = fastq(['ctrl1.fq','ctrl2.fq','stim1.fq','stim2.fq'])
input = preprocess(input) using |read|:
    read = read[5:]
    read = substrim(read, min_quality=26)
    if len(read) < 31:
        discard

mapped = map(input,
                reference='hg19')
write(count(mapped, features=['gene']),
        ofile='gene_counts.csv',
        format={csv})

Installing

See the install documentation for more information.

Bioconda

The recommended way to install NGLess is through bioconda:

conda install -c bioconda ngless 

Docker

Alternatively, a docker container with NGLess is available at docker hub:

docker run -v $PWD:/workdir -w /workdir -it nglesstoolkit/ngless:1.0.0 ngless --version

Adapt the mount flags (-v) as needed.

Linux

You can get a statically linked version of NGless 1.1.1 or a nighly build of the latest development code. This should work across a wide range of Linux versions (please report any issues you encounter):

curl -L -O https://github.com/ngless-toolkit/ngless/releases/download/v1.1.1/NGLess-1.1.1-static-Linux64
chmod +x NGLess-1.1.1-static-Linux64
./NGLess-1.1.1-static-Linux64

This download bundles bwa, samtools and megahit (also statically linked).

If you want to try one of ngless' builtin modules (motus, specI, ...) you can download the full nighly build zip file which includes them.

From Source

Installing/compiling from source is also possible. Clone https://github.com/ngless-toolkit/ngless

Dependencies

The simplest way to get an environment will all the dependencies is to use conda:

conda create -n ngless
conda activate ngless
conda config --add channels conda-forge
conda install stack cairo bzip2 gmp zlib perl wget xz pkg-config make

You should have gcc installed (or another C-compiler).

The following sequence of commands should download and build the software

git clone https://github.com/ngless-toolkit/ngless
cd ngless
stack setup
make

To install, you can use the following command (replace <PREFIX> with the directory where you wish to install, default is /usr/local):

make install prefix=<PREFIX>

Running Sample Test Scripts on Local Machine

For Developers who have successfully comiled and installed NGless, running the test scripts in /tests folder would be the next line of action to have the output of sample(small) test cases.

cd tests

Once in the test directory, select any of the following many test folders(scripts) to run using NGless. For example, here we would run the "regression-fqgz" and the eventually the .ngl file to get a sample output view that can be used for visualizing the software.

cd regression-fqgz
ngless ungzip.ngl

After running this script open the newly generated folder "ungzip.ngl.output_ngless" and view the template in the index.html file.

For developers who have done this much more data-sets for testing purposes can be referenced and used by reading these documentation links: Human Gut Metagenomics Functional & Taxonomic Profiling Ocean Metagenomics Functional Profiling Ocean Metagenomics Assembly and Gene Prediction

The download might cause network congestion in some machines, however with a compute trade-off the packages can be downloaded easily. Get more details of the resources here.

More information

Authors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].