X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sam_view.c;h=b6896c908cb367c1083eb3fbe994fe3c83a753f4;hb=d496e5903f314d88505b7947dd39e3e7234dd890;hp=b9bde44ebd4b6e28d03f909a2ee4c6cc586c43f1;hpb=d46afb500a437323dda82920f9fb18324b2dbec0;p=samtools.git diff --git a/sam_view.c b/sam_view.c index b9bde44..b6896c9 100644 --- a/sam_view.c +++ b/sam_view.c @@ -209,7 +209,7 @@ int main_samview(int argc, char *argv[]) ret = 1; goto view_end; } - if (n_threads > 1) samthreads(out, n_threads, 16); + if (n_threads > 1) samthreads(out, n_threads, 256); if (is_header_only) goto view_end; // no need to print alignments if (argc == optind + 1) { // convert/print the entire file @@ -290,6 +290,7 @@ static int usage(int is_long_help) fprintf(stderr, " -X output FLAG in string (samtools-C specific)\n"); fprintf(stderr, " -c print only the count of matching records\n"); fprintf(stderr, " -B collapse the backward CIGAR operation\n"); + fprintf(stderr, " -@ INT number of BAM compression threads [0]\n"); fprintf(stderr, " -L FILE output alignments overlapping the input BED FILE [null]\n"); fprintf(stderr, " -t FILE list of reference names and lengths (force -S) [null]\n"); fprintf(stderr, " -T FILE reference sequence file (force -S) [null]\n");