---
name: "map_db"
section: "1"
platform: "linux"
package: "fasta3"
version: "36.3.8i.14-Nov-2020-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/map_db"
---

# map\_db(1)

read a FASTA (0), GENBANK flat file (1) PIR/VMS (5) or GCG binary (6) sequence database and produce the offsets necessary for efficient memory mapping.

## NAME

**map\_db** - read a FASTA (0), GENBANK flat file (1) PIR/VMS (5) or GCG binary (6) sequence database and produce the offsets necessary for efficient memory mapping.

## SYNOPSIS

**map\_db** \[-n\] filename \| "filename libtype"

## DESCRIPTION

**map\_db** *filename* reads the sequence database in *filename* and produce a new file *filename.xin* with the offset information necessary for efficient memory mapping.

The programs in fasta version 32t08 can use memory mapped i/o to load sequence database files and read them efficiently.  Memory mapping is used only if a "*.xin* " file is available.  The "*.xin* " file is created by **map\_db** .

In addition to **map\_db** , **list\_db** is available to display the database size, etc, and set of offsets calculated by **map\_db** .

## OPTIONS

- \-n

  Read file as DNA database.

## BUGS

## AUTHOR

Bill Pearson\
 wrp@virginia.EDU
