Skip to content
/ sfs Public

A Rust CLI tool for creating and working with the site frequency spectra.

Notifications You must be signed in to change notification settings

malthesr/sfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sfs

sfs is a tool for creating and working with the site frequency spectra.

The README is currently under construction. Usage and examples will be added soon.

Contents

  1. Installation
    1. From source
      1. Latest release
      2. Current git
    2. Pre-built
    3. Conda
    4. Docker

Installation

From source

A recent Rust toolchain is required to build sfs from source. Currently, the Rust toolchain can be installed by running:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env

See instructions for more details.

sfs can now be build from source, using either the latest released version, or the current git head, as described below.

Latest release

The following will install the latest released version of sfs:

cargo install sfs-cli

This will install the sfs binary to $HOME/.cargo/bin by default, which should be in the $PATH after installing cargo. Alternatively:

cargo install sfs-cli --root $HOME

Will install to $HOME/bin.

Current git

The latest git version may include more (potentially experimental) features, and can be installed using:

cargo install --git https://github.com/malthesr/sfs

Pre-built

Pre-built binaries are available from the releases page (linux, mac, windows).

For a one-liner, something like the following should work in a UNIX environment:

curl -s -L $url | tar xvz -O > $dest

Where $url is chosen from above, and $dest is the resulting binary, e.g. $HOME/bin/sfs.

Conda

sfs is available via conda on the BioConda channel:

conda install -c bioconda sfs

Docker

A docker image is automatically built by BioContainers from the BioConda recipe and hosted on Quay.io:

docker pull quay.io/biocontainers/sfs:$tag

With $tag chosen among the available tags.

About

A Rust CLI tool for creating and working with the site frequency spectra.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages