Subsample reads from FASTQ files
meta{:bash}
:map
Groovy Map containing sample information e.g. [ id:‘test’, single_end:false ]
reads{:bash}
:file
List of input FastQ files
*.{fastq.gz}
sample_size{:bash}
:float
Fraction (<1.0) or number (>=1) of reads to sample.
*.fastq.gz{:bash}
Subsampled FastQ files
versions_seqtk{:bash}
${task.process}{:bash}
:string
The name of the process
seqtk{:bash}
The name of the tool
seqtk 2>&1 | sed -n 's/^Version: //p'{:bash}
:eval
The expression to obtain the version of the tool
versions{:bash}
Seqtk is a fast and lightweight tool for processing sequences in the FASTA or FASTQ format. Seqtk sample command subsamples sequences.