muellan / metacache

memory efficient, fast & precise taxnomomic classification system for metagenomic read mapping
GNU General Public License v3.0
57 stars 12 forks source link

Database Build Files #30

Closed punnettsun closed 2 years ago

punnettsun commented 2 years ago

Hi,

I had built a database for the GTDB, but when I check the database, all I see are the following files in my main non-database directory: GTDB_DB.cache0 & GTDB_DB.meta I am wondering if these are the files I will need to use to classify my fastq files?

This is the command I used: ./metacache build GTDB_DB /path/to/genomes/ -taxonomy /path/to/custom/taxonomy/

Thank you.

Funatiq commented 2 years ago

Hi,

the name and path you choose for the database when building is the same you need to use for the query: Build: ./metacache build GTDB_DB /path/to/genomes/ -taxonomy /path/to/custom/taxonomy/ Query: ./metacache query GTDB_DB /path/to/reads/

The GTDB_DB.cache0 and GTDB_DB.meta files both belong to the database. You can move them to another directory if you want.

If you want to build or query the database in another directory: Build: ./metacache build /database-directory/GTDB_DB /path/to/genomes/ -taxonomy /path/to/custom/taxonomy/ Query: ./metacache query /database-directory/GTDB_DB /path/to/reads/

For other options please see the README and documentation.

punnettsun commented 2 years ago

Thank you!