I am attempting to build my own custom database for Kraken2. I have two questions:
- If I have the MCPyV genome in a file called MCPyV.fasta, how do I build a database with just this?
- How do I build the MinusB database? (https://benlangmead.github.io/aws-indexes/k2)
For number one, I attempted to build this by using:
kraken2-build --add-to-library MCPyV.fasta --db my_db
But was returned an error stating that there was no taxonomy information found. How do I make this MCPyV.fasta file amenable to Kraken2 while building the database?
For number 2, I again attempted to build the MinusB database using:
kraken2-build --build --threads 4 --db MinusB
and was returned an error regarding missing /taxonomy directory.
Does anyone know how to build these databases properly?