contigtax is a tool that assigns taxonomy to metagenomic contigs by querying
contig nucleotide sequences against a protein database using diamond blastx
and parses hits using rank-specific thresholds. The use of rank-specific
thresholds was first introduced by Luo et al 2014
and used with some modification as explained in Alneberg et al 2018.
Install
Simplest way to install contigtax is via conda:
conda install -c bioconda contigtax
Alternatively, pull the docker image:
docker pull nbisweden/contigtax
Usage
Download fasta file
contigtax download uniref100
Download NCBI taxonomy
contigtax download taxonomy
Reformat fasta file and create taxonmap
contigtax format uniref100/uniref100.fasta.gz uniref100/uniref100.reformat.fasta.gz
contigtax
contigtax is a tool that assigns taxonomy to metagenomic contigs by querying contig nucleotide sequences against a protein database using
diamond blastxand parses hits using rank-specific thresholds. The use of rank-specific thresholds was first introduced by Luo et al 2014 and used with some modification as explained in Alneberg et al 2018.Install
Simplest way to install
contigtaxis via conda:Alternatively, pull the docker image:
Usage
Download fasta file
Download NCBI taxonomy
Reformat fasta file and create taxonmap
Build diamond database
Search (here assembled contigs are in file
assembly.fa)Assign (here output from the
contigtax searchstep are in fileassembly.tsv.gz)Running contigtax with Docker
To run contigtax with docker simply substitute contigtax in the commands above with
docker run --rm -v $(pwd):/work nbisweden/contigtax, e.g.:Download fasta file
Download NCBI taxonomy
Reformat fasta file and create taxonmap
Build diamond database
Search (here assembled contigs are in file
assembly.fa)Assign (here output from the
contigtax searchstep are in fileassembly.tsv.gz)