Skip to content

Commit

Permalink
added thread pool to tabix operations
Browse files Browse the repository at this point in the history
  • Loading branch information
vasudeva8 authored and whitwham committed Mar 7, 2024
1 parent 5d2c3f7 commit 255dfcb
Show file tree
Hide file tree
Showing 3 changed files with 180 additions and 46 deletions.
8 changes: 7 additions & 1 deletion tabix.1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
tabix \- Generic indexer for TAB-delimited genome position files
.\"
.\" Copyright (C) 2009-2011 Broad Institute.
.\" Copyright (C) 2014, 2016, 2018, 2020, 2022 Genome Research Ltd.
.\" Copyright (C) 2014, 2016, 2018, 2020, 2022, 2024 Genome Research Ltd.
.\"
.\" Author: Heng Li <lh3@sanger.ac.uk>
.\"
Expand Down Expand Up @@ -78,6 +78,8 @@ and BAI index formats can handle individual chromosomes up to 512 Mbp
If your input file might contain data lines with begin or end positions
greater than that, you will need to use a CSI index.

Multiple threads can be used for operations except listing of sequence names.

.SH INDEXING OPTIONS
.TP 10
.B -0, --zero-based
Expand Down Expand Up @@ -167,6 +169,10 @@ The default is 3, which turns on error and warning messages;
2 reduces warning messages;
1 prints only error messages and 0 is mostly silent.
Values higher than 3 produce additional informational and debugging messages.
.TP
.BI "-@, --threads " INT
Set number of threads to use for the operation.
The default is 0, where no extra threads are in use.
.PP
.SH EXAMPLE
(grep "^#" in.gff; grep -v "^#" in.gff | sort -t"`printf '\(rst'`" -k1,1 -k4,4n) | bgzip > sorted.gff.gz;
Expand Down
Loading

0 comments on commit 255dfcb

Please sign in to comment.