logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sambamba-index - tool for building standard index files for BAM data

Description

sambambaindex  builds an index for a sorted by coordinate BAM file. This step is required for effective
       region querying in most tools for working with BAM data.

       An index is by default written to the file with the same filename except .bai extension added to the end.
       The user can, however, override this default by  providing  desired  output  filename  explicitly  as  an
       optional command-line argument.

Examples

       Build index file example.bam.bai given a sorted BAM file example.bam:

       $ sambamba index example.bam

       Build index file at custom location showing progress:

       $ sambamba index --show-progress example.bam /tmp/example.bam.bai

Name

sambamba-index - tool for building standard index files for BAM data

Options

-p, --show-progress
              Show a wget-like progressbar in STDERR.

       -t, --nthreads=NTHREADS
              Number of threads to use.

See Also

       For  more  information  on  the  original  samtools INDEX behaviour, check out the samtools documentation
       http://samtools.sourceforge.net/samtools.shtml

                                                   2016-10-24                                  SAMBAMBA-INDEX(1)

Synopsis

sambambaindex [-p|--show-progress] [-t|--nthreads=NTHREADS] <input.bam> [<output.bai>]

See Also