annotate ezBAMQC/src/htslib/htsfile.1 @ 14:744987262771

Uploaded
author cshl-bsr
date Wed, 30 Mar 2016 12:15:03 -0400
parents dfa3745e5fd8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1 .TH htsfile 1 "3 February 2015" "htslib-1.2.1" "Bioinformatics tools"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2 .SH NAME
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3 htsfile \- identify high-throughput sequencing data files
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4 .\"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
5 .\" Copyright (C) 2015 Genome Research Ltd.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
6 .\"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
7 .\" Author: John Marshall <jm18@sanger.ac.uk>
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
8 .\"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
9 .\" Permission is hereby granted, free of charge, to any person obtaining a
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
10 .\" copy of this software and associated documentation files (the "Software"),
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
11 .\" to deal in the Software without restriction, including without limitation
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
12 .\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
13 .\" and/or sell copies of the Software, and to permit persons to whom the
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
14 .\" Software is furnished to do so, subject to the following conditions:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
15 .\"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
16 .\" The above copyright notice and this permission notice shall be included in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
17 .\" all copies or substantial portions of the Software.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
18 .\"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
19 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
20 .\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
21 .\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
22 .\" THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
23 .\" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
24 .\" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
25 .\" DEALINGS IN THE SOFTWARE.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
26 .\"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
27 .SH SYNOPSIS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
28 .B htsfile
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
29 .RB [ -chH ]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
30 .IR FILE ...
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
31 .SH DESCRIPTION
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
32 The \fBhtsfile\fR utility attempts to identify what kind of high-throughput
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
33 sequencing data files the specified files are, and provides minimal viewing
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
34 capabilities for some kinds of data file.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
35 .P
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
36 It can identify sequencing data files such as SAM, BAM, and CRAM;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
37 variant calling data files such as VCF and BCF;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
38 index files used to index these data files;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
39 and compressed versions of many of them.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
40 .P
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
41 For each \fIFILE\fR given, \fBhtsfile\fP prints a description of the file
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
42 format determined, using similar keyword conventions to \fBfile\fP(1):
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
43 "text" indicates a textual file that can probably be viewed on a terminal;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
44 "data" indicates binary data;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
45 "sequence", "variant calling", and "index" indicate different categories of
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
46 data file.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
47 When it can be identified, the name of the particular file format (such as
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
48 "BAM" or "VCF") is printed at the start of the description.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
49 .P
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
50 When used to view file contents as text, \fBhtsfile\fP can optionally show
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
51 only headers or only data records, but has no other filtering capabilities.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
52 Use \fBsamtools\fR or \fBbcftools\fR if you need more extensive viewing or
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
53 filtering capabilities.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
54 .P
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
55 The following options are accepted:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
56 .TP 4n
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
57 .BR -c ", " --view
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
58 Instead of identifying the specified files, display a textual representation
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
59 of their contents on standard output.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
60 .TP
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
61 .BR -h ", " --header-only
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
62 Display data file headers only.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
63 Implies \fB--view\fR.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
64 .TP
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
65 .BR -H ", " --no-header
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
66 When viewing files, display data records only.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
67 .PP
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
68 .SH SEE ALSO
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
69 .IR bcftools (1),
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
70 .IR file (1),
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
71 .IR samtools (1)