Git Product home page Git Product logo

segpe's Introduction

SegPE

A simple program for classifing and separating paired-ends (PE) FASTQ after removing adapters via adapter-index seq

Major algorithms:

  • Exact match search: This is a more direct method for finding exact matches of artificial sequences. Regular expression matching and Hamming distance: This is suitable for detecting and locating index sequences, especially when mismatches of a certain length are taken into account.
  • Process and classify PE sequences: After removing the adapter and index sequences, classify the PE sequences and create new PE FASTQ files.
  • Use Multi-threads, SIMD and AsyncIO to handle large amounts of data.

Setup


# Install rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# or update
rustup update

cd SegPE
cargo build --release

## SIMD  edit Cargo.toml first
# Intel x86
cargo build --features simd_avx2 --release
# Arm 
cargo build --features simd_neon --release

Example:

time RUST_LOG=INFO ./target/release/segpe --five-art-fa data/5_art.fa --three-art-fa data/3_art.fa --five-idx-fa data/idx.fa --pe1-fastq data/PE1.fastq.gz --pe2-fastq data/PE2.fastq.gz -n 1000 -b 100 -o data/output

Version

0.1.14, build-240429

Usage

飞书文档

Notion中文文档

Notion Usage

License

^Licensed under either of Apache License, Version 2.0 or MIT license at your option.^ Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

segpe's People

Contributors

benmfeng avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

benmfeng

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.