Skip to content

montoias/ngless

 
 

Repository files navigation

NGLess: NGS Processing with Less Work

Join the chat at https://gitter.im/luispedro/ngless

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

Note: This is pre-release software, currently available as a preview only. Please get in touch if you want to use it in your work.

Example

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

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

Dependencies

Cabal version 1.18 or higher is necessary.

Running make should build a sandbox and download/install all dependencies into it.

More information

Authors

About

NGLess: NGS with less work

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 83.8%
  • HTML 9.9%
  • Shell 1.9%
  • Makefile 1.9%
  • CSS 1.6%
  • Python 0.8%
  • C 0.1%