Add Dayhoff FASTA and MMseqs2 databases
Browse files- README.md +115 -1
- fastas/gigaref-full.fasta.gz +3 -0
- fastas/gigaref-no-singletons.fasta.gz +3 -0
- fastas/gigaref-singletons.fasta.gz +3 -0
- fastas/uniref50.fasta.gz +3 -0
- mmseqs-cpu/gigaref-no-singletons/db/db.dbtype +0 -0
- mmseqs-cpu/gigaref-no-singletons/db/db.gz +3 -0
- mmseqs-cpu/gigaref-no-singletons/db/db.index.gz +3 -0
- mmseqs-cpu/gigaref-no-singletons/db/db.lookup.gz +3 -0
- mmseqs-cpu/gigaref-no-singletons/db/db.source +1 -0
- mmseqs-cpu/gigaref-no-singletons/db/db_h.dbtype +0 -0
- mmseqs-cpu/gigaref-no-singletons/db/db_h.gz +3 -0
- mmseqs-cpu/gigaref-no-singletons/db/db_h.index.gz +3 -0
- mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu.dbtype +0 -0
- mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu.gz +3 -0
- mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu.index.gz +3 -0
- mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu.lookup.gz +3 -0
- mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu.source +1 -0
- mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu_h.dbtype +0 -0
- mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu_h.gz +3 -0
- mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu_h.index.gz +3 -0
README.md
CHANGED
|
@@ -1,3 +1,117 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: Dayhoff FASTA and MMseqs2 Databases
|
| 3 |
---
|
| 4 |
+
|
| 5 |
+
# Dayhoff FASTA and MMseqs2 databases
|
| 6 |
+
|
| 7 |
+
This dataset contains the original [Dayhoff Atlas](https://huggingface.co/datasets/microsoft/Dayhoff) GigaRef and UniRef50 datasets, in formats amenable to MMSeqs2 CPU and GPU utilities.
|
| 8 |
+
|
| 9 |
+
The train, validation, and test sets from the original atlas were combined and the following datasets available:
|
| 10 |
+
|
| 11 |
+
* GigaRef No Singletons - The GigaRef dataset, with no singleton clusters.
|
| 12 |
+
* GigaRef Singletons - The GigaRef dataset, with only singleton clusters.
|
| 13 |
+
* GigaRef Full - Every sequence contained in both the no-singletons and singletons subsets.
|
| 14 |
+
* UniRef50 - UniProt clustered at 50% sequence identity.
|
| 15 |
+
|
| 16 |
+
Each dataset is or will be available in the following formats:
|
| 17 |
+
|
| 18 |
+
* FASTA - Canonical sequence storage format, usable with many bioinformatics tools.
|
| 19 |
+
* MMSeqs2-CPU - Converted folder of unindexed database files compatible with MMSeqs2-CPU. Searches can be tuned to splits that accommodate your system RAM.
|
| 20 |
+
* MMSeqs2-GPU - Converted folder of padded sequence databases for MMSeqs2-GPU search. Requires 1+ GPU(s) on your machine to run.
|
| 21 |
+
|
| 22 |
+
## Current Repo Organization
|
| 23 |
+
|
| 24 |
+
```text
|
| 25 |
+
fastas/
|
| 26 |
+
├── gigaref-full.fasta.gz
|
| 27 |
+
├── gigaref-singletons.fasta.gz
|
| 28 |
+
├── gigaref-no-singletons.fasta.gz
|
| 29 |
+
└── uniref50.fasta.gz
|
| 30 |
+
|
| 31 |
+
mmseqs-cpu/
|
| 32 |
+
└── gigaref-no-singletons/db/
|
| 33 |
+
|
| 34 |
+
mmseqs-gpu/
|
| 35 |
+
└── gigaref-no-singletons/db_gpu/
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
MMseqs can read the `.fasta.gz` files directly.
|
| 39 |
+
|
| 40 |
+
| Artifact | Download | Working disk | Host RAM | GPU |
|
| 41 |
+
| --- | ---: | ---: | --- | --- |
|
| 42 |
+
| GigaRef full FASTA | 358.90 GB | 358.90 GB compressed | Not applicable | None |
|
| 43 |
+
| GigaRef singleton FASTA | 147.28 GB | 147.28 GB compressed | Not applicable | None |
|
| 44 |
+
| GigaRef no-singleton FASTA | 211.62 GB | 211.62 GB compressed | Not applicable | None |
|
| 45 |
+
| UniRef50 FASTA | 13.27 GB | 13.27 GB compressed | Not applicable | None |
|
| 46 |
+
| GigaRef no-singleton CPU MMseqs | 279.08 GB | 572.73 GB extracted; allow 647 GB while extracting | 64 GB is a practical starting point with splitting; 600+ GB maximizes throughput | None |
|
| 47 |
+
| GigaRef no-singleton GPU MMseqs | 292.13 GB | 586.94 GB extracted; allow 660 GB while extracting | 64 GB is a practical starting point with splitting; 600+ GB maximizes throughput | At least one MMseqs2-GPU-compatible NVIDIA GPU; the database need not fit VRAM |
|
| 48 |
+
|
| 49 |
+
Put the extracted MMseqs database and temporary search directory on the
|
| 50 |
+
fastest local SSD or NVMe available. I/O speed, RAM, and GPUs improve throughput;
|
| 51 |
+
slow storage substantially increases search time.
|
| 52 |
+
|
| 53 |
+
## Hugging Face download example
|
| 54 |
+
|
| 55 |
+
```bash
|
| 56 |
+
export REPO=microsoft/Dayhoff-MMseqs2
|
| 57 |
+
export REV=main
|
| 58 |
+
export DEST=/data/Dayhoff-MMseqs2
|
| 59 |
+
export TARGET=gigaref-no-singletons
|
| 60 |
+
|
| 61 |
+
# FASTA
|
| 62 |
+
hf download "$REPO" "fastas/$TARGET.fasta.gz" \
|
| 63 |
+
--repo-type dataset --revision "$REV" --local-dir "$DEST"
|
| 64 |
+
|
| 65 |
+
# CPU MMseqs
|
| 66 |
+
hf download "$REPO" --repo-type dataset --revision "$REV" \
|
| 67 |
+
--include "mmseqs-cpu/$TARGET/**" --local-dir "$DEST"
|
| 68 |
+
|
| 69 |
+
# GPU MMseqs
|
| 70 |
+
hf download "$REPO" --repo-type dataset --revision "$REV" \
|
| 71 |
+
--include "mmseqs-gpu/$TARGET/**" --local-dir "$DEST"
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
Valid FASTA targets are `gigaref-full`, `gigaref-singletons`,
|
| 75 |
+
`gigaref-no-singletons`, and `uniref50`. Only
|
| 76 |
+
`gigaref-no-singletons` currently has CPU and GPU MMseqs databases.
|
| 77 |
+
|
| 78 |
+
## Extract and search
|
| 79 |
+
|
| 80 |
+
The FASTA needs no extraction for MMseqs. To create an uncompressed FASTA:
|
| 81 |
+
|
| 82 |
+
```bash
|
| 83 |
+
pigz -dc "fastas/$TARGET.fasta.gz" > "fastas/$TARGET.fasta"
|
| 84 |
+
```
|
| 85 |
+
|
| 86 |
+
Extract either MMseqs representation once:
|
| 87 |
+
|
| 88 |
+
```bash
|
| 89 |
+
find "mmseqs-cpu/$TARGET" -type f -name '*.gz' -print0 |
|
| 90 |
+
xargs -0 -n1 pigz -d
|
| 91 |
+
|
| 92 |
+
find "mmseqs-gpu/$TARGET" -type f -name '*.gz' -print0 |
|
| 93 |
+
xargs -0 -n1 pigz -d
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
The resulting target prefixes are:
|
| 97 |
+
|
| 98 |
+
```text
|
| 99 |
+
mmseqs-cpu/gigaref-no-singletons/db/db
|
| 100 |
+
mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu
|
| 101 |
+
```
|
| 102 |
+
|
| 103 |
+
For a 64 GB host, use native MMseqs target splitting:
|
| 104 |
+
|
| 105 |
+
```bash
|
| 106 |
+
mmseqs search queryDB TARGET_DB resultDB tmp \
|
| 107 |
+
--gpu 1 \
|
| 108 |
+
--split-mode 0 \
|
| 109 |
+
--split-memory-limit 48G \
|
| 110 |
+
```
|
| 111 |
+
|
| 112 |
+
Omit `--gpu 1` for CPU search.
|
| 113 |
+
|
| 114 |
+
The no-singletons FASTA and MMseqs database contain the same
|
| 115 |
+
1.8B-sequence corpus. The FASTA uses
|
| 116 |
+
`gr_<source-index>` identifiers, while the existing MMseqs database retains
|
| 117 |
+
older `g<part>_<row>` identifiers. We are patching this in a future update but it should have no effect on inference.
|
fastas/gigaref-full.fasta.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d52e2b231b7ac7cc5a32a77c1a409e35d33589314ff8586ebcf8c3aa23390701
|
| 3 |
+
size 358901169323
|
fastas/gigaref-no-singletons.fasta.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c79bb17e8e42e2de6f7c2b78d2956749e3a19ed0e4d791493800376e96f090e
|
| 3 |
+
size 211619204117
|
fastas/gigaref-singletons.fasta.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:725213df70299fe6ed4bf52a87ab90cf39d0e920980af156fb17ac54bbb48896
|
| 3 |
+
size 147281965206
|
fastas/uniref50.fasta.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54aff542c701b2f227d937ab2f0680c0ff355e4b2a50a11a980e93afaeacb9e9
|
| 3 |
+
size 13271350880
|
mmseqs-cpu/gigaref-no-singletons/db/db.dbtype
ADDED
|
Binary file (4 Bytes). View file
|
|
|
mmseqs-cpu/gigaref-no-singletons/db/db.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc31dd31a2f1af487e66c9f7f9193ced0a70f11083804cc311a0ddedde22aa30
|
| 3 |
+
size 217682528994
|
mmseqs-cpu/gigaref-no-singletons/db/db.index.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7356ba8e2dcccd43e94eb54650f4a3cae443f2ccf6b16922bd83f7eec97298b5
|
| 3 |
+
size 16696466288
|
mmseqs-cpu/gigaref-no-singletons/db/db.lookup.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd8c3315201a6fce72ac9b1dc799f3d5cab85c7cd007126aadcc5c6f3fc2b277
|
| 3 |
+
size 10822953942
|
mmseqs-cpu/gigaref-no-singletons/db/db.source
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
0 dayhoff_gigaref_full.fasta.gz
|
mmseqs-cpu/gigaref-no-singletons/db/db_h.dbtype
ADDED
|
Binary file (4 Bytes). View file
|
|
|
mmseqs-cpu/gigaref-no-singletons/db/db_h.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2fb3e69741cbdab14df0d173f64701676084dae24436cae16f0d18ea18d90fa2
|
| 3 |
+
size 21380269191
|
mmseqs-cpu/gigaref-no-singletons/db/db_h.index.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43eb5d5329e99940a2967497b3a180ff593b949ea5058f082ba91f2c35b64fb6
|
| 3 |
+
size 12494748180
|
mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu.dbtype
ADDED
|
Binary file (4 Bytes). View file
|
|
|
mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c72bac838fcd1a77560bd3f317b9d4f5934f6f040781e48dd8f775870cc87541
|
| 3 |
+
size 222538328631
|
mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu.index.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:537a0f32f3b4ee6410acb3550acc9277ae7744fe01a83415ad6e3c5a37df2081
|
| 3 |
+
size 11851298193
|
mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu.lookup.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2180428d52c6e92b2813af34651cff7c77766db19f530e5c9eaeecdc840b15e1
|
| 3 |
+
size 21567529460
|
mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu.source
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
0 dayhoff_gigaref_full.fasta.gz
|
mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu_h.dbtype
ADDED
|
Binary file (4 Bytes). View file
|
|
|
mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu_h.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f21e8f0d67ee3c9b3ebf1558d4df924a664e3b923120aa2841763647f01f5845
|
| 3 |
+
size 23526070415
|
mmseqs-gpu/gigaref-no-singletons/db_gpu/db_gpu_h.index.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6291e8acc0343dace4bd3ec6321f55eb98659bea21f249b47dd588298ac229e
|
| 3 |
+
size 12647102772
|