Description

Sort fasta entries by decreasing abundance (—sortbysize) or sequence length (—sortbylength).

Input

name:type
description
pattern

meta{:bash}

:map

Groovy Map containing sample information e.g. [ id:‘test’ ]

fasta{:bash}

:file

Sequences to be sorted in FASTA format

*.{fasta,fa,fasta.gz,fa.gz}

sort_arg{:bash}

:string

Argument to provide to sort algorithm. Sort by abundance with —sortbysize or by sequence length with —sortbylength.

Output

name:type
description
pattern

fasta{:bash}

meta{:bash}

:map

Groovy Map containing sample information e.g. [ id:‘test’, single_end:false ]

*.fasta{:bash}

:file

Sorted FASTA file

*.{fasta}

versions{:bash}

versions.yml{:bash}

:file

File containing software versions

versions.yml

Tools

vsearch
GPL v3-or-later OR BSD-2-clause

VSEARCH is a versatile open-source tool for microbiome analysis, including chimera detection, clustering, dereplication and rereplication, extraction, FASTA/FASTQ/SFF file processing, masking, orienting, pair-wise alignment, restriction site cutting, searching, shuffling, sorting, subsampling, and taxonomic classification of amplicon sequences for metagenomics, genomics, and population genetics. (USEARCH alternative)