Description

Select sequences from a large file based on name/ID

Input

name:type
description
pattern

meta

:map

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

sequence

:file

Fasta or fastq file containing sequences to be filtered

*.{fa,fna,faa,fasta,fq,fastq}[.gz]

pattern

:file

pattern file (one record per line). If no pattern is given, a string can be specified within the args using ‘-p pattern_string’

*.{txt,tsv}

out_ext

:string

Output file extension. Leave empty to auto-detect from input (for example fa or fq)

Output

name:type
description
pattern

filter

meta

:map

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

*.{fa,fq,fa.gz,fq.gz}

:file

Fasta or fastq file containing the filtered sequences. Will be gzipped if the input file was gzipped.

versions_seqkit

${task.process}

:string

The name of the process

seqkit

:string

The name of the tool

seqkit version | sed "s/seqkit v//"

:eval

The expression to obtain the version of the tool

Topics

name:type
description
pattern

versions

${task.process}

:string

The name of the process

seqkit

:string

The name of the tool

seqkit version | sed "s/seqkit v//"

:eval

The expression to obtain the version of the tool

Tools

seqkit
MIT

Cross-platform and ultrafast toolkit for FASTA/Q file manipulation, written by Wei Shen.