LotuS3 can use custom reference databases for taxonomic annotation. A custom database requires both a FASTA-formatted reference sequence file and a tab-delimited taxonomy file.
Use:
-refDBfor the FASTA reference database;-tax4refDBfor the taxonomy file.
The format is the same as for databases installed by the LotuS3 autoinstaller. Useful examples include:
DB/SLV_138_SSU.fasta
DB/SLV_138_LSU.tax
The taxonomy file uses seven fixed levels:
- kingdom
- phylum
- class
- order
- family
- genus
- species
Levels are denoted by tags such as k__, p__, c__, and are separated by semicolons. If taxonomy information is missing, use ?.
Example taxonomy line:
FJ588878 k__Eukaryota; p__Phragmoplastophyta; c__?; o__?; f__?; g__?; s__Osyris wightiana
./lotus3 -tax4refDB DB/SLV_138_SSU.tax \
-refDB DB/SLV_138_SSU.fasta \
-i Example/ \
-m Example/miSeqMap.sm.txt \
-o myTestRun_customDB \
-forwardPrimer GTGYCAGCMGCCGCGGTAA \
-reversePrimer GGACTACNVGGGTWTCTAAT \
-CL uparse \
-taxAligner vsearchThis example uses SILVA138 as a custom database, VSEARCH as the taxonomic search algorithm and UPARSE for OTU clustering.
Multiple complementary reference databases can be searched by providing comma-separated FASTA and taxonomy files:
./lotus3 -tax4refDB DB/SLV_138_SSU.tax,DB/HITdb/HITdb_taxonomy.txt \
-refDB DB/SLV_138_SSU.fasta,DB/HITdb/HITdb_sequences.fna \
-i Example/ \
-m Example/miSeqMap.sm.txt \
-o myTestRun_multiDB \
-forwardPrimer GTGYCAGCMGCCGCGGTAA \
-reversePrimer GGACTACNVGGGTWTCTAAT \
-CL uparse \
-taxAligner vsearchFor built-in databases, the shorter syntax can be used:
./lotus3 -refDB SLV,HITdb \
-i Example/ \
-m Example/miSeqMap.sm.txt \
-o myTestRun_multiDB \
-forwardPrimer GTGYCAGCMGCCGCGGTAA \
-reversePrimer GGACTACNVGGGTWTCTAAT \
-CL uparse \
-taxAligner vsearchThe order of databases can affect results. For example, -refDB GG2,SLV and -refDB SLV,GG2 can differ because the first database is treated as the primary annotation source.