Crates.io | seqsample |
lib.rs | seqsample |
version | 0.2.0 |
source | src |
created_at | 2022-11-14 16:36:25.485483 |
updated_at | 2023-03-15 19:04:01.271334 |
description | Randomly sample sequences from a FASTA file |
homepage | https://stevenweaver.org |
repository | https://github.com/stevenweaver/seqsample |
max_upload_size | |
id | 715079 |
size | 75,280 |
Randomly samples from FASTA file
Download the source code and run
cargo install
seqsample -n .5 --fasta original.fas --store-background ./background.fas
Arguments:
-f, --fasta <fasta>
The input FASTA file (gzip acceptable).
-h, --help
Print help information
-i, --store-background <store-background>
Write the samples not selected randomly in a separate file.
-n, --number <number>
Number of sequences to randomly sample. If the number is less than 1, then it will be
treated as a percentage of the dataset.
-V, --version
Print version information