Coder Social home page Coder Social logo

zanmer / fastp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from novogene-europe/fastp

0.0 0.0 0.0 3.46 MB

Upgraded FASTP more suitable for industry standard

License: MIT License

Makefile 0.15% C++ 62.93% C 32.19% Objective-C 2.78% Python 1.95%

fastp's Introduction

fastp

This is a modified version, contains function of length limitation of adapter trimming. For more detailed information, please refer to fastp. And a prebuiled binary file based on linux system is under centos directory.

Release 9/27/2019

  1. add --min_trim_length option, which is used to limit the length of adapter trimming, default 10.

  2. the origin --overlap_diff_limit option is unapplicable, we revised the code and used it to selection the overlap result.

  3. parse_fastp.py is used to summary the fastp's json file and plot.

For general usage:

## only overlap used for trimming
./centos/fastp -i testdata/R1.fq.gz \
  -I testdata/R2.fq.gz \
  -o testdata/R1.clean.fq.gz \
  -O testdata/R2.clean.fq.gz \
  --qualified_quality_phred 5 \
  --unqualified_percent_limit 50 \
  --n_base_limit 15 \
  --overlap_len_require 30 \
  --overlap_diff_limit 1 \
  --min_trim_length 10 \
  --overlap_diff_percent_limit 10 \
  --length_limit 150 \
  --disable_trim_poly_g \
  --json testdata/test_fastp.json \
  --html testdata/test_fastp.html \
  --report_title fastp_test
##  overlap and adapter sequence trimming
./centos/fastp -i testdata/R1.fq.gz \
  -I testdata/R2.fq.gz \
  -o testdata/R1.clean.fq.gz \
  -O testdata/R2.clean.fq.gz \
  --qualified_quality_phred 5 \
  --unqualified_percent_limit 50 \
  --n_base_limit 15 \
  --adapter_sequence AGATCGGAAGAGCACACGTCTGAACTCCAGTCA \
  --adapter_sequence_r2 AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGT \
  --overlap_len_require 30 \
  --overlap_diff_limit 1 \
  --min_trim_length 10 \
  --overlap_diff_percent_limit 10 \
  --length_limit 150 \
  --disable_trim_poly_g \
  --json testdata/test_fastp.json \
  --html testdata/test_fastp.html \
  --report_title fastp_test

usage: parse_fastp.py

Parse fastp output

optional arguments:
  -h, --help            show this help message and exit
  --fastp-json FASTP_JSON, -i FASTP_JSON
                        Fastp json file
  --outdir OUTDIR, -o OUTDIR
                        Output directory
  --samplename SAMPLENAME, -s SAMPLENAME
                        sample name

Example:

python parse_fastp.py -i testdata/test_fastp.json -o testdata -s test

fastp's People

Contributors

zanmer 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.