You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`--dbdir`: Path to database output directory.(default: `GMSC-mapper/db`)
97
99
98
-
`--all`: Download all database
100
+
We recommend to use `GMSC-mapper` as your current work directory. You can derectly follow the commonds below.
99
101
100
-
`-f`: Force download even if the files exist
102
+
`--dbdir`: Path to GMSC database annotation index files. (default: `./db`. If `GMSC-mapper` is your current work directory, the database files will be downloaded at `GMSC-mapper/db`)
101
103
104
+
```bash
105
+
cd GMSC-mapper
102
106
```
103
-
gmsc-mapper downloaddb
107
+
108
+
```bash
109
+
gmsc-mapper downloaddb --dbdir ./db
104
110
```
105
111
112
+
Otherwise if you want to use custom `--dbdir` directory, it should be consistent with `-o` (Path to database index output of Diamond and MMseqs2) in the creating index step
113
+
106
114
### Create GMSC database index of Diamond/MMseqs2
107
-
`-o`: Path to database output directory.(default: `GMSC-mapper/db`)
115
+
116
+
We also recommend to use `GMSC-mapper` as your current work directory. You can derectly follow the commonds below.
117
+
118
+
The input (`i`) is the fasta file (`GMSC10.90AA.faa.gz`) downloaded to the dbdir (default: `./db`. If `GMSC-mapper` is your current work directory, the dbdir is `GMSC-mapper/db`) in the downloading step.
119
+
120
+
`-o`: Path to database index output of Diamond and MMseqs2. (default: `./db`. If `GMSC-mapper` is your current work directory, the database files will be created at `GMSC-mapper/db`)
Otherwise if you want to use custom `-o` directory, it should be consistent with `--dbdir` (Path to GMSC database annotation index files) in the download step.
137
+
119
138
### Default
120
-
GMSC database / habitat / taxonomy / quality / domain file path and output directory path can be assigned on your own.Default is `GMSC-mapper/db` and `GMSC-mapper/output`.
139
+
GMSC Database directory (`--dbdir`) and output directory (`-o`) can be assigned on your own. Default is `./db` and `./output`. If `GMSC-mapper` is your current work directory, they will be `GMSC-mapper/db` and `GMSC-mapper/output`.
140
+
141
+
If you use `GMSC-mapper` as your current work directory. You can derectly follow the commonds below. Otherwise, you need to assign your custom `--dbdir` which contains database files.
#### Download GMSC database annotation index files
305
+
Subcommands: `gmsc-mapper downloaddb`
306
+
307
+
*`--dbdir`: Path to GMSC database annotation index files. (default: `./db`. If `GMSC-mapper` is your current work directory, the database files will be downloaded at `GMSC-mapper/db`)
308
+
309
+
*`--all`: Download all database
310
+
311
+
*`-f`: Force download even if the files exist
312
+
313
+
#### Create database index of Diamond and mmseqs
277
314
Subcommands: `gmsc-mapper createdb`
278
315
279
316
*`-i`: Path to the GMSC FASTA file.
280
317
281
-
*`-o/--output`: Path to database output directory. (default: ../db)
318
+
*`-o/--output`: Path to database index output of Diamond and MMseqs2. (default: `./db`. If `GMSC-mapper` is your current work directory, the database files will be created at `GMSC-mapper/db`)
0 commit comments