Giter Club home page Giter Club logo

fastq-resorvior's Introduction

fastq-resorvior

Sampling Fastq reads using resorvior sampling

System tested

Ubuntu 18.04

Required compiler

gcc >= 4.8

Required library

zlib

Heng Li's kseq.h (included in this repository)

Compilation

After clone this respository do the following

$ cd fastq-resorvior
$ gcc -O2 -o fastq-resorvior fastq-resorvior.c -lz

Details

./fastq-resorvior -m mode [options] in1.fastq[,in2.fastq] out1.fastq[,out2.fastq]

[options]

   -h          This help message
   -f   FLT    Factor of sampling. If -k is also set, then the smaller value using 
               this factor and -k result will be sampled [default=1.0]
   -k   INT    Actual number of reads to sample. If -f is also set, then the smaller 
               values using -f and -k will be used [default=all_reads]
   -m   STR    Sequencing read mode either s or p to denote single end and paried end
               [default=s]

Example command for single end read sampling

./fastq-resorvior in.fastq out.fastq

Example command for paired end read sampling

./fastq-resorvior in1.fastq in2.fastq out1.fastq out2.fastq

Author

Thomas Sunghoon Heo

License

GPL v3

fastq-resorvior's People

Contributors

tahuh avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

wangpanqiao

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.