Giter Site home page Giter Site logo

adapto-rs's Introduction

adapto-rs

Remove adaptors from short-read sequencing data. I needed a faster tool to remove adaptor sequences from reads for my own in my own data analysis. I wrote this in Rust because I wanted to experiment with the libraries for parallelism. It turns out this application does not need much in the way of parallelism. I think this code is reasonably fast. Unlike the tools I was using previously, adapto-rs does not use more cores concurrently than the number of threads specified by the user, which is an absolute requirement of my computing environment.

If you have cargo installed, you can build this code by doing:

cargo build --release

in the root of the source directory, and then run

./target/release/adapto-rs

to see the command line arguments.

If you need a static linked binary, which I currently do for a cluster (x86, linux) environment that I do not manage, you can build one on your own Ubuntu machine by doing the following:

sudo apt install musl-tools
rustup target add x86_64-unknown-linux-musl
RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-unknown-linux-musl

I think I got a smaller and possibly faster binary with this instead:

RUSTFLAGS='-C target-feature=+crt-static -C codegen-units=1 -C lto -C embed-bitcode=yes' cargo build --release --target x86_64-unknown-linux-musl

You will then find the binary in the ./target/x86_64-unknown-linux-musl/release/ subdirectory.

adapto-rs's People

Contributors

andrewdavidsmith avatar

Stargazers

Mickaël Malécot 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.