Git Product home page Git Product logo

ngless's Introduction

NGLess: NGS Processing with Less Work

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

Build Status MIT licensed Install with Bioconda Join the chat at https://gitter.im/luispedro/ngless

Note: This is pre-release software, currently in beta (testing) It is stable enough to use, but there may still be some (minor) changes before an official release. For questions, you can also use the ngless mailing list.

Example

ngless "0.0"
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

One of the simplest ways to install NGLess is through bioconda:

conda install -c bioconda ngless 

Linux

You can get a statically linked version of NGless 0.5 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 -O http://ngless.embl.de/releases/ngless-0.5.1-Linux64
chmod +x ngless-0.5.1-Linux64
./ngless-0.5.1-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 http://github.com/luispedro/ngless

Dependencies

stack is highly recommended. Install it and running make should (1) download all dependencies with the correct versions and (2) build ngless. It will perform this task in its own sandbox so it will not interfere with any other work.

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

The following sequence of commands should download and build the software

git clone https://github.com/luispedro/ngless
cd ngless
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>

More information

Authors

ngless's People

Contributors

luispedro avatar montoias avatar unode avatar gitter-badger avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.