Skip to main content

blast_blastn

Tags: blast blastn alignment dna search fasta sample-scope

Search a nucleotide database using a nucleotide query.

Uses BLASTN to align nucleotide query sequences (FASTA) against a nucleotide BLAST database. It is optimized for finding highly similar sequences.

Inputs

record (
meta: Record,
blastdb: Path
)
FieldTypeDescription
metaRecordGroovy Record containing sample information
blastdbPathA compressed tarball containing the nucleotide BLAST database
query: Path
NameTypeDescription
queryPathFASTA file containing nucleotide query sequences

Outputs

record (
meta: Record,
tsv: Path,
results: Set<Path>,
logs: Set<Path?>,
nf_logs: Set<Path>,
versions: Set<Path>
)
FieldTypeDescription
metaRecordSample information record
tsvPathTab-delimited nucleotide alignment results (BLAST outfmt 6)
resultsSet<Path>All output files to be published
logsSet<Path?>Optional program specific log files
nf_logsSet<Path>Nextflow-specific log files (e.g. .command.{begin
versionsSet<Path>A YAML formatted file with program versions

Parameters

BLASTN Parameters

ParameterTypeDefaultDescription
--blastn_querystringA fasta file containing the query sequences to BLAST against the database
--blastn_outfmtstringsseqid qseqid pident qlen slen length nident positive mismatch gapopen gaps qstart qend sstart send evalue bitscoreThe columns to include with -outfmt 6
--blastn_optsstringAdditional options to pass to BLASTN
--blastn_perc_identityinteger50Percent identity
--blastn_qcov_hsp_percinteger50Percent query coverage per hsp
--blastn_max_target_seqsinteger2000Maximum number of aligned sequences to keep

Used By

Subworkflows

  • blastn - Search a nucleotide database using nucleotide query sequences.

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

Version

BLAST_BLASTN:
- blast: 2.17.0