# Training a large Custom Database

**URL:** https://forum.qiime2.org/t/training-a-large-custom-database/19440
**Category:** Technical Support
**Created:** [May 3, 2021, 3:41pm UTC](https://forum.qiime2.org/t/training-a-large-custom-database/19440 "2021-05-03T15:41:34Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![SoilRotifer](https://forum.qiime2.org/user_avatar/forum.qiime2.org/soilrotifer/32/21071_2.png) [@SoilRotifer](https://forum.qiime2.org/u/SoilRotifer)
#### Post date: [May 3, 2021, 4:12pm UTC](https://forum.qiime2.org/t/training-a-large-custom-database/19440/2 "2021-05-03T16:12:17Z")

</div>

Hi @URB, welcome to :qiime2:!

> [@URB](#):
>
> I am running on my organization’s HPC high\_mem node for the past 4 days. I am worried, how much time will it take to run the complete custom DB with 3320193 reads.

That is an awful lot of reference reads. I'd suggest dereplicating the reference data to make the database much smaller. In fact, this is a great task for RESCRIPt, you can find more details here:

> [@Processing, filtering, and evaluating the SILVA database (and other reference sequence data) with RESCRIPt](https://forum.qiime2.org/t/processing-filtering-and-evaluating-the-silva-database-and-other-reference-sequence-data-with-rescript/15494):
>
> construction Please consider this tutorial a living document, which may change based upon community feedback and ongoing plugin development. RESCRIPt [RESCRIPt](https://github.com/bokulich-lab/RESCRIPt) (REference Sequence annotation and CuRatIon Pipeline) is a python package and QIIME 2 plugin for formatting, managing, and manipulating sequence reference databases. This package was designed for compiling, manipulating, and evaluating sequence reference databases from SILVA, NCBI, Greengenes, GTDB, and other sources, and for construc…

In particular read the part about [Dereplication of sequences and taxonomy](https://forum.qiime2.org/t/processing-filtering-and-evaluating-the-silva-database-and-other-reference-sequence-data-with-rescript/15494#heading--fifth-header). If you know what amplicon region you are using, then you can shrink the reference database even further by extracting the amplicon region from your reference database, then dereplicate that output. This will save you a lot of memory and run time.

-Mike

---

_[View the full topic](https://forum.qiime2.org/t/training-a-large-custom-database/19440)._
