Skip to main content

blastn

Tags: blast alignment nucleotide search fasta database sample-scope

Search a nucleotide database using nucleotide query sequences.

This subworkflow uses BLASTN to align nucleotide query sequences against a nucleotide BLAST database. It processes each sample individually and aggregates the alignment results into a single consolidated report for all samples.

Take

blastdb: Channel<Record>
FieldDescription
metaGroovy Record containing sample information
blastdbA compressed tarball containing the BLAST database
query: Path
NameTypeDescription
queryPathFASTA file containing nucleotide query sequences to search for in the assemblies

Emit

Published

The sample_outputs and run_outputs emissions are aggregates of output files that will be published in the entry workflow.

sample_outputs

OutputDescription
tsvA tab-delimited summary of alignments (standard BLAST outfmt 6)

run_outputs

OutputDescription
csvAggregated results in CSV format

Module Composition

This subworkflow calls the following modules:

  • blast_blastn - Search a nucleotide database using a nucleotide query.
  • csvtk_concat - Concatenate multiple CSV or TSV files into a single table.

Used By

This subworkflow is used by the following workflows:

  • blastn - Search against nucleotide BLAST databases using nucleotide queries.

Citations

If you use this in your analysis, please cite the following.

Source

View source on GitHub