OnWorks favicon

bp_indexp - Online in the Cloud

Run bp_indexp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command bp_indexp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



bp_index.pl - indexes files for use by bp_fetch.pl


bp_index.pl index_name file1 file2 etc.


bp_index.pl builds a bioperl index for the sequence files given in the argument list,
under the index name. For example

bp_index.pl nrdb /data/nrdb/nrdb.fasta

would build an index called 'nrdb' as the index name for the file nrdb.fasta, and

bp_index.pl -fmt EMBL swiss /data/swiss/*.dat

would build an index called swiss for all the files in /data/swiss which end in .dat which
are in EMBL format.

The indexes are built using the Bio/Index/* modules, in particular, Bio::Index::EMBL and
the Bio::Index::Fasta modules. Any script which uses these modules can use the index. A
good example script is bp_fetch which fetches sequences and pipes them to STDOUT, for

bp_fetch swiss:ROA1_HUMAN

gets the ROA1_HUMAN sequence from the swiss index and writes it as fasta format on STDOUT.


-fmt <format> - Fasta (default), swiss or EMBL
-dir <dir> - directory where the index files are found
(overrides BIOPERL_INDEX environment variable)

Options for expert use

-type <db_type> - DBM_file type.
(overrides BIOPERL_INDEX_TYPE environment variable)
-v - report every index addition (debugging)


bp_index and bp_fetch coordinate where the databases lie using the enviroment variable
BIOPERL_INDEX. This can be overridden using the -dir option. There is no default value, so
you must use the -dir option or set BIOPERL_INDEX.

The DB type is coordinated with BIOPERL_INDEX_TYPE which if it is not there, defaults to
whatever the bioperl modules have installed, which itself defaults to SDBM_File.


bp_index.pl is a script that drives the Index modules. If you want to use this script
heavily in your work, if it is Perl based, it is almost certainly better to look at the
code in this script and copy it across (probably you will be more likely to want to use
the bp_fetch code).


bp_index is just a wrapper around James Gilbert's excellent Index modules found in bioperl


Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send
your comments and suggestions preferably to the Bioperl mailing list. Your participation
is much appreciated.

[email protected] - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists

Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their
resolution. Bug reports can be submitted via the web:


AUTHOR - Ewan Birney

Ewan Birney <[email protected]>

Use bp_indexp online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 2
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 3
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    Download XISMuS
  • 4
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 5
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 6
    Freeciv is a free turn-based
    multiplayer strategy game, in which each
    player becomes the leader of a
    civilization, fighting to obtain the
    ultimate goal: to bec...
    Download Freeciv
  • 7
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • More »

Linux commands