Skip to content

samtools index --threads inconsistency #1209

Description

@tseemann

samtools index seems to be alone in

  • not having the --threads alias in the help
  • and defaulting to "no threads". i assume default=1 and/or this means additional threads?

Only this tool:

Usage: samtools index [-bc] [-m INT] <in.bam> [out.index]
Options:
  -b       Generate BAI-format index for BAM files [default]
  -c       Generate CSI-format index for BAM files
  -m INT   Set minimum interval size for CSI indices to 2^INT [14]
  -@ INT   Sets the number of threads [none]

Every other tool:

  -@, --threads INT
               Number of additional threads to use [0]

Version:

samtools 1.10
Using htslib 1.10.2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions